Normal orientation, don't pause by default
This commit is contained in:
parent
d139e90f66
commit
48ecef07fa
3 changed files with 1 additions and 1 deletions
|
|
@ -22,6 +22,7 @@ void main()
|
|||
|
||||
// Calculate normal in tangent space
|
||||
vec3 N = normalize(inNormal);
|
||||
N.y = -N.y;
|
||||
vec3 T = normalize(inTangent);
|
||||
vec3 B = cross(N, T);
|
||||
mat3 TBN = mat3(T, B, N);
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -146,7 +146,6 @@ public:
|
|||
camera.position = { 2.15f, 0.3f, -8.75f };
|
||||
camera.setRotation(glm::vec3(-0.75f, 12.5f, 0.0f));
|
||||
camera.setPerspective(60.0f, (float)width / (float)height, 0.1f, 256.0f);
|
||||
paused = true;
|
||||
}
|
||||
|
||||
~VulkanExample()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue