6 ms·
Any idea what "like the ‘every odd pixel is a line’ texture mapping technique" refers to? I can't seem to find a descrition of it anywhere...
by whiskers 5y ago
Any idea what "like the ‘every odd pixel is a line’ texture mapping technique" refers to? I can't seem to find a descrition of it anywhere...
- progfix 5y agoTake a really low rez texture. Shrink every other pixel to the size of a single pixel on you screen. Now you got yourself a nice random brick texture. Townscaper does that dynamically in a pixel shader.
- kernelbugs 5y agoHere's a great breakdown I saw linked on twitter when Townscaper came out: https://observablehq.com/@severo/every-other-pixel-is-a-line https://observablehq.com/@severo/every-other-pixel-is-a-line