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
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
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
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
DE YU
ac931c33c2
Implmement stackable text effects on label type through label settings
...
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com >
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com >
2025-04-26 20:50:20 +08:00
RedMser
143db328e7
Fix cases where _get returned true erroneously
2025-04-25 19:06:09 +02:00
Thaddeus Crews
796a08d350
Merge pull request #105655 from bruvzg/svg_tx_import
...
Add `SVGTexture` importer.
2025-04-25 11:36:05 -05:00
Thaddeus Crews
bfa43726c1
Merge pull request #104971 from Ivorforce/camera-texture-editor-lazy
...
Automatically activate camera monitoring when using `CameraTexture`
2025-04-25 11:36:02 -05:00
Thaddeus Crews
04bcd4cea6
Merge pull request #105725 from bruvzg/sc_grad
...
Use same oversampling granularity as fonts use for `SVGTexture`s .
2025-04-25 11:35:59 -05:00
Thaddeus Crews
8847e65ff4
Merge pull request #105644 from lazarosY/interpolation
...
Fix the Animation Optimization results for Nearest and Cubic Interpolation
2025-04-24 17:18:47 -05:00
Pāvels Nadtočajevs
98817a54f0
Use same oversampling granularity as fonts use for SVGTextures .
2025-04-24 21:23:25 +03:00
Thaddeus Crews
37a70edc11
Nearest and linear interpolation optimization
...
Nearest and linear interpolation optimization
2025-04-24 19:30:23 +03:00
Pāvels Nadtočajevs
15cecfdac5
Add SVGTexture importer.
2025-04-24 08:15:53 +03:00
Lukas Tenbrink
e9e455823e
Automatically activate camera monitoring when using CameraTexture.
2025-04-24 00:22:44 +02:00
Lukas Tenbrink
91fe434a86
Always use String as StringName backing internally.
2025-04-23 14:57:03 +02:00
Thaddeus Crews
1f7a8eac9d
Merge pull request #101973 from clayjohn/sky-material-opt
...
Optimize ProceduralSkyMaterial by removing uses of acos and simplifying logic
2025-04-22 18:25:51 -05:00
Thaddeus Crews
0cc292f880
Merge pull request #105272 from lodetrick/add_section_toggle
...
Add enable checkboxes to editor sections
2025-04-21 08:24:20 -05:00