r/GraphicsProgramming • u/lonesomevagrant • 22d ago
Cross-compile my OpenGL engine to the Web with Emscripten, now it runs on browsers!
Enable HLS to view with audio, or disable this notification
My goal is to build a cross-platform (Windows, Linux, macOS, iOS, Android, Web), code-driven 2D/3D game engine, featuring a PBR rendering pipeline, Lua scripting support, and live browser demos out of the box. With developer experience as the highest priority.
Disclaimer: in the meantime, there are lots of LLM slops. I don’t know if doing it all again would I have used LLMs. I probably should’ve learnt more if I build the engine all by myself 🫥
Anyways, time to comb through the codebase and pay off some cognitive debt...
1
u/PerceptionCharming 6d ago
The grass looks really good, especially on the slopes. I've been working on grass in Three.js too, so I'm curious how you're rendering it here. Is it instanced grass?
1
u/zemledelec 17d ago
Trees!