mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-09 05:38:58 +00:00
A simple base class that renders a 2d fullscreen quad parallel to the screen surface inside the view frustum.
12 lines
223 B
GLSL
12 lines
223 B
GLSL
#version 450 core
|
|
|
|
layout(location = 0) in vec2 inTexCoord;
|
|
|
|
layout(set = 0, binding = 0) uniform sampler2D inTexture;
|
|
|
|
layout(location = 0) out vec4 outColor;
|
|
|
|
void main()
|
|
{
|
|
outColor = texture (inTexture, inTexCoord);
|
|
}
|