Commit Graph

11691 Commits

Author SHA1 Message Date
a29294fddc SCons: Refactor color output implementation 2025-01-07 18:44:53 -06:00
0c763602f9 Merge pull request #101237 from mihe/jolt/cache-bounce-velocity
Cache value of Jolt Physics project setting `bounce_velocity_threshold`
2025-01-07 23:18:13 +01:00
709f2e1a5d Merge pull request #100765 from Geometror/lightmapgi-add-downsampling
Add a supersampling option to LightmapGI
2025-01-07 23:17:39 +01:00
0fee2724f0 Merge pull request #100751 from YYF233333/force_regex_with_editor
Force build editor with regex module, remove checking code
2025-01-07 23:17:35 +01:00
054340bb6b Add a supersampling option to LightmapGI
This provides increased lightmap quality with less noise, smoother
shadows and better small-scale shadow detail. The downside is that
this significantly increases bake times and memory usage while baking
lightmaps, so this option is disabled by default.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: landervr <31851431+CpnWaffle@users.noreply.github.com>
2025-01-07 18:44:59 +01:00
d6b822c891 Cache value of Jolt Physics project setting bounce_velocity_threshold 2025-01-07 18:35:04 +01:00
34d8255947 Force build editor with regex module, remove checking code.
Fix include.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-07 19:43:23 +08:00
6e9be55ee2 Merge pull request #100104 from bruvzg/ts_data_in_template
[Export] Allow using ICU data from export templates instead of editor embedded data.
2025-01-07 10:14:34 +01:00
3d60ce9389 [Export] Allow using ICU data from export templates instead of editor embedded data. 2025-01-07 08:15:09 +02:00
cc1db569e1 [TextServer] Improve embedded objects handling performance. 2025-01-07 08:01:29 +02:00
887c1557bf Merge pull request #100961 from Geometror/lm-colored-transparent-shadows
Add support for colored shadows in LightmapGI
2025-01-07 00:45:07 +01:00
cb460ad421 Add support for colored shadows in LightmapGI 2025-01-06 23:40:18 +01:00
38ffeb56f4 Merge pull request #101103 from Calinou/editor-gridmap-translucent-cursor
Make the GridMap editor cursor translucent
2025-01-06 22:48:54 +01:00
20728e7b05 Merge pull request #101101 from Calinou/editor-add-gridmap-grid-color-setting
Add an editor setting for the GridMap grid color
2025-01-06 22:48:50 +01:00
bc0cd1fff3 Merge pull request #100856 from BlueCube3310/astc-decomp-rt
astcenc: Allow decompression in non-editor builds
2025-01-06 22:47:45 +01:00
4de07f3a97 Merge pull request #100549 from kiroxas/NavMeshQueries3D_query_task_build_path_corridor_simplification
Simplify `NavMeshQueries3D::_query_task_build_path_corridor`
2025-01-06 22:47:41 +01:00
e06cac212b Merge pull request #99893 from kiroxas/avoidUTF8ParsingWhenNotNecessary
Avoid duplicated `utf8()` calls
2025-01-06 22:47:12 +01:00
30b20bc251 Merge pull request #99121 from dalexeev/gds-deprecate-inst-to-dict
GDScript: Deprecate `inst_to_dict()` and `dict_to_inst()` functions
2025-01-06 22:46:52 +01:00
ba8a155551 Merge pull request #98909 from demolke/master
GLTF: Don't duplicate textures when importing blend files
2025-01-06 22:46:44 +01:00
4e888f9987 Make the GridMap editor cursor translucent
This makes it possible to distinguish GridMap tiles that haven't been
placed yet from those that are already in place.
2025-01-03 23:21:33 +01:00
19b8b10218 Add an editor setting for the GridMap grid color
The opacity can be adjusted by changing the alpha channel of the color
setting. The setting applies without having to restart the editor.
2025-01-03 23:06:29 +01:00
07f8935c69 GDScript: Deprecate inst_to_dict() and dict_to_inst() functions 2025-01-03 21:17:06 +03:00
e8e62d0cdd astcenc: Allow runtime decompression of ASTC formats 2025-01-03 12:07:22 +01:00
b77aa473a1 Implement a "Recovery Mode" for recovering crashing/hanging projects during initialization 2025-01-03 10:50:15 +00:00
13f548c7f5 Simplify_NavMeshQueries3D::_query_task_build_path_corridor 2025-01-03 08:53:57 +01:00
bdf625bd54 Merge pull request #101051 from aaronfranke/gltf-always-read-alpha-cutoff
GLTF: Always read `alphaCutoff` property
2025-01-03 02:01:35 +01:00
29bd5c06ef Merge pull request #100636 from raulsntos/dotnet/emit-signal-fix
[.NET] Fix EmitSignal with typed array parameters
2025-01-03 02:01:20 +01:00
5a8b7188af Merge pull request #101044 from mihe/jolt/revert-100533
Revert "Stop reporting contacts for sleeping bodies when using Jolt Physics"
2025-01-03 00:50:13 +01:00
8e66fac92a Merge pull request #101037 from smix8/navregion_polys
Make NavMeshQueries use NavRegionIteration polygons directly
2025-01-03 00:50:10 +01:00
1f2d535f78 Merge pull request #100983 from mihe/jolt/only-iterate-active-bodies
Improve performance with many static/sleeping bodies when using Jolt Physics
2025-01-03 00:49:51 +01:00
8e76f669c2 Merge pull request #100929 from Geometror/fix-lm-penumbra-computation
Fix lightmapper penumbra computation
2025-01-03 00:49:33 +01:00
19a7b466c2 Merge pull request #100848 from BlueCube3310/astc-improvements
astcenc: Misc improvements and optimizations
2025-01-03 00:49:22 +01:00
5ff616736a Merge pull request #100825 from KoBeWi/colored_eight
Add `Color.from_rgba8` and deprecate Color8
2025-01-03 00:49:18 +01:00
dd7d36e803 Merge pull request #100770 from hpvb/command-queue-mt
Core: Refactor CommandQueueMT to use vararg templates for performance and maintainability
2025-01-03 00:49:02 +01:00
7dd14207dc Merge pull request #100631 from Faless/fix/wslay_frame_end_not_fin
[WS] Fix wslay multi-frame message parsing
2025-01-03 00:48:47 +01:00
ec7d7abde9 GLTF: Always read alphaCutoff property 2025-01-02 12:53:55 -08:00
7bed84c165 Revert "Stop reporting contacts for sleeping bodies when using Jolt Physics"
This reverts commit 5bbdb4a770.
2025-01-02 20:17:05 +01:00
4184884ad1 Make NavMeshQueries use NavRegionIteration polygons directly
Removes the duplicated NavMap polygon soup. All navmesh queries now use the NavRegionIteration polygons directly.
2025-01-02 15:35:29 +01:00
cccd2432c3 Refactor CommandQueueMT to use vararg templates
In order to make CommandQueueMT more maintainable this PR changes the
previous macro hell with variadic templates instead. This makes the
class far more explicit and will allow us to more easily change the way
the class functions in the future.

