Eniko Fox

@eniko@mastodon.gamedev.place

added texturing to my affine triangle rasterizer

March 13, 2026 at 5:16:12 PM

making a triangle rasterizer is a lot like programming language development. you make a few building blocks and then you're like "theoretically, using this, i could make anything"

and now its gouraud shaded and textured

also it makes me happy when people tell me it's a fine triangle rasterizer because that's the name of the library :3 so thank you to everyone that did so

should i do the psx colored texturing thing where medium gray is treated as 1 and white is treated as 2? in other words instead of mapping rgb 0-255 to 0-1 it treats it as 0-2, so values over 128 make the texture channels brighter, while under 128 make it darker (and 128 stays the same)

okay yeah this is way better

Elk Logo

Elk is in Preview!

Thanks for your interest in trying out Elk, our work-in-progress Mastodon web client!

Expect some bugs and missing features here and there. we are working hard on the development and improving it over time.

Elk is Open Source. If you'd like to help with testing, giving feedback, or contributing, reach out to us on GitHub and get involved.

To boost development, you can sponsor the Team through GitHub Sponsors. We hope you enjoy Elk!

Daniel RoePatak三咲智子 Kevin DengAnthony Fu

The Elk Team