Page 1 of 1
Is using a software-style sky in OpenGL possible?
Posted: Fri Dec 27, 2013 1:15
by lupinx-Kassman
Hello! For a particular wad I am woking on, I would like to use software-style skies in OpenGL. The reason being that I want to use PNG skies without palette limitations, but I don't want them to be spherically projected as seems to be the standard. Basically what I am asking is if there is a way to use the sky in screenshot 1 instead of the sky in screenshot 2 for openGL.
Screenshot 1:
Screenshot 2:

Re: Is using a software-style sky in OpenGL possible?
Posted: Fri Dec 27, 2013 10:41
by Graf Zahl
No, there isn't. The 'software sky' has a maximum pitch at which it would have to repeat or end. It's the part above that point that gets faded out with GL. If you want more coverage, make a sky that doesn't need to be stretched by the software renderer. GL never uses sky stretching, if a sky is too short it gets faded out at a lower height.
Re: Is using a software-style sky in OpenGL possible?
Posted: Fri Dec 27, 2013 22:31
by Gez
The alternative to spherical projection is to use cubic projection -- in other words, assemble a skybox in GLDEFS.
Re: Is using a software-style sky in OpenGL possible?
Posted: Sat Dec 28, 2013 21:58
by lupinx-Kassman
I see, thanks for the help!