Reuse object_shader for "wielditem" and "item" entity drawtypes (#9537)
This commit is contained in:
@@ -542,7 +542,7 @@ void Camera::update(LocalPlayer* player, f32 frametime, f32 busytime, f32 tool_r
|
||||
m_wieldnode->setPosition(wield_position);
|
||||
m_wieldnode->setRotation(wield_rotation);
|
||||
|
||||
m_wieldnode->setColor(player->light_color);
|
||||
m_wieldnode->setNodeLightColor(player->light_color);
|
||||
|
||||
// Set render distance
|
||||
updateViewingRange();
|
||||
|
||||
Reference in New Issue
Block a user