初步实现描边

This commit is contained in:
caizhitao
2019-12-12 22:52:15 +08:00
parent cda0009d1f
commit 6e7785e527
10 changed files with 133 additions and 69 deletions

View File

@@ -8,6 +8,7 @@
},
"_defines": {
"USE_TEXTURE": true,
"USE_ALPHA_TEST": false,
"SHOW_OUT_LINE": true
},
"_props": {
@@ -15,10 +16,10 @@
"outlineColor": {
"__type__": "cc.Vec4",
"x": 1,
"y": 1,
"y": 0,
"z": 0,
"w": 1
},
"outlineSize": 0.01
"outlineSize": 0.02
}
}