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
- Too little validation messages in the "WebAssembly Language Features" Memory settings
- Project Settings Search Highlights are misaligned when using the Bitmap Text Rendering Mode
- "GetControlID at event ValidateCommand returns a controlID different from the one in Layout event" Warning is thrown when undoing the deletion of Sprite Shape Profile
- Memory related fields in the "WebAssembly Language Features" can be set to the negative numbers
- "WebAssembly Language Features" Header in the Player Settings has a smaller indentation
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.