f1f3f06843
Merge pull request #97871 from AtlaStar/fix-issue-97680
...
Fix NaN populating ParticleProcessMaterial Transform
2025-10-28 12:19:26 -05:00
9fbf5808a0
Rename server "free" functions to "free_rid" to match exposed API
2025-09-30 16:52:25 -07:00
a7ab249a2a
Make PROPERTY_HINT_GROUP_ENABLE hide properties by default
2025-06-16 20:03:49 +08:00
8ba4656ea3
Compile out editor-only logic within validate_property in games
2025-06-12 12:54:19 +08:00
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
1a427d3dec
Add feature hint string and "On" text for checkable groups
2025-05-21 14:56:55 -07:00
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
ad40939b6f
Core: Replace C math headers with C++ equivalents
...
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 -05:00
ebe9370724
Add enable checkboxes to editor sections
...
Fixes https://github.com/godotengine/godot-proposals/issues/4173
2025-04-15 13:49:41 -07:00
97ee05e9b7
Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp
2025-03-12 11:11:38 -07:00
b408ce7a64
Merge pull request #103121 from OhiraKyou/fix-gpu-particle-zero-scale
...
Fix GPU particles not emitting at some configured rates when scale curve is zero
2025-03-04 01:00:43 +01:00
87efa4d210
Fix particle jitter when scene tree is paused.
2025-02-27 08:40:40 -08:00
8df75953ec
Fix GPU particles not emitting at some amounts when scale curve is zero
2025-02-25 19:36:08 -05:00
1e1f54e954
Merge pull request #100050 from YeldhamDev/sub_emitter_at_start
...
Add "At Start" mode for sub-emitter particles
2025-01-14 18:29:20 +01:00
87767f7c34
Fix ParticleProcessMaterial not using same offsets for emission textures
2025-01-05 23:32:22 +01:00
d484e23bce
Merge pull request #100113 from paddy-exe/particle-emission-shape-visual-separate-pr
...
Add visualization of 3D particle emission shapes
2025-01-03 00:48:22 +01:00
e689c122a6
Add visualization of 3D particle emission shapes
...
Co-authored-by: Kasper Arnklit Frandsen <kasper.arnklit@gmail.com >
2024-12-28 19:56:50 +01:00
9ecdeb3723
Merge pull request #98747 from tetrapod00/standardize-renderer-strings
...
Standardize terms for renderers in error strings
2024-12-13 16:19:37 -06:00
4bfc6f8d70
Fix deadlock possibility in threaded load of materials
2024-12-13 12:49:10 +01:00
eb5839dcbb
Add "At Start" mode for sub-emitter particles
2024-12-05 11:48:34 -03:00
899f5151c3
Standardize terms for renderers in error strings
...
Use "Forward+", "Mobile", "Compatibility", and "renderer" or "rendering method".
2024-11-10 13:30:44 -08:00
c1b067f83c
Fix NaN populating ParticleProcessMaterial Transform
...
Use of normalize will cause transform matrix slices to be populated with NaN when the scale value was zero on the previous compute step.
Resolves this bug by adding a `normalize_or_else` function. Parameters are `_in`, and `_else`, with the former being the argument to test to see if it is a zero vec3, and the latter the vec3 to use in the event of `_in` being the zero vec.
closes #97680
closes #97621
2024-10-10 16:11:45 -07:00
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
40b9516724
Add cone angle control to particle emission ring shape
2024-09-02 14:35:51 +02:00
67b16f261f
Fix code style for generated shader code from ParticleProcessMaterial
...
The results now match what our clang-format config would do.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com >
2024-05-31 14:12:41 +02:00
ca2ed80539
Merge pull request #87320 from Rudolph-B/main
...
Fix collided particles getting stuck with zero velocity.
2024-05-15 12:09:27 +02:00
45e5b151b6
Fixed collided particles getting stuck with zero velocity.
2024-05-14 18:55:56 +02:00
de329556f7
Merge pull request #91449 from Arnklit/particles-emission-ring-shape-fix2
...
Fix sqrt application for radius in particle ring emission
2024-05-14 18:09:47 +02:00
94eefe168a
Fix sqrt application for radius in particle ring emission
2024-05-14 12:22:21 +01:00
187e5ef258
Let materials' shaders update happen on loader threads
2024-05-06 19:40:00 +02:00
5a63d1db41
Merge pull request #91223 from Arnklit/particle-cylinder-emission-distribution-fix
...
Fix particle cylinder emission shape random distribution
2024-05-01 09:55:06 +02:00
3cb9e84cde
Merge pull request #85189 from QbieShay/qbe/fix-emission-at-end
...
Correctly emit sub-emitter's emission at the end
2024-05-01 09:54:38 +02:00
af22d504da
Fix particle cylinder emission shape random distribution
2024-04-30 17:24:58 +01:00
6f21267a46
Merge pull request #85880 from Rudolph-B/GPU-particles-2D-spread-issue
...
Fixed particle spread values affecting particle velocity
2024-04-24 09:59:04 +02:00
f8d08a8376
fix: avoid shader crash on null vector and negative x vector
2024-04-17 17:33:30 +01:00
ce9fec9b4d
Improve editing of min/max particle properties
2023-12-20 06:31:08 +01:00
6b2a1b4fdc
Fixed particle spread values effecting particle velocity
2023-12-08 06:03:37 +02:00
4d390cd39d
Subemitter emission at end now correctly emits at end
2023-11-23 11:46:07 +01:00
a879e59581
Fixed radial inwards velocity clamping incorrectly (regression from 83488)
2023-11-23 10:32:56 +01:00
7c4d07c5a0
Fix several ParticleProcessMaterial texture names
2023-11-13 05:51:01 +02:00
1ec97a7b91
Fix several Material texture parameter updates
2023-11-01 03:10:46 +02:00
ceaa8333f3
Merge pull request #84028 from QbieShay/qbe/fix-damp-fric
...
Fix friction being in the correct if/else branch
2023-10-30 16:26:40 +01:00
8f2a2ece80
Fix friction being in the correct if/else branch
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com >
2023-10-30 15:00:02 +01:00
47101c0cb1
Merge pull request #84056 from QbieShay/qbe/fix-orbit-z
...
Fix wrong rotation matrix for orbit z velocity
2023-10-30 10:18:33 +01:00
3b9cd04e1f
fixed turbulence post rework.
2023-10-28 18:31:01 +02:00
a764e42860
fixed wrong rotation matrix for orbit z velocity
2023-10-28 15:03:36 +02:00
5688bb1888
[Particles] Fix invalid parameter ranges
2023-10-26 16:14:58 +02:00
8835db5f37
Merge pull request #83881 from jsjtxietian/fix-generated-particle-shader-use-noise-direction-before-define
...
Fix `noise_direction` variable used before initialized in particle shader when using turbulence with collisions
2023-10-26 08:57:59 +02:00
cc14e0092a
Fix noise_direction variable used before initialized in particle shader
...
when using turbulence with collisions, delete unused code
2023-10-25 19:35:16 +08:00
e8d57afaec
Merge pull request #83831 from QbieShay/qbe/fix-normal-point
...
Particles: Fix directed points not working, and fix friction formula
2023-10-24 11:39:17 +02:00