CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2009
    Posts
    7

    How to create Sky in 3D games

    I am going to build a 3d racing game but i failed to make sky. Can anyone tell me that how can i create sky in game
    Please tell me some methods or tricks for creating sky.
    Also can anyone give me example program which is compile-able so that i can easily understand

  2. #2
    Join Date
    Jul 2010
    Posts
    88

    Re: How to create Sky in 3D games

    Make a cube with faces to the inside. Give it 6 2D maps or a cubemap. Render it without the depth buffer with the camera in the middle of the box. Render the world with the depth buffer on top of it.

Tags for this Thread

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured