1 uniform sampler3D m_Texture; 2 3 varying vec3 texCoord; 4 5 void main(){ 6 gl_FragColor= texture3D(m_Texture,texCoord); 7 }