Skip to content

Commit

Permalink
Include alpha channel reference in MaterialTypeParam
Browse files Browse the repository at this point in the history
  • Loading branch information
stujones11 authored and sfan5 committed Feb 8, 2018
1 parent 1e94a7f commit e87b410
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client/tile.h
Expand Up @@ -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:
Expand Down

0 comments on commit e87b410

Please sign in to comment.