简体   繁体   中英

How do I create a blurred effect section of a CCLayer in Cocos2d?

Is there any way to "make" a rectangular section of a CCLayer blurred?

Either by making a masking layer over the game layer, or by actually blurring part of the game layer?

Well, I guess I found an answer...

https://github.com/manucorporat/AWTextureFilter/tree/master/AWTextureFilter

Its pretty cool.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM