Add new glass parameter: bleed opacity

This commit is contained in:
Kyant0 committed 2025-06-20 15:27:31 +08:00
1 parent f3d8551963
commit 2391aef5bf
20 files changed
+69 -12

No files matched your search

+16 -1
View File
@@ -8,6 +8,18 @@ An Android app that simulates Apple's Liquid Glass effect, Android 13 and above
You mustn't use the shaders in the project for commercial purposes, they are only for educational purposes.
## Glass parameters
| Parameter | Availability | Verification |
|:-------------------------:|--------------|--------------|
| Inner refraction height | ✔️ | ✔️ |
| Inner refraction amount | ✔️ | ✔️ |
| Outer refraction height | ❌ | ❌ |
| Outer refraction amount | ❌ | ❌ |
| Dispersion height | 🚧 | ❌ |
| Bleed opacity | ✔️ | 🚧 |
| Eccentric factor (add-on) | ✔️ | ✔️ |
## Comparisons
Android device: Google Pixel 4 XL (the smallest width is adjusted to 440 dp to match the density of the iOS device)
@@ -20,7 +32,10 @@ Test glass area size: 300 x 300, corner radius: 30
|:-------------------------------------------------:|:-----------------------------------------------------:|
| ![](./artworks/inner_refraction/ios/-60%2020.png) | ![](./artworks/inner_refraction/android/-60%2020.png) |
See [complete comparisons](./docs/Comparisons.md) for more.
Complete comparisons:
- [Inner refraction](docs/Inner%20refraction%20comparisons.md)
- [Bleed](docs/Bleed%20comparisons.md)
## Special thanks