Zfail or Zpass with Stencil Shadows Volume?

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.

Ooupsss

Hey, I frustum cull without a far plane and it works just fine… its just that I don’t cull far plane stuff… that’s all.