From ce6efd3b28b5cec813c715a57a884199fa3b3ce1 Mon Sep 17 00:00:00 2001 From: quou Date: Mon, 6 Jan 2025 22:05:05 +1100 Subject: environment mapping --- model.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'model.hpp') diff --git a/model.hpp b/model.hpp index 7b8f4fb..f21c35e 100644 --- a/model.hpp +++ b/model.hpp @@ -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 ); }; -- cgit v1.2.3-54-g00ecf