This commit is contained in:
Confideo-IOM
2026-09-29 12:52:37 +01:00
parent 7a1eaa3654
commit def7bbffee
46 changed files with 1492 additions and 561 deletions
@@ -44,7 +44,7 @@ void main()
mat4 view = ubo_per_frame.view;
mat4 proj = ubo_per_frame.proj;
//model = mat4(1);
gl_Position = proj * view * model * vec4(inPos, 1.0);
gl_Position = vec4(inPos, 1.0);// proj * view * model * vec4(inPos, 1.0);
vs_out.vsWorldPos = model * vec4(inPos,1);
vs_out.vsNormal = normalize(vec3(model * vec4(normalize(inNormal),0)));