You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed fog contribution for point and spotlights (#21387)
# Objective
Fixes#21327
Volumetric fog contribution was not proportional to the light intensity
for point and spotlights.
## Solution
Take into account `exposure` value for Point and Spotlights to match the
Directional light implementation.
## Testing
- Run the updated `volumetric_fog` example. You can see the volumetric
effect of point and spotlights now match the intensity of this light on
the surfaces of the room.
---
## Showcase
Point and spotlight intensities in the original `volumetric_fog` example
were too low to light up the room despite having a very strong
volumetric contribution. This update boosts the light intensity and
lowers the volumetric contribution of point and spotlights
Before this change `volumetric_fog` example with 10x light intensity for
point and spotlights:
<img width="1922" height="1126" alt="brightness_10x_on"
src="https://github.com/user-attachments/assets/7562585c-bc1b-4cbf-9d52-4ffb083d65f4"
/>
After change:
<img width="1922" height="1126" alt="brightness_10x_on_fix"
src="https://github.com/user-attachments/assets/2a17fec8-0272-4c4e-9d88-d0916027a7c5"
/>
0 commit comments