Stephan Huber wrote:
Mao.. schrieb:
Thank you very much, Rafa Gaitan!

Your suggestion works. But I'm wondering one thing: all of the models have
passed the more or less same preproccessor, however, some models without the
renderbin affairs will not "hide" but turn blue as I expected. The only
difference between these two is the renderbin. I'm a little confused.

This is because Renderbin 10 enables GL_BLEND automatically, so the
alpha-value of your material applies to the models. Without enabling
GL_BLEND, the alpha-value is ignored by OpenGL.
I don't think blending is enabled automatically for bin 10.

Paul
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to