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
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
- [Android] .aab Build fails when using Asset Bundles
- Builds fail without a useful error message when building a project with invalid product name
- [Quest 2] Crash on UnityEngine.Rendering.ScriptableRenderContext:Internal_Cull_Injected when in Play Mode for up to 5 minutes
- Crash on delete_object_internal_step1 when unloading memory
- Crash on the unknown line when building a specific project
fixworld111
Jan 30, 2018 07:13
I appreciate your effort to collect genuine information.
<a href="http://wirelessrouterexpert.com/">Wireless router </a> contains the router tech information which provides to the user to get resolve their router technical issues.
vermasakshi151
Jan 29, 2018 10:16
We are providing the helpful solution for problems Related to antivirus. We are giving a proper guidance how to fix your Gadgets Security. http://www.antivirusguides.com/
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