From 9b551d5cbcaf71a8c39bbf7e886290649aed4799 Mon Sep 17 00:00:00 2001 From: Kahrl Date: Sun, 2 Nov 2014 03:47:43 +0100 Subject: Implement WieldMeshSceneNode which improves wield mesh rendering - Don't create and cache an extruded mesh for every (non-node) item. Instead use a single one per image resolution. - For cubic nodes reuse a single wield mesh too - Improve lighting of the wielded item - Increase far value of wield mesh scene camera, fixes #1770 - Also includes some minor refactorings of Camera and GenericCAO. --- src/localplayer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/localplayer.h') diff --git a/src/localplayer.h b/src/localplayer.h index 16830f3ec..16b66716d 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -71,6 +71,8 @@ public: std::string hotbar_image; std::string hotbar_selected_image; + video::SColor light_color; + GenericCAO* getCAO() const { return m_cao; } -- cgit v1.2.3