Skyth
2896cd9ef4
Fix area light atlas also destroying VoxelGI uniform sets.
2026-06-03 20:04:49 +03:00
Thaddeus Crews
1078619908
Merge pull request #119414 from clayjohn/legacy-fog-blend
...
Add project setting to disable new Volumetric fog blending behavior
2026-05-12 17:54:07 -05:00
Clay John
c76223a35e
Add project setting to disable new Volumetric fog blending behavior for existing projects that want to upgrade.
...
Setting is off by default, so its only intended for people who really need to rollback to the previous behavior.
2026-05-12 10:48:46 -07:00
Skyth
0bba587614
Fix undefined barrier usage in SDFGI preprocess shader.
2026-05-08 17:10:58 +03:00
Thaddeus Crews
179899680b
Merge pull request #118198 from viksl/volumetric-fog-nan-handling-reprojected
...
Filter and sanitize volumetric fog to stop invalid values flooding the screen with black pixels through temporal reprojection.
2026-04-30 10:58:06 -05:00
Thaddeus Crews
7ce1853014
Merge pull request #108219 from CookieBadger/area-light-integration
...
Add Rectangular Area Light Source
2026-04-14 07:10:56 -05:00
viksl
2248544daa
Filtering out invalid values from density and fog textures.
...
Added clamps for 16 bit float range (textures are 16 bit) to avoid overflow - particularly needed due to large values from attenuation.
Normalizing couple vectors are now done through a new safe_normalize function since some vectors can have 0 length which leads to zero division.
2026-04-04 15:55:28 +02:00
CookieBadger
7b7bd1dcea
Add AreaLight3D
2026-04-04 01:37:10 +02:00
Bastiaan Olij
2f07ccd68a
Fix assymmetrical rendering of reflections in SDFGI
...
Co-authored-by: retrotails
2026-03-24 13:25:48 +11:00
Thaddeus Crews
4296a0c158
Merge pull request #116752 from BastiaanOlij/cleanup_is_frustum
...
Clean up `is_frustum` projection code
2026-03-04 14:32:33 -06:00
Allen Pestaluky
dce001aee7
Remove clamping from LinearToSRGB visual shader node.
2026-02-26 11:49:26 -05:00
Bastiaan Olij
2c49923c39
Cleanup projection code so we don't need our frustum override in the renderer
2026-02-25 21:16:38 +11:00
Rémi Verschelde
51ff4d0458
Merge pull request #113334 from Image-unavailable/voxelgi-reflection-fix
...
Fix VoxelGI glossy reflection artifacts
2026-01-01 16:46:05 +01:00
Dario
c78c3ba894
Rewrite Radiance and Reflection probes to use Octahedral maps.
...
Co-authored-by: clayjohn <claynjohn@gmail.com >
2025-12-02 17:48:12 -08:00
Image-unavailable
83b245a84d
Use stricter alpha check during VoxelGI cone-tracing to prevent reflection artifacts
2025-11-29 17:47:07 +01:00
clayjohn
8ee3897048
Clean up Volumetric Fog blending behavior
...
Use proper blending everywhere to be consistent and avoid multiplying by opacity twice.
2025-11-07 11:11:44 -08:00
Colby Klein
bdbbed8ea9
Revise fog blending to fix over-darkening/borders.
...
This can result in low fog densities being a bit brighter, which may need slight adjustment in your scenes.
In exchange, volumetrics now blend smoothly together with the scene and regular fog.
Fixes #101514
2025-10-24 13:15:26 -07:00
Florent Guiocheau
199161f023
Fix spotlight's shadow with volumetric fog
2025-08-13 09:28:06 +02:00
Dario
b962b38e74
Check for Vulkan Memory Model support and make it a variant.
2025-07-25 09:24:58 -03:00
Stuart Carnie
5230f6c60c
Apple: Use image atomic operations on supported Apple hardware
...
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com >
2025-07-05 05:59:00 +10:00
Dario
46277836a6
Optimize Mobile renderer by using FP16 explicitly.
2025-06-09 14:39:35 -03:00
Rémi Verschelde
e6d0b32566
Merge pull request #106673 from retrotails/master
...
Fix light range in VoxelGI
2025-06-06 17:37:09 +02:00
Kaleb Reid
bac9427325
Fix sky energy in fog sun scatter + colour space discrepancy in compatibility
2025-06-04 13:59:53 -07:00
Dario
5a30a7e7cd
Add shader baker to project exporter.
...
Metal Support contributed by Migeran (https://migeran.com ) and Stuart Carnie.
Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com >
Co-authored-by: Gergely Kis <gergely.kis@migeran.com >
2025-05-27 12:45:27 -03:00
retrotails
ba06234309
Fix light range in voxel GI
2025-05-21 06:49:35 -04:00
clayjohn
d2dce41681
Fix float/int comparison in acos_approx in sky template shader
...
Strict GLSL implementations will not automatically convert `0` to a float
2025-04-27 17:06:34 -07:00
clayjohn
6fede0b951
Optimize SkyMaterials by removing uses of acos and simplifying logic
...
The results looks almost the same and run much faster.
2025-04-17 22:50:11 -07:00
Rémi Verschelde
03c83cea1e
Style: Enable clang-format's InsertBraces config
...
This was part of our style guide since we started using clang-format
but the feature was only added in clang-format 15, and we hadn't
noticed it yet.
2025-01-09 16:46:51 +01:00
Thaddeus Crews
4665faaaa9
Merge pull request #100427 from Namey5/fog-sky-luminance
...
Separate sky luminance and brightness calculations for consistent fog
2024-12-19 19:59:50 -06:00
Alex Threlfo
e4fd2f003f
Support custom sky rotation in SDFGI
2024-12-20 11:26:28 +11:00
Alex Threlfo
5f617663aa
fix: separate sky luminance and user brightness calculations around fog
2024-12-20 11:25:11 +11:00
clayjohn
02efdb28dc
Unify y-flip behavior for sky in RD backends
2024-11-19 16:59:04 -08:00
m-pranav-r
c12001a9dc
Fix incorrect depth comparison used to calculate volumetric fog shadowing
2024-10-16 14:55:41 +05:30
Thaddeus Crews
9f9ee0c813
SCons: Add unobtrusive type hints in SCons files
2024-09-25 09:34:35 -05:00
Thaddeus Crews
b37fc1014a
Style: Apply new clang-format changes
2024-09-20 08:09:48 -05:00
Stuart Carnie
2d0165574d
Add Metal support for macOS (arm64) and iOS
2024-08-20 12:11:06 +02:00
clayjohn
578049b7b9
Add fixed fog to the sky in the Compatibility renderer
...
And apply luminance multiplier after fog in RD renderer
2024-08-17 23:33:26 -07:00
Khasehemwy
d950f5f838
Use Reverse Z for the depth buffer
2024-04-04 13:54:15 +02:00
Rémi Verschelde
7abaac631b
Fixup SDFGI shader compilation error after #80390
...
My mistake, I added this when rebasing and didn't notice that it was a
.glsl file and thus the availability of Math was not confirmed by the
C++ compiler.
2024-01-03 08:51:08 +01:00
EddieBreeg
8747c67d9e
Fix potential integer underflow in rounded up divisions
...
A new `Math::division_round_up()` function was added, allowing for easy
and correct computation of integer divisions when the result needs to
be rounded up.
Fixes #80358 .
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com >
2024-01-02 14:14:47 +01:00
clayjohn
43cf21cb71
Use best fit normals for storing screen space normals
2023-12-21 14:41:29 -07:00
viksl
8a2d345a85
Fixes spotlight's cluster artifacts and negative light.
2023-10-01 09:13:30 +02:00
Matias N. Goldberg
79c9edab3b
Draw sky as a fullscreen triangle
2023-08-05 17:55:43 -03:00
Yuri Sizov
bb15241e06
Merge pull request #77740 from ChibiDenDen/simplify_vulkan
...
Replace sampler arrays with constant sampler elements, simplify and reuse code for all shaders
2023-07-12 17:16:12 +02:00
ChibiDenDen
35715e510f
replace sampler arrays with constant sampler elements
2023-06-22 01:11:57 +03:00
Bastiaan Olij
66272ea26e
Fix volumetric fog in stereo by projection vertex in combined space
2023-06-20 14:36:14 +10:00
Rémi Verschelde
852740a627
Merge pull request #76053 from MightiestGoat/fix-sky-auto-exposure
...
Fix the grainy sky while using debanding.
2023-05-24 08:46:28 +02:00
Pedro J. Estébanez
09aa1bbdb3
Fix unsupported sampler filter used for voxel GI
2023-04-26 20:54:06 +02:00
mightygoat
69f634ac78
Fix the grainy sky while using debanding
2023-04-15 10:43:46 +05:30
RandomCatDude
c118314fe8
Apply sky fog after luminance multiplier
2023-04-08 12:52:33 +05:00