mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-26 05:38:20 -06:00
set discard_alpha
This commit is contained in:
parent
184be9393c
commit
8ebc94fd9e
|
@ -106,6 +106,7 @@ pub fn draw_world(
|
||||||
view: view,
|
view: view,
|
||||||
perspective: perspective,
|
perspective: perspective,
|
||||||
tex: texture_sampler,
|
tex: texture_sampler,
|
||||||
|
discard_alpha: true,
|
||||||
},
|
},
|
||||||
&draw_parameters
|
&draw_parameters
|
||||||
).unwrap();
|
).unwrap();
|
||||||
|
@ -130,6 +131,7 @@ pub fn draw_world(
|
||||||
view: view,
|
view: view,
|
||||||
perspective: perspective,
|
perspective: perspective,
|
||||||
tex: texture_sampler,
|
tex: texture_sampler,
|
||||||
|
discard_alpha: false,
|
||||||
},
|
},
|
||||||
&draw_parameters
|
&draw_parameters
|
||||||
).unwrap();
|
).unwrap();
|
||||||
|
|
Loading…
Reference in a new issue