Hi all.
I notice that you can specify the texture unit for SoftShadowMap:
void SoftShadowMap::setJitterTextureUnit(unsigned int jitterTextureUnit)
{
_jitterTextureUnit=jitterTextureUnit;
}
However, in the method void SoftShadowMap::createUniforms()
I notice the following code:
_jitterTextureUnit=_shadowTextureUnit+1;
Which obviously overwrites any settings the user previously did...
I'm guessing it is a legacy from the 2.6 version where the
jitterTextureUnit was hardcoded this way?
/Anders
--
__________________________________________
Anders Backman, HPC2N
90187 UmeƄ University, Sweden
[email protected] http://www.hpc2n.umu.se
Cell: +46-70-392 64 67
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org