1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +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:
Gregor Parzefall 2023-08-24 20:16:36 +02:00 committed by GitHub
parent 92b6ff4721
commit aea9242a96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 73 additions and 9 deletions

View file

@ -364,6 +364,7 @@ struct ContentFeatures
std::vector<content_t> connects_to_ids;
// Post effect color, drawn when the camera is inside the node.
video::SColor post_effect_color;
bool post_effect_color_shaded;
// Flowing liquid or leveled nodebox, value = default level
u8 leveled;
// Maximum value for leveled nodes