First edit for framebuffers but it's slapped together and doesn't work yet.
This commit is contained in:
parent
c32e7bd00d
commit
ea80851450
8 changed files with 113 additions and 11 deletions
|
|
@ -102,7 +102,7 @@ namespace components {
|
|||
|
||||
struct Scene {
|
||||
components::Shader shader;
|
||||
components::Shader light_shader;
|
||||
components::Shader screen_shader;
|
||||
std::unordered_map<std::string, Material> materials;
|
||||
std::unordered_map<std::string, Model> models;
|
||||
std::vector<Thing> things;
|
||||
|
|
@ -110,5 +110,5 @@ namespace components {
|
|||
Lighting light;
|
||||
};
|
||||
|
||||
ENROLL_COMPONENT(Scene, shader, light_shader, materials, models, things, camera, light);
|
||||
ENROLL_COMPONENT(Scene, shader, screen_shader, materials, models, things, camera, light);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue