Leadwerks Game Engine

Leadwerks Game Engine

Not enough ratings
Distance Fog
   
Award
Favorite
Favorited
Unfavorite
Type: Shader
File Size
Posted
1.511 KB
18 Jun, 2017 @ 12:48pm
1 Change Note ( view )

Subscribe to download
Distance Fog

Description
This provides distance fog as a post-processing effect. This fog will not get reflected in water. Use the built-in fog when it is ready if you need that.
8 Comments
fred.Man 25 Oct, 2019 @ 7:20am 
Hello Josh. Thank you for your advice.

Since the shader provided here is no longer compatible with version 4.6 and Leadwerks aborts with an "EXCEPTION_ACCESS_VIOLATION", it seemed to me better to point it out to others so that they don't make the same mistake as me and believe that their developer file is buggy.

:cleanfloppy:
Josh  [author] 25 Oct, 2019 @ 6:49am 
@fred.Man fog is now a built-in setting in the Scene tab.
fred.Man 24 Oct, 2019 @ 10:14am 
FYI - If you are thinking about installing this shader...
If the program aborts with the error message "EXCEPTION_ACCESS_VIOLATION" after installing the shader, it is because of this shader.
After uninstalling the shader Leadwerks works again without problems.

Btw. I use Leadwerks in version 4.6. :FireStrike:
Cpl. Dutch 20 Nov, 2017 @ 8:38pm 
Thanks for this! Is there a way to change the color of the fog to black?
reaq 16 Nov, 2017 @ 5:49pm 
Thanks!
Josh  [author] 16 Nov, 2017 @ 2:15pm 
See Scene Properties on this page: https://www.leadwerks.com/learn?page=Tutorials_Editor_Scene-Panel

It's a post-process effect.
reaq 25 Oct, 2017 @ 5:35pm 
how do i use this??
TwoCatsYelling 2 Sep, 2017 @ 8:50am 
Awesome! Thanks for providing this, Josh.