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)
committerparamat <mat.gregory@virginmedia.com>
Sat, 1 Jul 2017 03:43:55 +0000 (04:43 +0100)
commit6e5588c8e1a6cf79005b5e95c75cbfacf7c75589
tree2f008e377daa84c33674099cdc0580e0479340e0
parentf3ad75691aea30d2d68aab19fbfa9031409c39d7
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