FastLED 3.10.6
Loading...
Searching...
No Matches

◆ setOutputBlur()

void fl::WaveFx::setOutputBlur ( fl::u8 amount,
fl::u8 passes = 1 )
inline

Configure the post-process output blur (#3122 A4)

Parameters
amountBlur strength (0-255). 0 disables. 32-128 ≈ smoothing comparable to SUPER_SAMPLE_2X.
passesNumber of repeated blur passes. 1 = single. >1 only for heavy smoothing.

Applied to the rendered CRGB output buffer after mapWaveToLEDs. ~1.2x scalar cost vs 8-512x for SuperSample with broadly comparable visual quality on smooth fields. See #3112 research doc §A1 for the rationale.

Definition at line 211 of file wave.h.

211 {
212 mOutputBlurAmount = amount;
213 mOutputBlurPasses = (passes < 1) ? 1 : passes;
214 }
fl::u8 mOutputBlurPasses
Definition wave.h:420
fl::u8 mOutputBlurAmount
Definition wave.h:419

References fl::FL_NO_EXCEPT, mOutputBlurAmount, and mOutputBlurPasses.

Referenced by WaveFx().

+ Here is the caller graph for this function: