9b5939d256
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 |
||
---|---|---|
include | ||
lib | ||
shaders | ||
src | ||
textures | ||
.gitignore | ||
.gitmodules | ||
CMakeLists.txt | ||
README.md | ||
build-and-run.sh | ||
intervalmap.hpp |
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)