3 ms·
I've been also working on a 2D UI on the GPU. It's quite amazing actually, compared with the code running on the CPU, the code is very terse. The setup can be s
by adamnemecek 8y ago
I've been also working on a 2D UI on the GPU. It's quite amazing actually, compared with the code running on the CPU, the code is very terse. The setup can be somewhat verbose, but the shaders themselves are short. Like a 20 line shader can do miracles.
- dman 8y agoAny github links that are freely available?
- irascible 8y agoyeah shaders really force you to invert your thinking in a good way. Normally our brains spit out cluttered logic with a bunch of for loops and hash tables but shaders cleave all that away.
- mpfundstein 8y agoDo you have an example?