How I made a custom game engine for Satelital
Web page · https://spectralorbit.com/blog/satelital_game_engine
First seen by Oriel on .
AI summary
A solo developer explains building Satelital and its custom C++ game engine from scratch, using Vulkan shaders, procedural rendering, bespoke tools, and performance-focused iteration.
- The engine evolved from SDL2 and OpenGL to a custom platform layer and Vulkan, with MoltenVK enabling macOS support and shared Windows code.
- An orthographic 2D renderer creates a 3D appearance using Blender-baked albedo, normal, and height maps, shader SDFs, procedural terrain, and ray-marched shadows.
- Runtime shader reloading and an in-game puzzle editor accelerated iteration, while a custom Blender plugin provided an additional environment-editing workflow.
- Replacing much of the C++ standard library reduced compile times and taught the developer underlying mechanisms, but required a month of implementation work.
- Hardware differences, shader precision, Vulkan layers, and large shaders caused compatibility and performance problems, leading to extensive logging, optimization, Steam Deck targeting, and optional performance modes.
#game engines #vulkan #shaders #graphics programming
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Points
Score reported by the source.
- Hacker News: 40, latest observation ; +36 over observed period since
- Lobsters: 39, latest observation ; +38 over observed period since
Comments
Comment count reported by the source.
- Hacker News: 7, latest observation ; +7 over observed period since
- Lobsters: 7, latest observation ; +7 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| Hacker News | 50550015 | https://spectralorbit.com/blog/satelital_game_engine Read discussion |
| Lobsters | eklpkn | https://spectralorbit.com/blog/satelital_game_engine Read discussion |