diff options
author | quou <quou@disroot.org> | 2025-01-02 15:42:05 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2025-01-02 15:42:05 +1100 |
commit | b03109dbb087bd441c0e3905753f3dd97d44d7b8 (patch) | |
tree | 9f4372b2aa643c29cdd338b8776c02d175b4a881 /model.hpp | |
parent | 6d4b56258b89ba12bec5e329b81de62284c47ce1 (diff) |
Simpler depth prepass shader
Diffstat (limited to 'model.hpp')
-rw-r--r-- | model.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); }; |