tweak: lighting colour

This commit is contained in:
Sara 2024-09-19 17:15:02 +02:00
parent 1f9b41dbf6
commit 87e13e2069

View file

@ -66,7 +66,7 @@ void Internal_OnShaderLoaded(ShaderResource resource) {
int light_direction_loc = GetShaderLocation(*resource.resource, "lightDirection");
int ambient_level_loc = GetShaderLocation(*resource.resource, "ambientLight");
Vector3 lightdir = MATRIX_FORWARD(g_light_direction);
Vector4 ambient_color = {0.2, 0.2, 0.2, 1.0};
Vector4 ambient_color = {0.07, 0.08, 0.12, 1.0};
if(light_direction_loc != -1)
SetShaderValue(*resource.resource, light_direction_loc, &MATRIX_FORWARD(g_light_direction), SHADER_UNIFORM_VEC3);
if(ambient_level_loc != -1)