diff options
| author | Micha White <botahamec@outlook.com> | 2022-10-13 09:54:21 -0400 |
|---|---|---|
| committer | Micha White <botahamec@outlook.com> | 2022-10-13 09:54:21 -0400 |
| commit | d9f7c14787e9eabcdff66cb71e1e9d282f379f75 (patch) | |
| tree | 44055813344aa003d81ce03b280e32048767c3a7 /src | |
| parent | 5d5525ce9201d1a6388260285268baff6019be93 (diff) | |
Added transparent texture support
Diffstat (limited to 'src')
| -rw-r--r-- | src/renderer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer.rs b/src/renderer.rs index a1e2c09..07c7b48 100644 --- a/src/renderer.rs +++ b/src/renderer.rs @@ -101,7 +101,7 @@ impl Renderer { entry_point: "fs_main", targets: &[Some(wgpu::ColorTargetState { format: texture_format, - blend: Some(wgpu::BlendState::REPLACE), + blend: Some(wgpu::BlendState::ALPHA_BLENDING), write_mask: wgpu::ColorWrites::ALL, })], }), |
