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: Skybox Question

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2002
    Posts
    24

    Skybox Question

    If i drew a skybox which would completly surround my world, would it look like dog poop or would it come out all nice like i applied the texture to a small box?? The box that would surround my world would have to be massive, so i was wondering if i applied the textures to it, would they look right? I've tried it, and it looks like poop. SO i was wondering if it is my code or are textures that are applied to large quads generally poop?? Forgive my over-use of the word poop, i could've used a stronger word

    [This message has been edited by I_NeedHelp (edited 01-28-2003).]

  2. #2

    Re: Skybox Question

    You don't have to have it surround your whole world. It can be a tiny little box if you want. Just draw it first with depth writing turned off, then draw your scene with depth writing turned on.

    glDepthMask(GL_TRUE/GL_FALSE);

    How it looks is pretty much dependent on how good the skybox texture is and its resolution.

  3. #3
    Email address no longer exists Frequent Contributor
    Join Date
    Dec 2002
    Location
    Espoo, Finland
    Posts
    599

    Re: Skybox Question

    Yes. If your skybox looks like s**t, it's either because it's not centered to the camera or your textures aren't made correctly.

    -Ilkka

Posting Permissions

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