Skip to content

Commit 2796c9a

Browse files
hexrollJMS55
andcommitted
Revise the alpha_threshold comment
Co-authored-by: JMS55 <[email protected]>
1 parent dcd1998 commit 2796c9a

File tree

1 file changed

+1
-1
lines changed
  • crates/bevy_core_pipeline/src/oit

1 file changed

+1
-1
lines changed

crates/bevy_core_pipeline/src/oit/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pub struct OrderIndependentTransparencySettings {
4949
/// The more layers you use the more memory it will use but it will also give better results.
5050
/// 8 is generally recommended, going above 32 is probably not worth it in the vast majority of cases
5151
pub layer_count: i32,
52-
/// Controls the threshold from which fragments will be added to the blending layers.
52+
/// Threshold for which fragments will be added to the blending layers.
5353
/// This can be tweaked to optimize quality / layers count. Higher values will
5454
/// allow lower number of layers and a better performance, compromising quality.
5555
pub alpha_threshold: f32,

0 commit comments

Comments
 (0)