Commit Graph

6555 Commits

Author SHA1 Message Date
Skyth 19df5470c8 Pick the sample closer to the camera when resolving 2x MSAA.
(cherry picked from commit f975cfe037971bc1684d64d31be7be09b31aa093)
2026-02-05 10:05:01 -06:00
clayjohn d376ca77dc Avoid reading from sky pointer when rendering background without sky
(cherry picked from commit da7540f3f19ad7c05acd5f3632ed349a0db75032)
2026-02-05 09:46:08 -06:00
Clay John 5207208577 Ensure that uv border size is passed in to sky rendering functions both when rendering the octmap and when rendering the sky as a background
(cherry picked from commit b4b20e95ed4e18d18370f76f6faad5f8e1e380d3)
2026-02-05 09:46:07 -06:00
Dario c2b068d08c Fix stale reference bug in FramebufferCache. 2026-01-23 10:43:09 -03:00
Clay John c5d21df245 Increase precision of ninepatch source rect to ensure pixel perfect alignment 2026-01-19 14:52:56 -08:00
Skyth 329a9f1fb2 Fix buffers in D3D12 not getting cleared with the right usage. 2026-01-15 14:50:51 +03: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 e1ad44c496 Merge pull request #114804 from clayjohn/mobile-hdr-sky
Use luminance multiplier for sky background when using mobile renderer with HDR2D
2026-01-10 23:51:29 +01: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
clayjohn 87217e50ef Use luminance multiplier for sky background when using mobile renderer with HDR2D 2026-01-09 09:59:22 -08:00
Rémi Verschelde a7c6538093 Merge pull request #114773 from clayjohn/sky-shader-radiance-fix
Add compatibility handler to `RADIANCE` in sky shaders
2026-01-09 15:00:51 +01:00
Skyth 71582241a3 Fix MSAA crashing Mali GPUs when using subpasses. 2026-01-09 15:04:36 +03:00
clayjohn 6b4e26c479 Add compatibility handler to RADIANCE in sky shaders since the type was changed.
It was a textureCube, but now it is a texture2D. For compatibility purposes we need to continue exposing a cube texture. So we need to add this scaffolding to properly sample from it.
2026-01-08 16:19:38 -08: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
Rémi Verschelde 8859f93c4e Merge pull request #114419 from blueskythlikesclouds/octmap-storage-format-fix
Handle `RGB10_A2` storage format in octmap shaders.
2026-01-08 22:57:17 +01:00
Skyth 614d0e2f0d Prevent SSR from getting affected by specular occlusion. 2026-01-08 11:41:21 +03:00
Skyth 25824f18f5 Handle RGB10_A2 storage format in octmap shaders. 2026-01-08 11:16:40 +03:00
Hugo Locurcio 4409c786ca Ensure all MovieWriter frames have the same resolution as the first frame
This fixes issues with certain video formats (like OGV) and video players
not supporting resolution changes during playback.

Resizing the viewport during recording is still not recommended
(as cropping and resizing has a performance cost and can impact visuals),
but it shouldn't cause crashes or broken files anymore.
2026-01-07 19:05:19 +01:00
Rémi Verschelde 7d807ec22d Merge pull request #114476 from blueskythlikesclouds/create-separate-graphics-queue-for-transfer
Create separate graphics queue instead of reusing the main queue when transfer queue family is unsupported.
2026-01-06 18:25:50 +01:00
Rémi Verschelde 23b7415b05 Merge pull request #114356 from nikitalita/fix-dummy-mesh-blend-shape
Fix setting mesh blend shape properties in dummy mesh storage
2026-01-06 18:25:43 +01:00
Thaddeus Crews f5c66ba68b Merge pull request #114279 from clayjohn/sky-singularity
Avoid singularity during sky filtering
2026-01-06 09:56:53 -06:00
Rémi Verschelde 05a46f3654 Merge pull request #114194 from blueskythlikesclouds/consistent-screen-and-viewport-sizes
Pass consistent viewport and screen sizes to fix point size emulation.
2026-01-06 10:59:54 +01:00
Rémi Verschelde bc6f6a6358 Merge pull request #113842 from blueskythlikesclouds/rd-depth-clear-on-first-use
Clear depth stencil textures on first use if the RDD requires it.
2026-01-06 10:59:42 +01:00
clayjohn 6e6d59b2e7 Avoid singularity during sky filtering by using a different method of calculating the orthonormal basis 2026-01-05 14:11:58 -08:00
Rémi Verschelde 52e7076a48 Merge pull request #114314 from blueskythlikesclouds/octmap-raster-fallback
Fall back to octmap raster path on certain devices & fix issues with the shaders.
2026-01-01 16:47:01 +01: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
Skyth 2bc63ddf08 Create separate graphics queue instead of reusing the main queue when transfer queue family is unsupported. 2025-12-31 16:46:34 +03:00
Fredia Huya-Kouadio be24804e1a Trigger save of the RD pipeline cache on application pause 2025-12-30 19:25:29 -08:00
nikitalita 84742563f8 Fix setting mesh blend shape properties in dummy mesh storage 2025-12-26 12:44:22 -08:00
Skyth 205d9814f1 Fall back to octmap raster path on certain devices & fix issues with the shaders. 2025-12-25 16:53:11 +03:00
Dario cf0cb625b2 Fix real time reflection probes being constantly recreated. 2025-12-22 10:02:09 -03:00
Rémi Verschelde 93737b0d95 Merge pull request #114180 from BastiaanOlij/fix_pcvr_msaa2d
Skip MSAA2D when OpenXR is used
2025-12-21 10:41:12 +01:00
Skyth c1d7c097b1 Pass consistent viewport and screen sizes to fix point size emulation. 2025-12-19 14:51:49 +03:00
Pāvels Nadtočajevs f18a33f451 [TextServer] Fix line wrapping underflow. 2025-12-19 10:56:47 +02:00
Bastiaan Olij f270f0a5bd Skip MSAA2D when OpenXR is used 2025-12-19 15:48:29 +11:00
Rémi Verschelde f1afe67b3b Merge pull request #111062 from bruvzg/ts_autoinculde_data
Automatically include text server data if project includes translations requiring it.
2025-12-18 23:30:49 +01:00
Pāvels Nadtočajevs 5afbbc71a4 Automatically include text server data if project includes translations requiring it. 2025-12-18 15:32:52 +02:00
Pāvels Nadtočajevs 4fc07a8edb [macOS] Add option for renaming system menus. 2025-12-18 08:40:14 +02:00
Rémi Verschelde e4c542d5a4 Merge pull request #113660 from clayjohn/pipeline-free
Check pipeline validity before freeing pipelines in PipelineDeferredRD
2025-12-17 22:26:57 +01:00
clayjohn 8d1277fdb1 Free octmap pipelines before freeing shaders and check pipeline validity before freeing pipelines in PipelineDeferredRD 2025-12-17 11:48:11 -08:00
Thaddeus Crews 077d6fb876 Merge pull request #114073 from akien-mga/rd-uniform-set-check
RenderingDevice: Add null checks when retrieving uniform sets
2025-12-16 20:32:59 -06:00
Rémi Verschelde 8e68058505 Merge pull request #111839 from bruvzg/no_empty_brk_lines
[TextServer] Do not add empty lines if space trimming flag is set.
2025-12-16 12:49:31 +01:00
Rémi Verschelde 5d5db072f3 Merge pull request #113656 from deralmas/gray-goo-scenario
Wayland: Work around window scale ambiguity
2025-12-16 11:26:42 +01:00
Rémi Verschelde adb7774a61 RenderingDevice: Add null checks when retrieving uniform sets
This may mitigate a crash seen in the wild in Rift Riff on Android, most
likely trading it for a single-frame rendering bug (which is better than
crashing on user devices).

It doesn't solve the underlying issue which seems to be a race condition
where a uniform set RID gets has been freed while still being reported as
owned by the RID_Owner.
2025-12-16 10:15:02 +01:00
Skyth 83af078761 Clear depth stencil textures on first use if the RDD requires it. 2025-12-15 18:34:43 +03:00
Thaddeus Crews ef0dd99a37 CI: Bump clang-format and clang-tidy versions
• clang-format: 20.1.0 → 21.1.7
• clang-tidy: 20.1.0 → 21.1.6
• `.clang-format`: 17.0.6 → 18.1.8 (keep 3 versions behind latest for compatibility)
2025-12-13 09:55:14 -06:00