I’m having an issue after converting to Unity 5 where a spotlight hitting the leaves anywhere on a tree, even just slightly on the edge, lights up the entirety of it.
This seems to only occur with spotlights - point lights and directional lights work properly with them.
Example 1 - spotlight not touching tree to the right 1
Example 2 - spotlight barely touches tree to the right, entire tree is lit 2
It does this with all of my tree, which come from various sources. I’m guessing it’s a shader issue, but I cannot make any changes to it (or select a different shader):
The bark on the trees works fine, it lights properly with a spotlight, but the leaves will always have the above problem.
Any ideas?
Hi. I could be barking up the wrong tree so bear with me! Unity 5 has Global Illumination which is a drastically different way of lighting scenes. GI allows secondary light bounce which mimics real life. For example, shining a spotlight on a tree without GI would light only the circular pool in direct line with the spotlight. With GI, each leaf also reflects some light, passing it on to others near it. It’s an “expensive” effect that’s often best left switched off. I believe if you select your spotlight and set “Bounce Intensity” to zero you’ll disable the effect and also increase performance.
@rchassereau I’m late af, but in the quality (edit > project settings > quality) settings, make sure pixel light count is above 1.