Hello Raymond,
> Can you try to use a ref pointer instead of the regular pointer for
> "osg::Shader* shader". I believe I encountered exactly this issue when
> working on the PSSM, please see a patch that I sent +/- a week ago.
It has no effect, and anyways, it would not have explained why
setAmbientBias did not take effect either...
Anything else?
Just to reiterate, only setTextureSize() takes effect, not
setAmbientBias or addShader. Plus, it works in a straight OSG project
(modified from the osgshadow example), but not in our application. So
I'm just looking for possible explanations. I know fully that the
problem is in our code, I'm just puzzled as to what could cause that.
Thanks,
J-S
--
______________________________________________________
Jean-Sebastien Guay [EMAIL PROTECTED]
http://whitestar02.webhop.org/
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org