3 ms·
Excellent. I love how shaders have progressed from "a clever hack to do fancier things in the hardware" to "a general-purpose parallel computing coprocessor."
by shadowgovt 3y ago
Excellent.
I love how shaders have progressed from "a clever hack to do fancier things in the hardware" to "a general-purpose parallel computing coprocessor." Particularly fun is how best practice these days is to do as much as you can in the shader. Where is the object's position? In this texture. Okay sure but where's its velocity? In that texture, so we can just update the position by re-rendering the first texture. Okay, but we need to accelerate these objects... Cool, pass me an acceleration texture.