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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.