bevy/crates/glsl-to-spirv/glslang/Test/spv.texture.sampler.transform.frag

13 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);
}