OrbWeaver@Posted: Thu Oct 20, 2005 6:26 pm :
I have been doing some experimentation with skybox textures. It seems that the standard example with both "texgen skybox" and "texgen wobblesky 0 0 0" is redundant - the skybox will work with just one of them.

I'm guessing that the texgen is used to alter the texture co-ordinates, since without one of these lines the skybox is totally corrupted. I am not sure what the numbers after "texgen wobblesky" are for though - the first one seems to impart a fixed rotation to the texture co-ordinates around a horizontal axis (perhaps to simulate the sun moving across the sky), while the third one causes the sky to rotate continuously around the vertical axis if set to a positive value. The second one does not seem to do anything.

Does anyone have a better explanation of what these parameters do?



doomkid3000@Posted: Thu Oct 20, 2005 6:31 pm :
wobble makes the skybox rotate so it moves a bit like in the hell levels in the game :o



OrbWeaver@Posted: Fri Oct 21, 2005 5:37 pm :
doomkid3000 wrote:
wobble makes the skybox rotate so it moves a bit like in the hell levels in the game :o


Well the third parameter certainly seems to do that, but I have no idea what the second one is supposed to do (if anything). I will have a look through the hell sky textures to see if there is any clue.