draw other side of tile when rotation completes
This commit is contained in:
1 parent
76423f3729
commit
20953f9141
2 files changed
+5
-1
No files matched your search
@@ -1,7 +1,8 @@
|
||||
|
||||
uniform bool side;
|
||||
varying vec3 color_i;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_FragColor = vec4(color_i, 1);
|
||||
gl_FragColor = vec4(side ? color_i.bgr : color_i, 1);
|
||||
}
|
||||
Reference in new issue
Block a user