sparklemotion icon indicating copy to clipboard operation
sparklemotion copied to clipboard

Shaders preview in ultra-fast motion

Open bencbartlett opened this issue 2 years ago • 2 comments

When using uniform float time; // @@Time to time-evolve a shader, the shader will often preview in the editor menu at like 100x speed. I'm not sure what causes this. When you make a change which causes the shader to recompile, this goes away.

bencbartlett avatar Aug 16 '22 18:08 bencbartlett

I think this is caused by the same auto-adjust code behind #481, which is a bug anyway cuz time isn't adjustable directly from a control.

xian avatar Sep 23 '22 05:09 xian

Oh, wait, hmm @bencbartlett is it possible this only happens on shaders whose time is affected by some slider, like a speed slider or something? Having trouble replicating now that I'm looking at it.

xian avatar Sep 23 '22 05:09 xian