Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix flipped textures for drawtype "glasslike"
- Loading branch information
Showing
with
4 additions
and
4 deletions.
-
+4
−4
src/content_mapblock.cpp
|
@@ -710,10 +710,10 @@ void mapblock_mesh_generate_special(MeshMakeData *data, |
|
|
|
|
|
// The face at Z+ |
|
|
video::S3DVertex vertices[4] = { |
|
|
video::S3DVertex(-BS/2,-BS/2,BS/2, 0,0,0, c, 0,1), |
|
|
video::S3DVertex(BS/2,-BS/2,BS/2, 0,0,0, c, 1,1), |
|
|
video::S3DVertex(BS/2,BS/2,BS/2, 0,0,0, c, 1,0), |
|
|
video::S3DVertex(-BS/2,BS/2,BS/2, 0,0,0, c, 0,0), |
|
|
video::S3DVertex(-BS/2,-BS/2,BS/2, 0,0,0, c, 1,1), |
|
|
video::S3DVertex(BS/2,-BS/2,BS/2, 0,0,0, c, 0,1), |
|
|
video::S3DVertex(BS/2,BS/2,BS/2, 0,0,0, c, 0,0), |
|
|
video::S3DVertex(-BS/2,BS/2,BS/2, 0,0,0, c, 1,0), |
|
|
}; |
|
|
|
|
|
// Rotations in the g_6dirs format |
|
|