mirror of
https://github.com/t-affeldt/regional_weather.git
synced 2025-07-22 10:20:25 +02:00
Tweak fog effect, add puddle variants, imrove frost HUD
This commit is contained in:
@ -7,9 +7,9 @@ local function generate_effects(params)
|
||||
local override = {}
|
||||
local wind = climate_api.environment.get_wind()
|
||||
|
||||
local skybox = {priority = 0}
|
||||
local skybox = {priority = 10}
|
||||
skybox.cloud_data = {
|
||||
density = climate_api.utility.rangelim(params.humidity / 100, 0.25, 0.98),
|
||||
density = climate_api.utility.rangelim(params.humidity / 100, 0.25, 0.75),
|
||||
speed = vector.multiply(wind, CLOUD_SPEED),
|
||||
thickness = climate_api.utility.rangelim(params.base_humidity * 0.2, 1, 18)
|
||||
}
|
||||
@ -29,7 +29,7 @@ local function generate_effects(params)
|
||||
}
|
||||
end
|
||||
|
||||
--override["climate_api:skybox"] = skybox
|
||||
override["climate_api:skybox"] = skybox
|
||||
|
||||
local movement = params.player:get_player_velocity()
|
||||
local movement_direction
|
||||
|
Reference in New Issue
Block a user