Very very close to pixel perfect shadows. Having some of that axis switch malarchy slowing things down
This commit is contained in:
@@ -158,6 +158,18 @@ void Old_Map::generate_terrain() {
|
||||
}
|
||||
}
|
||||
|
||||
for (int x = 30; x < 60; x++) {
|
||||
//for (int y = 0; y < dimensions.y; y++) {
|
||||
for (int z = 0; z < 25; z++) {
|
||||
voxel_data[x + dimensions.x * (50 + dimensions.z * z)] = 6;
|
||||
}
|
||||
//}
|
||||
}
|
||||
|
||||
set_voxel(sf::Vector3i(45, 70, 5), 1);
|
||||
set_voxel(sf::Vector3i(47, 70, 5), 1);
|
||||
set_voxel(sf::Vector3i(100, 100, 50), 1);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user