mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Fix flipped textures for drawtype "glasslike"
This commit is contained in:
@@ -710,10 +710,10 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
|
|||||||
|
|
||||||
// The face at Z+
|
// The face at Z+
|
||||||
video::S3DVertex vertices[4] = {
|
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,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, 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, 0,0),
|
video::S3DVertex(-BS/2,BS/2,BS/2, 0,0,0, c, 1,0),
|
||||||
};
|
};
|
||||||
|
|
||||||
// Rotations in the g_6dirs format
|
// Rotations in the g_6dirs format
|
||||||
|
Reference in New Issue
Block a user