添加新的sdf裁切形状示例;添加形状调节参数

This commit is contained in:
ruanwujing
2024-01-31 15:55:31 +08:00
parent 2e0c2601c0
commit cb58fcbff8
14 changed files with 1231 additions and 3 deletions

View File

@@ -26,6 +26,14 @@
}
],
"_props": [
{}
{
"circleParams": {
"__type__": "cc.Vec4",
"x": 0.4,
"y": 0.11,
"z": -0.01,
"w": 0
}
}
]
}

View File

@@ -0,0 +1,39 @@
{
"__type__": "cc.Material",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"_effectAsset": {
"__uuid__": "fef16f75-0140-40d5-97b8-99185849b0e8",
"__expectedType__": "cc.EffectAsset"
},
"_techIdx": 0,
"_defines": [
{
"UP_SIDE_DOWN": true
}
],
"_states": [
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
}
],
"_props": [
{
"params": {
"__type__": "cc.Vec4",
"x": 0.6,
"y": -0.2,
"z": 0.11,
"w": -0.01
}
}
]
}

View File

@@ -0,0 +1,11 @@
{
"ver": "1.0.21",
"importer": "material",
"imported": true,
"uuid": "e6cd9948-ab5d-4816-8523-68f13f4ed20f",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,39 @@
{
"__type__": "cc.Material",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"_effectAsset": {
"__uuid__": "254577e6-4c95-47b4-9cb2-36ec930c286d",
"__expectedType__": "cc.EffectAsset"
},
"_techIdx": 0,
"_defines": [
{
"USE_TEXTURE": true
}
],
"_states": [
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
}
],
"_props": [
{
"star5Params": {
"__type__": "cc.Vec4",
"x": 0.4,
"y": 0.6,
"z": 0.11,
"w": -0.01
}
}
]
}

View File

@@ -0,0 +1,11 @@
{
"ver": "1.0.21",
"importer": "material",
"imported": true,
"uuid": "25305096-8f75-413c-a292-5e3927bf0e3d",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}