16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 06:59:18 +02:00

motion blur

This commit is contained in:
milek7
2018-07-23 01:22:36 +02:00
parent cfb066f678
commit d5ce1d57e7
32 changed files with 358 additions and 159 deletions

View File

@@ -52,7 +52,7 @@ namespace gl
glm::mat3x4 modelviewnormal;
glm::vec4 param[MAX_PARAMS];
glm::vec3 velocity;
glm::mat4 future;
float opacity;
float emission;
UBS_PAD(12);
@@ -64,7 +64,7 @@ namespace gl
}
};
static_assert(sizeof(model_ubs) == 144 + 16 * MAX_PARAMS, "bad size of ubs");
static_assert(sizeof(model_ubs) == 196 + 16 * MAX_PARAMS, "bad size of ubs");
struct light_element_ubs
{