FileFront Forums

FileFront Forums (http://forums.filefront.com/)
-   SW:JK3 Modding, Mapping and Editing (http://forums.filefront.com/sw-jk3-modding-mapping-editing-528/)
-   -   [Help] Fog and skybox fading? (http://forums.filefront.com/sw-jk3-modding-mapping-editing/449158-fog-skybox-fading.html)

{RRS}RL October 16th, 2012 08:21 AM

Fog and skybox fading?
 
Hello.

I want to make a "cloudlayer" simulated by an area of white fog at the bottom of the map with the skybox around it.
And I'd like for the lower parts of the skybox to fade into white so that the fog makes sense and actually works.

Got everything set up, but not sure what kind of shader I will need for the skybox, if that's all?

Thanks for the help.

DarthStevenus October 16th, 2012 08:45 AM

Re: Fog and skybox fading?
 
I'd imagine all you need to do is paint the bottom of your skybox the color of the fog, and then do a gradient on the 4 side images so that it smoothly transitions from your sky to the color of your fog. I don't think you need to alter the shader at all. Just a regular skybox shader will do.

{RRS}RL October 16th, 2012 08:48 AM

Re: Fog and skybox fading?
 
Gradient as a png from sky to transparent, or sky to color? Because I think the latter won't give the fog effect due to the sky shader being what it is. But I know it's been done before, just can't remember who or what ..

Szico VII October 16th, 2012 09:47 AM

Re: Fog and skybox fading?
 
Horizon Blending - Mapping - Tutorials - JKHub

That tutorial isnt for fogs but uses the technique you want for a part of it. Scroll down to the bit labelled 'Photoshop Only' - thats the bit that deals with painting your skybox the same colour as your fog.

There's also some maps with source files you can check out (READ: BlueIce Nightfall) which use fog and skybox editing.

Basically SartStevenus is right, you just paint a gradiant along your 4 side images and a solid color on your _dn image (all matching your fogparms rgb values) and write a shader to use the new sky images.

{RRS}RL October 16th, 2012 09:54 AM

Re: Fog and skybox fading?
 
Yay! Thanks for the help

Ganseki October 16th, 2012 10:06 AM

Re: Fog and skybox fading?
 
Guys.. ill pin up with my question. Do you know what shader or tech. do i need to use, If i wanna make Dagobah Like realistic fog ? you know .. white creamy fog little above the swamp .

Couse im making dagobah map.

Szico VII October 16th, 2012 10:09 AM

Re: Fog and skybox fading?
 
Brushes 201: Lesson 2 - Fog

You want 'accent' fog.


All times are GMT -7.

Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.