2D Diffuse Lighting Not Working as Advertised
So I have two problems with the 2d diffuse lighting I am using right now.
The player body sprite is lit in the scene but when I hit play it only works a few seconds then goes 100% black.
The grd (ground) sprite has the exact same material but fails to be lit no matter what I do.
I have tried everything, I have moved the lights on the z axis, Tried different lights, messed with the settings. I am at a loss. If anyone can help that would be fantastic. I have included my screenshots below.
Note: No scripts are referencing these lights.
More Photos: https://www.flickr.com/photos/153366284@N05/albums/72157684855197234
Light
Answer by thefloppyfish · Aug 11, 2017 at 04:08 PM
Found my solution here: https://gamedev.stackexchange.com/questions/129292/my-2d-sprite-diffuse-material-is-not-lighting-when-i-start-the-game
Z scale can't be 0. That created both of my issues as when I changed direction for my sprite the z got set to 0.