GLSL iFrame equivalent in GenExpr?
How are WebGL iFrame (current frame) and iFrameRate (fps) handled within Gen? The code usually goes something like a = (iFrame>10) ? b : c;
How do I implement that in pix/gen objects? Do I need to output the texture into an object that tracks frames and send the frame count to Gen via param or is there a way for Gen to internally track the current frame?
Not internally. Just send them in via params. I frame could easily be done with a counter, for example.
Good to know. Thanks.