You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/bevy_post_process/src/bloom/settings.rs
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -116,13 +116,17 @@ pub struct Bloom {
116
116
pubcomposite_mode:BloomCompositeMode,
117
117
118
118
/// Maximum size of each dimension for the largest mipchain texture used in downscaling/upscaling.
119
-
/// Only tweak if you are seeing visual artifacts.
119
+
/// Lower values can improve performance but reduce quality.
120
120
pubmax_mip_dimension:u32,
121
121
122
122
/// Amount to stretch the bloom on each axis. Artistic control, can be used to emulate
123
123
/// anamorphic blur by using a large x-value. For large values, you may need to increase
124
124
/// [`Bloom::max_mip_dimension`] to reduce sampling artifacts.
125
125
pubscale:Vec2,
126
+
127
+
// Whether to use a high quality bloom implementation (default: true).
128
+
// If false, bloom will use an implementation that significantly reduces the number of texture samples and improves performance, but at the cost of lower quality.
0 commit comments