Commit Graph

2107 Commits

Author SHA1 Message Date
Thaddeus Crews 82e7c213a4 Merge pull request #110911 from Kaleb-Reid/fix-clear-colour
Apply sky brightness multiplier in correct color space
2026-06-18 13:15:30 -05:00
Thaddeus Crews 3408519fcc Merge pull request #120230 from clayjohn/multimesh-zero-initialize
Initialize multimesh buffers to 0
2026-06-18 13:15:29 -05:00
Thaddeus Crews 99c4eac0c6 Merge pull request #119989 from ttencate/fix/generated_tangents_warning_106276
Suppress warning about missing mesh tangents if TANGENT is assigned in the shader
2026-06-18 10:19:04 -05:00
clayjohn 34cdc6e43f Initialize multimesh buffers to 0 instead of letting them contain garbage data.
In the editor, we read back the data from the GPU to display the buffer values. So when we create the buffer uninitialized, we end up reading back garbage data and displaying it in the editor.

Many GPUs zero-initialize buffers by default, but it isn't guaranteed behaviour, so its best to initialize it ourselves to be safe
2026-06-11 22:18:56 -07:00
Skyth af2fea0ad3 Fix leftover particle data when updating particle buffers.
Co-authored-by:  Skyth <19259897+blueskythlikesclouds@users.noreply.github.com>
2026-06-11 21:02:05 +02:00
Thomas ten Cate d3219bdf07 Suppress warning about missing mesh tangents if TANGENT is assigned in the shader
Fixes #106276
2026-06-03 20:17:12 +02:00
David Snopek 15d8191fbf OpenGL: Fix vertex shader compilation error with EYE_OFFSET 2026-06-03 11:54:50 -05:00
Kaleb Reid 50238693ef Apply sky brightness multiplier in correct color space 2026-05-27 13:18:20 -07:00
Thaddeus Crews fa09dd17a6 Merge pull request #116634 from mooflu/gles-reflection-probe-crash-115256
Check render target before dereferencing reflection probe.
2026-05-25 12:52:36 -05:00
Frank Becker 8dd82dc221 Check rt before dereferencing it.
There is no render target for reflection probe.
2026-05-25 10:29:53 -07:00
Thaddeus Crews 3bfa50fd32 Merge pull request #117805 from BenLubar/gl-compatibility-drawable-texture
Fix `convert_to_srgb` uniform being set as the wrong data type.
2026-05-20 14:33:23 -05:00
Ben Lubar d55190dfde Fix convert_to_srgb uniform being set as the wrong data type. 2026-05-19 14:48:58 -05:00
Hugo Locurcio a96279db3e Warn about --gpu-index CLI argument being unsupported in Compatibility
- Print a warning when `--gpu-index` is out of range in RenderingDevice-based
  renderers, since it falls back to automatic GPU selection.

