LessEqual -> Less
This commit is contained in:
parent
ccfaff88bd
commit
a68a8f3cfa
1 changed files with 4 additions and 4 deletions
|
@ -129,7 +129,7 @@ impl State {
|
||||||
&device,
|
&device,
|
||||||
&config,
|
&config,
|
||||||
"depth_texture",
|
"depth_texture",
|
||||||
Some(wgpu::CompareFunction::LessEqual),
|
Some(wgpu::CompareFunction::Less),
|
||||||
1,
|
1,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -139,7 +139,7 @@ impl State {
|
||||||
&device,
|
&device,
|
||||||
&config,
|
&config,
|
||||||
format!("light_depth_texture_{}", i).as_str(),
|
format!("light_depth_texture_{}", i).as_str(),
|
||||||
Some(wgpu::CompareFunction::LessEqual),
|
Some(wgpu::CompareFunction::Less),
|
||||||
1,
|
1,
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
@ -392,7 +392,7 @@ impl State {
|
||||||
&self.device,
|
&self.device,
|
||||||
&self.config,
|
&self.config,
|
||||||
"depth_texture",
|
"depth_texture",
|
||||||
Some(wgpu::CompareFunction::LessEqual),
|
Some(wgpu::CompareFunction::Less),
|
||||||
1,
|
1,
|
||||||
);
|
);
|
||||||
for i in 0..6 {
|
for i in 0..6 {
|
||||||
|
@ -400,7 +400,7 @@ impl State {
|
||||||
&self.device,
|
&self.device,
|
||||||
&self.config,
|
&self.config,
|
||||||
format!("light_depth_texture_{}", i).as_str(),
|
format!("light_depth_texture_{}", i).as_str(),
|
||||||
Some(wgpu::CompareFunction::LessEqual),
|
Some(wgpu::CompareFunction::Less),
|
||||||
1,
|
1,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue