mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-21 22:38:41 -06:00
set discard_alpha
This commit is contained in:
parent
204bb882a6
commit
e1f1ba706c
|
@ -106,6 +106,7 @@ pub fn draw_world(
|
|||
view: view,
|
||||
perspective: perspective,
|
||||
tex: texture_sampler,
|
||||
discard_alpha: true,
|
||||
},
|
||||
&draw_parameters
|
||||
).unwrap();
|
||||
|
@ -130,6 +131,7 @@ pub fn draw_world(
|
|||
view: view,
|
||||
perspective: perspective,
|
||||
tex: texture_sampler,
|
||||
discard_alpha: false,
|
||||
},
|
||||
&draw_parameters
|
||||
).unwrap();
|
||||
|
|
Loading…
Reference in a new issue