From b03109dbb087bd441c0e3905753f3dd97d44d7b8 Mon Sep 17 00:00:00 2001 From: quou Date: Thu, 2 Jan 2025 15:42:05 +1100 Subject: Simpler depth prepass shader --- model.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'model.hpp') 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); }; -- cgit v1.2.3-54-g00ecf