1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Improve rendering and fix tiling in mesh generation

This commit is contained in:
Perttu Ahola 2011-10-18 13:56:35 +03:00
parent 05ab58cd14
commit 554f7f120c
5 changed files with 167 additions and 116 deletions

View file

@ -283,9 +283,9 @@ struct TileSpec
TileSpec():
texture(0),
alpha(255),
material_type(MATERIAL_ALPHA_NONE),
//material_type(MATERIAL_ALPHA_NONE),
// Use this so that leaves don't need a separate material
//material_type(MATERIAL_ALPHA_SIMPLE),
material_type(MATERIAL_ALPHA_SIMPLE),
material_flags(
//0 // <- DEBUG, Use the one below
MATERIAL_FLAG_BACKFACE_CULLING