4 // require_extensions: GL_ARB_gpu_shader5 GL_ARB_texture_cube_map_array
8 #extension GL_ARB_gpu_shader5: require
9 #extension GL_ARB_texture_cube_map_array: require
11 uniform sampler2DShadow s2D;
12 uniform sampler2DArrayShadow s2DArray;
13 uniform samplerCubeShadow sCube;
14 uniform samplerCubeArrayShadow sCubeArray;
15 uniform sampler2DRectShadow s2DRect;
23 res += textureGather(s2D, vec2(0), refz);
24 res += textureGather(s2DArray, vec3(0), refz);
25 res += textureGather(sCube, vec3(0), refz);
26 res += textureGather(sCubeArray, vec4(0), refz);
27 res += textureGather(s2DRect, vec2(0), refz);