Search Issue Tracker
By Design
Votes
0
Found in
5.4.0b5
Issue ID
769533
Regression
No
[Lighting] Objects populated on terrain are getting lit when light intensity is 0
Steps to repro:
1. Open Unity;
2. Open attached 'LitObjectsTerrainUnity.unitypackage' package;
3. Open 'test.unity' scene;
4. Set the camera angle in such way that you could see terrain with green bushes;
5. Select Directional light gameobject;
6. Increase light intensity to 8 by dragging scalebar;
7. In the scene view hold right mouse button click and change the view angle a bit;
8. Notice that bushes on the terrain are lit from within;
9. Set Directional light intensity to 0.
Actual result:
The bushes are still lit, though light intensity is 0. See attached gif video and actual.png screenshot.
Expected result:
The bushes should not be lit from within when directional light intensity is 0.
Workaround is to press right mouse button and change viewpoint angle in Scene View.
Notes:
- Reproducible in: 5.4.0b5, 5.4.0b4, 5.3.2f1 and 5.3.1f1;
- Reproducible in OSX 10.11.3;
- May reproduce in Game view sometimes (especially when using first person controller);
- Reproduces for both realtime and baked lighting;
- Doesn't reproduce for SpeedTrees.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Windows] Special characters in file names are sorted to the end of the alphabet in the Project window
- Information box icons are not contained within the information box bounds in Render Pipeline Converter window
- Field is still marked as changed when changed back to its default state in UI Builder
- Crash on UnityEngine.UI.RawImage:OnPopulateMesh when playing Raw Image Texture animation with Sprite keyframes
- 32bit floating point RenderTexture blending feature is not available for WebGPU
Resolution Note:
We use our imposter system to create imposter as last LOD Group. Imposter system renders pre-lit trees into the imposter texture and doesn't support dynamic lighting. You can workaround it using LOD Trees.