mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
dc0c9dea7f
A simple base class that renders a 2d fullscreen quad parallel to the screen surface inside the view frustum.
12 lines
211 B
GLSL
12 lines
211 B
GLSL
#version 450 core
|
|
|
|
layout(location = 0) in vec4 inPos;
|
|
layout(location = 1) in vec2 inTexCoord;
|
|
|
|
layout(location = 0) out vec2 outTexCoord;
|
|
|
|
void main() {
|
|
gl_Position = inPos;
|
|
outTexCoord = inTexCoord;
|
|
}
|
|
|