I'm trying to find a way to access the shader name as displayed on the Surfaces panel. I need to distinguish between different shaders that are all DzBrickMaterials. It looked like from another example I could do material.GetShader(), but that's coming back undefined. Help?
↧