Lukas Tenbrink
eb9bea10a9
Remove obsolete VMap forward declaration.
2025-05-28 12:19:33 +02:00
Dario
5a30a7e7cd
Add shader baker to project exporter.
...
Metal Support contributed by Migeran (https://migeran.com ) and Stuart Carnie.
Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com>
Co-authored-by: Gergely Kis <gergely.kis@migeran.com>
2025-05-27 12:45:27 -03:00
Thaddeus Crews
c18c5c0b2c
Merge pull request #106864 from akien-mga/tileset-warning-maybe-uninitialized
...
TileSet: Fix `-Wmaybe-uninitialized` warning on CompatibilityShapeData
2025-05-27 09:39:35 -05:00
Thaddeus Crews
f619ca2519
Merge pull request #60143 from Rindbee/better-connection-dialog
...
Add a flag to make the connection automatically emit the source object.
2025-05-27 09:39:34 -05:00
Rindbee
5e2396e001
Add a flag to make the connection automatically emit the source object.
...
Mainly used to improve the connection dialog.
Not implemented in `emit_signalp()`, append the source object when a PackScene is instantiated.
2025-05-27 20:19:03 +08:00
Rémi Verschelde
baa92252d3
TileSet: Fix -Wmaybe-uninitialized warning on CompatibilityShapeData
2025-05-27 13:51:13 +02:00
Lukas Tenbrink
4cb8a0c77e
Add resize_initialized and resize_uninitialized to Vector. These functions serve as replacements for resize, to make sure the caller understands whether elements need to be initialized 'by hand' after the call.
2025-05-26 18:35:41 +02:00
Thaddeus Crews
869807a7b8
Merge pull request #106796 from akien-mga/tileset-compat-conversion-prevent-crash
...
TileSet: Prevent crash in conversion of invalid tiles from Godot 3.x
2025-05-26 11:24:33 -05:00
Thaddeus Crews
506417fe43
Merge pull request #105623 from lodetrick/section-feature-hide
...
Allow Inspector Section Checkboxes to hide features, Add "On" text to checkboxes
2025-05-26 11:24:25 -05:00
Rémi Verschelde
b323212e0e
TileSet: Prevent crash in conversion of invalid tiles from Godot 3.x
...
Fixes #80898 .
2025-05-25 15:20:56 +02:00
Thaddeus Crews
274ed34ac4
Merge pull request #93836 from aaronfranke/capsule-mid-height
...
Add mid height property to CapsuleShape2D/3D
2025-05-23 09:46:13 -05:00
Thaddeus Crews
8085fd3102
Merge pull request #93142 from clayjohn/z_clip_scale
...
Add new shader built ins: `Z_CLIP_SCALE` and `PERSPECTIVE_SCALE`
2025-05-22 12:15:06 -05:00
Thaddeus Crews
4daad86a86
Merge pull request #106562 from zeux/lod-metrics
...
Adjust LOD selection metrics to use attribute error
2025-05-22 12:15:03 -05:00
Thaddeus Crews
7c6951da42
Merge pull request #106671 from bruvzg/svg_lazy_load
...
Improve SVGTexture lazy loading.
2025-05-22 12:14:59 -05:00
Logan Detrick
1a427d3dec
Add feature hint string and "On" text for checkable groups
2025-05-21 14:56:55 -07:00
clayjohn
9a1def8da1
Add new StandardMaterial properties to allow users to control FPS-style objects (hands, weapons, tools close to the camera)
...
Add new shader built in Z_CLIP_SCALE to easily adjust clipping distance to avoid clipping walls etc.
Add fov_override to StandardMaterial3D to easily have a custom FOV for FPS objects
Add IN_SHADOW_PASS built-in to shaders for tweaking materials without impacting shadow maps
2025-05-21 10:16:05 -03:00
Pāvels Nadtočajevs
9f5c57c8c5
Improve SVGTexture lazy loading.
2025-05-21 13:12:41 +03:00
Jamie Pate
c317549587
Fix Heap buffer overflow in Animation::_find()
...
Fixes #106647
2025-05-20 17:26:58 -07:00
kleonc
a87be2c74d
Show Curve3D point tilt in degrees in inspector
2025-05-19 20:42:07 +02:00
Arseny Kapoulkine
6190d412d3
Adjust LOD selection metrics to use attribute error
...
- Revert meshoptimizer patch; the metric used for LOD selection now
incorporates attribute error
- Since LOD selection is now aware of attribute deviation, we don't
need to use a higher normal weight
- To prevent normal creases from creating input triangles with very
large normal deviation, reduce default normal merge threshold
- Since we now use combined metric to select LODs, we never need LODs
with error>1 as these should not be selected if the mesh is visible.
2025-05-18 17:38:54 +03:00
Arseny Kapoulkine
9a8348cc2c
Use vertex colors (if present) as attributes during simplification
...
When importing meshes with vertex colors, we will now supply them to the
simplifier as attributes with weight=1 (in addition to normals). This will
guide the simplification to preserve regions where vertex colors change.
For this change to take full effect, it is also necessary to respect the
full error when selecting LODs; this change does not do that yet, so there
are going to still be cases where vertex colors change abruptly during LOD
switch in a visible manner.
2025-05-15 21:48:12 +03:00
Capry
9828c365c3
Add support for bent normals for indirect lighting and specular occlusion
2025-05-12 12:52:04 +02:00
Thaddeus Crews
1b439d49a9
Merge pull request #100446 from YYF233333/vmap
...
Replace `VMap` used in `VisualShader` with `HashMap` and remove `VMap`
2025-05-09 11:29:25 -05:00
Thaddeus Crews
821170f054
Merge pull request #106145 from lander-vr/ambient-light-specular-occlusion
...
Add specular occlusion from ambient light
2025-05-09 11:29:14 -05:00
Yufeng Ying
2db0a44519
Remove vmap.h
2025-05-09 19:05:28 +08:00
Yufeng Ying
31bfc41202
Replace VMap with HashMap in VisualShader.
2025-05-09 19:05:28 +08:00
landervr
56730d0cb2
Add specular occlusion from ambient light
...
Co-authored-by: guerro323 <kaltobattle@gmail.com>
2025-05-08 23:52:01 +02:00
Thaddeus Crews
aa1ca2b244
Merge pull request #93517 from Repiteo/core/nodiscard-strings
...
Core: Add `[[nodiscard]]` to string-like classes/structs
2025-05-07 12:48:27 -05:00
Thaddeus Crews
42b50abf15
Merge pull request #106113 from lodetrick/add-dictionary-type-hints
...
Add missing dictionary and array type hints
2025-05-07 12:48:04 -05:00
Logan Detrick
247520b348
Add missing dictionary and array type hints
2025-05-06 12:35:19 -07:00
Thaddeus Crews
579feb387c
Core: Add [[nodiscard]] to string-like classes
2025-05-06 12:23:41 -05:00
Thaddeus Crews
fd1168620f
Merge pull request #105718 from aaronfranke/nav-const-caps
...
Capitalize global navigation constants
2025-05-06 08:38:07 -05:00
kobewi
34b485d62b
Remove empty constructors and destructors from scene/
2025-05-06 14:46:54 +02:00
Aaron Franke
783728fcb4
Capitalize global navigation constants
2025-05-05 12:08:15 -07:00
Danil Alexeev
0a07ae7bf1
Editor: Fix documentation for built-in scripts
2025-05-05 21:26:30 +03:00
Thaddeus Crews
5bc01f2994
Merge pull request #105080 from beicause/basisu-ktx2-settings
...
BasisU: Use KTX2 format and add import options to configure encoder
2025-05-05 11:24:20 -05:00
Logan Detrick
ef9daf0f93
Add type hint to SVGTexture dictionary
2025-05-05 02:09:34 -07:00
LuoZhihao
237597b01f
BasisU: Use KTX2 format and add import options to configure encoder
2025-05-03 01:45:38 +08:00
Aaron Franke
9f38cfe3ca
Add mid height property to CapsuleShape2D/3D
2025-05-01 15:45:51 -07:00
Aziroshin
1a91570ce9
[Curve3D] Fix middle point forward vector when control1=end and control2=begin; issue #88923
...
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-05-01 20:54:59 +02:00
Thaddeus Crews
f4f1471b57
Merge pull request #105910 from lawnjelly/global_get_fast4
...
Add `GLOBAL_GET` cached macros.
2025-04-30 09:18:44 -05:00
lawnjelly
f8f350a32a
Add GLOBAL_GET cached macros.
...
GLOBAL_GET is an expensive operation which should not be used each frame / tick.
This PR adds macros which do a cheaper revision check, and only call the expensive GLOBAL_GET when project settings have changed.
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-04-30 15:08:50 +01:00
dsmtE
4e68f277c6
add REGION_RECT
...
fix formatting
fix shader compile (region_rect after draw_data)
fix formatting
fix formatting
Review fix (move region_rect in main + remove useless visual shader options)
fix formatting
fix alphabetic order (+ remove useless action for spatial shaders)
typo + remove TYPE_LIGHT option for region_rect
2025-04-30 11:07:22 +02:00
Thaddeus Crews
b1b873add3
Merge pull request #104731 from Delsin-Yu/stackable-text-effect
...
[GUI] Implement Stackable Text Outline on `Label`
2025-04-29 11:24:13 -05:00
Thaddeus Crews
bc21c322c6
Merge pull request #105880 from KoBeWi/deadline
...
Remove inline from constexpr variables
2025-04-29 11:24:13 -05:00
Hugo Locurcio
5bf4a35bf7
Fix class reference discrepancy when using --doctool with TextServerFallback
...
This is noticeable if you use an editor build compiled with the
`module_text_server_adv_enabled=no module_text_server_fb_enabled=yes`
SCons options.
2025-04-29 02:40:32 +02:00
kobewi
5125a273dc
Remove inline from constexpr variables
2025-04-28 21:09:43 +02:00
Thaddeus Crews
1a2a1b07df
Merge pull request #105799 from Repiteo/scons/enum-conversion-warnings
...
SCons: Add enum conversion warning
2025-04-27 19:21:23 -05:00
Thaddeus Crews
3947cbe3b2
Merge pull request #104386 from Repiteo/core/cpp-math
...
Core: Replace C math headers with C++ equivalents
2025-04-27 19:21:22 -05:00
Thaddeus Crews
dc9c34f0c6
SCons: Add enum conversion warning
2025-04-26 12:06:20 -05:00