mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Allow nodes to have their post_effect_color affected by lighting (#13637)
Co-authored-by: DS <ds.desour@proton.me>
This commit is contained in:
parent
92b6ff4721
commit
aea9242a96
11 changed files with 73 additions and 9 deletions
|
@ -147,6 +147,7 @@ minetest.register_node("basenodes:water_source", {
|
|||
liquid_alternative_source = "basenodes:water_source",
|
||||
liquid_viscosity = WATER_VISC,
|
||||
post_effect_color = {a = 64, r = 100, g = 100, b = 200},
|
||||
post_effect_color_shaded = true,
|
||||
groups = {water = 3, liquid = 3},
|
||||
})
|
||||
|
||||
|
@ -177,6 +178,7 @@ minetest.register_node("basenodes:water_flowing", {
|
|||
liquid_alternative_source = "basenodes:water_source",
|
||||
liquid_viscosity = WATER_VISC,
|
||||
post_effect_color = {a = 64, r = 100, g = 100, b = 200},
|
||||
post_effect_color_shaded = true,
|
||||
groups = {water = 3, liquid = 3},
|
||||
})
|
||||
|
||||
|
@ -206,6 +208,7 @@ minetest.register_node("basenodes:river_water_source", {
|
|||
liquid_renewable = false,
|
||||
liquid_range = 2,
|
||||
post_effect_color = {a = 103, r = 30, g = 76, b = 90},
|
||||
post_effect_color_shaded = true,
|
||||
groups = {water = 3, liquid = 3, },
|
||||
})
|
||||
|
||||
|
@ -238,6 +241,7 @@ minetest.register_node("basenodes:river_water_flowing", {
|
|||
liquid_renewable = false,
|
||||
liquid_range = 2,
|
||||
post_effect_color = {a = 103, r = 30, g = 76, b = 90},
|
||||
post_effect_color_shaded = true,
|
||||
groups = {water = 3, liquid = 3, },
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue