![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | David Krause |
![]() |
Old Version | Published before Godot 3 was released. |
I’ve played around with shaders (never done shaders before, so i’m total noob).
I’ve build a “hyperjump” shader, that i want to assign to as sprite, when the starship sprite leaves my scene.
Inside the (graphical) shader i use “time”.
Now i have the effect that, even if the material is not assigned to the sprite yet, the time seems to go on.
So when i finally assign the material, the shader “does not start at the beginning”.
So my question is now: Can i somehow set the shader time to 0 on assignment?