aboutsummaryrefslogtreecommitdiff
path: root/src/content_mapblock.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-10-18 18:32:35 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-10-18 18:32:35 +0300
commit8ead29a302e5bad1f67d2e83c4999c9164c6c03d (patch)
tree1b49e7f15c27d849156e09b17c239e9ace70b9be /src/content_mapblock.cpp
parentfe98fe342a65c995bbc59470549417f38311366b (diff)
downloadminetest-8ead29a302e5bad1f67d2e83c4999c9164c6c03d.tar.gz
minetest-8ead29a302e5bad1f67d2e83c4999c9164c6c03d.tar.bz2
minetest-8ead29a302e5bad1f67d2e83c4999c9164c6c03d.zip
set backface culling off again for torches, ladders, rails and signs
Diffstat (limited to 'src/content_mapblock.cpp')
-rw-r--r--src/content_mapblock.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/content_mapblock.cpp b/src/content_mapblock.cpp
index ad4601d06..5e1bac2e9 100644
--- a/src/content_mapblock.cpp
+++ b/src/content_mapblock.cpp
@@ -253,7 +253,7 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
// Set material
video::SMaterial material;
material.setFlag(video::EMF_LIGHTING, false);
- material.setFlag(video::EMF_BACK_FACE_CULLING, true);
+ material.setFlag(video::EMF_BACK_FACE_CULLING, false);
material.setFlag(video::EMF_BILINEAR_FILTER, false);
material.setFlag(video::EMF_FOG_ENABLE, true);
//material.MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL;
@@ -308,7 +308,7 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
// Set material
video::SMaterial material;
material.setFlag(video::EMF_LIGHTING, false);
- material.setFlag(video::EMF_BACK_FACE_CULLING, true);
+ material.setFlag(video::EMF_BACK_FACE_CULLING, false);
material.setFlag(video::EMF_BILINEAR_FILTER, false);
material.setFlag(video::EMF_FOG_ENABLE, true);
material.MaterialType
@@ -1104,7 +1104,7 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
video::SMaterial material_rail;
material_rail.setFlag(video::EMF_LIGHTING, false);
- material_rail.setFlag(video::EMF_BACK_FACE_CULLING, true);
+ material_rail.setFlag(video::EMF_BACK_FACE_CULLING, false);
material_rail.setFlag(video::EMF_BILINEAR_FILTER, false);
material_rail.setFlag(video::EMF_FOG_ENABLE, true);
material_rail.MaterialType
@@ -1177,7 +1177,7 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
// Set material
video::SMaterial material_ladder;
material_ladder.setFlag(video::EMF_LIGHTING, false);
- material_ladder.setFlag(video::EMF_BACK_FACE_CULLING, true);
+ material_ladder.setFlag(video::EMF_BACK_FACE_CULLING, false);
material_ladder.setFlag(video::EMF_BILINEAR_FILTER, false);
material_ladder.setFlag(video::EMF_FOG_ENABLE, true);
material_ladder.MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL_REF;