mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-08 11:30:06 +00:00
14 lines
168 B
GLSL
14 lines
168 B
GLSL
|
#version 440
|
||
|
|
||
|
uniform sampler smp;
|
||
|
uniform texture2D tex;
|
||
|
|
||
|
in vec2 coord;
|
||
|
|
||
|
out vec4 color;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
color = texture(sampler2D(tex, smp), coord);
|
||
|
}
|