Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: sun position in openGL SilverLining SDK

  1. #1
    Newbie Newbie
    Join Date
    Jul 2018

    sun position in openGL SilverLining SDK

    I'm recently trying to construct a physically based sky model using the openGL SilverLining SDK.
    However, I can't figure out where to set the sun position in the api, since there's only function GetSunOrMoonPosition() to retrieve the direction of the dominant directional light source.
    Does anyone know how to use it?

  2. #2
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    This isn't an really an OpenGL question. Your best bet is to read the documentation (including header comments) in the Silver Lining SDK or (failing that) contact Sundog Software tech support. It's been a few years since I worked with some of their software, but at the time, Frank was very helpful in answering tech support questions. And while I can't speak for the Silver Lining SDK, the Triton SDK had decent documentation.

Posting Permissions

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