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 2 of 2

Thread: Drawing overlapping translucent triangles with stencil buffer

  1. #1
    Advanced Member Frequent Contributor
    Join Date
    Dec 2005
    Location
    Italy
    Posts
    656

    Drawing overlapping translucent triangles with stencil buffer

    Hi All,

    We need a pseudocode of stencil buffer settings to draw the fragment only once.

    The objective is to draw a transparent shadow on a plane without the alpha values adding up where triangles overlap.

    Thanks,

    Alberto

  2. #2
    Junior Member Regular Contributor
    Join Date
    Feb 2005
    Location
    South Tyrol, Italy
    Posts
    105

    Re: Drawing overlapping translucent triangles with stencil buffer

    Come on! You can come up with that yourself easily.

Posting Permissions

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