Tweak lowres-shader a little

This commit is contained in:
Blue (Lukas Rieger) 2021-09-19 16:05:41 +02:00
parent 730d726b37
commit 3618113c22
No known key found for this signature in database
GPG Key ID: 904C4995F9E1F800
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ void main() {
vec4 color = vec4(vColor, 1.0);
float diff = sqrt(max(dot(vNormal, vec3(0.3637, 0.7274, 0.5819)), 0.0)) * 0.4 + 0.6;
float diff = max(dot(vNormal, vec3(0.3637, 0.7274, 0.5819)), 0.0) * 0.3 + 0.7;
color *= diff;
color *= mix(sunlightStrength, 1.0, ambientLight);