Search Issue Tracker
By Design
Votes
0
Found in [Package]
10.0.0-preview.27
Issue ID
1279209
Regression
No
[HDRP] GameObjects don't receive constant lighting with Point Light
How to reproduce:
1. Open the user's attached "Clouds.zip"
2. Open the "SampleScene" Scene
3. Double click the "Sphere" GameObject in the Hierarchy window
4. Move Scene view camera with the Move tool around the "Sphere" GameObject in the Scene view (See attached "1279209_repro.mp4")
5. Observe the "Sphere" GameObject in the Scene view
Expected result: "Sphere" GameObject receives constant lighting in the Scene view
Actual result: "Sphere" GameObject lighting fades in the Scene view
Reproducible with: 4.10.0-preview (2018.4.27f1), 7.5.1 (2019.4.11f1), 8.2.0 (2020.1.6f1), 10.0.0-preview.27 (2020.2.0b3)
Notes:
- The issue is not reproducible with the built-in pipeline
- The issue is not reproducible with URP
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
- OnTriggerExit2D events are not triggered when disabling Collider, despite "Callbacks On Disable" being enabled
- [Android] [Vulkan] UI that is activated after a delay flickers when a Scriptable Render Pass goes over it
- [Linux] Characters are converted to Latin letters when using IME on Linux
- [Ubuntu] Possible for Create menu to show sections with no options inside
- [Usability] Not possible to set Editor Window text colour to be default black without workaround
Resolution Note:
Point and Spot Lights have a fading factor when they are too far from the camera. When the Light's distance to the camera is lesser than the fadeDistance parameter then the light does not fade (such as the gameview suggests). Starting at 90% of that distance, the fade will start and over it, the light will have no more influence on the lighting of the scene - this is what happens when you are scrolling further from the sphere (as you are also scrolling away from the Light source).
(see https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@7.4/api/UnityEngine.Rendering.HighDefinition.HDAdditionalLightData.html#UnityEngine_Rendering_HighDefinition_HDAdditionalLightData_fadeDistance)
Only Directional Lights won't fade based on the distance to the Camera.