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: Alpha test with multi-texture......

  1. #1
    Advanced Member Frequent Contributor
    Join Date
    Jul 2001
    Posts
    533

    Alpha test with multi-texture......

    Hi Gurus,


    I'm scratching my head like crazy at the moment. My alpha test works just fine with single texture, but when I go to multitexture none of the fragments are culled. How exactly does the alpha component get calculated for alpha test with more than one texture unit active? I mean, how is the alpha combined from the two textures (I'm using GL_REPLACE, GL_MODULATE).

    Thanks.

  2. #2
    Junior Member Regular Contributor LangFox's Avatar
    Join Date
    Oct 2001
    Location
    Shen Zhen, Guangdong, China
    Posts
    103

    Re: Alpha test with multi-texture......

    The first texture is multiplied with second texture.
    Best Regards,
    LangFox


    http://hi.baidu.com/lang_fox

Posting Permissions

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