7 varying vec4 texcoords;
9 gl_Position = gl_Vertex;
10 texcoords = (gl_Vertex + 1.0) / 2.0;
15 #extension GL_EXT_texture_array : enable
16 varying vec4 texcoords;
17 uniform sampler2DArray tex;
22 vec3 p = vec3(texcoords.xy, layer);
23 gl_FragColor = texture2DArray(tex, p);
28 texture rgbw 2DArray 0 (32, 32, 4)
32 relative probe rgba (0.5, 0.5) (1.0, 0.0, 0.0, 1.0)
36 relative probe rgba (0.5, 0.5) (0.0, 1.0, 0.0, 1.0)
40 relative probe rgba (0.5, 0.5) (0.0, 0.0, 1.0, 1.0)
44 relative probe rgba (0.5, 0.5) (1.0, 1.0, 1.0, 1.0)