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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.