1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-06-28 04:40:22 +02:00

Set bloom intensity

This commit is contained in:
grorp
2024-10-16 14:12:25 +02:00
committed by GitHub
parent df8159436c
commit 093cd28a27
4 changed files with 7 additions and 5 deletions

View File

@ -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 },
}
}