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

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



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.


Trilinear might be possible, but then you'll still need per pixel derivatives, no?




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

Search: