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: Problem with coloring.

  1. #1
    Junior Member Newbie
    Join Date
    May 2012
    Posts
    2

    Problem with coloring.

    Hi I have got a sky box, but when I add a color to a quad the sky box changes its colr too. How can I add coloring only the quad?

  2. #2
    Senior Member OpenGL Pro BionicBytes's Avatar
    Join Date
    Mar 2009
    Location
    UK, London
    Posts
    1,171
    Use glcolor4f (1,1,1,1) before drawing the skybox, that's the quickest 'fix'

Posting Permissions

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