Skip to content

Commit

Permalink
Fix alpha blending
Browse files Browse the repository at this point in the history
  • Loading branch information
sowelipililimute committed Oct 20, 2024
1 parent 9ce2f73 commit 2faab3b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/quad_gl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,11 @@ impl PipelinesStorage {
BlendFactor::Value(BlendValue::SourceAlpha),
BlendFactor::OneMinusValue(BlendValue::SourceAlpha),
)),
alpha_blend: Some(BlendState::new(
Equation::Add,
BlendFactor::Zero,
BlendFactor::One,
)),
..Default::default()
};

Expand Down

0 comments on commit 2faab3b

Please sign in to comment.