Search Issue Tracker
Fixed in 2017.3.0f3
Votes
0
Found in
2017.1.0b7
Issue ID
917094
Regression
No
[Forward] Realtime lights set to Not Important do not work with Shadowmask
Realtime lights set to "Not Important" in Render Mode are not computed correctly in Shadowmask/Distance Shadowmask mode.
Steps for reproduction:
1) Download the project "VertexLightingBug.zip" and open the scene "Bug"
2) Generate the lighting in "Subtractive" mode
3) Observe that realtime point light contribute lighting to dynamic object (i.e. Sphere)
4) Change the light mode to "Shadowmask"
5) Observe that realtime point light does not contribute lighting to dynamic object
Notes:
- Lights that have their Render Mode set to Not Important are always per-vertex or SH. Vertex/SH light should be handled in shadowmask/distance shadowmask mode (i.e. occlusion should be computed on the CPU)
- In the reproduction scene, there is one mixed directional light, one realtime point light and there no light probes.
- On the image attached below, plane is light map static, sphere is dynamic
- It works correctly in deferred rendering path, but works incorrectly in forward rendering path.
- Not a regression, realtime lights set to “Not Important” never worked since the introduction of light modes
Comments (141)
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
- Animator Controller throws MissingReferenceException after undoing Layer Creation
- Full stack trace is always printed when an exception occurs in an IL2CPP build
- Licensing Client fails to launch when opening Unity Hub (licensing client path is not found)
- Licensing Client fails to launch when opening Unity Hub
- Different custom Shader behavior when GPU Resident Drawer is enabled
indradhawa1562
Nov 25, 2017 08:59
works on the specific operating system. Therefore it is important to consult with an expert before you make the purchase. https://notresponding.net