4 ms·
Look at your CPU usage while viewing this page. The idea behind the original palette rotation tricks was to use less CPU. The actual palette values were deep in
by exDM69 15y ago
Look at your CPU usage while viewing this page. The idea behind the original palette rotation tricks was to use less CPU. The actual palette values were deep inside the graphics adapter and was faster to change than the actual pixels on the screen.
Maybe we should do palette rotation tricks with (WebGL) shaders running on the GPU h/w to get a similar effect without the CPU hit.
- ajross 15y agoEven that wouldn't pass the "true" test. You could implement the "pallet" using a texture lookup on the GPU of course, but could only apply it by rewriting all the pixels.