Farbigen Nebel erstellen?/ create colored fog?

Posted By: Deha

Farbigen Nebel erstellen?/ create colored fog? - 08/12/09 23:23

Hallo zusammen!
Ich wollte mich mal erkundigen, wie ich am einfachsten einen Nebeleffekt hinbekomme?Am besten einen farbigen...
Kann mir da jemand weiterhelfen?

Hi everbody!
I want to ask about a fog-effect. How is it possible to add a fog (colored fog recommend)to my project?Any idea?
Posted By: Anonymous

Re: Farbigen Nebel erstellen?/ create colored fog? - 08/13/09 11:21

simple go to the manual. hit the ctrl and f button and search for fog. u will find fog_start fog_end.
and the color u can set at the map properties/fog
Posted By: Deha

Re: Farbigen Nebel erstellen?/ create colored fog? - 08/13/09 12:50

Seems to be easier as i thought!;-)
I found the fog_start/fog_end example in the manual, but i was wondering about C-script description.I'm working with lite-c, but i tried it nevertheless like this...

camera.fog = 70;
camera.fog_start = 0.8 * camera.clip_far; // fog starts at 80% of clip range
camera.fog_end = 0.9 * camera.clip_far; // total foggy at 90% of clip range

I got an error "'fog' is not a member of 'VIEW'

What's wrong?
Posted By: Anonymous

Re: Farbigen Nebel erstellen?/ create colored fog? - 08/13/09 12:54

as far as i know there is no different to lite-c and c-script on that.
where did u put that piece of code? in ur main_function?
Posted By: Deha

Re: Farbigen Nebel erstellen?/ create colored fog? - 08/13/09 15:03

I put that over main...where is the right place for the fog-script?
Posted By: Anonymous

Re: Farbigen Nebel erstellen?/ create colored fog? - 08/13/09 16:43

Originally Posted By: chris_oat
in ur main_function?

Posted By: Deha

Re: Farbigen Nebel erstellen?/ create colored fog? - 08/13/09 21:25

i put it in my main funtion,but the same error appears...

Maybe it is not the fog i want to use... I'm looking for a colored fog which only appears on a special place...maybe like a particle effect(magical fog). I tried 'easy particle 3' but it seems hard to create a fog with it. Any other possibility?
Posted By: Deha

Re: Farbigen Nebel erstellen?/ create colored fog? - 08/14/09 11:54

Nobody has an idea? :-(
Posted By: Anonymous

Re: Farbigen Nebel erstellen?/ create colored fog? - 08/14/09 12:15

ur right that is not the right fog_function for u if u want fog only on some specific spots.
i think i find once a site with a volumetric fog. i have to search. if i find it i post it.
one question. do u have commercial or pro to use shaders?
Posted By: Deha

Re: Farbigen Nebel erstellen?/ create colored fog? - 08/15/09 23:40

Thanks!Yeah a volumetric shader could be the fog i need... i hope you can find it! I'm able to use shaders by the way! ;-)
© 2023 lite-C Forums