Lots of little tweaks as I figure out the octree. Fixed bug regarding the selects in the kernel dictating material texturing

This commit is contained in:
MitchellHansen
2017-08-19 00:04:10 -07:00
parent 4642ab8f0b
commit 9f764f4cbd
4 changed files with 48 additions and 27 deletions

View File

@@ -234,7 +234,7 @@ void Old_Map::generate_terrain() {
for (int y = 0; y < dimensions.y; y++) {
// for (int z = 0; z < dimensions.z; z++) {
//if (rand() % 1000 < 1)
voxel_data[x + dimensions.x * (y + dimensions.z * 1)] = 5;
voxel_data[x + dimensions.x * (y + dimensions.z * 1)] = 6;
// }
}
}