I’m trying to use a shader that is time dependent. So I’m passing the time like this
shader.data.time.value = [ getTimer() ];
But It’s only update when I lose and gain the focus again. There is something that I have to configure?
Here is the code of the shader class.