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: why does quad colour overlay my texture?

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2004
    Location
    Singapore
    Posts
    18

    why does quad colour overlay my texture?

    When i bind my texture (which is a char image) onto the yellow quad, the image texture becomes yellow. How cld i remedy that??

    Thanks.

  2. #2
    Senior Member OpenGL Guru Relic's Avatar
    Join Date
    Apr 2000
    Posts
    2,527

    Re: why does quad colour overlay my texture?

    glTexEnv with GL_MODULATE is default. Use GL_DECAL to replace with the pure texture color.

  3. #3
    Junior Member Newbie
    Join Date
    Feb 2004
    Location
    Singapore
    Posts
    18

    Re: why does quad colour overlay my texture?

    Thanks!!

Posting Permissions

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