From f6de2b1453930267015ab9323d5f83daa25667ba Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 14 May 2020 19:09:39 +0200 Subject: Added ugly Cylindric UV mapping, texture/color transition --- shader/vertex.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shader/vertex.glsl') diff --git a/shader/vertex.glsl b/shader/vertex.glsl index b26899e..e61ec34 100644 --- a/shader/vertex.glsl +++ b/shader/vertex.glsl @@ -13,7 +13,7 @@ out vec2 v_texture_coord; void main() { + gl_Position = u_proj * u_view * u_model * in_position; v_color = in_color; v_texture_coord = in_texture_coord; - gl_Position = u_proj * u_view * u_model * in_position; } -- cgit