From: Irawati Sylvia (sylvi++at++imrc.kist.re.kr)
Date: 06/30/2005 18:54:47
Hi,
I used GLSL to make a water effect,
I need to load 3D texture in the shader,
I tried to use loadMultiFile in the Performer
ptexture->loadMultiFile(fname, i);
Then I send that texture the shader.
The problem is, It seems the shader did not recognize the texture as 3D
texture, but just a 2D texture.
Do I need to setFormat ptexture as a 3D texture, how can I do that?
Thanks in advanced.
- sylvi -
This archive was generated by hypermail 2b29 : Thu Jun 30 2005 - 18:54:52 PDT