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: packages/liquid_glass_renderer/README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ A Flutter package for creating a stunning "liquid glass" or "frosted glass" effe
27
27
As this is a pre-release, there are a few things to keep in mind:
28
28
29
29
-**Only works on Impeller**, so Web, Windows, and Linux are entirely unsupported for now
30
-
-**Maximum of three shapes** can be blended in a `LiquidGlassLayer`.
30
+
-**Maximum of 64 shapes** can be blended in a `LiquidGlassLayer`, and performance will degrade significantly with the more shapes you add in the same layer.
31
31
-**Blur** introduces artifacts when blending shapes, and looks suboptimal for `Glassify`. Upvote [this issue](https://github.com/flutter/flutter/issues/170820) to get that fixed.
32
32
33
33
## Acknowledgements
@@ -243,6 +243,11 @@ Here's a breakdown of the key settings:
243
243
-`lightAngle`, `lightIntensity`: Control the direction and brightness of the virtual light source, creating highlights.
244
244
-`ambientStrength`: The intensity of ambient light.
245
245
-`outlineIntensity`: The visibility of the glass outline.
246
+
-`saturation`: Adjusts the color saturation of background pixels visible through the glass (1.0 = no change, <1.0 = desaturated, >1.0 = more saturated).
247
+
-`lightness`: Adjusts the brightness of background pixels visible through the glass (1.0 = no change, <1.0 = darker, >1.0 = brighter).
248
+
249
+
250
+
Saturation and lightness can be combined with blur to achieve an Apple-like look.
0 commit comments