#version 300 es precision mediump float; uniform sampler3D tex; in vec3 uv; out vec4 _fragColor; void main() { _fragColor = texture(tex, uv); }