muhkuh
08-21-2002, 02:15 AM
Is there a way to let OpenGl gegerate colors similar to the texture coordinate generation ? I want to render a 3d graph where the higher a Vertex is the more should it turn from green to red.
My only idea would be to use a 3d texture with 2 planes, a red and a green one. This way I could use texgen functionality but this seems to be overkill.
My only idea would be to use a 3d texture with 2 planes, a red and a green one. This way I could use texgen functionality but this seems to be overkill.