mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-16 18:05:22 +02:00
Fix lighting of the wield mesh (#12341)
* Assign node light to player before final color blend. Fixes day/night lightbank ratio for wield meshes * Update wield mesh light when changing mesh
This commit is contained in:
@@ -264,4 +264,7 @@ private:
|
||||
|
||||
std::list<Nametag *> m_nametags;
|
||||
bool m_show_nametag_backgrounds;
|
||||
|
||||
// Last known light color of the player
|
||||
video::SColor m_player_light_color;
|
||||
};
|
||||
|
Reference in New Issue
Block a user