| 1 |
#version 310 es |
| 2 |
precision mediump float; |
| 3 |
precision highp int; |
| 4 |
|
| 5 |
layout(binding = 0) uniform mediump sampler2DShadow uT; |
| 6 |
|
| 7 |
layout(location = 0) out vec4 FragColor; |
| 8 |
layout(location = 0) in vec3 vUV; |
| 9 |
|
| 10 |
void main() |
| 11 |
{ |
| 12 |
FragColor = textureGather(uT, vUV.xy, vUV.z); |
| 13 |
} |
| 14 |
|