Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Mac
20
Years of Service
User Offline
Joined: 18th Jan 2005
Location: London
Posted: 26th Jan 2005 20:10
Maybe I am missing somthing really obvious, if I am then please feel free to point it out and call me a slaphead.

Now, I am trying to use two skyboxes, one must be translucent so that the other can be seen through it, but only the parts that are black.

I just woke up and am trying to do this and I know there must be a way to set the translucency of and object but I cant for the life of me find it.
Van B
Moderator
22
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 26th Jan 2005 21:03
There are a couple of options, although I prefer skyshere's myself. Anyhoo, you could make 1 skybox slightly bigger and solid so it becomes your backdrop, then on a smaller skybox you'd set it's transparency to 2 (SET OBJECT TRANSPARENCY) and then set the alpha level: SET OBJECT AMBIENT Obj,percent I think.

Best to avoid ghosting as to fade it out, you'd need to enable lighting on it, which would make it look strange because it's a cube (like you'd see some faces as brighter than the others, killing the skybox illusion).


Van-B


It's c**p being the only coder in the village.
Mac
20
Years of Service
User Offline
Joined: 18th Jan 2005
Location: London
Posted: 26th Jan 2005 21:31
Well my aim is to produce a kind of nebula effect with the second skybox, this would be the translucent one that would allow the player to see stars through it, I am not quite sure how well it will work out until I try it . But yes I intedned to make the second skybox much smaller in the hopes this would make things look multi-dimensional.

The problem I have with skyshperes (and I could be wrong here) is that every demo I have seen that uses one has this empty space at the polar caps (for want of a better term to describe it) that the texture does not cover. Now this could just be me only ever seeing bad skypheres/coding, if I am wrong then tell me so, as I must admit I would prefer to use skyspheres.
Tapewormz
22
Years of Service
User Offline
Joined: 15th Sep 2002
Location: Winnipeg, Mantoba, Canada
Posted: 27th Jan 2005 23:14
Try doing it the way they did it in Homeworld 2. Looks like they just used several planes that are always facing the camera.

Mac
20
Years of Service
User Offline
Joined: 18th Jan 2005
Location: London
Posted: 27th Jan 2005 23:44
I never played homeworld 2 so no idea what it looks like. Screeny?

Login to post a reply

Server time is: 2025-06-03 17:08:05
Your offset time is: 2025-06-03 17:08:05