diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-06-16 22:37:15 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-06-16 22:37:15 +1000 |
commit | 3c9d08717cd129c1576ea91e5bd4b7b8e0af9885 (patch) | |
tree | 3edc5e5013c64f41be7b96c96175d26adbf6e0c8 /assets/shaders/pbr_params.vert | |
parent | 60d1e086242940993432a40a934241dc40b7382c (diff) |
fix one silly issue
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; |