A sun in openGL?,
Members - Reputation: 122
Posted 24 October 2001 - 03:13 PM
Members - Reputation: 151
Posted 24 October 2001 - 05:37 PM
If you dont need total accuracy, simply put a yellow sphere at 0,0,0 and stick a GL_LIGHTx at 0,0,0.
Absolutly terrible, but workable.
On the other end, you do per-pixel lighting with each pixel of the sun shining and some kind of ray-casting algorithim.
Which would not be anything close to real time.
Yuo need to define yourself...
I came, I saw, I got programmers block.