fix ambient light
This commit is contained in:
parent
afcfee789b
commit
7152d9d274
2 changed files with 6 additions and 5 deletions
|
@ -120,7 +120,7 @@ impl State {
|
|||
|
||||
let camera_controller = CameraController::new(400.0, 2.0);
|
||||
|
||||
let light_uniform = LightUniform::new([100.0, 60.0, 0.0], [1.0, 1.0, 1.0, 100000.0]);
|
||||
let light_uniform = LightUniform::new([100.0, 60.0, 0.0], [1.0, 1.0, 1.0, 200000.0]);
|
||||
|
||||
// We'll want to update our lights position, so we use COPY_DST
|
||||
let light_buffer = device.create_buffer_init(&wgpu::util::BufferInitDescriptor {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue