Commit graph

4814 commits

Author SHA1 Message Date
Rémi Verschelde
996c9a644e
Merge pull request #113176 from xuhuisheng/dev/ske-mod-error
Fix empty 2D skeleton modification keeps printing error messages
2025-12-01 13:13:19 +01:00
Rémi Verschelde
1d9b073ef0
Merge pull request #112058 from Chaosus/vs_fix_param_ref
Fix ParameterRef connection through reroute in visual shaders
2025-11-27 21:47:59 +01:00
xuhuisheng
37a6043579 Fix empty skeleton modification keeps print error messages 2025-11-26 12:37:14 +08:00
Thaddeus Crews
89435a9e05
Merge pull request #97616 from magian1127/4.0gdshader
Optimize the custom doc for shaders.
2025-11-25 09:52:34 -06:00
Thaddeus Crews
5ff7a9e793
Merge pull request #112031 from bruvzg/vm_os_f
Fix embedded window frame oversampling, fix DPITexture using uninitialized size in some conditions.
2025-11-25 09:52:24 -06:00
Lukas Tenbrink
0f047944e4 Statically protect Object::cast_to for unrelated Object types.
Fix a handful of bugs associated with it.
2025-11-24 23:03:22 +01:00
Silc Lizard (Tokage) Renew
4f255fa7d7 Add interpolate_via_rest static func to Animation class 2025-11-22 07:52:32 +09:00
Magian
42c683d450 Optimize the custom doc for shaders.
Remove add_doc for gdshader files without documentation.
Standardize the class_doc.name for custom documentation.
2025-11-21 01:12:09 +08:00
Thaddeus Crews
7716a4cba0
Merge pull request #101342 from KoBeWi/roundabout_solution
Round AtlasTexture size
2025-11-19 11:04:10 -06:00
Thaddeus Crews
9c561027fc
Merge pull request #112538 from Chaosus/vs_instance_index
Add `instance_index` option to parameters in visual shaders
2025-11-18 08:25:49 -06:00
kobewi
c4c39fba55 Fix display_placeholder not persisting 2025-11-16 03:18:24 +01:00
Thaddeus Crews
d1a90109b4
Merge pull request #108010 from DexterFstone/add-scene-tile-rotation
Add support for rotating scene tiles in TileMapLayer
2025-11-14 14:23:13 -06:00
Thaddeus Crews
55bedbfaf5
Merge pull request #108741 from AriaTheCurseling/Allow-concurrent-unbind-and-binding-of-signal-arguments-in-editor
Allow concurrent unbinding and binding of signal arguments in editor
2025-11-13 17:42:49 -06:00
Silc Lizard (Tokage) Renew
e9a6a84468 Make AnimationLibrary use RBMap instead of HashMap 2025-11-13 07:24:10 +09:00
Thaddeus Crews
a627ee6c10
Merge pull request #112471 from Rudra-ravi/claude/fix-godot-official-issues-011CUrnHud9iQ4LV6FDv2hG7
Fix glow visual compatibility regression
2025-11-10 17:47:07 -06:00
Per Lindstrand
c765e6cbb6 Fix custom audio track blend flag on reimport 2025-11-09 00:01:29 +01:00
Chaosus
808faa0ab0 Add instance_index option to parameters in visual shaders 2025-11-08 14:35:24 +03:00
Claude
802eb0b1a0
Fix glow visual compatibility regression (issue #112469)
Reverts the default value of Environment.glow_hdr_threshold from 0.0
back to 1.0 to restore the expected glow appearance in existing projects.

The default was inadvertently changed from 1.0 to 0.0 in PR #110077,
which caused glow effects to render dramatically different across all
rendering methods (Forward+, Mobile, and GL Compatibility). This broke
backward compatibility with existing projects like the Kenney 3D
Platformer starter kit.

Changed files:
- scene/resources/environment.h
- servers/rendering/storage/environment_storage.h
- drivers/gles3/effects/glow.h
- drivers/gles3/rasterizer_scene_gles3.cpp
- doc/classes/Environment.xml

Setting the value back to 1.0 aligns with documented recommendations
and restores visual consistency.

Fixes #112469
2025-11-07 04:07:41 +00:00
Pāvels Nadtočajevs
0d19e18b00
[RTL] Use separate paragraph copy for the partially visible paragraphs. 2025-11-05 17:51:22 +02:00
Thaddeus Crews
3fb8961b00
Merge pull request #110120 from TokageItLab/ik-modifier-3d
Add `SkeletonModifier3D` IKs as `IKModifier3D`
2025-11-04 16:32:36 -06:00
Silc Lizard (Tokage) Renew
bf22eb25e3 Add IKModifier3D 2025-11-04 02:38:48 +09:00
Rémi Verschelde
85e47d6fac
Merge pull request #109447 from jon1solution/ssao-in-gles3
Implement a very simple SSAO in GLES3.
2025-11-01 19:04:57 +01:00
Thaddeus Crews
3c1e479290
Merge pull request #110077 from clayjohn/mobile-glow
Overhaul and optimize Glow in the mobile renderer
2025-10-31 09:23:32 -05:00
Thaddeus Crews
ae9732139a
Merge pull request #109433 from KoBeWi/hastension
Add `has_extension()` method to String
2025-10-31 09:23:30 -05:00
clayjohn
2e59cb41f4 Optimize glow and tonemap gather step in the mobile renderer
Mobile devices are typically bandwidth bound which means we need to do as few texture samples as possible.

They typically use TBDR GPUs which means that all rendering takes place on special optimized tiles. As a side effect, reading back memory from tile to VRAM is really slow, especially on Mali devices.

This commit uses a technique where you do a small blur while downsampling, and then another small blur while upsampling to get really high quality glow. While this doesn't reduce the renderpass count very much, it does reduce the texture read bandwidth by almost 10 times. Overall glow was more texture-read bound than memory write, bound, so this was a huge win.

A side effect of this new technique is that we can gather the glow as we upsample instead of gathering the glow in the final tonemap pass. Doing so allows us to significantly reduce the cost of the tonemap pass as well.
2025-10-30 21:56:26 -07:00
Thaddeus Crews
f1f3f06843
Merge pull request #97871 from AtlaStar/fix-issue-97680
Fix NaN populating ParticleProcessMaterial Transform
2025-10-28 12:19:26 -05:00
Thaddeus Crews
b72937587a
Merge pull request #110400 from Ryan-000/Optimize-Animation_track_update_hash
Optimize Animation::_track_update_hash
2025-10-27 10:01:45 -05:00
Thaddeus Crews
33df7125ec
Merge pull request #109999 from aaronfranke/shader-cleanup
Clean up some things in shader editor code
2025-10-27 10:01:42 -05:00
Michael Alexsander
687aa56ec8
Add text trimming in LinkButton 2025-10-27 10:53:31 -03:00
jon1solution
31ee691fbf Implemented a very simple SSAO in GLES3. 2025-10-27 06:02:04 -07:00
Chaosus
0a0a72b74a Fix ParameterRef connection through reroute in visual shaders 2025-10-26 19:54:16 +03:00
Pāvels Nadtočajevs
15279f769d
Fix embedded window frame oversampling, fix DPITexture using uninitialized size in some conditions. 2025-10-25 17:23:45 +03:00
Aaron Franke
e26e96df4b
Cleanup some things in shader editor code 2025-10-24 19:57:39 -07:00
Ryan
44856c81af Optimize Animation::_track_update_hash
Co-Authored-By: Silc Lizard (Tokage) Renew <tokage.it.lab@gmail.com>
Co-Authored-By: Luo Zhihao <luo_zhihao@outlook.com>
Co-Authored-By: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-10-24 15:04:24 -04:00
Thaddeus Crews
ab6c6eece8
Merge pull request #110525 from Ryan-000/Fix-AudioStreamPolyphonic-to-honor-AudioStreamPlayer_pitch_scale
Fix AudioStreamPolyphonic to honor AudioStreamPlayer.pitch_scale
2025-10-24 11:23:18 -05:00
Thaddeus Crews
822fd083c4
Merge pull request #108114 from lawnjelly/fti_multimesh_reset_all
`FTI` - Add `multimesh_instances_reset_physics_interpolation()`
2025-10-24 11:23:15 -05:00
Norbert Zentai
a29be8f7c7 Adjust StyleBoxFlat antialiasing to account for Viewport oversampling 2025-10-23 22:53:11 +02:00
Thaddeus Crews
da593d0c16
Merge pull request #111897 from allenwp/environment-adj-prioritize-old-behaviour
Improve `Environment` adjustments (favor old behavior and quality).
2025-10-23 11:03:56 -05:00
Allen Pestaluky
0c7f013c55 Improve Environment color adjustments; specifically brightness and HDR 2D contrast.
This commit changes adjustments to behave as follows for all rendering configurations:

- Apply brightness to linear-encoded values, preventing contrast, saturation, and hue from being affected.
- Apply contrast to perceptually uniform (nonlinear sRGB-encoded) values, matching existing behavior when HDR 2D is disabled and producing optimal visual quality.
- Apply saturation with even color channel weights. This causes brightness of certain colors to change, but matches existing behavior when HDR 2D is disabled.

Adjustments are applied after glow and tonemapping to match existing behavior.
2025-10-23 11:08:49 -04:00
Thaddeus Crews
8f3e76c898
Merge pull request #111437 from Kaleb-Reid/compat-fix-proximity-fade
Use correct ndc for proximity fade in Compatibility
2025-10-22 13:48:38 -05:00
Skyth
c128886c63 Overhaul screen space reflections. 2025-10-21 19:23:38 +03:00
Thaddeus Crews
acdb8667b5
Core: Sidestep GCC false-positive 2025-10-17 18:57:34 -05:00
Thaddeus Crews
9e96c7d9b8
Merge pull request #110378 from timothyqiu/rtl-preview
Make text-related nodes translation domain aware
2025-10-16 12:48:05 -05:00
Clay John
36b92128b1
Merge pull request #110671 from allenwp/environment-glow-consistent
Blend glow before tonemapping and change default to screen.
2025-10-14 21:29:43 -07:00
Thaddeus Crews
4d3a899c64
Merge pull request #111633 from YYF233333/ccb-include
Remove `callable_bind.h` from `object.h`
2025-10-14 10:31:29 -05:00
Thaddeus Crews
79e533679c
Merge pull request #111620 from Ivorforce/node-no-display-server
Remove `display_server.h` transitive include from `node.h`.
2025-10-14 10:31:25 -05:00
Yufeng Ying
7d3c25d083 Remove callable_bind.h from object.h 2025-10-14 16:24:05 +08:00
Lukas Tenbrink
1e0b41ab27 Remove display_server.h transitive include from node.h. 2025-10-14 00:43:02 +02:00
scgm0
cbc960c997 Fix some compilation errors 2025-10-14 05:54:58 +08:00
Thaddeus Crews
c9b72fcfb6
Merge pull request #111481 from Ivorforce/texture-less-includes
Remove extraneous includes from `texture.h`.
2025-10-13 12:30:13 -05:00