parent
02dfaf29e8
commit
27c8c36ebe
4 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ layout (location = 0) out vec3 outUVW;
|
|||
void main()
|
||||
{
|
||||
outUVW = inPos;
|
||||
outUVW.yz *= -1.0f;
|
||||
outUVW.xy *= -1.0f;
|
||||
// Remove translation from view matrix
|
||||
mat4 viewMat = mat4(mat3(ubo.model));
|
||||
gl_Position = ubo.projection * viewMat * vec4(inPos.xyz, 1.0);
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue