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,
|
||||
&config,
|
||||
"depth_texture",
|
||||
Some(wgpu::CompareFunction::LessEqual),
|
||||
Some(wgpu::CompareFunction::Less),
|
||||
1,
|
||||
);
|
||||
|
||||
|
@ -139,7 +139,7 @@ impl State {
|
|||
&device,
|
||||
&config,
|
||||
format!("light_depth_texture_{}", i).as_str(),
|
||||
Some(wgpu::CompareFunction::LessEqual),
|
||||
Some(wgpu::CompareFunction::Less),
|
||||
1,
|
||||
)
|
||||
})
|
||||
|
@ -392,7 +392,7 @@ impl State {
|
|||
&self.device,
|
||||
&self.config,
|
||||
"depth_texture",
|
||||
Some(wgpu::CompareFunction::LessEqual),
|
||||
Some(wgpu::CompareFunction::Less),
|
||||
1,
|
||||
);
|
||||
for i in 0..6 {
|
||||
|
@ -400,7 +400,7 @@ impl State {
|
|||
&self.device,
|
||||
&self.config,
|
||||
format!("light_depth_texture_{}", i).as_str(),
|
||||
Some(wgpu::CompareFunction::LessEqual),
|
||||
Some(wgpu::CompareFunction::Less),
|
||||
1,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue