diff options
Diffstat (limited to 'data/res/raw/color_fade_vert.vert')
-rw-r--r-- | data/res/raw/color_fade_vert.vert | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/data/res/raw/color_fade_vert.vert b/data/res/raw/color_fade_vert.vert index d17437fe..b501b066 100644 --- a/data/res/raw/color_fade_vert.vert +++ b/data/res/raw/color_fade_vert.vert @@ -1,6 +1,5 @@ uniform mat4 proj_matrix; uniform mat4 tex_matrix; -uniform float scale; attribute vec2 position; attribute vec2 uv; varying vec2 UV; @@ -9,5 +8,5 @@ void main() { vec4 transformed_uv = tex_matrix * vec4(uv.x, uv.y, 1.0, 1.0); UV = transformed_uv.st / transformed_uv.q; - gl_Position = vec4(scale, scale, 1.0, 1.0) * (proj_matrix * vec4(position.x, position.y, 0.0, 1.0)); + gl_Position = proj_matrix * vec4(position.x, position.y, 0.0, 1.0); } |