Graphics/Shaders: Adjust PBR ambient
This commit is contained in:
parent
f0d809c22a
commit
ca4f1b49ac
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in New Issue