Jump to content
  • 0

Why is my skybox not working?


ChrisVR

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

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.

Edited by leodoom85

Share this post


Link to post
  • 0

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

Edited by leodoom85

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...