Implementation of source frame buffer; rendering of source and scene

integration
This commit is contained in:
brunoherbelin
2020-04-25 11:52:47 +02:00
parent 9b3eba8d1e
commit 0e24d1a083
19 changed files with 283 additions and 109 deletions

View File

@@ -210,8 +210,8 @@ void Shader::use()
void Shader::reset()
{
projection = glm::identity<glm::mat4>();
modelview = glm::identity<glm::mat4>();
projection = glm::identity<glm::mat4>();
modelview = glm::identity<glm::mat4>();
resolution = glm::vec3(1280.f, 720.f, 0.f);
color = glm::vec4(1.f, 1.f, 1.f, 1.f);
}