OverlordZorn / S.T.O.R.M.-Framework

Other
2 stars 1 forks source link

[BUG] - On Livonia, Fog works differently 🙃 #63

Open OverlordZorn opened 6 months ago

OverlordZorn commented 6 months ago

fogParams on livonia have a different visual outcome, eventhough ASL is relatively low, comparable to altis.

-> Investigate CfgWorld fog params.

fogBeta0Max
[Integer](https://community.bistudio.com/wiki/TokenNameValueTypes): beta0 (macroscopic cross-section of atmospheric scatterers at base level) for fog value 1
fogBeta0Max = 0.05; //value used by Tanoa

fogBeta0Min
[Integer](https://community.bistudio.com/wiki/TokenNameValueTypes): beta0 (macroscopic cross-section of atmospheric scatterers at base level) for fog value 0
fogBeta0Min = 0; //value used by Tanoa

fogHeight
[Integer](https://community.bistudio.com/wiki/TokenNameValueTypes): Max height of the Arma fog for clouds (in meters)
fogHeight = 2000; //value used by Tanoa
Related commands: [fog](https://community.bistudio.com/wiki/fog), [setFog](https://community.bistudio.com/wiki/setFog), [fogParams](https://community.bistudio.com/wiki/fogParams), [fogForecast](https://community.bistudio.com/wiki/fogForecast)

forecastFog
[Integer](https://community.bistudio.com/wiki/TokenNameValueTypes):
forecastFog = 0; //value used by Tanoa
Related commands: [fog](https://community.bistudio.com/wiki/fog), [setFog](https://community.bistudio.com/wiki/setFog), [fogParams](https://community.bistudio.com/wiki/fogParams), [fogForecast](https://community.bistudio.com/wiki/fogForecast)

forecastFogBase
[Integer](https://community.bistudio.com/wiki/TokenNameValueTypes): Base forecasted altitude for fog computations (in meters)
forecastFogBase = 250; //value used by Tanoa
Related commands: [fog](https://community.bistudio.com/wiki/fog), [setFog](https://community.bistudio.com/wiki/setFog), [fogParams](https://community.bistudio.com/wiki/fogParams), [fogForecast](https://community.bistudio.com/wiki/fogForecast)

forecastFogDecay
[Integer](https://community.bistudio.com/wiki/TokenNameValueTypes): Forecasted decay coefficient - decay of fog with altitude
forecastFogDecay = 0.014; //value used by Tanoa
Related commands: [fog](https://community.bistudio.com/wiki/fog), [setFog](https://community.bistudio.com/wiki/setFog), [fogParams](https://community.bistudio.com/wiki/fogParams), [fogForecast](https://community.bistudio.com/wiki/fogForecast)

hazeFogCoef
[Integer](https://community.bistudio.com/wiki/TokenNameValueTypes): Fog value, that we want to have at haze distance (=distance computed using hazeDistCoef), 0 = full fog, 1 = no fog. If the value is negative, then standard haze computation is used
hazeFogCoef = 0.98; //value used by Tanoa

horizonFogColorationStart
[Float](https://community.bistudio.com/wiki/TokenNameValueTypes): Starting vertical texture coordinate for horizon coloration with fog (use 1 to disable coloration)
horizonFogColorationStart = "0.8f"; //value used by Tanoa

skyColorInfluencesFogColor
[Integer](https://community.bistudio.com/wiki/TokenNameValueTypes): If sky color influences fog color. (0 = false, 1 = true) [More information](https://community.bistudio.com/wiki/Arma_3:_Visual_Upgrade#Lighting_Setup)
skyColorInfluencesFogColor = 0; //value used by Tanoa

startFog
[Integer](https://community.bistudio.com/wiki/TokenNameValueTypes): Start fog
startFog = 0; //value used by Tanoa
Related commands: [fog](https://community.bistudio.com/wiki/fog), [setFog](https://community.bistudio.com/wiki/setFog), [fogParams](https://community.bistudio.com/wiki/fogParams), [fogForecast](https://community.bistudio.com/wiki/fogForecast)

startFogBase
[Integer](https://community.bistudio.com/wiki/TokenNameValueTypes): Start base altitude for fog computations (in meters)
startFogBase = 250; //value used by Tanoa
Related commands: [fog](https://community.bistudio.com/wiki/fog), [setFog](https://community.bistudio.com/wiki/setFog), [fogParams](https://community.bistudio.com/wiki/fogParams), [fogForecast](https://community.bistudio.com/wiki/fogForecast)

startFogDecay
[Integer](https://community.bistudio.com/wiki/TokenNameValueTypes): Start decay coefficient - decay of fog with altitude
startFogDecay = 0.014; //value used by Tanoa
Related commands: [fog](https://community.bistudio.com/wiki/fog), [setFog](https://community.bistudio.com/wiki/setFog), [fogParams](https://community.bistudio.com/wiki/fogParams), [fogForecast](https://community.bistudio.com/wiki/fogForecast)

==> extract values, identify values in direct corelation, establish if there is some equation possible to have the resulting fog be equal in effect across all terrains