Graphics/Shaders: Adjust PBR ambient

This commit is contained in:
SirLynix 2023-10-14 16:44:36 +02:00
parent f0d809c22a
commit ca4f1b49ac
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ fn main(input: VertToFrag) -> FragOut
lightRadiance += shadowFactor * radiance;
}
let ambient = (0.03).rrr * albedo;
let ambient = (0.0001).rrr * albedo;
let color = ambient + lightRadiance * color.rgb;
color = color / (color + vec3[f32](1.0, 1.0, 1.0));