Have a working skybox now.
This commit is contained in:
parent
87c513b9f0
commit
4ee5058e82
13 changed files with 158 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue