Hugo Locurcio
ad24dd4ba2
Increase range hint for StyleBoxFlat border_width, corner_radius and expand_margin
2024-10-24 01:21:40 +02:00
Pedro J. Estébanez
98b8beddc5
ExternalTexture: Avoid error when destroyed without having been used
2024-10-23 10:04:38 +02:00
Thaddeus Crews
a4ed24acef
Merge pull request #98041 from Hilderin/fix-lost-gdextensions-on-startup
...
Fix loss of gdextension on editor startup
2024-10-21 16:39:30 -05:00
Thaddeus Crews
7a438dc72e
Merge pull request #97205 from tetrapod00/inspect-native-shader-code
...
Add "Inspect Native Shader Code" to shader inspector and shader editor
2024-10-21 16:39:13 -05:00
Hilderin
fbd1643176
Fix lost of gdextension on editor startup.
...
Co-authored-by: NetroScript <noreply@enostrion.com >"
2024-10-20 18:39:31 -04:00
tetrapod00
2191df0cea
VisualShader: Add LinearToSRGB and SRGBToLinear to ColorFunc node
2024-10-19 12:18:34 -07:00
Yufeng Ying
b5141b8171
Optimize TileSetAtlasSource::_get_property_list
...
Co-authored-by: Haoyu Qiu <timothyqiu@users.noreply.github.com >
2024-10-19 15:12:53 +08:00
Chaosus
43a99fba3d
Add alpha channel display to vec4 previews of visual shader nodes
2024-10-18 20:00:10 +03:00
Haoyu Qiu
5adb489a04
Fix error when undo tile deletion in TileSetAtlasSourceEditor
2024-10-18 20:06:31 +08:00
Thaddeus Crews
3fcbb1d436
Merge pull request #97770 from tdaven/fix-94151
...
Fix immediate mesh modifications that don't call set_mesh
2024-10-14 14:09:56 -05:00
bruvzg
309712551c
[TextParagraph/Button] Add support for line spacing.
2024-10-10 12:49:24 +03:00
tetrapod00
12d2c05936
Add "Inspect Native Shader Code" to shader resource and shader editor
2024-10-08 11:02:45 -07:00
kobewi
b9d25580ce
Fix implementation of property_can_revert() in various classes
2024-10-04 23:02:04 +02:00
bruvzg
794920b1ff
Partially revert 96780, remove warnings from project/editor settings _get.
2024-10-04 19:13:03 +03:00
Rémi Verschelde
6c15d59154
Merge pull request #97362 from reduz/make-unique-scene-id-deterministic
...
Make internal unique scene resource ID deterministic
2024-10-04 17:18:10 +02:00
Trevor Davenport
47f75547ce
Fix immediate mesh modifications that don't call set_mesh
...
Mesh_instance_2d has no way to know when the mesh had been modified
unless you called set_mesh. This meant that you could modify the
underlying mesh without it knowing which could result in incorrect
result.
Modified mesh_instance_2d to be more similar to mesh_instance_3d which
connects to the changed signal of the mesh and reacts occordingly.
2024-10-03 18:08:49 -06:00
Dario
e2c6daf7ef
Implement asynchronous transfer queues, thread guards on RenderingDevice. Add ubershaders and rework pipeline caches for Forward+ and Mobile.
...
- Implements asynchronous transfer queues from PR #87590 .
- Adds ubershaders that can run with specialization constants specified as push constants.
- Pipelines with specialization constants can compile in the background.
- Added monitoring for pipeline compilations.
- Materials and shaders can now be created asynchronously on background threads.
- Meshes that are loaded on background threads can also compile pipelines as part of the loading process.
2024-10-02 15:11:58 -03:00
Rémi Verschelde
eaac033168
Merge pull request #94240 from MewPurPur/optimize-styleboxflat
...
Optimize `StyleBoxFlat.draw()`
2024-10-01 17:30:24 +02:00
Rémi Verschelde
41ffc696d2
Merge pull request #93449 from Calinou/basematerial3d-refraction-use-depth-comparison
...
Fix BaseMaterial3D refracting objects located in front of the material
2024-10-01 17:30:20 +02:00
chocola-mint
ed13a840fa
Add markers to animation
2024-09-29 17:27:36 +09:00
MewPurPur
71ac6b7476
Optimize StyleBoxFlat.draw()
2024-09-28 12:37:31 +03:00
Rémi Verschelde
8a9a26ef19
Merge pull request #93311 from dsnopek/gdextension-required-virtuals
...
GDExtension: Mark virtual function as `is_required` in `extension_api.json`
2024-09-27 13:53:16 +02:00
Rémi Verschelde
56d50c30a2
Merge pull request #97414 from AThousandShips/code_highlight_fix
...
Fix editing of some properties in `CodeHighlighter`
2024-09-26 18:45:38 +02:00
Rémi Verschelde
8eab2b52ed
Merge pull request #96835 from Malcolmnixon/animation-optimize
...
Expose the optimize method of the Animation class to gdscript.
2024-09-26 18:45:15 +02:00
Hugo Locurcio
8a485ff658
Fix BaseMaterial3D refracting objects located in front of the material
...
Depth comparison is now used to prevent refraction from occurring
if the pixel being refracted is located in front of the object.
For pixels slightly behind the object, a `smoothstep()` curve
is used to progressively increases refraction intensity
as the distance between the object and the refraction increases.
This avoids sudden discontinuities in the refraction.
Co-authored-by: GeneralLegendary <generallegendary456@gmail.com >
2024-09-26 15:12:31 +02:00
matheusmdx
3e0d3c433b
Fix pink GradientTexture2D
2024-09-26 09:50:55 -03:00
Thaddeus Crews
9f9ee0c813
SCons: Add unobtrusive type hints in SCons files
2024-09-25 09:34:35 -05:00
Rémi Verschelde
4c5e879cc5
Merge pull request #97380 from TheSofox/handle_modes_default_fix
...
Ensure `handle_modes` is given default values rather than flagging error if undefined
2024-09-25 12:39:22 +02:00
Rémi Verschelde
65c94ec873
Merge pull request #97290 from fire/fix-animation-compression
...
Fix animation compression going the wrong way
2024-09-25 12:39:18 +02:00
Paweł
b88585abfc
Add linux camera support
2024-09-25 12:08:06 +02:00
A Thousand Ships
56f095296c
Fix editing of some properties in CodeHighlighter
2024-09-24 17:56:13 +02:00
Sofox
633df0b29c
Handle handle_modes being undefined by giving default values rather than flagging error
2024-09-23 20:22:26 +01:00
aaronp64
e5fada9cd1
Keep existing VectorCompose input values when setting vector type
...
VisualShaderNodeVectorCompose::set_op_type would zero out input port default values for z and w when using vector 3D/4D, updated to keep values for all ports.
Zeroing out z and w would cause values for 4D vectors to be lost when loading the visual shader - 3D vectors were not affected by this, since 3D is the default op type, which caused this step to be skipped during loading. However, both 3D and 4D were affected when changing the op type from the drop down in editor. For example, changing from 3D (1, 2, 3) to 4D would result in (1, 2, 0, 0), and changing from 4D (1, 2, 3, 4) to 3D would result in (1, 2, 0), losing previously set values.
2024-09-23 10:37:32 -04:00
Rémi Verschelde
2017006879
Merge pull request #97314 from tetrapod00/visual-shader-remap
...
Visual Shader: Add vector operations to Remap node
2024-09-23 16:14:04 +02:00
Juan
abf9d24520
Make internal unique scene resource ID deterministic
...
Changes the Resource::generate_scene_unique_id() to be deterministic and
seedable.
Fixes #97110
2024-09-23 15:07:00 +02:00
tetrapod00
eb5a9c3b33
Visual Shader: Add vector operations to Remap node
2024-09-22 11:25:36 -07:00
K. S. Ernest (iFire) Lee
dd9525be04
Fix animation compression going the wrong way
...
When compressing animation key frame indices the truncation breaks the animation near the border of pages.
We use banker's rounding (FE_TONEAREST) as implemented by fast_ftoi to get the nearest integer frame.
2024-09-21 19:20:19 -07:00
A Thousand Ships
ccca41a086
Remove direct render include in ExternalTexture
...
This include introduces `windows/platform_gl.h` into the include
hierarchy which adds defines which break building on MSVC
2024-09-21 17:44:28 +02:00
David Snopek
1a6f8512bc
Add external texture support (GLES3)
...
Co-authored-by: Fredia Huya-Kouadio <fhuyakou@gmail.com >
Co-authored-by: Mauricio Narvaez <nvz@meta.com >
2024-09-20 10:48:32 -05:00
Thaddeus Crews
b37fc1014a
Style: Apply new clang-format changes
2024-09-20 08:09:48 -05:00
Raffaele Picca
1df0159b36
Added a more detailed error message when instatiating a scene with missing export properties.
2024-09-16 16:08:55 +02:00
Rémi Verschelde
f2ce94fdde
Merge pull request #96885 from LuizZak/grow_mask_sqrt_fix
...
Avoid expensive sqrt operation in hot loop of `BitMap.grow_mask`
2024-09-13 11:22:01 +02:00
Luiz Fernando Silva
293cc2126e
Avoid expensive sqrt operation in hot loop of BitMap.grow_mask
2024-09-12 11:04:57 -03:00
Rémi Verschelde
b214aa8faf
Merge pull request #96880 from zeux/fix-vcache-nontri
...
Fix a crash in `ImporterMesh::create_shadow_mesh` for non-triangle surfaces
2024-09-12 09:26:01 +02:00
Rémi Verschelde
b998cb1335
Merge pull request #96768 from DeeJayLSP/wav-end
...
WAV: Fix one frame overflow at the end
2024-09-12 09:25:31 +02:00
Rémi Verschelde
b9b07d619f
Merge pull request #94783 from TokageItLab/validate-gltf-anim-name
...
Add validation to glTF importer for Blendshape and Animation
2024-09-12 09:25:10 +02:00
DeeJayLSP
147accdf74
WAV: Fix one frame overflow at the end
2024-09-11 21:57:14 -03:00
David Snopek
c2af6bcb59
GDExtension: Mark virtual function as is_required in extension_api.json
...
Co-authored-by: Jovan Gerodetti <jovan.gerodetti@titannano.de >
2024-09-11 16:48:14 -05:00
Arseny Kapoulkine
7d7b43bca2
Fix a crash in ImporterMesh::create_shadow_mesh for non-triangle surfaces
...
optimize_vertex_cache_func assumes the input is a triangle mesh; when an
imported mesh contains points/lines/triangle strips, this code should be
disabled.
2024-09-11 13:18:58 -07:00
Malcolm Nixon
3e93970ef5
Expose the optimize method of the Animation class to gdscript.
2024-09-11 01:18:30 -04:00