forked from Mirrorlandia_minetest/minetest
Include alpha channel reference in MaterialTypeParam
This commit is contained in:
parent
1e94a7feaf
commit
e87b410a33
@ -232,6 +232,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