Enable alpha blending for plants

This commit is contained in:
Lauri Räsänen 2023-12-26 21:42:14 +02:00
parent 4203391783
commit b5d87a7d30
2 changed files with 2 additions and 5 deletions

View file

@ -36,10 +36,7 @@ Controls:
TODO: TODO:
- Get shadowmaps & volumetric fog to work on WebGL? - Get shadowmaps & volumetric fog to work on WebGL?
- Improve shadowmap artifacts - Improve shadowmap artifacts
- Transparency - Fix funky transparency around plants
- Refactor
- Simplify/abstract renderpasses
- `src/core/state.rs` is a mess
- SSAO - SSAO
- Bloom - Bloom
- AA - AA

View file

@ -463,7 +463,7 @@ impl State {
&[ModelVertex::desc(), InstanceRaw::desc()], &[ModelVertex::desc(), InstanceRaw::desc()],
"geometry pass", "geometry pass",
false, false,
false, true,
true, true,
Some(wgpu::Face::Back), Some(wgpu::Face::Back),
); );