Have a working skybox now.

This commit is contained in:
Zed A. Shaw 2026-09-03 16:57:51 -04:00
parent 87c513b9f0
commit 4ee5058e82
13 changed files with 158 additions and 2 deletions

View file

@ -103,6 +103,8 @@ namespace components {
struct Scene {
components::Shader shader;
components::Shader screen_shader;
components::Shader skybox_shader;
std::vector<std::string> skybox_faces;
std::unordered_map<std::string, Material> materials;
std::unordered_map<std::string, Model> models;
std::vector<Thing> things;
@ -110,5 +112,5 @@ namespace components {
Lighting light;
};
ENROLL_COMPONENT(Scene, shader, screen_shader, materials, models, things, camera, light);
ENROLL_COMPONENT(Scene, shader, screen_shader, skybox_shader, skybox_faces, materials, models, things, camera, light);
}