Commit Graph

3502 Commits

Author SHA1 Message Date
Thaddeus Crews fdc9f35119 Merge pull request #117148 from blueskythlikesclouds/rt-api-adjustments
Raytracing API adjustments.
2026-04-06 13:02:27 -05:00
Altay Evren Özsan d18e225ba5 Added math constants to texture-blit
Fixes #118144

Fixed an issue where texture-blit shader was failing to compile when using some math constants because the code was incorrectly passing name strings into the shader
2026-04-05 22:45:50 +03:00
Skyth e16a299a86 Raytracing API adjustments. 2026-04-03 18:06:34 +03:00
Thaddeus Crews 7351e6909b Merge pull request #116962 from blueskythlikesclouds/blas-create-api-change
Refactor `blas_create` to accept multiple geometries.
2026-04-02 12:33:23 -05:00
Thaddeus Crews c05358c1d6 Merge pull request #108073 from Gaktan/fix-decal-atlas
Fix decal atlas clipped when using texture resolution < 32
2026-04-02 12:33:14 -05:00
Thaddeus Crews 872cfabf3d Merge pull request #79731 from Calinou/viewport-add-nearest-3d-scaling
Add a nearest-neighbor scaling option to Viewport's Scaling 3D Mode property
2026-04-02 12:33:13 -05:00
Thaddeus Crews 8c3a9f9afc Merge pull request #105122 from Calinou/canvasitem-drawing-antialiasing-compensate-width
Fix CanvasItem lines appearing thicker when antialiasing is enabled
2026-04-01 18:10:18 -05:00
Thaddeus Crews 7e3bf93f8a Merge pull request #117909 from QbieShay/qbe/fix-trimmed-transform
Fix incorrectly stored emission transform for GPUParticles2D
2026-04-01 18:10:11 -05:00
Thaddeus Crews eda3dc13b9 Merge pull request #109142 from QbieShay/qbe/particle-process-windown
Extra particle tools for seeking
2026-04-01 18:10:08 -05:00
Skyth 27305b6de8 Fix color correction not working in the tonemap subpass. 2026-04-01 12:36:39 +03:00
Qbieshay df081fc7c1 Fix incorrectly stored emision transform for GPUParticles2D 2026-03-27 18:48:37 +01:00
StarryWorm 4ae336740d Add missing resource_*.h includes
Add missing `resource_importer.h` includes
Add missing `resource_loader.h` includes
Add missing `resource_saver.h` includes
2026-03-27 07:03:39 -04:00
Qbieshay 158d8784c3 Add parameter to request_process_time to have particle process without
emission.

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2026-03-27 11:57:08 +01:00
Hugo Locurcio 3aea7cfdea Fix CanvasItem lines appearing thicker when antialiasing is enabled
This was due to the antialiasing feather not being compensated for
when drawing the line. The feather makes the line appear thicker,
so we have to reduce the line width to compensate.

This also affected filled circles and rectangles, which are now
compensated for by adjusting their radius and size respectively.
2026-03-27 00:16:28 +01:00
Gaktan c0eb935646 Fix decal atlas clipped when using texture resolution < 32 2026-03-26 20:48:25 +01:00
Hugo Locurcio 5df0c8b271 Add a nearest-neighbor scaling option to Viewport's Scaling 3D Mode property
This is useful for 3D games with a pixel art appearance, or when
using a resolution scale of `0.5` to improve performance without
compromising crispness too much when not using FSR 1.0.

The property hints now allow decreasing the scale further to accomodate
for pixel art use cases, as well as increased precision in the value
(useful for a scale of `0.3333`).

