用于凸显前景,让背景模糊并降低亮度
针对Cocos Creator
2.1.1
及以上。
- 修复了与
Mask
对象并用时模糊失效的问题。
- 排除对象现在也会排除其所有子物体。
- 现在不在BlurMask节点包围盒以内的背景将不会被模糊,局部打码不是梦。
- 现在可以排除不需要渲染模糊的对象。
- 大幅优化了性能。
- 支持自定义渲染参数,可以指定模糊程度和亮度。
-
修复手机无法正常显示的bug
-
略微优化了性能
-
Fixed a bug that it might not work correctly on mobile devices.
-
Slightly increased the performance.
Blur and dim the backdrop for highlighting the foreground(such as an alert box).
For Cocos Creator
2.1.x
and above.
- Fixed a bug that the BlurMask doesn't work when a node with
Mask
component also exists.
- The children of excluded nodes will also be ignored.
- Now the content outside of the bounding box of the BlurMask not will not be affected.
- You can now exclude nodes that the renderer will ignore them.
- Drastically increased the performance.
- Cusomizable rendering attributes, you can now adjust the blurriness and brightness of the mask.
- Fixed a bug that it might not work correctly on mobile devices.
- Slightly increased the performance.