Pass references framebuffers and sizes as references to the text overlay, recreate command buffers on resize

This commit is contained in:
saschawillems 2016-05-05 13:03:56 +02:00
parent 381cd1c733
commit 77d72742ea
5 changed files with 53 additions and 28 deletions

View file

@ -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;