Commit Graph

6587 Commits

Author SHA1 Message Date
Thaddeus Crews
fd6e80d4e9 Merge pull request #105701 from ColinSORourke/DrawableTexture
Implement DrawableTextures
2026-01-30 09:32:05 -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
Thaddeus Crews
135cd6eea0 Merge pull request #115530 from clayjohn/render-target-discard
Remove `is_discardable` flag on render target
2026-01-28 17:58:14 -06:00
Thaddeus Crews
dd210a1071 Merge pull request #100923 from j20001970/camera-feed-format
CameraFeed: Add `set_format` and `get_formats` virtual binds
2026-01-28 17:58:07 -06:00
Thaddeus Crews
94f3b73cec Merge pull request #114488 from BenLubar/text-server-glyph-span-index
Add `span_index` to `TextServer.shaped_text_get_glyphs` and related methods when accessed from GDScript.
2026-01-28 17:58:05 -06:00
Thaddeus Crews
cdddc73745 Merge pull request #115379 from kitbdev/popupmenu-set-index
Add PopupMenu method `set_item_index`
2026-01-28 17:58:01 -06:00
Clay John
3cf0881c36 Remove is_discardable flag on render target since it is not needed and creates issues on NVidia devices 2026-01-28 11:08:40 -08:00
Thaddeus Crews
ef313ecc46 Merge pull request #115177 from blueskythlikesclouds/unique-buffers-per-pass
Give every pass its own unique environment uniform buffer.
2026-01-28 12:27:13 -06:00
Nintorch
eb019511ed Optimize files that #include input.h header 2026-01-28 14:21:00 +05:00
Thaddeus Crews
75cd151cb0 Merge pull request #113781 from clayjohn/rd-discardable
Mark more textures as discardable
2026-01-27 15:18:31 -06:00
Thaddeus Crews
2450bb0c75 Merge pull request #114449 from ndarilek/a11y-regions
GUI: Add accessibility region role for landmark navigation
2026-01-27 15:18:27 -06:00
Thaddeus Crews
04a2ae7ed4 Merge pull request #99119 from Fahien/fahien/raytracing-base
Vulkan raytracing plumbing
2026-01-27 15:18:24 -06:00
Thaddeus Crews
ea1e6640f0 Merge pull request #115434 from syntaxerror247/landscape-or-portrait
Add device orientation change signal to DisplayServer
2026-01-27 15:18:22 -06:00
Thaddeus Crews
c161d13b1b Merge pull request #115452 from Ivorforce/rendering-server-no-geometry
Reduce compile time by removing `geometry_3d.h` include from `rendering_server.h`
2026-01-27 15:18:19 -06:00
Anish Kumar
e2369a834b Add device orientation change signal in DisplayServer
This PR:
- Fixes the orientation detection logic on Android
- Adds an orientation_changed signal in DisplayServer

Co-Authored-By: bruvzg <7645683+bruvzg@users.noreply.github.com>
2026-01-27 23:35:44 +05:30
Lukas Tenbrink
c56c297cee Remove geometry_3d include from rendering_server.h, to reduce compile time.
Change `Geometry3D` from class to namespace.
2026-01-27 18:12:38 +01:00
Jason Kuo
af83dc658c CameraFeed: Add set_format and get_formats virtual binds 2026-01-28 00:08:50 +08:00
Antonio Caggiano
27e4f24800 raytracing: Initial Vulkan support
- Vulkan implementations in `RenderingDeviceDriverVulkan`.
- Raytracing instruction list in `RenderingDeviceGraph`.
- Functions to create acceleration structures and raytracing pipelines
  in `RenderingDevice`.
- Raygen, Miss, and ClosestHit shader stages support.
- GDScript bindings.
- Update classes documentation.
- Unimplemented placeholders for Metal and D3D12.
- Build acceleration structure command.
- Expose a shader preprocessor define.
- Align build scratch address.
- Create STB after creating the pipeline.
- Separate acceleration structure barriers.
- Use transforms in TLAS instances.
- AnyHit and Intersection stages.
- Optionally set acceleration structure build input buffer usage.
- Introduce instances buffer.
- Move scratch buffers to RenderingDevice.
- Rename AccelerationStructureGeometryBits.
- Use regular buffer creation and free routines for scratch buffer.
- Store trackers in acceleration structures.
- Bump Shader SPIR-V version to 1.4
- Add Position attribute location in blas_create.
- Encapsulate MoltenVK check in preprocessor macro.
- Split SUPPORTS_RAYTRACING for pipeline and query.
2026-01-27 16:17:45 +01:00
Thaddeus Crews
dcf5b4deac Merge pull request #114731 from j20001970/camera-feed-datatype-texture
CameraFeed: Create new texture on datatype change
2026-01-27 09:04:13 -06:00
Thaddeus Crews
b3af0f641a Merge pull request #114821 from rsanchezsaez/apple/override-improvements
AppleEmbedded: `renderer_compositor_rd.h` override improvements
2026-01-26 15:01:37 -06:00
Thaddeus Crews
b268b1013d Merge pull request #115292 from luzader/patch-1
Use sky's corrected camera projection for `combined_reprojection`
2026-01-26 13:14:28 -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
kit
01839942fc Add PopupMenu method set_item_index 2026-01-26 12:17:56 -05:00
Jason Kuo
d94a50bd5a CameraFeed: Create new texture on datatype change 2026-01-25 22:27:15 +08:00
Ben Lubar
288530eb47 Add span_index to TextServer methods that wrap Glyph for gdscript. 2026-01-24 16:02:15 -06:00
Dario
c2b068d08c Fix stale reference bug in FramebufferCache. 2026-01-23 10:43:09 -03:00
Zac Luzader
56e646c217 Use sky's corrected camera projection for combined_reprojection 2026-01-22 19:26:17 -07:00
Skyth
1d9910cac4 Give every pass its own unique environment uniform buffer. 2026-01-20 19:24:20 +03: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
Nolan Darilek
d53ab67b83 GUI: Add accessibility region role for landmark navigation
Adds ROLE_REGION to allow controls to be marked as accessibility
regions/landmarks.

- Add `accessibility_region` property to Control
- Add ROLE_REGION to DisplayServer and AccessKit mapping
- Prevent Container/ScrollContainer from overriding region role
- Fix TabContainer to update accessibility when tabs change
- Mark editor docks, main screen, bottom panel, and scene tabs as regions
2026-01-19 08:12:33 -05: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
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
Ricardo Sanchez-Saez
3f3dea380c [rendering] Add 'virtual' and 'override' specifiers to overridden functions in 'renderer_compositor_rd.h' 2026-01-12 15:31:30 -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