fixing descriptor set issue

This commit is contained in:
2025-06-01 19:57:11 +02:00
parent 195518361c
commit 724e2a277b
18 changed files with 248 additions and 67 deletions

View File

@@ -290,6 +290,7 @@ void Chunk::GenerateMesh()
int occ_count = (occ1 ? 1 : 0) + (occ2 ? 1 : 0) + (occ3 ? 1 : 0);
float ao = 1.0f - (occ_count * 0.2f);
vertex_color = Scop::Vec4f(Scop::Vec3f(base_color) * ao, 1.0f);
}
else