Search Issue Tracker
By Design
Votes
0
Found in [Package]
4.6.0-preview
Issue ID
1117129
Regression
No
[HDRP] Volumetric fog blocks Directional light pointing up
Steps to reproduce :
- In an HDRP scene
- Add a sphere, a directional light, and scene settings
- Set fog type to volumetric in the scene settings
- Rotate light to make it point up
Result: The light doesn't affect anymore the sphere.
Expected: The light should still affect the sphere, even when lit from bellow.
Notes: The volumetric fog applies an attenuation of intensity to the directional lights, I guess that some math is going wrong (NdotL ?) when the light is coming from bellow.
-
Ava42
Jan 12, 2023 16:57
Unreal engine have this:
"Extinction Scale" (Controls how much the participating media blocks light.)we must have same feature.
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:
A directional light is a light that is infinitely far away. If you add global exponential fog, it extends infinitely far downwards. Therefore, all light is attenuated over this infinitely long light path. If you need local lights, use box lights instead.
Fog always affects lighting. The volumetrics check box only enables the volumetric contribution of light.