Furthermore this refactoring has allowed for some optimizations. In
particular by using std::forward to delay the decision of decaying the
type to as late as possible we are able to move the data from the
callsite into our Command buffer and later move it to the call.

In practice what this means is that compared to the old version instead
of copying values 3 times, we can now get away with 1 copy, and 1 move
for lvalues, and just 2 moves for rvalues. This saves quite a few
operations in a hot codepath.

We also now test to make sure that the amount of copies and moves are
what we expect. This way we can spot performance regressions in this
code easily.

Somewhat unscientifically, running TPS-demo by pressing enter and not
touching the controls average mspf, repeatable across many runs:

before: 6.467
after : 6.202
2025-01-02 15:35:08 +01:00
7beaddc9c0 Improve performance with many static/sleeping bodies when using Jolt Physics 2025-01-01 21:30:02 +01:00
6f363b989a astcenc: Misc improvements and optimizations 2024-12-31 14:25:14 +01:00
751d3d5852 Fix lightmapper penumbra computation 2024-12-30 16:30:59 +01:00
2582793d40 Merge pull request #100774 from Geometror/rm-leftover-print-lightmapper
Remove leftover debug print statement from `lightmapper_rd.cpp`
2024-12-30 08:58:58 -06:00
d12eeefcf4 Merge pull request #100763 from dsnopek/openxr-composition-layers-hole-punch-visibility
OpenXR: Fix hiding/showing composition layers using hole punching
2024-12-30 08:58:57 -06:00
77eb92f8f3 Merge pull request #100826 from Lielay9/csg-spin-360
Fix gaps in CSGPolygon3D spin mode at 360 degrees
2024-12-30 08:58:35 -06:00
a9b6b3d932 Merge pull request #100776 from AThousandShips/improve_null_checks
Improve use of `Ref.is_null/valid`
2024-12-29 09:35:04 -06:00
4e48b19e1f Add Color.from_rgba8 and deprecate Color8 2024-12-27 11:26:59 +01:00
c69408168c Patch navigation map async synchronization
Patches navigation map async synchronization.
2024-12-26 13:04:20 +01:00
Hei
d310d9f975 Fix gaps in CSGPolygon3D spin mode at 360 degrees 2024-12-26 13:59:24 +02:00
a1846b27ea Improve use of Ref.is_null/valid
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00