Question about multiple skyboxes in one map

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
User avatar
NeoHippo
Posts: 408
Joined: Tue Sep 13, 2005 0:47
Location: British Columbia Canada

Question about multiple skyboxes in one map

Post by NeoHippo »

Intrigued by this thread http://forum.zdoom.org/viewtopic.php?f=3&t=29130 , I set out to do just that, but ....

I can get the scenario working, where I construct for example 4 sectors as skyboxes which are then linked via id_tags in Skybox Viewpoint and Skybox Picker to the appropriate sectors in the map.


I cannot, however, get anything working where I have 4 skyboxes, of 6 images each, defined in GLDEFS and then use Z/MAPINFO to display them in the map. Whatever I do, only one skybox is displayed in the map.

If I read the WIKI - Skybox entry correctly, I should be able to do this.

Perhaps, somebody could show me where I am going wrong.

and my map
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Question about multiple skyboxes in one map

Post by Graf Zahl »

You have to use Static_Init to set different skies for your sectors.
+
Locked

Return to “GZDoom”