-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
半透明 UI 控件的高级材质 #129
Comments
深色模式白色背景可以换成云母(Mica)
|
Win32 桌面应用使用原生亚克力模糊效果需要 Windows 10,版本 1803(内部版本 17134)或更高版本;使用 Mica 效果需要 Windows 11,版本 21H2(内部版本 22000)或更高版本。 如果不考虑其他因素,最简单的办法是使用 Windows App SDK,但考虑到现有 WPF 项目迁移到 WASDK 的复杂度,这么做会引起大量问题。 制作这类效果需要放弃部分旧版本 Windows 用户,并且可能会导致部分兼容性问题,在开发时需要充分考虑。 |
在 PCL CE 内如果要实现 Mica 材质是非常不划算的。因为需要和 WinAppSDK 交互才能带来真正的 Mica 效果。而且 WinAppSDK (WinUI) 的各种组件与 WPF 的互不兼容,如果要制作云母效果难度不亚于重构整个项目。此外所有用户必须要安装 WinAppSdk,这会带来不必要的负担。 |
Mica 和 Acrylic 可以看看这里 MicaWPF |
高级材质的实现遇到了较大困难,所以得咕咕咕一阵子 抱歉 Orz |
可以学小米用缩略图,然后再半透明区域展示,这样还可以减少算力(就是实现起来比较复杂) |
又一个没用的feat诞生了就是所有半透明部分都替换成高斯模糊
看看有多少人想要这功能
还是和深色模式一样,想要的人多就加上
The text was updated successfully, but these errors were encountered: