Somebody tell me how to make a skybox in UDMF

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Braxton
Posts: 8
Joined: Sun Jul 30, 2017 3:48 pm

Somebody tell me how to make a skybox in UDMF

Post by Braxton »

So, I've created an inaccessible sector with a skybox viewpoint, and the skybox is still what I'm seeing on the screen whenever I noclip out of the spawn room to see if it worked. Note that I'm confused on everything that the wiki has told me, I'm a beginner map maker. I've included an image file of my map here:
dm.PNG
'
You do not have the required permissions to view the files attached to this post.
Nevander
Posts: 2254
Joined: Mon Jan 06, 2014 11:32 pm

Re: Somebody tell me how to make a skybox in UDMF

Post by Nevander »

Make sure the playable sectors you want to have sky has F_SKY1 as the ceiling flat. Otherwise you won't get a skybox anywhere in the map.

I see you used SKY1 as the flat for the skybox sector... you probably shouldn't and instead use that texture for the skybox walls instead (unless you did already, in which case ignore what I said although I'd still change the floor to something that blends better with the bottom of the mountain texture).

Also one last tip, I'd give the skybox viewpoint an angle of 0, so it's facing east. This allows the in-game skybox direction to always match the map when facing north, so you can add things into the skybox later without getting confused on directions.
Braxton
Posts: 8
Joined: Sun Jul 30, 2017 3:48 pm

Re: Somebody tell me how to make a skybox in UDMF

Post by Braxton »

Thanks, it's working now, though when I look in some directions outside the playable sectors the skybox is gone
User avatar
Remmirath
Posts: 2562
Joined: Sun Dec 23, 2007 3:53 am
Graphics Processor: nVidia with Vulkan support
Location: My house

Re: Somebody tell me how to make a skybox in UDMF

Post by Remmirath »

With "Outside the playable sectors" do you mean the black areas around your playable sectors? In that case, that's normal.

The sky in Doom is only visible in sectors that use the F_SKY1 flat on either the floor or ceiling. The fact that you sometimes can see the sky when looking outside the playable areas is due to how the renderer works (I assume you're using OpenGL). If you were using software, you'd only see HOMs in unmapped areas.
Braxton
Posts: 8
Joined: Sun Jul 30, 2017 3:48 pm

Re: Somebody tell me how to make a skybox in UDMF

Post by Braxton »

Here's some footage of the problem on my stupid troll channel:
https://youtu.be/FEBEWKXBXUc

Return to “Editing (Archive)”