3 ms·
> textures that repeat themselves. Use this one weird trick to fix that.[1] The theory: [2] This can be done in the GPU, so you only need one copy of the rep
by Animats 4y ago
> textures that repeat themselves.
Use this one weird trick to fix that.[1]
The theory: [2]
This can be done in the GPU, so you only need one copy of the repeating texture in VRAM. It's good for semi-random patterns such as dirt, gravel, water, grass, asphalt, forest floors, etc. Not good for regular patterns such as bricks and tiles.
[1] https://user-images.githubusercontent.com/20206840/174149327-fd6bbf22-9299-49f9-8f96-c043d90fdde4.mp4 https://user-images.githubusercontent.com/20206840/174149327...
[2] https://jcgt.org/published/0011/03/05/ https://jcgt.org/published/0011/03/05/