Merge branch 'release/0.3.0' into dev
This commit is contained in:
commit
27e819fb2c
@ -1,5 +1,9 @@
|
||||
# ChangeLog
|
||||
|
||||
## 0.3.0 (2020-01-09)
|
||||
|
||||
- 加入圆角裁剪特效
|
||||
|
||||
## 0.2.0 (2020-01-05)
|
||||
|
||||
- 加入灰度渐变特效
|
||||
|
11
README.md
11
README.md
@ -1,6 +1,6 @@
|
||||
# Cocos Creator Shader Effect Demo
|
||||
|
||||
[](CHANGELOG.md)
|
||||
[](CHANGELOG.md)
|
||||
[](LICENSE)
|
||||
[](http://www.cocos.com/creator)
|
||||
|
||||
@ -43,6 +43,15 @@
|
||||
|
||||

|
||||
|
||||
### 圆角裁剪
|
||||
|
||||
> * 声明:此特效为搬运过来的特效,非原创。
|
||||
> * 修改的地方:搬运后,在原来的主要代码上加入了自己的理解注释
|
||||
> * 实现原理:参考文章 [《圆角计算 Shader》](https://www.cnblogs.com/jqm304775992/p/4987793.html)
|
||||
> * 参考代码:Cocos 论坛帖子[《分享更高效的 creator 裁圆角头像 shader》](https://forum.cocos.org/t/creator-shader-2019-10-22-2-2-0/82548) 和对应的 [实现代码](https://github.com/yanjifa/shaderDemo/blob/master/assets/Effect/CircleAvatar.effect)
|
||||
|
||||

|
||||
|
||||
### 外发光(完善中...)
|
||||
|
||||
### 外描边(完善中...)
|
||||
|
BIN
static/effects/2d-sprite-round-corner-crop.gif
Normal file
BIN
static/effects/2d-sprite-round-corner-crop.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 182 KiB |
Loading…
x
Reference in New Issue
Block a user