Co-authored-by: Daniel Savage <dansvg@gmail.com>
Co-authored-by: Kaleb Reid <78945904+Kaleb-Reid@users.noreply.github.com>
2026-03-25 00:05:54 +01: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 7958080d65 Merge pull request #116220 from dsnopek/foveated-rendering-vulkan-subsampled-image
OpenXR: Allow using Vulkan subsampled images with foveated rendering
2026-03-23 22:34:11 +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
Thaddeus Crews 0e8bd28a10 CI: Implement clangd-tidy as GitHub Action 2026-03-20 09:16:38 -05: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
Rémi Verschelde 98868393cc Style: Enforce #include validation hook 2026-03-18 10:41:59 +01:00
Rémi Verschelde e33e98a26f Style: Apply clang-format grouping rules 2026-03-17 20:11:01 +01:00
Chaosus e05ceb0e14 Restrict condition parsing in shader preprocessor 2026-03-17 16:13:38 +03:00
Rémi Verschelde 7795057e4b Misc includes or modernize fixes found via clangd-tidy 2026-03-16 21:38:26 +01:00
Rémi Verschelde 6d309c858e Remove unused includes in modules with clangd-tidy 2026-03-16 16:40:39 +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 22a140486b Merge pull request #117157 from Chaosus/shader_restrict_uncompatible_funcs
Restrict `textureGather` shader function in Compatibility mode
2026-03-12 09:03:33 -05:00
Thaddeus Crews d7ed107cd8 Merge pull request #116852 from Chaosus/rendering_fix_texture_array
Fix repeating last valid texture in samplers array
2026-03-12 09:03:32 -05:00
Skyth 1b7fcc3993 Refactor blas_create to accept multiple geometries. 2026-03-11 15:19:56 +03:00
Rémi Verschelde e015e8bde4 Remove unused includes in core with clangd-tidy 2026-03-11 06:41:36 +01:00
Rémi Verschelde f1d63278d7 Remove unused includes in servers with clangd-tidy 2026-03-10 21:42:23 +01:00
Yyf2333 282e4544b0 Split VariantCaster from binder_common.h 2026-03-10 17:59:33 +08:00
Thaddeus Crews cc970e91e5 Merge pull request #116888 from Chaosus/shader_fix_struct
Allow using a struct name as a variable name in shaders
2026-03-09 15:18:11 -05:00
Chaosus 3085aaf924 Restrict textureGather shader function in Compatibility mode 2026-03-07 09:24:30 +03:00
mxtherfxcker d5ebd33d72 Fix SDFGI ignoring visual layers of geometry instances 2026-03-06 12:35:16 -06:00
David Snopek 4d218bdeb7 OpenXR: Allow using Vulkan subsampled images with foveated rendered 2026-03-05 11:00:37 -06:00
StarryWorm 3cb2d376f8 Get rid of all unnecessary class_db.h includers 2026-03-04 17:40:05 -05: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
Rémi Verschelde eabb9a63d4 Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
Rémi Verschelde 765362b033 Explicitly include core/config/engine.h where used 2026-03-04 10:17:10 +01:00
Rémi Verschelde f332faf46b Explicitly include core/os/os.h where used 2026-03-04 09:54:10 +01:00
Rémi Verschelde 8c0f175c94 Decouple RenderingServer from as much of the codebase as possible
Notably decouples it from:
- AccessibilityServer
- DisplayServer
- Viewport
- Window
2026-03-03 12:48:07 +01:00
Rémi Verschelde a447ac95ec Move DisplayServer enums and typedefs to DisplayServerEnums
This will allow decoupling `display_server.h` from a number of headers in the
codebase which only require those enums and not all the DisplayServer API.
2026-03-03 12:44:02 +01:00
Thaddeus Crews 1aaea38e7f Merge pull request #111573 from StarryWorm/rm-class_db.h-from-resource.h
Core: remove `class_db.h` include from `resource.h`
2026-02-28 13:55:24 -06:00
Chaosus 9c3e52f38e Allow using a struct name as a variable name in shaders 2026-02-28 15:08:00 +03:00
StarryWorm 357fa00a4a rm class_db.h from resource.h 2026-02-27 19:08:29 -05:00
Thaddeus Crews dd150a3823 Merge pull request #116413 from Chaosus/shader_fix_completion
Fixes for completion of shader preprocessor defines
2026-02-27 15:44:40 -06:00
Chaosus 205a1b0972 Fix repeating last valid texture in samplers array 2026-02-27 19:49:09 +03: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