2 ms·
GPU shaders don't "have" time but you can cheaply send them the current frame's time wrt some start time as a uniform input variable.
by skrebbel 4y ago
GPU shaders don't "have" time but you can cheaply send them the current frame's time wrt some start time as a uniform input variable.