News for hackers. Stuff that matters.
Re:Surface-Stable Fractal Dither on Playdate by diffuse_l on Saturday February 22, 2025 @04:57AM (#43137633)
You can estimate mip levels per triangle and subdivde them based on the wanted mip level across z lines, instead of doing the calculation per pixel. It's a bit wonky, but can work, at least for the bigger triangles.

I've linked some code that does something along those lines for mipmapping [1].

[1] https://github.com/Gil-AdB/REVIVAL/blob/0da65f18a34b74575a89...

Re:Surface-Stable Fractal Dither on Playdate by WithinReason on Saturday February 22, 2025 @05:33AM (#43137805)
yeah I was wondering if you could use blue noise mipmaps, trilinear sample from it, then round to 0 or 1. With the right mipbias it feels like it should look OK.
Re:Surface-Stable Fractal Dither on Playdate by diffuse_l on Saturday February 22, 2025 @05:40AM (#43137833)
Trilinear might be possible, but then you'll still need per pixel derivatives, no?