diff options
Diffstat (limited to 'assets/shaders/pbr_params.vert')
-rw-r--r-- | assets/shaders/pbr_params.vert | 1 |
1 files changed, 1 insertions, 0 deletions
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; |