1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-22 04:15:44 +02:00

Basic model shading (#9374)

This commit is contained in:
Danila Shutov
2020-02-16 22:37:28 +03:00
committed by GitHub
parent 478e753298
commit 6958071f49
9 changed files with 338 additions and 41 deletions

View File

@@ -125,6 +125,10 @@ private:
u8 m_last_light = 255;
bool m_is_visible = false;
s8 m_glow = 0;
// Material
video::E_MATERIAL_TYPE m_material_type;
// Settings
bool m_enable_shaders = false;
public:
GenericCAO(Client *client, ClientEnvironment *env);