mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Wielded fixes. Add shaders support.
This commit is contained in:
parent
45ebaa3524
commit
f25cc0dbae
2 changed files with 88 additions and 43 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue