mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Merge pull request #100378 from clayjohn/particles-preprocess
Reduce slider range for Particles preprocess to discourage setting a preprocess time of 10 minutes
This commit is contained in:
@@ -128,6 +128,7 @@
|
||||
</member>
|
||||
<member name="preprocess" type="float" setter="set_pre_process_time" getter="get_pre_process_time" default="0.0">
|
||||
Amount of time to preprocess the particles before animation starts. Lets you start the animation some time after particles have started emitting.
|
||||
[b]Note:[/b] This can be very expensive if set to a high number as it requires running the particle shader a number of times equal to the [member fixed_fps] (or 30, if [member fixed_fps] is 0) for every second. In extreme cases it can even lead to a GPU crash due to the volume of work done in a single frame.
|
||||
</member>
|
||||
<member name="process_material" type="Material" setter="set_process_material" getter="get_process_material">
|
||||
[Material] for processing particles. Can be a [ParticleProcessMaterial] or a [ShaderMaterial].
|
||||
|
||||
Reference in New Issue
Block a user