mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix sidedness check in material. Also remove SIDE built-in.
This commit is contained in:
parent
4a2eef4ad8
commit
2b31155baa
4 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue