This commit is contained in:
2026-07-14 11:44:07 +08:00
commit 4409c7b031
5906 changed files with 6959792 additions and 0 deletions
@@ -0,0 +1,28 @@
{
"__type__": "cc.Material",
"_name": "default-trail-material",
"_objFlags": 0,
"_native": "",
"_effectAsset": {
"__uuid__": "17debcc3-0a6b-4b8a-b00b-dc58b885581e",
"__expectedType__": "cc.EffectAsset"
},
"_techIdx": 0,
"_defines": [
{}
],
"_states": [
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
}
],
"_props": [
{}
]
}
@@ -0,0 +1,8 @@
{
"__type__": "cc.ImageAsset",
"content": {
"fmt": "0",
"w": 0,
"h": 0
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

@@ -0,0 +1,9 @@
{
"__type__": "cc.Texture2D",
"content": {
"base": "2,2,0,0,0,0",
"mipmaps": [
"0827a05d-0218-4f5f-bf3d-78871ef02c1e"
]
}
}
@@ -0,0 +1,9 @@
{
"__type__": "cc.Texture2D",
"content": {
"base": "2,2,0,0,0,0",
"mipmaps": [
"0827a05d-0218-4f5f-bf3d-78871ef02c1e"
]
}
}
@@ -0,0 +1,69 @@
{
"__type__": "cc.Mesh",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"_native": ".bin",
"_struct": {
"primitives": [
{
"primitiveMode": 7,
"vertexBundelIndices": [
0
],
"indexView": {
"offset": 8544,
"length": 564,
"count": 282,
"stride": 2
}
}
],
"vertexBundles": [
{
"view": {
"offset": 0,
"length": 8544,
"count": 178,
"stride": 48
},
"attributes": [
{
"name": "a_position",
"format": 32,
"isNormalized": false
},
{
"name": "a_normal",
"format": 32,
"isNormalized": false
},
{
"name": "a_texCoord",
"format": 21,
"isNormalized": false
},
{
"name": "a_tangent",
"format": 44,
"isNormalized": false
}
]
}
],
"minPosition": {
"__type__": "cc.Vec3",
"x": -0.2889871299266815,
"y": -0.2889871895313263,
"z": 0
},
"maxPosition": {
"__type__": "cc.Vec3",
"x": 0.2889871895313263,
"y": 0.2889871597290039,
"z": 0.34061524271965027
}
},
"_hash": 594155202,
"_allowDataAccess": true
}
@@ -0,0 +1,53 @@
{
"__type__": "cc.Material",
"_name": "lambert1",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"_effectAsset": {
"__uuid__": "f648964e-8d32-41fc-9ac9-7a1e714dd17b",
"__expectedType__": "cc.EffectAsset"
},
"_techIdx": 0,
"_defines": [
{
"USE_ALBEDO_MAP": true,
"DCC_APP_NAME": 5
}
],
"_states": [
{
"rasterizerState": {},
"blendState": {
"targets": [
{}
]
},
"depthStencilState": {}
}
],
"_props": [
{
"albedoScale": 0.800000011920929,
"mainColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"mainTexture": {
"__uuid__": "08330365-4c96-47a6-af53-e19560c4b249@23f9e",
"__expectedType__": "cc.Texture2D"
},
"emissiveScale": 1,
"emissive": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
}
}
]
}
@@ -0,0 +1,193 @@
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "SM_Env_Pipe_01",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 7
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "SM_Env_Pipe_01",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
}
],
"_prefab": {
"__id__": 6
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.MeshRenderer",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 4
},
"_materials": [
{
"__uuid__": "08330365-4c96-47a6-af53-e19560c4b249@8d883",
"__expectedType__": "cc.Material"
}
],
"_visFlags": 0,
"bakeSettings": {
"__id__": 5
},
"_mesh": {
"__uuid__": "08330365-4c96-47a6-af53-e19560c4b249@857e0",
"__expectedType__": "cc.Mesh"
},
"_shadowCastingMode": 0,
"_shadowReceivingMode": 1,
"_shadowBias": 0,
"_shadowNormalBias": 0,
"_reflectionProbeId": -1,
"_reflectionProbeBlendId": -1,
"_reflectionProbeBlendWeight": 0,
"_enabledGlobalStandardSkinObject": false,
"_enableMorph": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "35Ao0WlNxRhImX3AAEBuJ9"
},
{
"__type__": "cc.ModelBakeSettings",
"texture": null,
"uvParam": {
"__type__": "cc.Vec4",
"x": 0,
"y": 0,
"z": 0,
"w": 0
},
"_bakeable": false,
"_castShadow": false,
"_receiveShadow": false,
"_recieveShadow": false,
"_lightmapSize": 64,
"_useLightProbe": false,
"_bakeToLightProbe": true,
"_reflectionProbeType": 0,
"_bakeToReflectionProbe": true
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "f6u3xHtRNaGpEco2Pwyb8I",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "eaZVZ9G8hYgaq8BGELjrAM",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
}
]
@@ -0,0 +1,8 @@
{
"__type__": "cc.TTFFont",
"_name": "OpenSans-Regular",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "OpenSans-Regular.ttf",
"_fontFamily": null
}
@@ -0,0 +1,8 @@
{
"__type__": "cc.ImageAsset",
"content": {
"fmt": "0",
"w": 0,
"h": 0
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

@@ -0,0 +1,9 @@
{
"__type__": "cc.Texture2D",
"content": {
"base": "2,2,2,2,1,0",
"mipmaps": [
"0846961c-8911-457c-bf0c-1ae4cae810b4"
]
}
}
@@ -0,0 +1,90 @@
{
"__type__": "cc.SpriteFrame",
"content": {
"name": "Lose_Alien",
"atlas": "",
"rect": {
"x": 0,
"y": 0,
"width": 771,
"height": 801
},
"offset": {
"x": 0,
"y": 0
},
"originalSize": {
"width": 771,
"height": 801
},
"rotated": false,
"capInsets": [
0,
0,
0,
0
],
"vertices": {
"rawPosition": [
-385.5,
-400.5,
0,
385.5,
-400.5,
0,
-385.5,
400.5,
0,
385.5,
400.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
801,
771,
801,
0,
0,
771,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": {
"x": -385.5,
"y": -400.5,
"z": 0
},
"maxPos": {
"x": 385.5,
"y": 400.5,
"z": 0
}
},
"texture": "0846961c-8911-457c-bf0c-1ae4cae810b4@6c48a",
"packable": true,
"pixelsToUnit": 100,
"pivot": {
"x": 0.5,
"y": 0.5
},
"meshType": 0
}
}
@@ -0,0 +1,524 @@
{
"__type__": "cc.EffectAsset",
"_name": "internal/editor/box-height-light",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"techniques": [
{
"passes": [
{
"rasterizerState": {
"cullMode": 0
},
"blendState": {
"targets": [
{
"blend": true,
"blendSrc": 2,
"blendDst": 4,
"blendDstAlpha": 4
}
]
},
"program": "internal/editor/box-height-light|line-vs:vert|line-fs:front",
"priority": 245,
"depthStencilState": {
"depthTest": false,
"depthWrite": false
},
"properties": {
"selectedColor": {
"value": [
1,
1,
0,
0.0784313
],
"type": 16
},
"selectedFaceForward": {
"value": [
0,
0,
0,
0
],
"type": 16
}
}
}
]
}
],
"shaders": [
{
"blocks": [
{
"name": "Constant",
"members": [
{
"name": "mainColor",
"type": 16,
"count": 1
},
{
"name": "selectedColor",
"type": 16,
"count": 1
},
{
"name": "selectedFaceForward",
"type": 16,
"count": 1
}
],
"defines": [],
"stageFlags": 16,
"binding": 0
}
],
"samplerTextures": [],
"samplers": [],
"textures": [],
"buffers": [],
"images": [],
"subpassInputs": [],
"attributes": [
{
"name": "a_position",
"defines": [],
"format": 32,
"location": 0
},
{
"name": "a_normal",
"defines": [],
"format": 32,
"location": 1
},
{
"name": "a_lineDistance",
"defines": [
"USE_DASHED_LINE"
],
"format": 11,
"location": 2
}
],
"varyings": [
{
"name": "normal",
"type": 15,
"count": 1,
"defines": [],
"stageFlags": 17,
"location": 0
},
{
"name": "lineDistance",
"type": 13,
"count": 1,
"defines": [
"USE_DASHED_LINE"
],
"stageFlags": 17,
"location": 1
}
],
"fragColors": [
{
"name": "cc_FragColor",
"typename": "vec4",
"type": 16,
"count": 1,
"defines": [],
"stageFlags": 16,
"location": 0
}
],
"descriptors": [
{
"rate": 0,
"blocks": [
{
"tags": {
"builtin": "local"
},
"name": "CCLocal",
"members": [
{
"name": "cc_matWorld",
"typename": "mat4",
"type": 25,
"count": 1,
"precision": "highp "
},
{
"name": "cc_matWorldIT",
"typename": "mat4",
"type": 25,
"count": 1,
"precision": "highp "
},
{
"name": "cc_lightingMapUVParam",
"typename": "vec4",
"type": 16,
"count": 1,
"precision": "highp "
},
{
"name": "cc_localShadowBias",
"typename": "vec4",
"type": 16,
"count": 1,
"precision": "highp "
},
{
"name": "cc_reflectionProbeData1",
"typename": "vec4",
"type": 16,
"count": 1,
"precision": "highp "
},
{
"name": "cc_reflectionProbeData2",
"typename": "vec4",
"type": 16,
"count": 1,
"precision": "highp "
},
{
"name": "cc_reflectionProbeBlendData1",
"typename": "vec4",
"type": 16,
"count": 1,
"precision": "highp "
},
{
"name": "cc_reflectionProbeBlendData2",
"typename": "vec4",
"type": 16,
"count": 1,
"precision": "highp "
}
],
"defines": [],
"stageFlags": 1
}
],
"samplerTextures": [],
"samplers": [],
"textures": [],
"buffers": [],
"images": [],
"subpassInputs": []
},
{
"rate": 1,
"blocks": [
{
"name": "Constant",
"members": [
{
"name": "mainColor",
"type": 16,
"count": 1
},
{
"name": "selectedColor",
"type": 16,
"count": 1
},
{
"name": "selectedFaceForward",
"type": 16,
"count": 1
}
],
"defines": [],
"stageFlags": 16,
"binding": 0
}
],
"samplerTextures": [],
"samplers": [],
"textures": [],
"buffers": [],
"images": [],
"subpassInputs": []
},
{
"rate": 2,
"blocks": [],
"samplerTextures": [],
"samplers": [],
"textures": [],
"buffers": [],
"images": [],
"subpassInputs": []
},
{
"rate": 3,
"blocks": [
{
"tags": {
"builtin": "global"
},
"name": "CCGlobal",
"members": [
{
"name": "cc_time",
"typename": "vec4",
"type": 16,
"count": 1,
"precision": "highp "
},
{
"name": "cc_screenSize",
"typename": "vec4",
"type": 16,
"count": 1,
"precision": "mediump "
},
{
"name": "cc_nativeSize",
"typename": "vec4",
"type": 16,
"count": 1,
"precision": "mediump "
},
{
"name": "cc_probeInfo",
"typename": "vec4",
"type": 16,
"count": 1,
"precision": "mediump "
},
{
"name": "cc_debug_view_mode",
"typename": "vec4",
"type": 16,
"count": 1,
"precision": "mediump "
}
],
"defines": [],
"stageFlags": 17
},
{
"tags": {
"builtin": "global"
},
"name": "CCCamera",
"members": [
{
"name": "cc_matView",
"typename": "mat4",
"type": 25,
"count": 1,
"precision": "highp "
},
{
"name": "cc_matViewInv",
"typename": "mat4",
"type": 25,
"count": 1,
"precision": "highp "
},
{
"name": "cc_matProj",
"typename": "mat4",
"type": 25,
"count": 1,
"precision": "highp "
},
{
"name": "cc_matProjInv",
"typename": "mat4",
"type": 25,
"count": 1,
"precision": "highp "
},
{
"name": "cc_matViewProj",
"typename": "mat4",
"type": 25,
"count": 1,
"precision": "highp "
},
{
"name": "cc_matViewProjInv",
"typename": "mat4",
"type": 25,
"count": 1,
"precision": "highp "
},
{
"name": "cc_cameraPos",
"typename": "vec4",
"type": 16,
"count": 1,
"precision": "highp "
},
{
"name": "cc_surfaceTransform",
"typename": "vec4",
"type": 16,
"count": 1,
"precision": "mediump "
},
{
"name": "cc_screenScale",
"typename": "vec4",
"type": 16,
"count": 1,
"precision": "mediump "
},
{
"name": "cc_exposure",
"typename": "vec4",
"type": 16,
"count": 1,
"precision": "mediump "
},
{
"name": "cc_mainLitDir",
"typename": "vec4",
"type": 16,
"count": 1,
"precision": "mediump "
},
{
"name": "cc_mainLitColor",
"typename": "vec4",
"type": 16,
"count": 1,
"precision": "mediump "
},
{
"name": "cc_ambientSky",
"typename": "vec4",
"type": 16,
"count": 1,
"precision": "mediump "
},
{
"name": "cc_ambientGround",
"typename": "vec4",
"type": 16,
"count": 1,
"precision": "mediump "
},
{
"name": "cc_fogColor",
"typename": "vec4",
"type": 16,
"count": 1,
"precision": "mediump "
},
{
"name": "cc_fogBase",
"typename": "vec4",
"type": 16,
"count": 1,
"precision": "mediump "
},
{
"name": "cc_fogAdd",
"typename": "vec4",
"type": 16,
"count": 1,
"precision": "mediump "
},
{
"name": "cc_nearFar",
"typename": "vec4",
"type": 16,
"count": 1,
"precision": "mediump "
},
{
"name": "cc_viewPort",
"typename": "vec4",
"type": 16,
"count": 1,
"precision": "mediump "
}
],
"defines": [],
"stageFlags": 17
}
],
"samplerTextures": [],
"samplers": [],
"textures": [],
"buffers": [],
"images": [],
"subpassInputs": []
}
],
"hash": 516018741,
"glsl4": {
"vert": "\nprecision mediump float;\nlayout(set = 2, binding = 0) uniform CCLocal {\n highp mat4 cc_matWorld;\n highp mat4 cc_matWorldIT;\n highp vec4 cc_lightingMapUVParam;\n highp vec4 cc_localShadowBias;\n highp vec4 cc_reflectionProbeData1;\n highp vec4 cc_reflectionProbeData2;\n highp vec4 cc_reflectionProbeBlendData1;\n highp vec4 cc_reflectionProbeBlendData2;\n};\nlayout(set = 0, binding = 0) uniform CCGlobal {\n highp vec4 cc_time;\n mediump vec4 cc_screenSize;\n mediump vec4 cc_nativeSize;\n mediump vec4 cc_probeInfo;\n mediump vec4 cc_debug_view_mode;\n};\nlayout(set = 0, binding = 1) uniform CCCamera {\n highp mat4 cc_matView;\n highp mat4 cc_matViewInv;\n highp mat4 cc_matProj;\n highp mat4 cc_matProjInv;\n highp mat4 cc_matViewProj;\n highp mat4 cc_matViewProjInv;\n highp vec4 cc_cameraPos;\n mediump vec4 cc_surfaceTransform;\n mediump vec4 cc_screenScale;\n mediump vec4 cc_exposure;\n mediump vec4 cc_mainLitDir;\n mediump vec4 cc_mainLitColor;\n mediump vec4 cc_ambientSky;\n mediump vec4 cc_ambientGround;\n mediump vec4 cc_fogColor;\n mediump vec4 cc_fogBase;\n mediump vec4 cc_fogAdd;\n mediump vec4 cc_nearFar;\n mediump vec4 cc_viewPort;\n};\nlayout(location = 0) in highp vec3 a_position;\nlayout(location = 1) in vec3 a_normal;\nlayout(location = 0) out vec3 normal;\n#if USE_DASHED_LINE\n layout(location = 2) in float a_lineDistance;\n layout(location = 1) out float lineDistance;\n#endif\nvec4 vert () {\n normal = a_normal;\n vec4 pos = cc_matProj * (cc_matView * cc_matWorld) * vec4(a_position, 1);\n pos.z -= 0.000001;\n #if USE_DASHED_LINE\n lineDistance = a_lineDistance;\n #endif\n return pos;\n}\nvoid main() { gl_Position = vert(); }",
"frag": "\nprecision mediump float;\nlayout(set = 0, binding = 0) uniform CCGlobal {\n highp vec4 cc_time;\n mediump vec4 cc_screenSize;\n mediump vec4 cc_nativeSize;\n mediump vec4 cc_probeInfo;\n mediump vec4 cc_debug_view_mode;\n};\nlayout(set = 0, binding = 1) uniform CCCamera {\n highp mat4 cc_matView;\n highp mat4 cc_matViewInv;\n highp mat4 cc_matProj;\n highp mat4 cc_matProjInv;\n highp mat4 cc_matViewProj;\n highp mat4 cc_matViewProjInv;\n highp vec4 cc_cameraPos;\n mediump vec4 cc_surfaceTransform;\n mediump vec4 cc_screenScale;\n mediump vec4 cc_exposure;\n mediump vec4 cc_mainLitDir;\n mediump vec4 cc_mainLitColor;\n mediump vec4 cc_ambientSky;\n mediump vec4 cc_ambientGround;\n mediump vec4 cc_fogColor;\n mediump vec4 cc_fogBase;\n mediump vec4 cc_fogAdd;\n mediump vec4 cc_nearFar;\n mediump vec4 cc_viewPort;\n};\nvec4 CCFragOutput (vec4 color) {\n return color;\n}\nlayout(location = 0) in vec3 normal;\nlayout(location = 1) in float lineDistance;\nlayout(set = 1, binding = 0) uniform Constant {\n vec4 mainColor;\n vec4 selectedColor;\n vec4 selectedFaceForward;\n};\nvec4 front() {\n vec4 outputColor = mainColor;\n vec3 d = normal.xyz * selectedFaceForward.xyz;\n float m = max(max(d.x, d.y), d.z);\n float selected = step(0.9999,m);\n outputColor = selected==1. ? selectedColor : mainColor ;\n #if USE_FORWARD_PIPELINE\n return CCFragOutput(outputColor);\n #else\n #if USE_DASHED_LINE\n if (mod(lineDistance, 10.0) > 5.0) {\n discard;\n }\n #endif\n return outputColor;\n #endif\n}\nlayout(location = 0) out vec4 cc_FragColor;\nvoid main() { cc_FragColor = front(); }"
},
"glsl3": {
"vert": "\nprecision mediump float;\nlayout(std140) uniform CCLocal {\n highp mat4 cc_matWorld;\n highp mat4 cc_matWorldIT;\n highp vec4 cc_lightingMapUVParam;\n highp vec4 cc_localShadowBias;\n highp vec4 cc_reflectionProbeData1;\n highp vec4 cc_reflectionProbeData2;\n highp vec4 cc_reflectionProbeBlendData1;\n highp vec4 cc_reflectionProbeBlendData2;\n};\nlayout(std140) uniform CCGlobal {\n highp vec4 cc_time;\n mediump vec4 cc_screenSize;\n mediump vec4 cc_nativeSize;\n mediump vec4 cc_probeInfo;\n mediump vec4 cc_debug_view_mode;\n};\nlayout(std140) uniform CCCamera {\n highp mat4 cc_matView;\n highp mat4 cc_matViewInv;\n highp mat4 cc_matProj;\n highp mat4 cc_matProjInv;\n highp mat4 cc_matViewProj;\n highp mat4 cc_matViewProjInv;\n highp vec4 cc_cameraPos;\n mediump vec4 cc_surfaceTransform;\n mediump vec4 cc_screenScale;\n mediump vec4 cc_exposure;\n mediump vec4 cc_mainLitDir;\n mediump vec4 cc_mainLitColor;\n mediump vec4 cc_ambientSky;\n mediump vec4 cc_ambientGround;\n mediump vec4 cc_fogColor;\n mediump vec4 cc_fogBase;\n mediump vec4 cc_fogAdd;\n mediump vec4 cc_nearFar;\n mediump vec4 cc_viewPort;\n};\nin highp vec3 a_position;\nin vec3 a_normal;\nout vec3 normal;\n#if USE_DASHED_LINE\n in float a_lineDistance;\n out float lineDistance;\n#endif\nvec4 vert () {\n normal = a_normal;\n vec4 pos = cc_matProj * (cc_matView * cc_matWorld) * vec4(a_position, 1);\n pos.z -= 0.000001;\n #if USE_DASHED_LINE\n lineDistance = a_lineDistance;\n #endif\n return pos;\n}\nvoid main() { gl_Position = vert(); }",
"frag": "\nprecision mediump float;\nlayout(std140) uniform CCGlobal {\n highp vec4 cc_time;\n mediump vec4 cc_screenSize;\n mediump vec4 cc_nativeSize;\n mediump vec4 cc_probeInfo;\n mediump vec4 cc_debug_view_mode;\n};\nlayout(std140) uniform CCCamera {\n highp mat4 cc_matView;\n highp mat4 cc_matViewInv;\n highp mat4 cc_matProj;\n highp mat4 cc_matProjInv;\n highp mat4 cc_matViewProj;\n highp mat4 cc_matViewProjInv;\n highp vec4 cc_cameraPos;\n mediump vec4 cc_surfaceTransform;\n mediump vec4 cc_screenScale;\n mediump vec4 cc_exposure;\n mediump vec4 cc_mainLitDir;\n mediump vec4 cc_mainLitColor;\n mediump vec4 cc_ambientSky;\n mediump vec4 cc_ambientGround;\n mediump vec4 cc_fogColor;\n mediump vec4 cc_fogBase;\n mediump vec4 cc_fogAdd;\n mediump vec4 cc_nearFar;\n mediump vec4 cc_viewPort;\n};\nvec4 CCFragOutput (vec4 color) {\n return color;\n}\nin vec3 normal;\nin float lineDistance;\nlayout(std140) uniform Constant {\n vec4 mainColor;\n vec4 selectedColor;\n vec4 selectedFaceForward;\n};\nvec4 front() {\n vec4 outputColor = mainColor;\n vec3 d = normal.xyz * selectedFaceForward.xyz;\n float m = max(max(d.x, d.y), d.z);\n float selected = step(0.9999,m);\n outputColor = selected==1. ? selectedColor : mainColor ;\n #if USE_FORWARD_PIPELINE\n return CCFragOutput(outputColor);\n #else\n #if USE_DASHED_LINE\n if (mod(lineDistance, 10.0) > 5.0) {\n discard;\n }\n #endif\n return outputColor;\n #endif\n}\nlayout(location = 0) out vec4 cc_FragColor;\nvoid main() { cc_FragColor = front(); }"
},
"glsl1": {
"vert": "\nprecision mediump float;\nuniform highp mat4 cc_matWorld;\nuniform highp mat4 cc_matView;\n uniform highp mat4 cc_matProj;\nattribute highp vec3 a_position;\nattribute vec3 a_normal;\nvarying vec3 normal;\n#if USE_DASHED_LINE\n attribute float a_lineDistance;\n varying float lineDistance;\n#endif\nvec4 vert () {\n normal = a_normal;\n vec4 pos = cc_matProj * (cc_matView * cc_matWorld) * vec4(a_position, 1);\n pos.z -= 0.000001;\n #if USE_DASHED_LINE\n lineDistance = a_lineDistance;\n #endif\n return pos;\n}\nvoid main() { gl_Position = vert(); }",
"frag": "\nprecision mediump float;\nvec4 CCFragOutput (vec4 color) {\n return color;\n}\nvarying vec3 normal;\nvarying float lineDistance;\n uniform vec4 mainColor;\n uniform vec4 selectedColor;\n uniform vec4 selectedFaceForward;\nvec4 front() {\n vec4 outputColor = mainColor;\n vec3 d = normal.xyz * selectedFaceForward.xyz;\n float m = max(max(d.x, d.y), d.z);\n float selected = step(0.9999,m);\n outputColor = selected==1. ? selectedColor : mainColor ;\n #if USE_FORWARD_PIPELINE\n return CCFragOutput(outputColor);\n #else\n #if USE_DASHED_LINE\n if (mod(lineDistance, 10.0) > 5.0) {\n discard;\n }\n #endif\n return outputColor;\n #endif\n}\nvoid main() { gl_FragColor = front(); }"
},
"builtins": {
"globals": {
"blocks": [
{
"name": "CCGlobal",
"defines": []
},
{
"name": "CCCamera",
"defines": []
}
],
"samplerTextures": [],
"buffers": [],
"images": []
},
"locals": {
"blocks": [
{
"name": "CCLocal",
"defines": []
}
],
"samplerTextures": [],
"buffers": [],
"images": []
},
"statistics": {
"CC_EFFECT_USED_VERTEX_UNIFORM_VECTORS": 56,
"CC_EFFECT_USED_FRAGMENT_UNIFORM_VECTORS": 45
}
},
"defines": [
{
"name": "USE_DASHED_LINE",
"type": "boolean",
"defines": []
},
{
"name": "USE_FORWARD_PIPELINE",
"type": "boolean",
"defines": []
}
],
"name": "internal/editor/box-height-light|line-vs:vert|line-fs:front"
}
],
"combinations": [],
"hideInEditor": true
}
@@ -0,0 +1,9 @@
{
"__type__": "cc.Texture2D",
"content": {
"base": "2,2,0,0,0,0",
"mipmaps": [
"0855542c-d4dd-4d5c-9790-47d92e19a54e@13936"
]
}
}
@@ -0,0 +1,8 @@
{
"__type__": "cc.ImageAsset",
"content": {
"fmt": "0",
"w": 0,
"h": 0
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 70 B

@@ -0,0 +1,48 @@
{
"__type__": "cc.Material",
"_name": "lambert115",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"_effectAsset": {
"__uuid__": "f648964e-8d32-41fc-9ac9-7a1e714dd17b",
"__expectedType__": "cc.EffectAsset"
},
"_techIdx": 0,
"_defines": [
{
"DCC_APP_NAME": 5
}
],
"_states": [
{
"rasterizerState": {},
"blendState": {
"targets": [
{}
]
},
"depthStencilState": {}
}
],
"_props": [
{
"albedoScale": 0.800000011920929,
"mainColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"emissiveScale": 1,
"emissive": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
}
}
]
}
@@ -0,0 +1,193 @@
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "SM_Bld_Shop_02",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 7
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "SM_Bld_Shop_02",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
}
],
"_prefab": {
"__id__": 6
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.MeshRenderer",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 4
},
"_materials": [
{
"__uuid__": "0855542c-d4dd-4d5c-9790-47d92e19a54e@1b8cb",
"__expectedType__": "cc.Material"
}
],
"_visFlags": 0,
"bakeSettings": {
"__id__": 5
},
"_mesh": {
"__uuid__": "0855542c-d4dd-4d5c-9790-47d92e19a54e@719bd",
"__expectedType__": "cc.Mesh"
},
"_shadowCastingMode": 0,
"_shadowReceivingMode": 1,
"_shadowBias": 0,
"_shadowNormalBias": 0,
"_reflectionProbeId": -1,
"_reflectionProbeBlendId": -1,
"_reflectionProbeBlendWeight": 0,
"_enabledGlobalStandardSkinObject": false,
"_enableMorph": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "2bqiOqOntSFbpO9g1mYu6/"
},
{
"__type__": "cc.ModelBakeSettings",
"texture": null,
"uvParam": {
"__type__": "cc.Vec4",
"x": 0,
"y": 0,
"z": 0,
"w": 0
},
"_bakeable": false,
"_castShadow": false,
"_receiveShadow": false,
"_recieveShadow": false,
"_lightmapSize": 64,
"_useLightProbe": false,
"_bakeToLightProbe": true,
"_reflectionProbeType": 0,
"_bakeToReflectionProbe": true
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "edqmZsYMdW3aK0djGDpLiE",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "e4QFIJ6DFUs6a6WM9lkZac",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
}
]
@@ -0,0 +1,69 @@
{
"__type__": "cc.Mesh",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"_native": ".bin",
"_struct": {
"primitives": [
{
"primitiveMode": 7,
"vertexBundelIndices": [
0
],
"indexView": {
"offset": 57792,
"length": 3792,
"count": 1896,
"stride": 2
}
}
],
"vertexBundles": [
{
"view": {
"offset": 0,
"length": 57792,
"count": 1204,
"stride": 48
},
"attributes": [
{
"name": "a_position",
"format": 32,
"isNormalized": false
},
{
"name": "a_normal",
"format": 32,
"isNormalized": false
},
{
"name": "a_texCoord",
"format": 21,
"isNormalized": false
},
{
"name": "a_tangent",
"format": 44,
"isNormalized": false
}
]
}
],
"minPosition": {
"__type__": "cc.Vec3",
"x": -0.9694342017173767,
"y": -0.3499999940395355,
"z": -0.6789654493331909
},
"maxPosition": {
"__type__": "cc.Vec3",
"x": 0.9694330096244812,
"y": 0.7237316966056824,
"z": 0.6674938797950745
}
},
"_hash": 1384992467,
"_allowDataAccess": true
}
File diff suppressed because one or more lines are too long