Fix sidedness check in material. Also remove SIDE built-in.

This commit is contained in:
Juan Linietsky 2017-12-26 11:09:52 -03:00
parent 4a2eef4ad8
commit 2b31155baa
4 changed files with 4 additions and 4 deletions

View file

@ -1615,7 +1615,7 @@ void main() {
float alpha = 1.0;
#ifdef METERIAL_DOUBLESIDED
#if defined(DO_SIDE_CHECK)
float side=float(gl_FrontFacing)*2.0-1.0;
#else
float side=1.0;