SPIRV-Cross/shaders/frag/gather-dref.frag

12 lines
237 B
GLSL
Raw Normal View History

2018-04-30 10:45:23 +00:00
#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);
}