- Home /
Ambient Light not working with some objects
I'm creating a 2D game, and I wanted ambient light for it, so I added on the sprite diffuse shader. It works just fine with most objects, just not a specific one in the scene. It seems to work when zoomed in on it but otherwise no.
Here's a picture of it zoomed out.
Here's a picture of it zoomed in.
Do you have any idea why it only works when zoomed in?
Answer by RayJr · Feb 08, 2015 at 02:02 PM
I would try this instead if you are using all sprites...
http://answers.unity3d.com/questions/835759/making-sprites-darker.html
Thanks. It seems harder than just adjusting the ambient light (as I want that to change dynamically) but I'll give it a shot.
Your answer
Follow this Question
Related Questions
Shading on 2D sprites? 1 Answer
Torchlight effect in 2D 3 Answers
2D Greyscale shader with lighting and color. 1 Answer
Custom ambient lighting color in a Cg shader 2 Answers
Unity 2D Shader Graph Sprite transparent when in shadow 0 Answers