- Home /
Spotlight casting light on trees outside its area
I noticed that if I use the 'place trees' function of the Terrain in Unity Free, the trees will behave in a weird way when subjected to a spotlight. Basically trees outside the cone of the light but near it will be illuminated. 
But if I try to import a tree as a game object it will not have this behavior. Do I have to import every tree as a separate game object or is there some other way to fix the problem?

Answer by AramShahbazians · Oct 22, 2014 at 01:34 AM
Nevermind, I got it. The problem was the shader. I just set it on Bumped Diffuse and now they work properly.
I try this, but it breaks the billboard-rendered trees. $$anonymous$$y billboarded trees are all white like this: http://answers.unity3d.com/questions/289266/billboard-trees-glow-white-in-dark-scene.html
How did you fix this secondary issue?
Answer by NoahGarliot · Nov 02, 2014 at 05:24 PM
I got it to work on leaves (which had a transparent map) when I used Transparent/Cutout/Bumber Diffuse. Just FYI
Your answer
Follow this Question
Related Questions
Resizing trees on terrain 2 Answers
Cloud recognition in Vuforia 0 Answers
How do I export blender tree model into Unity3D? 2 Answers
Why are tree leaves outside of range illuminated by spotlight? 1 Answer
Copy-Paste Trees in Terrain Tool? 1 Answer