Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
whiskers
· 5y ago · 0 comments
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...
Comments
[–]
kernelbugs
5y ago
Here's a great breakdown I saw linked on twitter when Townscaper came out:
https://observablehq.com/@severo/every-other-pixel-is-a-line
[–]
progfix
5y ago
Take 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.