Tile material: Add 'TILE_MATERIAL_OPAQUE', use for drawtype 'NDT_NORMAL'
authorstujones11 <stujones111@gmail.com>
Wed, 7 Jun 2017 17:52:38 +0000 (18:52 +0100)
committerSmallJoker <mk939@ymail.com>
Sun, 3 Jun 2018 15:31:59 +0000 (17:31 +0200)
commitc352ff71e86fd3d40414cbe3a374c9563495ca1a
treed57ddf0506a9dabc2b1b1617ac47515563fcc267
parent26d0753d870b0b0e2c5e03c817a4c2bdb3eebfc9
Tile material: Add 'TILE_MATERIAL_OPAQUE', use for drawtype 'NDT_NORMAL'

Prevents normal drawtype nodes having transparency.
Avoids clients cheating by using 'x-ray' texture packs with transparent textures.
src/client/tile.h
src/nodedef.cpp
src/shader.cpp