From 1abb83b1abde10632442554c90549d81d1b39cd7 Mon Sep 17 00:00:00 2001 From: Muhammad Rifqi Priyo Susanto Date: Mon, 1 Mar 2021 19:37:32 +0700 Subject: Use vec4 for varTexCoord in interlaced shader (#11004) Somewhen in the past, inTexCoord0 was a vec2. Now, it is a vec4. --- client/shaders/3d_interlaced_merge/opengl_fragment.glsl | 2 +- client/shaders/3d_interlaced_merge/opengl_vertex.glsl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'client/shaders/3d_interlaced_merge') diff --git a/client/shaders/3d_interlaced_merge/opengl_fragment.glsl b/client/shaders/3d_interlaced_merge/opengl_fragment.glsl index 7cba61b39..6d3ae5093 100644 --- a/client/shaders/3d_interlaced_merge/opengl_fragment.glsl +++ b/client/shaders/3d_interlaced_merge/opengl_fragment.glsl @@ -6,7 +6,7 @@ uniform sampler2D textureFlags; #define rightImage normalTexture #define maskImage textureFlags -varying mediump vec2 varTexCoord; +varying mediump vec4 varTexCoord; void main(void) { diff --git a/client/shaders/3d_interlaced_merge/opengl_vertex.glsl b/client/shaders/3d_interlaced_merge/opengl_vertex.glsl index 860049481..224b7d183 100644 --- a/client/shaders/3d_interlaced_merge/opengl_vertex.glsl +++ b/client/shaders/3d_interlaced_merge/opengl_vertex.glsl @@ -1,4 +1,4 @@ -varying mediump vec2 varTexCoord; +varying mediump vec4 varTexCoord; void main(void) { -- cgit v1.2.3