mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
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