bgfx/3rdparty/glslang/Test/spv.texture.sampler.transform.frag

14 lines
168 B
GLSL
Raw Normal View History

2017-06-03 21:11:11 +03:00
#version 440
uniform sampler smp;
uniform texture2D tex;
in vec2 coord;
out vec4 color;
void main()
{
color = texture(sampler2D(tex, smp), coord);
}