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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
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.