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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
rafikabir
Feb 23, 2024 11:47
We appreciate you sharing such an insightful and beneficial article. It's truly remarkable to come across such valuable content. We eagerly anticipate seeing more of your work in the future. Keep up the fantastic job!
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!
fixsquadwebmaster
Feb 04, 2024 17:28
The issue with realtime lights set to 'Not Important' not working correctly in Shadowmask mode in Unity is a good reminder of the complexities in both game development and hardware functionality. As a technician specializing in iPhone repair at Fixsquad, I find parallels in how specific settings or modes can impact performance. Just as certain light settings in Unity can affect visual output, specific configurations or software updates in iPhones can influence their functionality. Understanding these intricate details is crucial for both game developers and those of us in the repair industry to ensure optimal performance and user experience.
evelinacampbellcpi
Dec 13, 2023 17:47
Whats an excellent blog you have shared with us. I have read and appreciated this guy. Keep continue sharing like such blog. Really your shared blog is so well. clippingpathinternational.com
clippingpathagent
Mar 31, 2023 13:39
What a brilliant and fantastic post! I'm truly inspired by the person who shared this. Thank you for publishing this publicly.
tricolorled143
Jan 09, 2023 16:00
tricolor.ae
countrycheapammo14
Dec 23, 2022 10:04
countrycheapammo.com/
countrycheapammo14
Dec 23, 2022 10:02
Thank you for sharing
ht tps://countrycheapammo.com/ammo-by-brand/winchester-ammo/
ht tps://countrycheapammo.com/ammo-by-brand/remington-ammo/
ht tps://countrycheapammo.com/magazines/magpul-magazines/
ht tps://countrycheapammo.com/scopes/
ht tps://countrycheapammo.com/holsters/
doradotarde43
Oct 29, 2022 16:03
I would recommend my profile is important to me, I invite you to discuss this topic.
pikashow
Jul 20, 2022 14:09
I was convinced that you would probably have something useful to say. I hear nothing but a bunch of whining about something that you can easily fix if you were not so busy looking for attention that you would not know how to fix it. At the end of the day, I know it was my choice to read... apkpartners.com