diff options
author | RealBadAngel <maciej.kasatkin@o2.pl> | 2014-11-13 01:02:34 +0100 |
---|---|---|
committer | RealBadAngel <maciej.kasatkin@o2.pl> | 2014-11-13 03:51:04 +0100 |
commit | f25cc0dbae0209f2647ac5eec9fe6ddb08174f55 (patch) | |
tree | d03aea0acf64ccb7657918cc5b399a1a4a02b203 /src/wieldmesh.h | |
parent | 45ebaa3524a47e12ae1020c4803e3dd499487808 (diff) | |
download | minetest-f25cc0dbae0209f2647ac5eec9fe6ddb08174f55.tar.gz minetest-f25cc0dbae0209f2647ac5eec9fe6ddb08174f55.tar.bz2 minetest-f25cc0dbae0209f2647ac5eec9fe6ddb08174f55.zip |
Wielded fixes. Add shaders support.
Diffstat (limited to 'src/wieldmesh.h')
-rw-r--r-- | src/wieldmesh.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wieldmesh.h b/src/wieldmesh.h index 7761fd51b..14bd85bca 100644 --- a/src/wieldmesh.h +++ b/src/wieldmesh.h @@ -58,10 +58,15 @@ private: // Child scene node with the current wield mesh scene::IMeshSceneNode *m_meshnode; + video::E_MATERIAL_TYPE m_material_type; // True if EMF_LIGHTING should be enabled. bool m_lighting; + bool m_enable_shaders; + bool m_bilinear_filter; + bool m_trilinear_filter; + // Bounding box culling is disabled for this type of scene node, // so this variable is just required so we can implement // getBoundingBox() and is set to an empty box. |