A cubical voxel engine, with chunks, interval maps and greedy meshing
 
 
 
 
 
 
Go to file
EmaMaker 9b5939d256 renderer: do not send empty meshes to the gpu only at creation
I feel never sending empty meshes to the GPU is the cause of the bug causing floating quads near
chunk borders when a block is placed and then destroyed.
When destroying a block in a chunk, if nearby empty chunk meshes are not updated, the old mesh is
kept, which includes a quad at the border
2023-10-04 14:53:05 +02:00
include renderer: also delete meshes of old chunks 2023-10-04 13:24:06 +02:00
lib lib: add dearimgui lib 2023-09-20 12:42:05 +02:00
shaders hud: crosshair with fragment shader 2023-09-20 12:42:05 +02:00
src renderer: do not send empty meshes to the gpu only at creation 2023-10-04 14:53:05 +02:00
textures Initial tree generation 2023-07-30 12:16:32 +02:00
.gitignore create debug window with imgui 2023-09-20 12:42:05 +02:00
.gitmodules lib: add dearimgui lib 2023-09-20 12:42:05 +02:00
CMakeLists.txt create debug window with imgui 2023-09-20 12:42:05 +02:00
README.md initial commit 2022-11-10 19:53:52 +01:00
build-and-run.sh initial commit 2022-11-10 19:53:52 +01:00
intervalmap.hpp renderer: render scene to a texture 2023-09-20 12:37:32 +02:00

README.md

Port of https://git.emamaker/voxel-test-intervalmaps to C++ and OpenGL.

Credits

CMake template based on https://github.com/kigster/cmake-project-template by Konstantin Gredeskoul under MIT License

Rest of credits is in respective source files (OpenSimplexNoise, glad, glm, stb_image)