vr: draw main window tex on nice quad

This commit is contained in:
milek7
2020-11-18 23:46:24 +01:00
parent b024ed90fc
commit 30dec00c35
3 changed files with 26 additions and 3 deletions

11
shaders/copy.frag Normal file
View File

@@ -0,0 +1,11 @@
in vec2 f_coords;
#texture (tex1, 0, sRGB)
uniform sampler2D tex1;
layout(location = 0) out vec4 out_color;
void main()
{
out_color = texture(tex1, f_coords);
}