making a skybox


(=DaRk=CrAzY-NuTTeR) #1

i have some very nice pictures of real sky from my window that i want to turn into a skybox, how do i do it? are there any tuts?


(MadJack) #2

Not that I know of but your images have to span 360 degrees, a top and a bottom. If they don’t span a 360, you’ll likely see seams in the skybox.

As for the image and where they are placed and their names, it’s something like this: <skybox_name> _rt, _lf, _ft, _bk, _tp and _dn iirc, rt = when you look east but I can’t remember 100%.

For Terragen tutorial you might want to check there. It deals with Terragen exclusively but you might want to use Terragen to make something similar to the pics you have if they don’t work.


(=DaRk=CrAzY-NuTTeR) #3

yeah, the problem is im not sure if they will all blend together, i will be left with a horrible line effect on the corners


(MadJack) #4

If you really want to use them, you could open those images in PS and “correct” them but I’m not sure it would be worth all the work…


(=DaRk=CrAzY-NuTTeR) #5

maby

or just find an artitst

either that or just hope and prayi have a sea front view from my house and unless i climb on the roof i cant get a 360 image

ill get some more pics in the morning, its too dark at the moment


(FireFly) #6

Some time ago I was experimenting with the same thing when I was doing a custom sky.
I can’t remember how I did it, but I used Gerbil’s sky as a template, who did the same thing in his map MML_Church.
You could Download the map and have a look at his textures/shaders to figure out how he did it, or pm him…


(=DaRk=CrAzY-NuTTeR) #7

maby, although id use socks, they look good and i dont have to download a map


(LaggingTom) #8

As for the image and where they are placed and their names, it’s something like this: <skybox_name> _rt, _lf, _ft, _bk, _tp and _dn iirc, rt = when you look east but I can’t remember 100%.

_rt, _lt, _ft, _bk, _up and _dn


(MadJack) #9

Yeah yeah I remembered wrong :stuck_out_tongue: Sue me :wink: hehe


(LaggingTom) #10

I’ll see you in court.

Anyway, just cut the picture in half horizontally, then in half vertically, and add the tags. Add a sky, as well, and a ground. The ground can look evil, 'because hopefully, it shouldn’t be seen.

Tada, skybox images. Just read the “Making a skybox shader” tutorial in the sticky, and vuala, skybox shader and your skybox. Just need to shove that into your map.


(=DaRk=CrAzY-NuTTeR) #11

ok, thanks, and madjack, be careful with the avatar, for a moment i though u wus a woman :wink: