I need a day off from doing black and white monochrome pixel art.

Dipping my toes back into porting shader code into CPU-bound programs in C that do offline rendering.

Original code:


@jonbro A coworker of mine showed me this particular shader. This apparently was his seed of inspiration that plunged him into the world of shaders.

@paul I like that it doesn't even have a projection matrix - just falloff from 12 points. its incredible.

@jonbro I'm particularly fond of the slight asymmetry that emerges from it. Usually you don't get kind of nuance in code snippets this short.

Sign in to participate in the conversation
Friend Camp

Hometown is adapted from Mastodon, a decentralized social network with no ads, no corporate surveillance, and ethical design.