mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-07-12 17:32:19 -04:00
Set bloom intensity
This commit is contained in:
parent
df8159436c
commit
093cd28a27
4 changed files with 7 additions and 5 deletions
|
@ -13,6 +13,7 @@ if mg_name == "v6" or mg_name == "singlenode" then
|
|||
minetest.register_on_joinplayer(function(player)
|
||||
player:set_lighting({
|
||||
shadows = { intensity = 0.33 },
|
||||
bloom = { intensity = 0.05 },
|
||||
volumetric_light = { strength = 0.2 },
|
||||
})
|
||||
end)
|
||||
|
@ -121,6 +122,7 @@ function weather.get(player)
|
|||
},
|
||||
lighting = {
|
||||
shadows = { intensity = 0.7 * (1 - density) },
|
||||
bloom = { intensity = 0.05 },
|
||||
volumetric_light = { strength = 0.2 },
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue