Merge pull request #55356 from Chaosus/shader_fix_particles_time

This commit is contained in:
Yuri Roubinsky 2021-11-26 19:53:18 +03:00 committed by GitHub
commit b43281c8ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10033,7 +10033,7 @@ RendererStorageRD::RendererStorageRD() {
actions.renames["RESTART"] = "restart";
actions.renames["CUSTOM"] = "PARTICLE.custom";
actions.renames["TRANSFORM"] = "PARTICLE.xform";
actions.renames["TIME"] = "FRAME.time";
actions.renames["TIME"] = "frame_history.data[0].time";
actions.renames["PI"] = _MKSTR(Math_PI);
actions.renames["TAU"] = _MKSTR(Math_TAU);
actions.renames["E"] = _MKSTR(Math_E);