Hacker News new | ask | show | jobs
by pierrec 1414 days ago
That was fun. I love how the AI is both very simple but also creates interesting group movements (especially in "zombie modes"). Cosmetic enhancement: the ground plane looks really blurry half-way to the horizon. I can even see it in the README screenshot :D Looks to me like a textbook use case for anisotropic filtering, which should be a simple setting in the library you're using: https://en.wikipedia.org/wiki/Anisotropic_filtering

Or if you're feeling hardcore, write a shader for the ground plane: https://iquilezles.org/articles/filterableprocedurals

1 comments

What a pro tip! This was an easy change; I've pushed it to the repo and will be out with the next release I put out later today. Any other suggestions you have I'd love to hear. (Incidentally; I set the anisotropy to 8 for that texture -- I liked some of the blur produced as it gives it a nice neon effect)