Make faces shading correct for all possible modes.
authorRealBadAngel <maciej.kasatkin@o2.pl>
Sun, 10 Aug 2014 21:43:26 +0000 (23:43 +0200)
committerRealBadAngel <maciej.kasatkin@o2.pl>
Thu, 14 Aug 2014 04:43:47 +0000 (06:43 +0200)
commit5e54bf1472039af79b3bf7bfab43d294aed8e9e9
tree37f67da6e33bb1736c7d288d83fb3a2a84ff84db
parent587167e940228e52e5df5e4b5ecb7b5ff1ea1a7b
Make faces shading correct for all possible modes.
Skip shading for lightsources and top of the nodes.
Fixes liquid sources and flowing surfaces having different brightness.
client/shaders/nodes_shader/opengl_vertex.glsl
src/mapblock_mesh.cpp