mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 12:49:18 +02:00
Merge branch 'milek-dev' into gfx-work
This commit is contained in:
6
gl/ubo.h
6
gl/ubo.h
@@ -58,7 +58,9 @@ namespace gl
|
||||
glm::mat4 future;
|
||||
float opacity;
|
||||
float emission;
|
||||
UBS_PAD(12);
|
||||
float fog_density;
|
||||
float alpha_mult;
|
||||
UBS_PAD(4);
|
||||
|
||||
void set_modelview(const glm::mat4 &mv)
|
||||
{
|
||||
@@ -100,7 +102,7 @@ namespace gl
|
||||
struct light_ubs
|
||||
{
|
||||
glm::vec3 ambient;
|
||||
float fog_density;
|
||||
UBS_PAD(4);
|
||||
|
||||
glm::vec3 fog_color;
|
||||
uint32_t lights_count;
|
||||
|
||||
Reference in New Issue
Block a user