blob: 60bbfc72136b18a1bd1d58f19b6fb927a6bf1819 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
static const std::string DISPLAY_VERTEX_SHADER_CODE = R"(
#version 330 core
layout (location = 0) in vec2 screen_vertex;
layout (location = 1) in vec2 texture_vertex;
out vec2 TexCoords;
void main() {
gl_Position = vec4(screen_vertex, 0.0, 1.0);
TexCoords = texture_vertex;
}
)";
|