Re: [Maya2osg-users] Texture processing
Status: Alpha
Brought to you by:
jtaibo
From: Jean-Sébastien G. <jea...@cm...> - 2011-06-16 15:33:28
|
Hi Javier, > I'll compile a debug version and see what's going on. Of course, I found out about 2 seconds after building in debug, but I wouldn't even have had to... I don't want to generate GLSL shaders. I think your texture processing code should happen even if only "Export Shaders" is checked, not "Build GLSL Shaders". All use of textures should follow the same rules, whether GLSL shaders are being generated or not. So I think these calls will need to be moved somewhere else... Perhaps in Texture::exporta(), which is called by both FileTexture::getCodeBlock() and Shader::exporta() (indirectly). Thanks in advance, J-S -- ______________________________________________________ Jean-Sebastien Guay jea...@cm... http://www.cm-labs.com/ http://whitestar02.dyndns-web.com/ |