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

I did a little open source game recently where all the rendering is based on SDFs, rendered in GLSL but without raymarching—all 2D: https://github.com/westoncb/under-game

If anyone wants to see the SDF/rendering bits, it's all in this file: https://github.com/westoncb/under-game/blob/master/js/gameFr...




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

Search: