#171 An early z-test?

open-duplicate
nobody
None
5
2007-05-17
2007-05-08
Anonymous
No

I have read the prior bug report.
Only the reversed order of stencil and alpha is mentioned.

In the rasterization stage, according to Ln 496, 606 of RasterizerTriangles.cpp, it seems that depth test/write [496] is performed before alpha blending [606], and it may cause an OpenGL violation, isn't it? (e.g. transparent texture image)

Discussion

  • Hans-Martin Will

    Logged In: YES
    user_id=618887
    Originator: NO

    It's the same issue, yes; there are situations where the alpha test (and hence texture lookup) needs to happen before depth and stencil test.

     
  • Hans-Martin Will

    • status: open --> open-duplicate
     

Log in to post a comment.