Hacker News new | past | comments | ask | show | jobs | submit login

That was a really interesting read.

I will say though, as someone who, along with a large portion of my friends - plays quite a few video games: everyone prefers when a game just take the time to precompile the shaders it needs. I don’t care if it needs to spin for 30 mins on first run/on-update. That’s preferable to jitter, random hangs, and lag from JIT-ing shaders in-game.




Precompiling all combinations can take many hours up to days though, so at some point you need to know what exactly is going to be used which is not always easy.

It can depend on graphics settings for example.


Also, it better only happen once.

Some games completely throw away their shader cache every time there is an update. Some don't save the cache at all!


Oh The Danger Zone had essential XNA knowledge ~2010

https://therealmjp.github.io/posts/pix-with-xna/




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: