about the stencil buffer

This topic contains 3 replies, has 2 voices, and was last updated by  Xmas 8 years, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #29638

    favormm
    Member

    hi,

     

    I want to know if there is the stencil buffer in the OpenGL ES 1.1. I have write the code:

    GLint bit;
    glGetIntegerv           (GL_STENCIL_BITS, &bit);

     

    the bit == 0,  hope help me if it exist.

     

    best regards
    #32508

    Xmas
    Member

    PowerVR MBX does not support stencil so this query will always return 0 on platforms with MBX. If you tell us what you’re trying to achieve we might be able to suggest alternative methods.

    #32509

    favormm
    Member

    The shadow volumes will use the stencil buffer,  and now I have no idear  except use the shadow map technology.  But I want to use the shadow volumes,  it means must use the stencil buffer. How can I do?

    #32510

    Xmas
    Member

    I’m afraid there’s not much you can do. The absence of subtractive blending means using blending to count front and back faces of shadow volumes is not a viable option either.

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.