feat(hero): 为英雄 mo4 添加轮廓发光效果

- 新增内置轮廓发光着色器效果文件
- 新增轮廓发光材质并配置红色发光参数
- 在 mo4 英雄预制件中应用轮廓发光材质
- 移除不再需要的嵌套预制件引用以简化结构
This commit is contained in:
panw
2026-03-20 15:44:56 +08:00
parent 8d059a28d4
commit 855d50a98a
7 changed files with 269 additions and 148 deletions

View File

@@ -26,31 +26,28 @@
},
{
"__id__": 26
},
{
"__id__": 43
}
],
"_active": true,
"_components": [
{
"__id__": 52
"__id__": 43
},
{
"__id__": 54
"__id__": 45
},
{
"__id__": 56
"__id__": 47
},
{
"__id__": 58
"__id__": 49
},
{
"__id__": 60
"__id__": 51
}
],
"_prefab": {
"__id__": 62
"__id__": 53
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -198,7 +195,10 @@
"__prefab": {
"__id__": 8
},
"_customMaterial": null,
"_customMaterial": {
"__uuid__": "2fcd55a9-38ca-45aa-9164-68e48aaf51ce",
"__expectedType__": "cc.Material"
},
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
@@ -794,136 +794,6 @@
"z": 1
}
},
{
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_prefab": {
"__id__": 44
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 43
},
"asset": {
"__uuid__": "b02b7a49-ba72-4956-8b7e-31dc476377f1",
"__expectedType__": "cc.Prefab"
},
"fileId": "54R/aYBglLI4Jn5pm++Jx8",
"instance": {
"__id__": 45
},
"targetOverrides": null
},
{
"__type__": "cc.PrefabInstance",
"fileId": "ed6VStPDNN5L9seHpMcpLs",
"prefabRootNode": {
"__id__": 1
},
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 46
},
{
"__id__": 48
},
{
"__id__": 49
},
{
"__id__": 50
},
{
"__id__": 51
}
],
"removedComponents": []
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 47
},
"propertyPath": [
"_name"
],
"value": "maxr"
},
{
"__type__": "cc.TargetInfo",
"localID": [
"54R/aYBglLI4Jn5pm++Jx8"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 47
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": -21.094,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 47
},
"propertyPath": [
"_lrot"
],
"value": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 47
},
"propertyPath": [
"_euler"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 47
},
"propertyPath": [
"_lscale"
],
"value": {
"__type__": "cc.Vec3",
"x": 2,
"y": 2.5,
"z": 1
}
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -934,7 +804,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 53
"__id__": 44
},
"_contentSize": {
"__type__": "cc.Size",
@@ -962,7 +832,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 55
"__id__": 46
},
"anm": {
"__id__": 5
@@ -983,7 +853,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 57
"__id__": 48
},
"debugMode": false,
"_id": ""
@@ -1002,7 +872,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 59
"__id__": 50
},
"enabledContactListener": true,
"bullet": false,
@@ -1036,7 +906,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 61
"__id__": 52
},
"tag": 0,
"_group": 4,
@@ -1072,9 +942,6 @@
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": [
{
"__id__": 43
},
{
"__id__": 26
},