- Home /
Question by
yapshuter63 · Feb 15, 2014 at 08:32 PM ·
2dlightingspritesdiffuse
Sprite Diffuse shader not affected by point lights
I've made a material, and set the shader to sprites/diffuse. It is affected by spotlights, directional lights, but it has not been affected by point lights. Can anyone help me with this?
Comment
Very odd. It seems like I have solved my problem. The issue seemed to be, that when I used sprites that had been scaled to different amounts on the X and Y axis, sprite lighting did not work.
Answer by ahmadzeino · May 07, 2014 at 07:03 AM
change the directional light z value into -16 and it will work