Re: [osg-users] Repeating and Bumpmapping a texture

2010-08-05 Thread Jean-Sébastien Guay
Hello Mike, So I've been prodding around a bit in the osgFX::BumpMapping code and noticed that vertex and fragment shader programs are embedded in BumpMapping.cpp. I'm guessing the TexMat ceases to do anything because the shader programs ignore it? Is there any way to bypass that without

[osg-users] Repeating and Bumpmapping a texture

2010-08-04 Thread Mike Stewart
Hi, I'm having a bit of trouble getting texturing to work out. I'm trying to get a bumpmapped texture (using osgFX::BumpMapping) to repeat with a TexMat. So far I've gotten it to either bump map or repeat, but not both at the same time, even though none of the code changes. The code I've

Re: [osg-users] Repeating and Bumpmapping a texture

2010-08-04 Thread Mike Stewart
So I've been prodding around a bit in the osgFX::BumpMapping code and noticed that vertex and fragment shader programs are embedded in BumpMapping.cpp. I'm guessing the TexMat ceases to do anything because the shader programs ignore it? Is there any way to bypass that without writing my own