forked from Mirrorlandia_minetest/minetest
Include alpha channel reference in MaterialTypeParam
This commit is contained in:
parent
86e29ae586
commit
a873a3f4f8
@ -251,6 +251,7 @@ struct TileLayer
|
||||
case TILE_MATERIAL_BASIC:
|
||||
case TILE_MATERIAL_WAVING_LEAVES:
|
||||
case TILE_MATERIAL_WAVING_PLANTS:
|
||||
material.MaterialTypeParam = 0.5;
|
||||
material.MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL_REF;
|
||||
break;
|
||||
case TILE_MATERIAL_ALPHA:
|
||||
|
Loading…
Reference in New Issue
Block a user