Commit Graph

698 Commits

Author SHA1 Message Date
Skyth 2896cd9ef4 Fix area light atlas also destroying VoxelGI uniform sets. 2026-06-03 20:04:49 +03:00
Skyth 48f9cf19af Put area light cluster iterations behind a spec constant. 2026-06-02 17:49:44 +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 75444feae7 Merge pull request #118857 from LiveTrower/clearcoat-reflection-fixes
Fix and clean up clearcoat reflection probe process
2026-04-27 12:05:47 -05:00
LiveTrower 4b94f459f4 Fix and cleanup clearcoat reflection probe process 2026-04-24 16:04:41 -06:00
LiveTrower 5dac818f77 Fix clearcoat intensity for area lights 2026-04-22 13:07:53 -06:00
Skyth 52e8eb4bbb Fix SPIR-V validation error in Mobile clearcoat code. 2026-04-21 13:58:40 +03: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
Thaddeus Crews 9268bc73a0 Merge pull request #117619 from BastiaanOlij/fix_117303
Fix assymmetrical rendering of reflections in SDFGI
2026-04-10 10:32:35 -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
Qbieshay df081fc7c1 Fix incorrectly stored emision transform for GPUParticles2D 2026-03-27 18:48:37 +01:00
Bastiaan Olij 2f07ccd68a Fix assymmetrical rendering of reflections in SDFGI
Co-authored-by: retrotails
2026-03-24 13:25:48 +11:00
Rémi Verschelde cd8ee7d229 Merge pull request #116620 from QbieShay/qbe/rework-align-rotation
Improve options for orienting particles in space
2026-03-23 22:34:16 +01:00
Rémi Verschelde d7680230ae Merge pull request #115108 from stuartcarnie/simplify_cluster_builder
Renderer: Simplify shader and cluster builder
2026-03-23 12:57:48 +01:00
Qbieshay 113ace0cd3 Add options for billboarding on GPUParticles3D
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2026-03-19 16:10:20 +01:00
Gaktan c05c85581e Fix Octahedral encoding special case when computing vertex skinning
Signed-off-by: Gaktan <Gaktan@users.noreply.github.com>
2026-03-13 20:18:46 +01: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
Thaddeus Crews e42575d23f Merge pull request #113956 from allenwp/colour/remove-LinearToSRGB-clamping
Remove clamping from LinearToSRGB visual shader node.
2026-02-27 08:49: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
celyk d2933f04b7 Clamp uv coordinates of omni light projector 2026-02-21 11:06:27 +11:00
Josh Jones b8389cc76b Support output to HDR monitors
Co-authored-by: Alvin Wong <alvinhochun@gmail.com>
Co-authored-by: Allen Pestaluky <allenpestaluky@gmail.com>
2026-02-11 22:13:26 -07:00
Thaddeus Crews 0808e47eff Merge pull request #115904 from HEX-23/feature-fix_ssr
Fix inconsistent SSR blurriness on rough surfaces.
2026-02-10 10:34:34 -06:00
X23 fe8709d077 Fix inconsistent SSR blurriness on rough surfaces. 2026-02-10 21:12:35 +08:00
Clay John 2343d36b43 Use transmittance instead of opacity in the early-out branch when calculating volumetric fog 2026-02-09 09:45:12 -08:00
Dario 703b3f3dc2 Add structure padding where necessary for push constants.
Co-authored-by: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com>
2026-02-04 12:12:19 +01:00
Thaddeus Crews 0a843c13f8 Merge pull request #111464 from LiveTrower/clearcoat-improvements
Clearcoat improvements and fixes
2026-02-03 08:14:00 -06:00
Colin O'Rourke 63f6e3691c DrawableTextures
Implementing DrawableTextures based on: https://github.com/godotengine/godot-proposals/issues/7379
2026-01-29 01:16:06 -08:00
LiveTrower 60097eb3ce clearcoat fixes and improvements 2026-01-27 18:02:01 -06:00
Thaddeus Crews 4738ce72e3 Merge pull request #115026 from rothej/fix-94567-fog-shader-compilation-with-fog-disabled
Fix shader compilation error when writing to `FOG` when `render_mode fog_disabled`
2026-01-26 13:14:27 -06:00
Thaddeus Crews 0f8a1c9db2 Merge pull request #115147 from BastiaanOlij/fix_multiview_fixed_size
Apply fixed size properly for mono/stereo rendering.
2026-01-26 13:14:23 -06:00
Thaddeus Crews 3dc64a564b Merge pull request #115124 from blueskythlikesclouds/2x-msaa-pick-first
Pick the sample closer to the camera when resolving 2x MSAA.
2026-01-26 13:14:20 -06:00
Bastiaan Olij aac883849e Apply fixed size properly for mono/stereo rendering. 2026-01-20 23:19:45 +11:00
Clay John c5d21df245 Increase precision of ninepatch source rect to ensure pixel perfect alignment 2026-01-19 14:52:56 -08:00
Skyth f975cfe037 Pick the sample closer to the camera when resolving 2x MSAA. 2026-01-19 22:02:57 +03:00
Stuart Carnie 0b51ba8a6a Renderer: Simplify shader and cluster builder
- gl_HelperInvocation + MSAA is the root cause of the rendering
  artifacts.
- Disable the gl_HelperInvocation check using a specialisation constant,
  which removes two variants from compilation
- Remove NO_IMAGE_ATOMICS variant, as the macros are not used in
  cluster_render.glsl, removing a further two variants.
2026-01-19 07:22:16 +11:00
Joshua Rothe 7a2f188382 Fixing shader compilation error when writing to FOG when render_mode fog_disabled.
Always declares FOG variable regardless of fog state. Previously, only declared
fog if FOG_DISABLED was undefined. This caused errors if the code tried to
write to fog later. Exists as a dummy variable when unused.

Signed-off-by: Joshua Rothe <joshrothe@gmail.com>
2026-01-16 02:12:52 -07:00
Rémi Verschelde 4db916dac6 Merge pull request #114908 from clayjohn/RD-env-roughness
Overhaul compute shader based environment roughness calculation to improve performance and quality
2026-01-13 22:20:59 +01:00
Rémi Verschelde 427eab91a2 Merge pull request #114907 from clayjohn/RD-env-filter
Fix downsampled radiance map generation
2026-01-13 22:20:55 +01:00
clayjohn e33515c2e6 Overhaul compute shader based environment roughness calculation to improve performance and quality 2026-01-12 22:07:56 -08:00
clayjohn 24c2c452de Fix downsampled radiance map generation.
Reduce the mipmap levels so that the border is pixel perfect

Always use the high quality downsample to reduce jaggies

Fix the jacobian approximation so that it actually helps account for the octahedral distortion
2026-01-12 18:56:10 -08:00
Rémi Verschelde 569a36b6fe Merge pull request #114785 from blueskythlikesclouds/mali-msaa-subpass-fix
Fix MSAA crashing Mali GPUs when using subpasses.
2026-01-10 07:28:43 +01:00
Skyth 71582241a3 Fix MSAA crashing Mali GPUs when using subpasses. 2026-01-09 15:04:36 +03:00
clayjohn 576afb6c18 Workaround crash in pipeline creation on intel Mesa devices by avoiding using half floats in derivative functions 2026-01-08 14:23:38 -08:00
Rémi Verschelde c8b1071f3b Merge pull request #114727 from blueskythlikesclouds/ssr-after-specular-occlusion
Prevent SSR from getting affected by specular occlusion.
2026-01-08 22:57:21 +01:00
Skyth 614d0e2f0d Prevent SSR from getting affected by specular occlusion. 2026-01-08 11:41:21 +03:00