#extension GL_OES_texture_3D : require uniform sampler3D tex; varying vec3 uv; void main() { gl_FragColor = texture3D(tex, uv); }