Pass texture3d to shader
Posted: Mon Mar 19, 2007 11:25 am
I pass vertices (irr::video::S3DVertex ) to the shader engine. According to the docs, there is a way to specify a 2d texture coordinate (or possibly 2 coordinates) associated with the vertex and access these coordinates in the shader.
I would like to use texture3d() shader functionality.
Starting with generating a 3-dimensional texture and ending with passing vector3df texture coordinates to the shader engine, what is the method in irrlicht to do that?
Help much appreciated!
I would like to use texture3d() shader functionality.
Starting with generating a 3-dimensional texture and ending with passing vector3df texture coordinates to the shader engine, what is the method in irrlicht to do that?
Help much appreciated!