Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: dealing with multiple stencil buffers

  1. #1
    Senior Member OpenGL Pro
    Join Date
    Jul 2001
    Location
    France
    Posts
    1,749

    dealing with multiple stencil buffers

    I know I can use FBO for having more than one stencil buffer, but what I don't reach to find is how to combine the default stencil buffer with FBO's ones.

    Let's say I have a 'master' stencil tests and operations for all the rendering which is done in several passes (just like shadow volumes). And in between, at some stage of this rendering process I have other stencil operations to do (like the ones of one of my previous posts). I spent some times to try to think about this, but I always ended with the conclusion that it is not possible at all.

    Any clue ?

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Jul 2001
    Location
    France
    Posts
    1,749

    Re: dealing with multiple stencil buffers

    So, noone for this one ? So I'll assume there is no solution.

  3. #3
    Senior Member OpenGL Pro
    Join Date
    Jul 2001
    Location
    France
    Posts
    1,749

    Re: dealing with multiple stencil buffers

    Just to inform those that might be interrested in. I was acting like a dumb... The solution is as simple as doing it in the first pass when no stencil test is needed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •