+10

LIGHT_ATTENUATION macro is empty in some cases for 2018.1 beta 8

John Cannon hace 6 años 0

Unity 2018.1b8 fails to compile ShaderForge shaders because of a syntax error caused by lines like


float atten = LIGHT_ATTENUATION(i);


getting converted to 


float atten = ;