snaipperi wrote:

As you can see, the right side displays like it should, but on the
left side the rear grass model appears in front of the closer model..

I think this is an unavoidable consequence of the way
Soya uses OpenGL to handle partial transparency. Not sure
of the details, but probably what it's doing is making
one pass over the scene to render all the opaque parts
with full depth buffering, and then a second pass for
the translucent parts with depth buffer testing but
not updating.

What that means is that opaque objects will correctly
occlude other opaque or translucent objects, but the
ordering between different translucent objects is not
controlled by the depth buffer.

This is really about the best that can be done using
a pure depth-buffer algorithm. If it makes a difference
(as it does in your case) you'll just have to be careful
about the ordering of your alpha-textured objects.

--
Greg


_______________________________________________
Soya-user mailing list
[email protected]
https://mail.gna.org/listinfo/soya-user

Reply via email to