JJ0o0/JotacraftGL ? reverse-engineered prompt
Reverse engineered prompt
Build me a voxel game engine inspired by Minecraft in modern C++ with OpenGL.
I want a playable first person world with infinite terrain made from chunks and voxels, procedural generation, and smooth chunk rendering with face culling and ambient occlusion. The player should be able to walk, sprint, jump, look around with the mouse, break blocks, place blocks, and select different block types with number keys. Add basic voxel lighting mixed with Phong lighting, a texture atlas, and simple physics for the player.
Also include a clean in game UI and a debug overlay with ImGui that I can toggle on and off. Set it up so it builds with CMake and uses the usual OpenGL dependencies, and if you need current setup details, look up the latest docs online. Keep the code organized and make it feel like a solid foundation for a voxel engine, not just a demo.
Are you gonna build this?
make sure you review the code using coderabbit