Please or Register to create posts and topics.

Idiot Skybox (impossible leaking)

PreviousPage 2 of 4Next

I have no idea why that leak is there, but from the screenshots it looks like you are still struggling to create a 3D skybox. That box should normally be the last thing you need after creating the stuff you want to be displayed in the skybox in the first place. If all you want is a cloudy sky and nothing else, you don't need a 3D skybox.

it's just a 2d skybox, And It fixed itself somehow.....

.....We will blame it on witchcraft.

Just when I think I understand the system, it changes on me.

That's what I mean. For a 2D skybox you don't need a sky_camera with a box around it. All you need to do is to texture a ceiling or wall with the toolsskybox-texture and then go to the map properties to set the skybox you want to use.

The box with the sky_camera is only needed for 3D skyboxes, where you want to create the impression that there are buildings and whatnot around the map.

Yeah when i didn't have the skycamera in a brusg, that's what happened in image 2 up there ^

Just when I think I understand the system, it changes on me.

Do you actually have a 3-d skybox? A box with a sky_camera and more stuff than just the background?

well i could just as easily put something in there.... maybe some metal beams

Just when I think I understand the system, it changes on me.
Fracture wrote:
well i could just as easily put something in there.... maybe some metal beams

nope...

Let me explain:
A skybox is something that makes your level look bigger than it actually is.

A classic example of this is to have a shooter that plays inside, but with windows where you can see the outside (for example in a spaceship). The advantage is that you have an exterior that looks bigger than it is.

In games like counter strike and half-life skyboxes are used to create the sky. Instead of having a ceiling texture the whole map has a certain texture to the ceiling. This is cheap to render and it will look good.

Those are 2D- skyboxes, they are made easily in hammer by setting a (valid) skybox texture.

A 3D-skybox is a box with tools/skybox; far away from the actual map geometry, that has a sky_camera in it. Everything in this box is (by default) scaled down 1:16. so 16 units in the real map represent 1 in the actual skybox.

The advantage of this is that if you have a map like 4000x4000x4000 units and you want to make it look like it's 8000x8000x8000 you only need to make a skybox of 500x500x500 units and make sure the geometry in the skybox matches up your world geometry.

If you want to make an outside area, you can use a 2d-skybox. And unless you want to go all out on graphic design in a portal 2 map with loads of custom models and huge environments you shouldn't need 3d-skyboxes at all.

===
So putting in some random metal beams is a bad idea.
You need to:
1) keep in mind it's position compared to the world
2) keep in mind the lighting
3) keep in mind that the brush (and texture) is scaled up dramatically

yeah i pretty much knew that stuff from the last agonizing thread about skyboxes.

I was just trying to take advantage of an easy fix to some strange glitch

Just when I think I understand the system, it changes on me.

could you post your vmf?
You dont seem to be getting the reason to use a skybox or 3d skybox



Also, I made a map just for you! Sunset
Click Here to view my Workshop and play my puzzlemaker maps

@Fracture: if when you load the map the only thing you can see is the sky drowning everything, then do as GreyKarel said, delete the parameter $ignorez 1 from ALL the six .vmt files of your skybox; that parameter is making the engine renders the skybox in a first plane, so the rest of stuff can't be seen correctly since it's "behind" the skybox, understand?

On the other hand, use the shader "UnlitGeneric" instead of "Sky" as Felix said (I mean into the .vmts again). For the sky textures to work fine, you only really need the following lines:

Code: Select all
"UnlitGeneric"
{
    "$basetexture" "skybox/sky27bk"
    "$nofog" "1"
}

For that leak, if you already checked that the radius culling is not checked, there are only 2 possibilities:

- that box you made for the sky_camera is not made out of world brushes
- maybe the sky_camera center of origin is displaced. Go to Tools > Center Origins to see if that solves it.

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]
PreviousPage 2 of 4Next