Cheap Pixelless Textures With 2D SDFs
August 19, 2025

Archived from an original LinkedIn post by Brian Greenforest.

Original Post

Procedurally-generated textures allow cheap pixelless textures. SDF in 2D is 1 eval, much cheaper than in 3D. So we use UV-SDF in texel space. Sprinkle speckles of point cloud in distance to emulate foliage. Use shaded or solid triangles for mid-field trunks, branches, fern. GPT-5 made decisions on the shapes and the geometries of the cedar trees, texture shapes, exact color palette, all on its own, and wrote an end-to-end SotA scanline rendering engine from scratch. All in ~500 lines of Python. Animated.