diff options
Diffstat (limited to 'assets/shaders/TwistVert.frag.glsl')
-rw-r--r-- | assets/shaders/TwistVert.frag.glsl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/assets/shaders/TwistVert.frag.glsl b/assets/shaders/TwistVert.frag.glsl index 22104e4e..545d4f51 100644 --- a/assets/shaders/TwistVert.frag.glsl +++ b/assets/shaders/TwistVert.frag.glsl | |||
@@ -46,10 +46,10 @@ varying vec2 v_texcoord; | |||
46 | void main() | 46 | void main() |
47 | { | 47 | { |
48 | vec3 col; | 48 | vec3 col; |
49 | if (v_zNormal >= 0.0) | 49 | if (v_zNormal >= 0.0) |
50 | col = texture2D(u_tex0, v_texcoord).xyz; | 50 | col = texture2D(u_tex0, v_texcoord).xyz; |
51 | else | 51 | else |
52 | col = texture2D(u_tex1, v_texcoord).xyz; | 52 | col = texture2D(u_tex1, v_texcoord).xyz; |
53 | 53 | ||
54 | gl_FragColor = vec4(col, 1.0); | 54 | gl_FragColor = vec4(col, 1.0); |
55 | } | 55 | } |