diff options
author | quou <quou@disroot.org> | 2025-01-06 22:05:05 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2025-01-06 22:07:10 +1100 |
commit | ce6efd3b28b5cec813c715a57a884199fa3b3ce1 (patch) | |
tree | 239e6e9b4b376f9b2cc294d564f69ae0e501e778 /model.hpp | |
parent | 1006ccf490c473447498a5c1a290e4dd9b55b7c2 (diff) |
environment mapping
Diffstat (limited to 'model.hpp')
-rw-r--r-- | model.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -26,6 +26,7 @@ struct Model; struct Mesh { int offset, vbo_offset, count; int parent, mesh_binding, mvp_binding, mat_binding; + int env_cube_binding; int mvp_binding_depth; bool world_dirty; m4f world, local; @@ -99,6 +100,7 @@ struct Model_Instance { Device* dev, Arena* a, Render_Pass& pass, + Texture_Id env_cubemap, Sampler_Id sampler ); }; @@ -118,6 +120,7 @@ struct Model_Scene { Device* dev, Arena* a, Render_Pass& pass, + Texture_Id env_cubemap, Sampler_Id sampler ); }; |