Add 3D gradient angle customization; add screenshots

This commit is contained in:
Armin 2026-08-14 03:56:51 +02:00
commit 8b963ae50c
4 changed files with 7 additions and 3 deletions

View file

@ -380,9 +380,9 @@ private:
if (b < litCount)
{
const float frac = (b + 0.5f) / static_cast<float> (leds);
const juce::Colour base = lf.getTeal().withMultipliedBrightness (0.35f + 0.65f * frac);
fill3D (g, base, juce::Rectangle<float> (x, blockTop, bandWidth, blockLen), radius, depthAmount);
// Flat base colour; the 3D knob (fill3D) is the only source
// of shading so LEDs stay solid until 3D is turned up.
fill3D (g, lf.getTeal(), juce::Rectangle<float> (x, blockTop, bandWidth, blockLen), radius, depthAmount);
}
// Peak honours the same discrete blocks: draw the peak block in the