Scripts / Script for fog: distance and colors - error

Author
Message
MaximEpihin
User Deleted
Posted: 10th Jan 2016 12:11
In the editor set the values for color, and distance fog to make a gradual increase and decrease fog.
But instead of the normal effect of just changing the color, and all around not visible, not very clear... Brought to the screen the data - information is correct, 0 effect.
How can I normalize the behavior of the fog that was all in the editor?
Create a game - it's like to start a new universe where there is only you and solitude with the environment
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 10th Jan 2016 17:43
The values of the sliders do not directly match the values you would set in the scripts unfortunately.
Increase your min and Max settings more and you should see more effect
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, AMD R9 200 series , directx 11
perelect
9
Years of Service
User Offline
Joined: 27th Mar 2015
Location: Australia
Posted: 10th Jan 2016 23:26
I think the range of the sliders is 0 to 255 in lua scripting, from memory.
255 being 100%
Desktop: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz (8 CPUs), ~3.6GHz, Windows 8.1 64-bit, 16 GB Ram, NVIDIA GeForce GTX 750 Ti, Display Memory: 4018 MB. Resolution 1360x768, Passmark 3528.
Laptop: Pavilion dv6 Notebook, Intel(R) Core(TM) i5-2410M CPU @ 2.30 GHz, Win 7 64 bit, 16 GB Ram, Radeon (TM) HD 6490M, 2336 MB Memory. Resolution 1366x768, Intel(R) HD Graphics 3000. (WEI 5.8)

Login to post a reply

Server time is: 2024-04-27 17:52:31
Your offset time is: 2024-04-27 17:52:31