Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
ChrisVR

Why is my skybox not working?

Question

I have 6 textures named with _N _S etc, they are JPG files of 256x256 resolution.

I have made a GLDEFS entry in my pk3.

 

Skybox Sky1
{
  SISKY6_N
  SISKY6_E
  SISKY6_S
  SISKY6_W
  SISKY6_T
  SISKY6_B
}

 

Can't figure out what am I doing wrong...

gzdoom_2018-07-16_01-56-36.png

Share this post


Link to post

11 answers to this question

Recommended Posts

  • 0
2 hours ago, ChrisVR said:

I have followed the suggestion from Aquila - I created a small sector at the side and lowered the skybox. Works both in the builder and the game. Thanks!

 

Congratulations, you've just utilized one of the oldest special effects in the engine!  Sometimes what works well enough in 1993 still works well today!

Share this post


Link to post
  • 0

The skybox is all good but...you need to define the sky in MAPINFO too.

 

Quote

map MAP01 "xxxx"

{

sky1 = "Sky1"

}

Then you need to put the F_SKY flat as ceiling. That will show the sky properly

Share this post


Link to post
  • 0

Thanks man! It partially works.

Applied to ceiling is ok, but when I apply it to the wall, it does not work. Anyway to fix it?

gzdoom_2018-07-16_02-29-25.png

Share this post


Link to post
  • 0
Posted (edited)

um...two ways to solve.

You use the sky hack technique or use the Line_Horizon action to the walls if you're using the UDMF format. You don't need to put that flat to the wall.

Share this post


Link to post
  • 0

We're almost there!

Is it possible to prevent my 'building' from expanding into infinite horizon?

gzdoom_2018-07-16_03-07-03.png

Share this post


Link to post
  • 0
Posted (edited)

Maybe doing another sector around that building and lower the floor so that it doesn't look like that

Share this post


Link to post
  • 0

I made it look like this with the "9 line horizon" but it's still the same in-game..

Builder_2018-07-16_03-35-19.png

Share this post


Link to post
  • 0

You can also create a small sector at the edge with a sky textured ceiling and lower it to the floor and it will render the sky, but not the same way that Line_Horizon does, without the edge.

Share this post


Link to post
  • 0

Look at the outside area of Doom 2 MAP01 for an example of how to do the sky trick they are talking about.

Share this post


Link to post
  • 0

I have followed the suggestion from Aquila - I created a small sector at the side and lowered the skybox. Works both in the builder and the game. Thanks!

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×