Comment by HelloNurse
Comment by HelloNurse 6 hours ago
The best place for such a cache is a GPU texture, and in a shader that does simple texture mapping instead of rasterizing shapes it would cost more memory reads in exchange for less calculations.