- Home /
Unity lighting question on finding how much light a material is receiving
Hi all, I hope someone can lead me in the right direction here. I am making a 2d game in Unity with sprites and from how I understand it they do 2d lighting now by putting certain materials and normal maps on the face of the sprites to light them.
What I want to try to do is realtime get the value of the lighting that is hitting a certain sprite. Really what I want is to be able to get the final rendered pixel color/intensity values so that I can subtract the original texture from this and find the difference between them (basically the final light applied). Is it possible to do anything like this or similar in Unity?
Your answer
Follow this Question
Related Questions
Shader with glow effect and gradient material 1 Answer
Material Behaviour 0 Answers
Light based texture change on material 0 Answers
Accidentally Clicked Refresh Assets and This Happened. How Do I Fix It? 0 Answers
Why is my texture the wrong color? 1 Answer