refactor res/shaders

This commit is contained in:
MihailRis
2024-07-20 16:05:06 +03:00
parent 52381d5afa
commit 8e159009eb
16 changed files with 85 additions and 61 deletions
+2 -2
View File
@@ -7,6 +7,6 @@ uniform float u_ar;
uniform float u_zoom;
void main(){
v_coord = (vec4(v_position*vec2(u_ar, 1.0f)*u_zoom, -1.0, 1.0) * u_view).xyz;
gl_Position = vec4(v_position, 0.0, 1.0);
v_coord = (vec4(v_position*vec2(u_ar, 1.0f)*u_zoom, -1.0, 1.0) * u_view).xyz;
gl_Position = vec4(v_position, 0.0, 1.0);
}