Hi, I’m messing with the shaders and just wanted to check this 1 thing from the Lighting material vertex shader
float posLight = step(0.5, color.w); (color is g_LightColor)
color.w is the light type I believe, and light types are 0 1 and 2, so for a pointlight, value 1, then step function will return 1…?
I’m trying to re-create part of the shader, why is that done?