aboutsummaryrefslogtreecommitdiff
path: root/assets/shaders/generated/textured_quad.glsl
blob: a342b86f2387400bb4e65f39229ef85ce9186716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#type vertex
#version 410

layout(location = 0) in vec2 input_position;
layout(location = 1) in vec2 input_texCoord;
layout(location = 0) out vec2 _v0;

void main()
{
    gl_Position = vec4(input_position, 0.0, 1.0);
    _v0 = input_texCoord;
}


#type fragment
#version 410

uniform sampler2D u_ScreenTexture;

layout(location = 0) in vec2 _v0;
layout(location = 0) out vec4 entryPointParam_fragmentMain;

void main()
{
    entryPointParam_fragmentMain = texture(u_ScreenTexture, _v0);
}