nuclear@6: uniform sampler3D volume; nuclear@6: uniform sampler1D xfer_tex; nuclear@6: nuclear@6: void main() nuclear@6: { nuclear@6: float val = texture3D(volume, gl_TexCoord[0].xyz).x; nuclear@6: gl_FragColor = vec4(texture1D(xfer_tex, val).xxx, 1.0); nuclear@6: }