We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [fog]

Fog typically refers to graphics effects that wash-out colors in a scene based on distance from the viewpoint, and sometimes elevation (height fog). Some fog implementations include lighting effects, changing fog color based on direction or local lights, or modeling light scattering in the air like the visible beams of light through a concert's fog machine haze.

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

How to create a fog for baclgro6 which works on mobile devices?

There is a forum entry, which explains how to create a high based volumetric fog, using soft particles ( How can I create a height-based volumetric fog? ). Unfortunately it doesn't work on mobile ...
10
votes
1answer
9k views

How can I create a height-based volumetric fog?

Recently, I have been looking for techniques to make volumetric fog on some Y position level of the game world. But all I have found are some fog made by using particle system or built-in engine fog ...
0
votes
1answer
287 views

How To Fix Strange White Edges With DOF and Fog in Unity?

I'm using global fog and the standard assets Depth Of Field script but it has a strange effect on the edges of far away objects. How can I make the white edges along the trees blend smoothly into the ...
1
vote
1answer
199 views

Are there performance benefits to full-screen haze filters?

Some games apply a full-screen filter effect that desaturates picture, causing the colors to be "washed out". For example, in Zelda: Breath of the Wild: Someone used Photoshop to remove the filter, ...
0
votes
1answer
450 views

Flare (particle system) showing weird semi-transparent rectangles instead of smoke when there's fog in the scene

I'm making an FPS game with some fog in the scene. I've added a flare particle system (from the standard assets' prefabs) but it looks like it has some weird collision with the fog. Whenever the ...
0
votes
1answer
2k views

How do I disable fog on specific camera/s

I'm building an FPS with fog and I want to include a dynamic minimap, showing the locations of player and enemies in real time. This is utilized by a second camera which is orthographic and looks at ...
1
vote
0answers
429 views

Fog does not obscure horizon in Unity

If you look through fog that continues to horizon it should obscure the horizon. But in Unity (so far) it seems that the horizon shows clearly through the fog. This ruins my underwater effects, etc. ...
4
votes
1answer
3k views

Global fog does not work with deferred rendering in Unity

When I set deferred rendering the global fog from the Unity Standard Assets does not work, there is no fog at all. With forward rendering the global fog works. How do I add fog with deferred rendering?...
1
vote
1answer
5k views

Unity / How do I change the color of an object based on its depth?

The objective here is to change the color of the nearest object. (the nearer the object, the more "colorful" the object gets rendered; and the farther away, the more "grey" the object gets rendered), ...
1
vote
0answers
508 views

How do I mask a height based fog?

I've been trying to implement a 3D (with the Y axis being utilized) fog of war system similar to what XCOM uses. There is only one hint that really seems to nail it, but I can't read the actual ...
2
votes
1answer
341 views

Combining skydome and fog

I am developing a 3D game in DarkBASIC Professional, and I have a theoretical problem with the combination of skydomes and fog in general. My question is not specific to a programming language, so I ...
3
votes
0answers
280 views

Atmospheric scattering and fog

I've implemented a dynamic sky model (Preetham). I've got Rayleigh and Mie scattering working fine, but I'm not sure how to get the foggy effects in this Unity article Here is what I have so far: ...