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

>”it generally also swaps textures and models based on distance from camera.”

What?!? No it doesn’t. It uses the depth buffer to progressively box blur or gaussian blur the frame post-render.

https://lettier.github.io/3d-game-shaders-for-beginners/dept...

Nowhere are they replacing models, replacing textures, or anything of the sort. I suspect the issue here is that box blur with a sampling of 3x3 is exponential performance hit at 4k vs 1080p. By a factor of 8x due to the extra sampling lookups.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: