Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | horsecar123 |
I want to freeze my shader (not disappear) and keep it the way it is. Any idea how can i do it?
What do you mean by “freeze”? Do you want the shader to pause its execution?
Ertain | 2022-03-06 20:41
I have a blood shader randomly spreading from the enemy. I want to stop it from spreading and show only the last frame(it will keep showing the last frame without disappearing).
horsecar123 | 2022-03-06 21:44
If the shader is suppose to do something over time (e.g. spread something), then have the shader stop doing its thing after that amount of time has lapsed. For example, once the time variable that is used to calculate and show the spread has reached a certain value (3 seconds, a minute, whatever), only use that value. This is also called “clamping” a variable to a certain range.
Ertain | 2022-03-07 05:29