Welcome to CMM

We've created a Custom Map Makers Discord channel, if you'd like to join us on the CMM Discord Channel, click here

[Tutorial] Skybox Entity

Having a problem with a shader or texture
User avatar
Posts: 959
Joined: Wed Aug 17, 2011 5:22 pm
Location: Oeiras, Portugal

[Tutorial] Skybox Entity

Postby xandaxs » Wed Aug 17, 2011 7:04 pm

[quote=johnnyenglish]Here's a little something I've been meaning to write up for some time, the _skybox entity.

I was taught by Mindriot that the key to high fps is to limit the amount of map that is drawn at any one time.

A lot of mappers when starting out build their map inside a large box, this large box will have been made from structural brushes and perhaps hollowed out using the hollow tool.

I made my first few maps this way - I didn't actually know any better, it's only when you see your beloved map running at 20-40fps with 20 players that you realise the error of your ways and search for a better way.

Nowadays I made my maps in a very strict way, I build them using detail brushes, texture only the faces that will ever be seen in game and then wrap the whole lot very tightly in structural brushes.

Doing this means it's very easy to isolate which sections of the map will be drawn, however - this isn't a tutorial about construction, it's about the skybox.


Look at my map


If I take off the roof


You can see, most definitely not in a big box, the area you can see is a bridge leaving the main building and (eventually) leading to another building.

The problem is that although it's all nice and wrapped tight in structural caulk brushes - this will not block what you can see.

Watch this video


As you can see - I can see through the walls. The only way apparently to fix this would be to build a large textured dummy wall to block OR... use a skybox entity.

I usually construct a small hollow box under my main map, like a teeny map.


Inside this I can build simple shapes which will be drawn onto the sky.


The final result can be seen in this last video.


Hope that helps someone, if you have any questions, feel free to ask.[/quote]
[12:25] <JohnnyEnglish> morning Nounou
[12:25] <JohnnyEnglish> wotcha doing?
[12:25] <Nounou> hello
[12:26] <Nounou> nothing much, i've nothing to do at work so
[12:26] <Nounou> modeling woman
[12:26] <JohnnyEnglish> woo
[12:26] <JohnnyEnglish> real women?
[12:26] <Nounou> realistic yes, on maya


Return to “Shaders / textures”

Who is online

Users browsing this forum: No registered users and 1 guest