Hacker News new | ask | show | jobs
by AgentME 1159 days ago
If you wanted to do compute in a shader before WebGPU with WebGL instead, then I think the answer is kind of yes. It wasn't "for free" without any code but it was required to do. But now WebGPU supports compute shaders properly so you don't have to do compute in a shader that produces textures.
1 comments

A texture in WebGL is just a memory buffer that can be accessed by shaders. It doesn't end up on screen automatically.