1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-15 19:42:10 +00: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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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);