2023-10-02 19:10:11 +00:00
|
|
|
#version 320 es
|
2023-08-11 21:19:35 +00:00
|
|
|
|
2023-10-02 19:10:11 +00:00
|
|
|
#extension GL_EXT_texture_shadow_lod : enable
|
2023-08-11 21:19:35 +00:00
|
|
|
|
|
|
|
|
2023-10-02 19:10:11 +00:00
|
|
|
uniform lowp sampler2DArrayShadow s2da;
|
|
|
|
uniform lowp samplerCubeArrayShadow sca;
|
|
|
|
uniform lowp samplerCubeShadow sc;
|
2023-08-11 21:19:35 +00:00
|
|
|
|
2023-10-02 19:10:11 +00:00
|
|
|
in lowp vec4 tc;
|
|
|
|
out lowp float c;
|
|
|
|
void main()
|
|
|
|
{
|
2023-08-11 21:19:35 +00:00
|
|
|
c = texture(s2da, tc, 0.0);
|
|
|
|
c = texture(sca, tc, 0.0, 0.0);
|
|
|
|
c = textureOffset(s2da, tc, ivec2(0.0), 0.0);
|
|
|
|
c = textureLod(s2da, tc, 0.0);
|
|
|
|
c = textureLod(sc, tc, 0.0);
|
|
|
|
c = textureLod(sca, tc, 0.0, 0.0);
|
|
|
|
c = textureLodOffset(s2da, tc, 0.0, ivec2(0.0));
|
2023-10-02 19:10:11 +00:00
|
|
|
|
2023-08-11 21:19:35 +00:00
|
|
|
}
|