From 3c9d08717cd129c1576ea91e5bd4b7b8e0af9885 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sun, 16 Jun 2024 22:37:15 +1000 Subject: fix one silly issue --- assets/shaders/pbr_params.vert | 1 + 1 file changed, 1 insertion(+) (limited to 'assets/shaders/pbr_params.vert') diff --git a/assets/shaders/pbr_params.vert b/assets/shaders/pbr_params.vert index 01d0cfe..40a6f29 100644 --- a/assets/shaders/pbr_params.vert +++ b/assets/shaders/pbr_params.vert @@ -20,6 +20,7 @@ layout(location = 2) out vec2 fragTexCoords; void main() { fragWorldPos = vec3(mvp.model * vec4(inPosition, 1.0)); fragNormal = mat3(transpose(inverse(mvp.model))) * inNormal; + // fragNormal = inNormal; fragTexCoords = inTexCoords; -- cgit v1.2.3-70-g09d2