I’m using 3D textures extensions in opengl to render a volumetric data, and would like to use vertex shaders for lighting. Problem is, when programmable vertex shaders are enabled the 3D textures basically stop functioning. Now I assume I need to replicate some of the fixed function 3d texture functionality in my vertex program, but I can’t seem to crack this one. Anyone have any ideas?
Part of whats so tricky is I need the final stuff to work on a GeForce 4 icon_sad.gif, so I the vertex/pixel shaders have to be fairly simple. I’m using Cg at the moment, but really just an explanation of how to recreate the fixed function vertex pipeline for 3d textures is all I really need… Thanks