Finished PBR IBL example

This commit is contained in:
saschawillems 2017-04-22 12:05:30 +02:00
parent dba54b09b3
commit 566da6083b
10 changed files with 173 additions and 107 deletions

View file

@ -34,5 +34,6 @@ void main()
outWorldPos = locPos + pushConsts.objPos;
outNormal = mat3(ubo.model) * inNormal;
outUV = inUV;
outUV.t = 1.0 - inUV.t;
gl_Position = ubo.projection * ubo.view * vec4(outWorldPos, 1.0);
}