aboutsummaryrefslogtreecommitdiff
path: root/src/client/shader.h
diff options
context:
space:
mode:
authorDanila Shutov <dcbrwn2@gmail.com>2020-02-16 22:37:28 +0300
committerGitHub <noreply@github.com>2020-02-16 20:37:28 +0100
commit6958071f497c8f059429343339ad3818ed3cfed1 (patch)
tree9e38865425f8c0589b695935e13009070778719b /src/client/shader.h
parent478e7532985320c5ddacc0280f77b67956715a65 (diff)
downloaddragonfireclient-6958071f497c8f059429343339ad3818ed3cfed1.tar.xz
Basic model shading (#9374)
Diffstat (limited to 'src/client/shader.h')
-rw-r--r--src/client/shader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/shader.h b/src/client/shader.h
index 583c776f4..109d39336 100644
--- a/src/client/shader.h
+++ b/src/client/shader.h
@@ -67,6 +67,8 @@ public:
virtual ~IShaderConstantSetter() = default;
virtual void onSetConstants(video::IMaterialRendererServices *services,
bool is_highlevel) = 0;
+ virtual void onSetMaterial(const video::SMaterial& material)
+ { }
};