Results 1 to 3 of 3

Thread: Skybox is black

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2009
    Posts
    2

    Skybox is black

    Alright I load up my scene and I see nothing in the background its all black. However if I take off the gldepthmask commands and zoom out beyond where I drew the skybox and I can see the texutes on a cube. Can any one help me fix this. I'll post my code if you request it.

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Oct 2004
    Posts
    4,651

    Re: Skybox is black

    Quote Originally Posted by barret907k
    Alright I load up my scene and I see nothing in the background its all black. However if I take off the gldepthmask commands and zoom out beyond where I drew the skybox and I can see the texutes on a cube. Can any one help me fix this. I'll post my code if you request it.
    Make sure you're not trying to draw out beyond the far clip plane. Push your far clip out or pull your eye-space Z values in. If that seems to "fix" it, suspect far clipping.

  3. #3
    Junior Member Newbie
    Join Date
    Jan 2009
    Posts
    2

    Re: Skybox is black

    Yeah that was thanks. I appreciate the help

Similar Threads

  1. OpenGL, CubeMap, Black Skybox,C++
    By Hauken in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 07-04-2018, 07:06 AM
  2. Replies: 0
    Last Post: 07-22-2014, 01:13 PM
  3. skybox help
    By ugluk in forum OpenGL: General
    Replies: 4
    Last Post: 12-25-2009, 10:50 AM
  4. skybox
    By apocalexiz in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 07-17-2003, 06:08 AM
  5. SkyBox
    By mishuk in forum OpenGL: Advanced Coding
    Replies: 5
    Last Post: 01-09-2003, 11:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean