up ambient light

This commit is contained in:
Lauri Räsänen 2023-04-16 14:46:17 +03:00
parent e682e3870e
commit 137d0e0c0a

View file

@ -137,7 +137,7 @@ fn fs_main(vert: VertexOutput) -> @location(0) vec4<f32> {
} }
// ambient // ambient
let ambient_strength = 0.01; let ambient_strength = 0.02;
let ambient_color = ambient_strength * albedo; let ambient_color = ambient_strength * albedo;
var result = ambient_color + total_radiance; var result = ambient_color + total_radiance;