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:
parent
05ab58cd14
commit
554f7f120c
5 changed files with 167 additions and 116 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue