Pass references framebuffers and sizes as references to the text overlay, recreate command buffers on resize
This commit is contained in:
parent
381cd1c733
commit
77d72742ea
5 changed files with 53 additions and 28 deletions
|
|
@ -21,6 +21,11 @@ layout (location = 2) out vec2 outUV;
|
|||
layout (location = 3) out vec3 outViewVec;
|
||||
layout (location = 4) out vec3 outLightVec;
|
||||
|
||||
out gl_PerVertex
|
||||
{
|
||||
vec4 gl_Position;
|
||||
};
|
||||
|
||||
void main()
|
||||
{
|
||||
outNormal = inNormal;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue