diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-06-11 23:38:10 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-06-11 23:40:56 +0200 |
commit | d0c2005da1547c19a8072bb336b03dc401460e94 (patch) | |
tree | 0142d1796de3879e463d0ad9c20263c8ef9d67cb /editor/icons/icon_edit_bezier.svg | |
parent | 30e8b53c380a7bc88fbea768e31bc6b64f27f0ef (diff) |
CPUParticles: Do randomness ratio computations in phase instead of time
The original shader code uses a phase (ratio from 0 to 1 for the particle
lifetime) for the randomness ratio computations, and this code was ported
over but converted to time computations.
The seeding/cycle logic was thus invalid, so we're going back to phase
for these computations, thus fixing the previous non-working time/emission
randomness property.
Part of #29692. Follow-up to #26859.
Diffstat (limited to 'editor/icons/icon_edit_bezier.svg')
0 files changed, 0 insertions, 0 deletions