3 New Notifications

New Badge Earned
Get 1K upvotes on your post
Life choices of my cat
Earned 210

Drag Images here or Browse from your computer.

Trending Posts
Sorted by Newest First
D
Ded MastDay 10.04.20 08:23 pm

What's wrong with fog? A detailed analysis and Solution. (Elex)

Good time of day.
Decided to share some advice on fog in the game. Got me on this one statement in the blog "a Review of Elex, or why is it so praised and criticized"
Hytryyad wrote:
The minor technical problem of the game - draw distance. And I'm not talking about the vastness of the world, when you're with the edges of the map are eager to see the other side. In this case, the fog seems to be OK, but when in the cave you see a bright glowing spot, decide that's the exit, go to him, and the spot abruptly vanishes into a black wall, and you realize the game is not able to render a 100 meter corridor... It's sad and hurts your eyes in large indoor spaces and cities. Feeling that really returned to the game 2002, where such techniques were the norm.
This problem is NOT in the range of drawing objects, and in improper implementation of the fog in the game. Easily solved by reducing the density of the fog and increase visibility range thereof, using the config file.
At first, I downloaded ready FogTweaker, but the result did not suit me, so I began to understand myself.

So, what you need to do:
Open the file ConfigDefault.xml located at ...\ELEX\data\ini in Notepad or any text editor. Line 41.

What we have in the original:

{Fog Quality=High}
{Low Depth=96 SizeFactor=12 MaxViewRange=4800.0 f ExpDistributionBias=256 /}
{Medium Depth=128 SizeFactor=12 MaxViewRange=4800.0 f ExpDistributionBias=256 /}
{High Depth=192 SizeFactor=12 MaxViewRange=6400.0 f ExpDistributionBias=256 /}
{Ultra Depth=256 SizeFactor=8 MaxViewRange=6400.0 f ExpDistributionBias=256 /}
{/Fog}

Where Depth – fog Density (number of particles). – The effect is clearly visible when looking at the rays of light in the dark. The increase in value greatly affects FPS.

Attention! With decreasing values below 64, the spotlight will be some flickering. At too low values, the fog is almost nonexistent, which would entail the disappearance of the effect of the bloom (glow) around light sources.

MaxViewRange – Range visibility (in fact, it is the diameter of a sphere of fog around YEARS). – Increasing the values has little effect on FPS, but solves the problem of the white curtain a few meters from HS, arising in the interiors.

As you can see, for example, setting High (in the game, the quality of the mist - high), has a very high density and very low range.

Exhibited the following values:

{Fog Quality=High}
{Low Depth=32 SizeFactor=12 MaxViewRange=19800.0 f ExpDistributionBias=256 /}
{Medium Depth=48 SizeFactor=12 MaxViewRange=25600.0 f ExpDistributionBias=256 /}
{High Depth=64 SizeFactor=12 MaxViewRange=25600.0 f ExpDistributionBias=256 /}
{Ultra Depth=96 SizeFactor=8 MaxViewRange=25600.0 f ExpDistributionBias=256 /}
{/Fog}

All values are long and hard, were selected by me personally, empirically.

So, we have reduced the density of particles in 3 times and have increased the range of fog effect and actually alienated from HS, the border of the dome, where it ends the fog – 4 times.

As a result of such simple manipulations, the game in a fog High , it became less dense and began to spread over longer distances from GG that makes it more natural and realistic, and so solves the infamous problem of distance. Moreover, this add-in gives us a performance increase, about 1-6 fps. Depending on your PC configuration.
Screenshots:





To completely remove the fog, I would not recommend it, as the effect of the atmosphere (air density) that would affect the global lighting and large open spaces, far away, the LOD will be visible s (reduced textures used for optimization), in all its "glory". As if that wasn't great. Completely remove the fog, only makes sense on very weak machines.

So I do not recommend using values above MaxViewRange “51200.0 f”, since a further increase of this parameter is impractical, visually almost imperceptible, but increases memory consumption.

Other values, such as the SizeFactor and ExpDistributionBias (the size of the particles and their angular displacement) – change is not meaningful.

Try, experiment, pick up the best values.

Important! Before making any changes, make a backup copy of the file. If you change the settings, do not forget that in order to avoid errors, all the values in the Fog, must be a multiple of 8 or 16. It's not required, but such values are significantly optimize the memory.

Thank you for your attention and enjoy the game.
15 Comments
Sort by:
t
tachos 10.04.20

Svetoslav
Thanks for the old! And the range of drawing/with/characters not found?

U
Urfin R 10.04.20

There's some fog. Sweet is everything.

D
Ded MastDay 10.04.20

tachos
Section Terrain Quality (in the game – range rendering).
Change the value of ViewRange and VirtualTextureLoDLevel
Section Vegetation (in the game –the quality of vegetation, grass).
Section SceneQuality (in the game – range rendering environment) - contains parameters for drawing various objects of a scene: geometry with, effects, NPCs, animated trees, lights, and shadows. But I would not advise poking around there. In my opinion, there is everything in order and enough in-game settings.
On the nexus there is a ready config file Ultra setting INI , If you have a top PC, try it first.

Urfin R
Sweet decides not all, besides eating resources.

U
Urfin R 10.04.20

Svetoslav
Anything Sweet is not eating. Stupidity is not necessary to speak. And let not all the haze removed, but the effect is present.

D
Ded MastDay 10.04.20

Urfin R
If you don't understand, how does this third-party Shader, and you personally, for your setup there is no noticeable drawdown, it does not mean that others speak nonsense, and your point of view is the truth.

U
Urfin R 10.04.20

Svetoslav
No, well, if a person has a 8600 GT, then Yes. I have with his entourage. What else does that.))
Spoiler



D
Ded MastDay 10.04.20

Urfin R
I'm happy for you, if you like, cheers. But the picture, I would say - on the fan.

U
Urfin R 10.04.20

Svetoslav
What do you want to squeeze out of this game. Well, don't make me laugh. ))) Enough to kink. No offense.
Oh, by the way, show that you have over the picture.What are you nahimichili to improve the graphics. Really, if better, I admit.
And again. You have a great gaming PC. Oh, and not everyone will dig the configs. ))

D
Ded MastDay 10.04.20

Urfin R
I'm not tinkering, I play on maximum settings that can be put in the game. And here is only described the fairly easy solution of one particular problem, which to me was an eyesore and apparently not only to me, and which has not been solved through game settings. And to be measured PI... anyone have a screenshot of the cooler, doesn't see the point. I not offended, to each his own. The concept of better is also very subjective. Good graphics is not only clarity of texture, and a combination of many factors that may not reflect a static screenshot or video perezhitoe. In dynamics, it looks different. That's exactly what I don't like on your screenshots - the picture is too scratchy, unnatural, I'm still more inclined towards realism. Again this is only my subjective opinion. Someone might like this.

W
WOR4UN 10.04.20

Thank you for the work done. Haven't decided whether I will bother or not, but I think that it is worthy of attention.

U
Urfin R 10.04.20

Svetoslav
All right. You posted your ideas, I your. But their screens (without editing) you could show. ) What happened after editing. Well, before editing. Usually all the edits confirmed.

D
Ded MastDay 10.04.20

Urfin R
Well, like in the header, those are my screenshots. Though not very successful, as their purpose was to show the bug with the fog. Maybe later and post a couple of screenshots of the scenery.

WOR4UN
Yes, there is much to not bother, just change a couple of numbers. But if you are at in the game do not notice it, then probably not worth it ;)

U
Urfin R 10.04.20

Svetoslav
On your screens hard to see the difference. Although something are distinguishable. Preferably in the fresh air. Have you tried Sweet? Try not too difficult to install. I use mae_reshade_2.0_by_syntman. But there are others. May not be worth it to bother with the configuration. )) It is Sweet still adds clarity.

D
Ded MastDay 10.04.20

Urfin R
Just this bug, the solution I suggested does not manifest itself in open spaces, and is visible only inside buildings and caves and only at certain times of the day. On the screen it shows BEFORE and AFTER, if you know where to look. In the distance, caves, openings in the original white spot, with my fix it is not. In dynamics, you can see how it's moving ahead years, as the white dome.

Urfin R wrote:
Have you tried Sweet?
Tried a few pieces, not one like everywhere there are some minor flaws, something that haunts me. In General, scored, and stopped on the original. No offense ;)

D
Ded MastDay 10.04.20

Urfin R
Catch the screenshots