sponza debugging and fixes
This commit is contained in:
parent
708c46adc7
commit
e39ea0b80b
9 changed files with 64 additions and 34 deletions
|
@ -94,7 +94,7 @@ fn fs_main(in: VertexOutput) -> @location(0) vec4<f32> {
|
|||
let half_dir = normalize(view_dir + light_dir);
|
||||
|
||||
// ambient
|
||||
let ambient_strength = 0.05;
|
||||
let ambient_strength = 0.025;
|
||||
let ambient_color = light.color * ambient_strength;
|
||||
|
||||
// diffuse
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue