summaryrefslogtreecommitdiff
path: root/model.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'model.hpp')
-rw-r--r--model.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/model.hpp b/model.hpp
index 53fb0fb..7b8f4fb 100644
--- a/model.hpp
+++ b/model.hpp
@@ -26,9 +26,10 @@ struct Model;
struct Mesh {
int offset, vbo_offset, count;
int parent, mesh_binding, mvp_binding, mat_binding;
+ int mvp_binding_depth;
bool world_dirty;
m4f world, local;
- Shader_Id shader;
+ Shader_Id shader, depth_shader;
Material* material;
const m4f& get_world(Model& m);
};