x


How to make a good fog effect?

I am currently working on an rpg type game, and while in a somewhat large city, it is very laggy. I am in the unity program, not on a network, just me and myself. I thought that the problem was maybe there were too many polygons on the screen at once, so i reduced the overall view, but now i need to make a good fog effect so that buildings dont just appear out of nowhere. Does anybody know how to make a good fog effect, or know a way around the lag i am experiencing? thanks

more ▼

asked Mar 15 '11 at 09:52 PM

Ignition246 gravatar image

Ignition246
23 3 4 8

(comments are locked)
10|3000 characters needed characters left

3 answers: sort oldest

You can turn on fog in the render settings, or you can manually add fog into your shaders.

more ▼

answered Mar 15 '11 at 10:25 PM

Peter G gravatar image

Peter G
15k 16 44 136

I did use the fog in the render settings, and it looks okay, but I want something that looks good. I will try the shaders thing though. Thanks

Mar 15 '11 at 10:26 PM Ignition246
(comments are locked)
10|3000 characters needed characters left

Take a look at this answer Creating Mood and Atmosphere with lighting in Unity?.
There is a lot of information about lighting, fog, aerial perspective, colors etc.

more ▼

answered Mar 15 '11 at 10:34 PM

efge gravatar image

efge
5.1k 5 14 38

(comments are locked)
10|3000 characters needed characters left

i made the fog in the render settings to the color i wanted it (my case was grey). i then went to the camera and changed the camera background to the same/near the same color as what i made the fog and i then made a particles effect to go with the fog so it made it almost give it a Silent Hill kind of feeling with the ashes that are falling. it made the fog look good on my part give it a shot.

more ▼

answered Dec 05 '11 at 10:49 PM

sharpndagger gravatar image

sharpndagger
16 1 1 1

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3001
x206
x152
x86

asked: Mar 15 '11 at 09:52 PM

Seen: 7905 times

Last Updated: Dec 05 '11 at 10:49 PM