Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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...


Here's a great breakdown I saw linked on twitter when Townscaper came out: https://observablehq.com/@severo/every-other-pixel-is-a-line


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: