Finished PBR IBL example
This commit is contained in:
parent
dba54b09b3
commit
566da6083b
10 changed files with 173 additions and 107 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue