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: Horizon rotates around skybox, while sun halo stay in place.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member Newbie
    Join Date
    Apr 2017
    Posts
    10

    Horizon rotates around skybox, while sun halo stay in place.

    I am trying to render a skybox in openGL using the code found here: http://csc.lsu.edu/~kooima/misc/cs594/final/part2.html
    However, the "horizon" color moves around, while the halo around the sun stays in place, as illustrated in this picture:

    (Ignore the terrain please )

    I have copied the code exactly, except replaced the vertex shader code to use more modern openGL. How could i solve this problem?

    (So the actual fragment colors are correct relative to the time of day, just the places they are wrong.)
    Last edited by c4ooo123; 12-31-2017 at 11:54 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
  •