i need help with sky_camera

srs

L2: Junior Member
Apr 1, 2016
53
10
I hate sky_camera. I tried and tried it nothing happens. Most of the tuts out there are either outdated or too complex and crap. can someone help me and give me some low down simple instructions?
 

nickybakes

You should've played Rumbleverse
aa
Jul 28, 2015
911
1,739
Hey don't worry, we're still here.

A sky_camera is used to create a 3D skybox; a part of your map that it blown up 16x its size and rendered at all times. It's usually used for very far out of bounds areas, so that you aren't making your skybox a huge box around your level to fit all the distant detailing. Usually what I do to create my 3D skybox, is I just create it in normal size. I put a sky_camera at the origin of the level. Then I select the sky_camera, and everything that I want to be part of the 3D skybox, I put texture scale lock on, and using the scale feature, I scale it to 1/16 its size.

TL;dr this tutorial is what taught me
View: https://m.youtube.com/watch?v=40oIyq5IWPk
 

Yrr

An Actual Deer
aa
Sep 20, 2015
1,308
2,743
hVbYJuU.png


edit: dangit ninja'd
 

Vel0city

func_fish
aa
Dec 6, 2014
1,947
1,589
Place the sky_camera at the world origin. That's 0,0,0 coordinates. You can find it easily by looking at your 2D views, there's a blue line running down and one running left->right in each view (top, right, front, etc). Make sure the sky_camera is right at the intersection of those blue lines in each 2D viewport. Next, if you have fog settings in your map via an env_fog, copy the values from that entity to the sky_camera so that the skybox fog matches up with your map's playable space fog. Leave the skybox scale at 16x, almost all skybox models are 16x smaller than the original models. Then, build your 3D skybox around your map in full scale. When you're done with that, select all the stuff you want to be 3D skybox AND the sky_camera, move it to somewhere outside your map, then use the transform tool with ctrl+m to make everything 1/16th size. You'll see an X, Y and Z with the number 1 behind it in a text box, if you want to scale everything down by 16 times you put 0.0165 in every box behind the x, y, z and hit enter. All that's left now is to seal the skybox up with a box around it and boom, done. Make sure to func_detail everything except displacements in your skybox though, this saves VVIS from having to calculate visibility data in a part of the map that won't be visited by players at all.

heh, I got ninja'd by 2 people. but the point still stands. Also, don't be so impatient. Not everybody is online and ready to answer everybody at any time, more often than not you'll have to wait quite a while for an answer simply due to not many people being online at a given time.
 

iiboharz

eternally tired
aa
Nov 5, 2014
857
1,291
Just a heads up, just cuz you didn't get a reply in 26 minutes doesn't mean you're being ignored. This forum isn't constantly moving.
 

srs

L2: Junior Member
Apr 1, 2016
53
10
thank you everyone, I kinda acted like a butthole but still, thanks.
 

MoonFox

L10: Glamorous Member
Mar 17, 2015
739
74
However, contrasting, some posts are ignored. I've had one or two like that. so yea... AND WIKI IS BAE!