Sorry I was talking about depth_bounds_test , my words were mistaken.
[QUOTE]
cass:
- just do your frustum culling with a finite far plane while rendering with a projection matrix that
has an infinite far plane.
{/QUOTE]
So you’re right It’s exactly what I’ve done.
My first view was upside down.
Now It works perfectly
But It takes a care: musn’t also be used inside a frame rendering (in fact: after the stencil reset).
So Zpass improve a lot against ‘always using Zfail’.
Thanks
Antorian.