home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


More than one skybox?

by K1P57A on 04/11/2011 16:07, 8 messages, last message: 04/12/2011 14:55, 934 views, last view: 04/27/2024 01:37

Hi @ all!

As the title already states, is it possible to have 2 skyboxes? I would really love it if it were possible to have the normal skybox surrounding the map, and an area within the map where you use the "skybox texture" with a different skybox... I have the feeling that it's probably not possible, but I thought I'd ask anyways :)

Kind regards,

K1

   Board Index   

#1: ..

by suicizer01 on 04/11/2011 18:35

If you would like to add clouds, use the cloud-commands wich can be found in the docs.

Just assign the skybox-textures into your map's config-file is an option to have 2 skyboxes into 1 map...

reply to this message

#2: ..

by Razgriz on 04/11/2011 19:41

You have skyboxes and cloudboxes. Note that cloudboxes (NOT cloudlayers) are completely opaque, so they must have alpha channel to blend in with the skybox.

Currently the only cloudbox i know is Kenon which SkiingPenguins released with his big skybox pack.

reply to this message

#3: ..

by Osbios on 04/11/2011 20:13

Its possible, but it only works with shaders enabled.
(note: The last time I played with it was 2 or 3 versions ago. So try that for your self to be sure)

reply to this message

#4: Re: ..

by Quin on 04/12/2011 02:44, refers to #2

/cloudboxalpha 0.5

reply to this message

#5: ..

by Quin on 04/12/2011 02:45

http://sauerbraten.org/docs/editref.html#skybox

Start there, and continue on.

reply to this message

#6: ..

by K1P57A on 04/12/2011 09:45

Thank you all for the great feedback!!

I'll give it a few trys with my newly gained information and see where it'll take me :)

Kind regards,

K1

reply to this message

#7: Re: ..

by Razgriz on 04/12/2011 13:25, refers to #4

right, forgot about that one. =]

reply to this message

#8: ..

by .sCaSd. on 04/12/2011 14:55

You may use an envmap-item with a perfect clean envmap texture - plain white with envworld shader enabled and "setshaderparam envscale 1 1 1". This requires also a box around the envmap-item textured with the required skybox. This is pretty low-res. See envmap entity in editing reference.

Another solution is a sleep-loop which checks player-position using getcampos command. You have to set the desired skybox via skybox-command then. This is pretty much hack and might not work in the future.

reply to this message

   Board Index   


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
53867125 visitors requested 71642283 pages
page created in 0.016 seconds using 10 queries
hosted by Boost Digital