#5 - fixed interpolation & rollback

This commit is contained in:
Martin Slachta
2026-08-05 15:20:56 +02:00
parent 2e95c941ba
commit 0e639abcd2
14 changed files with 243 additions and 40 deletions
+2
View File
@@ -2,6 +2,7 @@
layout(location = 0) in vec3 pos;
layout(location = 1) in vec3 norm;
layout(location = 0) out vec3 outNormal;
layout(set = 0, binding = 0) uniform Camera {
mat4 proj;
@@ -21,5 +22,6 @@ void main() {
// outPos = pos.xyz * 0.05;
// outNormal = norm.xyz;
// outUV = uv;
outNormal = norm;
gl_Position = cam.proj * cam.view * PushConstants.transform * vec4(pos, 1.0);
}