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 (5)
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
- “FMOD failed to set the software format to the custom sample rate…” warnings are thrown as System Sample Rate value is being changed in Audio section of Project Settings window
- VFX Marquee selection does match the visual indicator
- “Invalid AABB aabb” errors are spammed when “Infinity” value is entered in Collider Component fields
- Editor Role does not sync with the MPPM Play Mode Scenario Role when entering Play mode
- Long asset names cause overlap with the “Find” function in search result tabs
unity_D603CDD53C1510CD413D
Aug 28, 2025 20:16
“Great discussion on realtime lights and shadowmask issues. I also faced similar problems in my projects, and your insights are really helpful. For more on image editing, you can check websit Photo Retouching LDT
unity_D603CDD53C1510CD413D
Aug 28, 2025 20:01
“Great discussion on realtime lights and shadowmask issues. I also faced similar problems in my projects, and your insights are really helpful. For more on image editing, you can check websit Photo Retouching LDT
rafikabir
Feb 23, 2024 11:43
Thank you for sharing such an informative and helpful article. It's truly amazing to read such valuable content. I look forward to seeing more of your work in the future. Keep up the excellent work!
Ben_Davis
Mar 17, 2021 17:20
Cool thanks !
Fixermanme
Oct 16, 2019 07:03
Great