draw other side of tile when rotation completes

This commit is contained in:
josh committed 2012-12-01 09:50:45 -05:00
1 parent 76423f3729
commit 20953f9141
2 files changed
+5 -1

No files matched your search

+2 -1
View File
@@ -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);
}