Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

cocos-creator-blur-mask

> 编程语言
Open source

cocos creator实现背景模糊的效果

99 stars0 likes4 views
WebsiteGitHub

About

cocos creator实现背景模糊的效果

  • 中文
  • English

Cocos Creator 实现背景模糊效果

用于凸显前景,让背景模糊并降低亮度

版本

针对Cocos Creator 2.1.1 及以上。

效果

在线预览

https://wheatup.github.io/blur-effect/


更新日志

2019-09-03

  • 修复了与 Mask 对象并用时模糊失效的问题。

2019-05-27

  • 排除对象现在也会排除其所有子物体。

2019-05-10

  • 现在不在BlurMask节点包围盒以内的背景将不会被模糊,局部打码不是梦。
  • 现在可以排除不需要渲染模糊的对象。
  • 大幅优化了性能。
  • 支持自定义渲染参数,可以指定模糊程度和亮度。

2019-05-09

  • 修复手机无法正常显示的bug

  • 略微优化了性能

  • Fixed a bug that it might not work correctly on mobile devices.

  • Slightly increased the performance.


Backdrop Blur for Cocos Creator

Blur and dim the backdrop for highlighting the foreground(such as an alert box).

Target Version

For Cocos Creator 2.1.x and above.

Preview

Live Preview

https://wheatup.github.io/blur-effect/


Change Logs

2019-09-03

  • Fixed a bug that the BlurMask doesn't work when a node with Mask component also exists.

2019-05-27

  • The children of excluded nodes will also be ignored.

2019-05-10

  • 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.

2019-05-09

  • Fixed a bug that it might not work correctly on mobile devices.
  • Slightly increased the performance.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言