mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
vr: draw main window tex on nice quad
This commit is contained in:
11
shaders/copy.frag
Normal file
11
shaders/copy.frag
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user