Skip to content

Commit e87b410

Browse files
stujones11sfan5
authored andcommittedFeb 8, 2018
Include alpha channel reference in MaterialTypeParam
1 parent 1e94a7f commit e87b410

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

Diff for: ‎src/client/tile.h

+1
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ struct TileLayer
232232
case TILE_MATERIAL_BASIC:
233233
case TILE_MATERIAL_WAVING_LEAVES:
234234
case TILE_MATERIAL_WAVING_PLANTS:
235+
material.MaterialTypeParam = 0.5;
235236
material.MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL_REF;
236237
break;
237238
case TILE_MATERIAL_ALPHA:

0 commit comments

Comments
 (0)