mirror of
https://gitee.com/ruanwujing/green-pack-cocos
synced 2025-10-09 16:46:17 +00:00
添加新的sdf裁切形状示例;添加形状调节参数
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
float dot2(vec2 p) {
|
||||
return dot(p, p);
|
||||
}
|
||||
float sdCircle( vec2 p, float r )
|
||||
{
|
||||
return length(p) - r;
|
||||
|
Reference in New Issue
Block a user