Skip to content
Permalink
Browse files
Include alpha channel reference in MaterialTypeParam
  • Loading branch information
stujones11 authored and sfan5 committed Feb 8, 2018
1 parent 1e94a7f commit e87b410a33639bffe69725ed3ea5d85e45280815
Showing 1 changed file with 1 addition and 0 deletions.
@@ -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:

0 comments on commit e87b410

Please sign in to comment.