I have a 3D image just defined by its voxels. This image is a grey-scale image. I need to render it in false colors. The idea is to write shader implementing something like the Phong model. On Internet I found different shaders. But all of them use known-normals on rendered points. So, when the Phong model is applied, the OpenGL pipe-line has already performed a lot of things.
Unfortunately, as my image is directly a voxel image. I have no information on normals. Moreover the image is directly stored as a 3D texture. Hence, to apply the Phong model I cannot benefit of the OpenGL pipe-line.
So, does someone know how to perform a Phong model in this case?