tune headlight parameters, refactor config window

This commit is contained in:
milek7
2018-12-09 21:14:31 +01:00
parent bd8c5ed59a
commit c0d824a6bd
6 changed files with 53 additions and 18 deletions

View File

@@ -31,6 +31,8 @@ void gl::glsl_common_setup()
float linear;
float quadratic;
float intensity;
float ambient;
};

View File

@@ -88,8 +88,8 @@ namespace gl
float linear;
float quadratic;
float intensity;
float ambient;
UBS_PAD(4);
};
static_assert(sizeof(light_element_ubs) == 64, "bad size of ubs");