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

light_common: Adjust ambient and sun diffuse scale

Sun needs some oomph.
This commit is contained in:
Sebastian Krzyszkowiak
2026-06-30 01:37:47 +02:00
parent 473eae53d2
commit b323d78c34

View File

@@ -27,8 +27,8 @@ float metalic = 0.0;
// = sharper terminator (more contrast between // = sharper terminator (more contrast between
// lit and shaded faces of the same surface). // lit and shaded faces of the same surface).
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
const float AMBIENT_SCALE = 0.3; const float AMBIENT_SCALE = 0.65;
const float SUN_DIFFUSE_SCALE = 0.4; const float SUN_DIFFUSE_SCALE = 1.5;
const float SUN_NDOTL_SHARPNESS = 1.25; const float SUN_NDOTL_SHARPNESS = 1.25;
float length2(vec3 v) float length2(vec3 v)