Add motion vector support for GPU 3D Particles.
Add the capability of resizing the transforms buffer for particles to be double its size and alternate where the current output is written to. Only works for particles that use index as their draw order.
This commit is contained in:
parent
031f6deefb
commit
293302ccd8
8 changed files with 113 additions and 24 deletions
|
|
@ -67,6 +67,7 @@
|
|||
</member>
|
||||
<member name="draw_order" type="int" setter="set_draw_order" getter="get_draw_order" enum="GPUParticles3D.DrawOrder" default="0">
|
||||
Particle draw order. Uses [enum DrawOrder] values.
|
||||
[b]Note:[/b] [constant DRAW_ORDER_INDEX] is the only option that supports motion vectors for effects like TAA. It is suggested to use this draw order if the particles are opaque to fix ghosting artifacts.
|
||||
</member>
|
||||
<member name="draw_pass_1" type="Mesh" setter="set_draw_pass_mesh" getter="get_draw_pass_mesh">
|
||||
[Mesh] that is drawn for the first draw pass.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue