only generate interior cloud faces when inside clouds #53
@@ -321,7 +321,7 @@ public final class CloudRenderer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Seen from inside the clouds
|
// Seen from inside the clouds
|
||||||
if (Math.abs(x) <= 1 && Math.abs(z) <= 1) {
|
if (cameraPosition == CameraPosition.INSIDE_CLOUDS && Math.abs(x) <= 1 && Math.abs(z) <= 1) {
|
||||||
for (int direction = DIRECTION_DOWN; direction <= DIRECTION_EAST; direction++) {
|
for (int direction = DIRECTION_DOWN; direction <= DIRECTION_EAST; direction++) {
|
||||||
this.addFace(x, z, direction, FLAG_INSIDE_FACE);
|
this.addFace(x, z, direction, FLAG_INSIDE_FACE);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user