bugfix for 2d sprite glow outter

This commit is contained in:
caizhitao
2020-02-17 10:05:42 +08:00
parent 1f4110d26f
commit 6ea6375fdb
6 changed files with 67 additions and 249 deletions

View File

@@ -0,0 +1,18 @@
{
"__type__": "cc.Material",
"_name": "New Material",
"_objFlags": 0,
"_native": "",
"_effectAsset": {
"__uuid__": "67e9833e-aa43-427a-ba89-d7bdd1ef0aed"
},
"_techniqueIndex": 0,
"_techniqueData": {
"0": {
"defines": {
"USE_TEXTURE": true,
"SHOW_OUTTER_GLOW": true
}
}
}
}

View File

@@ -1,6 +1,6 @@
{
"ver": "1.0.3",
"uuid": "16dd0f06-6280-4d74-8483-a50e23c00733",
"uuid": "b82b2ec7-1bf3-4840-b9af-66d2a0250c14",
"dataAsSubAsset": null,
"subMetas": {}
}

View File

@@ -1,30 +0,0 @@
{
"__type__": "cc.Material",
"_name": "sprite-glow-outter",
"_objFlags": 0,
"_native": "",
"_effectAsset": {
"__uuid__": "89f30b2e-b75e-49b1-9dfc-cb341cadd30a"
},
"_techniqueData": {
"0": {
"props": {
"texture": null,
"glowColor": {
"__type__": "cc.Color",
"r": 255,
"g": 0,
"b": 0,
"a": 255
},
"glowColorSize": 0.15,
"glowThreshold": 1
},
"defines": {
"USE_TEXTURE": true,
"USE_ALPHA_TEST": false,
"SHOW_OUTTER_GLOW": true
}
}
}
}