mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
Merge commit 'd8170c932b448ba6888e702746b5ae22632062d8' into sim
This commit is contained in:
5
gl/ubo.h
5
gl/ubo.h
@@ -43,11 +43,12 @@ namespace gl
|
||||
glm::mat4 projection;
|
||||
glm::mat4 inv_view;
|
||||
glm::mat4 lightview[MAX_CASCADES];
|
||||
glm::vec3 cascade_end;
|
||||
glm::vec4 cascade_end;
|
||||
float time;
|
||||
UBS_PAD(12);
|
||||
};
|
||||
|
||||
static_assert(sizeof(scene_ubs) == 336, "bad size of ubs");
|
||||
static_assert(sizeof(scene_ubs) == 352, "bad size of ubs");
|
||||
|
||||
const size_t MAX_PARAMS = 3;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user