Hi,

I'm having a problem with a GLSL shader. It works fine for opaque 
objects, but transparent objects don't look right. I tracked it down to 
my use of the OpenSG uniforms OSGWorldMatrix and OSGTransInvWorldMatrix. 
It appears these variables contain garbage or out-of-date values for 
transparency sorted objects.

If I setSortTrans(false) on the render action, the shader works 
correctly, but of course transparency isn't rendered correctly in this case.

Any ideas why this might be the case?


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to