feat(hero): 为英雄 mo4 添加轮廓发光效果
- 新增内置轮廓发光着色器效果文件 - 新增轮廓发光材质并配置红色发光参数 - 在 mo4 英雄预制件中应用轮廓发光材质 - 移除不再需要的嵌套预制件引用以简化结构
This commit is contained in:
41
assets/resources/game/gui/materials/outline-glow.mtl
Normal file
41
assets/resources/game/gui/materials/outline-glow.mtl
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"__type__": "cc.Material",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_native": "",
|
||||
"_effectAsset": {
|
||||
"__uuid__": "cfeeea4f-db9c-42cd-a0f7-fc5cb37bd3d7",
|
||||
"__expectedType__": "cc.EffectAsset"
|
||||
},
|
||||
"_techIdx": 0,
|
||||
"_defines": [
|
||||
{
|
||||
"USE_TEXTURE": true
|
||||
}
|
||||
],
|
||||
"_states": [
|
||||
{
|
||||
"rasterizerState": {},
|
||||
"depthStencilState": {},
|
||||
"blendState": {
|
||||
"targets": [
|
||||
{}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"_props": [
|
||||
{
|
||||
"glowColor": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 20,
|
||||
"b": 20,
|
||||
"a": 255
|
||||
},
|
||||
"glowWidth": 0.0025,
|
||||
"glowThreshold": 0.887
|
||||
}
|
||||
]
|
||||
}
|
||||
11
assets/resources/game/gui/materials/outline-glow.mtl.meta
Normal file
11
assets/resources/game/gui/materials/outline-glow.mtl.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ver": "1.0.21",
|
||||
"importer": "material",
|
||||
"imported": true,
|
||||
"uuid": "2fcd55a9-38ca-45aa-9164-68e48aaf51ce",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
Reference in New Issue
Block a user