Hi Maxime,

On 6/08/09 4:41 PM, Maxime BOUCHER wrote:
I know Z-buffer isn't very in fond of transparency, and actually, when I 
capture it on
a model having transparent faces it stores strange things (a kind of luminance 
image of
some textures on parts corresponding to these transparents faces).

Thus, I tried to deactivate it, but I didn't find how. I tried all this stuff:
...

But, if one of it (ALPHA_TEST), stopped the transparency, my Z-buffer has 
always kept
being corrupted. Then, my question is, how can I really deactivate the 
transparency?

Of course, if you have good ideas to have transparency and a working Z-buffer, 
I would
be very pleased :).

I'm extremely irritated by what you write and maybe I'm not the only one.
Why do you suspect that the Z-buffer is influenced by alpha blending?

So you're reading back the depth buffer and it's not what you expect? Could you post a screenshot?

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

Reply via email to