SPIRV-Cross/shaders/frag/gather-dref.frag
2018-04-30 12:45:23 +02:00

12 lines
237 B
GLSL

#version 310 es
precision mediump float;
layout(binding = 0) uniform mediump sampler2DShadow uT;
layout(location = 0) in vec3 vUV;
layout(location = 0) out vec4 FragColor;
void main()
{
FragColor = textureGather(uT, vUV.xy, vUV.z);
}