From f501cfd799fb156a32df8791fa3b3ad590d3c0d8 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 14 Dec 2010 13:14:43 +0200 Subject: tinkering around --- src/tile.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/tile.cpp') diff --git a/src/tile.cpp b/src/tile.cpp index 580d2a8a3..32db69672 100644 --- a/src/tile.cpp +++ b/src/tile.cpp @@ -53,9 +53,17 @@ void tile_materials_preload(TextureCache &cache) g_tile_materials[i].Lighting = false; g_tile_materials[i].BackfaceCulling = false; g_tile_materials[i].setFlag(video::EMF_BILINEAR_FILTER, false); + g_tile_materials[i].setFlag(video::EMF_ANTI_ALIASING, video::EAAM_OFF); + //if(i != TILE_WATER) + //g_tile_materials[i].setFlag(video::EMF_FOG_ENABLE, true); + + //g_tile_materials[i].setFlag(video::EMF_TEXTURE_WRAP, video::ETC_REPEAT); + //g_tile_materials[i].setFlag(video::EMF_ANISOTROPIC_FILTER, false); + g_tile_materials[i].setTexture(0, t); } g_tile_materials[TILE_WATER].MaterialType = video::EMT_TRANSPARENT_VERTEX_ALPHA; + //g_tile_materials[TILE_WATER].MaterialType = video::EMT_TRANSPARENT_ADD_COLOR; } -- cgit v1.2.3