The GPU selection logic is only available in RenderingDevice-based renderers.
2026-05-06 19:23:14 +02:00
Wilson E. Alvarez e86de1802b Free LTC RIDs 2026-05-02 21:39:36 -04:00
Thaddeus Crews f059d64e3d Merge pull request #118968 from CookieBadger/area-light-lut-textures
Fix GPU validation errors due to area light LUT format
2026-04-30 10:58:09 -05:00
David Snopek 49b2043deb Fix a couple more ubo:X numbers for XR in Compatibility renderer 2026-04-28 13:21:41 -05:00
David Snopek fd1898bf5d Fix ubo:X numbers for multiview UBOs in Compatibility renderer 2026-04-27 17:56:37 -05:00
CookieBadger 7c532acc09 change LTC lookup table texture format to RGBAF and set p_8bit_dst to true in gaussian_blur 2026-04-27 21:35:46 +02:00
Thaddeus Crews 04e3d906f9 Merge pull request #114957 from LucaTuerk/fix_compat_backbuffer_allocation
Remove Compatibility RenderTarget backbuffer size limit
2026-04-23 08:34:56 -05:00
LiveTrower 5dac818f77 Fix clearcoat intensity for area lights 2026-04-22 13:07:53 -06:00
Thaddeus Crews 5884e31ab7 Merge pull request #118152 from aaronfranke/init-ra-ls-rac
Initialize ReflectionAtlas in `LightStorage::reflection_atlas_create`
2026-04-21 16:46:11 -05:00
Thaddeus Crews 06fc4f8165 Merge pull request #113413 from Kaleb-Reid/fix-aa-bilinear-scaling
Fix screen-space AA when scaling using bilinear filtering
2026-04-21 08:48:00 -05:00
KOGA Mitsuhiro 462d6334bf Fix GLES3 scene shader int literal type errors for WebGL 2026-04-18 05:26:08 +09:00
Kaleb Reid 08cb31b4d1 Fix screen-space AA when upscaling using bilinear filtering 2026-04-15 15:33:26 -07:00
CookieBadger eb6e4eb234 fix AreaLight3D compatibility vertex shading compilation error 2026-04-15 20:20:33 +02:00
Rémi Verschelde cc212fb90a Merge pull request #117788 from kleonc/canvas_item_shader_generate_sdf_on_using_normal
Generate SDF texture on `texture_sdf_normal` usage
2026-04-15 12:40:50 +02:00
Thaddeus Crews f94bbfc07c Merge pull request #118353 from Chaosus/shader_subgroups
Allow to define more than one subgroup level in shader material
2026-04-14 07:11:08 -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
Thaddeus Crews cee489f46e Merge pull request #118242 from BlueCube3310/draw-tex-set-type
Properly set `drawable_type` property in RenderingServer's `DrawableTexture`
2026-04-13 15:52:15 -05:00
Thaddeus Crews 4a54b89461 Merge pull request #118533 from clayjohn/gles3-z-clip
Restore z-clip functionality in the Compatibility renderer
2026-04-13 15:52:12 -05:00
clayjohn bdc76e0f59 Restore z-clip functionality in the Compatibility renderer 2026-04-13 12:02:44 -07:00
Chaosus 5c667de60c Allow to define more than one subgroup level in shader material 2026-04-09 19:15:19 +03:00
Thaddeus Crews 755fa449c4 Merge pull request #118318 from clayjohn/compatibility-sky-shader-error
Fix compile errors in sky shader in the compatibility renderer
2026-04-08 17:00:44 -05:00
Thaddeus Crews 967b56efec Merge pull request #118317 from clayjohn/sky-shader-fallback
Ensure that sky shader automatic mode consistently uses the fallback
2026-04-08 17:00:43 -05:00
clayjohn 63c49cc668 Ensure that sky shader automatic mode consistently uses the fallback
This is necessary so that the proper backing textures can be allocated for the sky shader
2026-04-08 10:49:18 -07:00
clayjohn 7282051271 Fix compile errors when using HALF_RES_COLOR, QUARTER_RES_COLOR, or TIME in a sky shader in the compatibility renderer 2026-04-08 10:34:58 -07:00
Thaddeus Crews b6f86739b6 Merge pull request #109911 from TCROC/fix-particles-moving-timescale-0
Fix particles moving when timescale is 0
2026-04-08 09:25:25 -05:00
Rémi Verschelde 7567211e8b GLES3: Split EGL includes in platform_egl.h
EGL brings in platform-specific headers such as the dreaded `windows.h`,
and `platform_gl.h` is used throughout `drivers/gles3` for basic OpenGL
types such as `GLuint`. We don't want `windows.h` pollution there.

Note for Android: EGL seems used explicitly only via `rasterizer_gles3.cpp`
to enable GL debug printing, and some custom stuff in `config.cpp`.
2026-04-07 12:07:22 +02:00
Thaddeus Crews 03723198e0 Merge pull request #118163 from AltayEvrenOzsan/fix/texture-blit-math-constants
Added math constants to texture-blit
2026-04-06 13:02:22 -05:00
Thaddeus Crews 201a68f700 Merge pull request #117771 from Calinou/lightmapgi-fix-compatibility-probe-update-speed
Fix LightmapGI probe update speed setting not applying in Compatibility
2026-04-06 13:02:10 -05:00
BlueCube3310 7ba643bdcf Properly set drawable_type property in RenderingServer's DrawableTexture 2026-04-06 13:11:49 +02: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
CookieBadger 7b7bd1dcea Add AreaLight3D 2026-04-04 01:37:10 +02:00
Aaron Franke bc7e9d6a22 Initialize ReflectionAtlas in LightStorage::reflection_atlas_create 2026-04-03 04:12:24 -07: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 eda3dc13b9 Merge pull request #109142 from QbieShay/qbe/particle-process-windown
Extra particle tools for seeking
2026-04-01 18:10:08 -05: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
Rémi Verschelde e030230a99 Merge pull request #117445 from bruvzg/angle_no_dyn
[macOS/Windows] Remove dynamically linked ANGLE support, add flag to enable/disable ANGLE.
2026-03-26 16:01:25 +01:00
Rémi Verschelde 231b5dc0d4 Merge pull request #117142 from blueskythlikesclouds/compatibility-canvas-background-exposure-fix
Fix exposure not working with canvas background on Compatibility.
2026-03-26 16:01:20 +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