mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Object properties: Add 'glow', disables light's effect if negative
The 'glow' value is added to the ambient light value. Negative 'glow' disables light's effect on object colour, for faking self-lighting, UI-style entities, or programmatic colouring in mods.
This commit is contained in:
@@ -50,6 +50,7 @@ struct ObjectProperties
|
||||
bool automatic_face_movement_dir = false;
|
||||
f32 automatic_face_movement_dir_offset = 0.0f;
|
||||
bool backface_culling = true;
|
||||
s8 glow = 0;
|
||||
std::string nametag = "";
|
||||
video::SColor nametag_color = video::SColor(255, 255, 255, 255);
|
||||
f32 automatic_face_movement_max_rotation_per_sec = -1.0f;
|
||||
|
Reference in New Issue
Block a user