init
This commit is contained in:
@@ -0,0 +1,535 @@
|
||||
{
|
||||
"__type__": "cc.EffectAsset",
|
||||
"_name": "for2d/builtin-spine",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_native": "",
|
||||
"techniques": [
|
||||
{
|
||||
"passes": [
|
||||
{
|
||||
"blendState": {
|
||||
"targets": [
|
||||
{
|
||||
"blend": true,
|
||||
"blendSrc": 2,
|
||||
"blendDst": 4,
|
||||
"blendDstAlpha": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"rasterizerState": {
|
||||
"cullMode": 0
|
||||
},
|
||||
"program": "for2d/builtin-spine|sprite-vs:vert|sprite-fs:frag",
|
||||
"depthStencilState": {
|
||||
"depthTest": false,
|
||||
"depthWrite": false
|
||||
},
|
||||
"properties": {
|
||||
"alphaThreshold": {
|
||||
"value": [
|
||||
0.5
|
||||
],
|
||||
"type": 13
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"shaders": [
|
||||
{
|
||||
"blocks": [
|
||||
{
|
||||
"name": "ALPHA_TEST_DATA",
|
||||
"members": [
|
||||
{
|
||||
"name": "alphaThreshold",
|
||||
"type": 13,
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"defines": [
|
||||
"USE_ALPHA_TEST"
|
||||
],
|
||||
"stageFlags": 16,
|
||||
"binding": 0
|
||||
}
|
||||
],
|
||||
"samplerTextures": [],
|
||||
"samplers": [],
|
||||
"textures": [],
|
||||
"buffers": [],
|
||||
"images": [],
|
||||
"subpassInputs": [],
|
||||
"attributes": [
|
||||
{
|
||||
"name": "a_position",
|
||||
"defines": [],
|
||||
"format": 32,
|
||||
"location": 0
|
||||
},
|
||||
{
|
||||
"name": "a_texCoord",
|
||||
"defines": [],
|
||||
"format": 21,
|
||||
"location": 1
|
||||
},
|
||||
{
|
||||
"name": "a_color",
|
||||
"defines": [],
|
||||
"format": 44,
|
||||
"location": 2
|
||||
},
|
||||
{
|
||||
"name": "a_color2",
|
||||
"defines": [
|
||||
"TWO_COLORED"
|
||||
],
|
||||
"format": 44,
|
||||
"location": 3
|
||||
}
|
||||
],
|
||||
"varyings": [
|
||||
{
|
||||
"name": "v_light",
|
||||
"type": 16,
|
||||
"count": 1,
|
||||
"defines": [],
|
||||
"stageFlags": 17,
|
||||
"location": 0
|
||||
},
|
||||
{
|
||||
"name": "uv0",
|
||||
"type": 14,
|
||||
"count": 1,
|
||||
"defines": [],
|
||||
"stageFlags": 17,
|
||||
"location": 1
|
||||
},
|
||||
{
|
||||
"name": "v_dark",
|
||||
"type": 16,
|
||||
"count": 1,
|
||||
"defines": [
|
||||
"TWO_COLORED"
|
||||
],
|
||||
"stageFlags": 17,
|
||||
"location": 2
|
||||
}
|
||||
],
|
||||
"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": [
|
||||
"USE_LOCAL"
|
||||
],
|
||||
"stageFlags": 1
|
||||
}
|
||||
],
|
||||
"samplerTextures": [
|
||||
{
|
||||
"tags": {
|
||||
"builtin": "local"
|
||||
},
|
||||
"name": "cc_spriteTexture",
|
||||
"typename": "sampler2D",
|
||||
"type": 28,
|
||||
"count": 1,
|
||||
"defines": [],
|
||||
"stageFlags": 16
|
||||
}
|
||||
],
|
||||
"samplers": [],
|
||||
"textures": [],
|
||||
"buffers": [],
|
||||
"images": [],
|
||||
"subpassInputs": []
|
||||
},
|
||||
{
|
||||
"rate": 1,
|
||||
"blocks": [
|
||||
{
|
||||
"name": "ALPHA_TEST_DATA",
|
||||
"members": [
|
||||
{
|
||||
"name": "alphaThreshold",
|
||||
"type": 13,
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"defines": [
|
||||
"USE_ALPHA_TEST"
|
||||
],
|
||||
"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": 1
|
||||
},
|
||||
{
|
||||
"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": 1
|
||||
}
|
||||
],
|
||||
"samplerTextures": [],
|
||||
"samplers": [],
|
||||
"textures": [],
|
||||
"buffers": [],
|
||||
"images": [],
|
||||
"subpassInputs": []
|
||||
}
|
||||
],
|
||||
"hash": 3152403458,
|
||||
"glsl4": {
|
||||
"vert": "\nprecision highp 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};\n#if USE_LOCAL\n layout(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 };\n#endif\nlayout(location = 0) in vec3 a_position;\nlayout(location = 1) in vec2 a_texCoord;\nlayout(location = 2) in vec4 a_color;\nlayout(location = 0) out vec4 v_light;\nlayout(location = 1) out vec2 uv0;\n#if TWO_COLORED\n layout(location = 3) in vec4 a_color2;\n layout(location = 2) out vec4 v_dark;\n#endif\nvec4 vert () {\n vec4 pos = vec4(a_position, 1);\n #if USE_LOCAL\n pos = cc_matWorld * pos;\n #endif\n pos = cc_matViewProj * pos;\n uv0 = a_texCoord;\n v_light = a_color;\n #if TWO_COLORED\n v_dark = a_color2;\n #endif\n return pos;\n}\nvoid main() { gl_Position = vert(); }",
|
||||
"frag": "\nprecision highp float;\n#if USE_ALPHA_TEST\n layout(set = 1, binding = 0) uniform ALPHA_TEST_DATA {\n float alphaThreshold;\n };\n#endif\nvoid ALPHA_TEST (in vec4 color) {\n #if USE_ALPHA_TEST\n if (color.a < alphaThreshold) discard;\n #endif\n}\nvoid ALPHA_TEST (in float alpha) {\n #if USE_ALPHA_TEST\n if (alpha < alphaThreshold) discard;\n #endif\n}\nlayout(location = 0) in vec4 v_light;\n#if TWO_COLORED\n layout(location = 2) in vec4 v_dark;\n#endif\nlayout(location = 1) in vec2 uv0;\nlayout(set = 2, binding = 12) uniform sampler2D cc_spriteTexture;\nvec4 frag () {\n vec4 o = vec4(1, 1, 1, 1);\n #if TWO_COLORED\n vec4 texColor = vec4(1, 1, 1, 1);\n texColor *= texture(cc_spriteTexture, uv0);\n o.a = texColor.a * v_light.a;\n o.rgb = ((texColor.a - 1.0) * v_dark.a + 1.0 - texColor.rgb) * v_dark.rgb + texColor.rgb * v_light.rgb;\n #else\n o *= texture(cc_spriteTexture, uv0);\n o *= v_light;\n #endif\n ALPHA_TEST(o);\n return o;\n}\nlayout(location = 0) out vec4 cc_FragColor;\nvoid main() { cc_FragColor = frag(); }"
|
||||
},
|
||||
"glsl3": {
|
||||
"vert": "\nprecision highp 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};\n#if USE_LOCAL\n layout(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 };\n#endif\nin vec3 a_position;\nin vec2 a_texCoord;\nin vec4 a_color;\nout vec4 v_light;\nout vec2 uv0;\n#if TWO_COLORED\n in vec4 a_color2;\n out vec4 v_dark;\n#endif\nvec4 vert () {\n vec4 pos = vec4(a_position, 1);\n #if USE_LOCAL\n pos = cc_matWorld * pos;\n #endif\n pos = cc_matViewProj * pos;\n uv0 = a_texCoord;\n v_light = a_color;\n #if TWO_COLORED\n v_dark = a_color2;\n #endif\n return pos;\n}\nvoid main() { gl_Position = vert(); }",
|
||||
"frag": "\nprecision highp float;\n#if USE_ALPHA_TEST\n layout(std140) uniform ALPHA_TEST_DATA {\n float alphaThreshold;\n };\n#endif\nvoid ALPHA_TEST (in vec4 color) {\n #if USE_ALPHA_TEST\n if (color.a < alphaThreshold) discard;\n #endif\n}\nvoid ALPHA_TEST (in float alpha) {\n #if USE_ALPHA_TEST\n if (alpha < alphaThreshold) discard;\n #endif\n}\nin vec4 v_light;\n#if TWO_COLORED\n in vec4 v_dark;\n#endif\nin vec2 uv0;\nuniform sampler2D cc_spriteTexture;\nvec4 frag () {\n vec4 o = vec4(1, 1, 1, 1);\n #if TWO_COLORED\n vec4 texColor = vec4(1, 1, 1, 1);\n texColor *= texture(cc_spriteTexture, uv0);\n o.a = texColor.a * v_light.a;\n o.rgb = ((texColor.a - 1.0) * v_dark.a + 1.0 - texColor.rgb) * v_dark.rgb + texColor.rgb * v_light.rgb;\n #else\n o *= texture(cc_spriteTexture, uv0);\n o *= v_light;\n #endif\n ALPHA_TEST(o);\n return o;\n}\nlayout(location = 0) out vec4 cc_FragColor;\nvoid main() { cc_FragColor = frag(); }"
|
||||
},
|
||||
"glsl1": {
|
||||
"vert": "\nprecision highp float;\nuniform highp mat4 cc_matViewProj;\n#if USE_LOCAL\n uniform highp mat4 cc_matWorld;\n#endif\nattribute vec3 a_position;\nattribute vec2 a_texCoord;\nattribute vec4 a_color;\nvarying vec4 v_light;\nvarying vec2 uv0;\n#if TWO_COLORED\n attribute vec4 a_color2;\n varying vec4 v_dark;\n#endif\nvec4 vert () {\n vec4 pos = vec4(a_position, 1);\n #if USE_LOCAL\n pos = cc_matWorld * pos;\n #endif\n pos = cc_matViewProj * pos;\n uv0 = a_texCoord;\n v_light = a_color;\n #if TWO_COLORED\n v_dark = a_color2;\n #endif\n return pos;\n}\nvoid main() { gl_Position = vert(); }",
|
||||
"frag": "\nprecision highp float;\n#if USE_ALPHA_TEST\n uniform float alphaThreshold;\n#endif\nvoid ALPHA_TEST (in vec4 color) {\n #if USE_ALPHA_TEST\n if (color.a < alphaThreshold) discard;\n #endif\n}\nvoid ALPHA_TEST (in float alpha) {\n #if USE_ALPHA_TEST\n if (alpha < alphaThreshold) discard;\n #endif\n}\nvarying vec4 v_light;\n#if TWO_COLORED\n varying vec4 v_dark;\n#endif\nvarying vec2 uv0;\nuniform sampler2D cc_spriteTexture;\nvec4 frag () {\n vec4 o = vec4(1, 1, 1, 1);\n #if TWO_COLORED\n vec4 texColor = vec4(1, 1, 1, 1);\n texColor *= texture2D(cc_spriteTexture, uv0);\n o.a = texColor.a * v_light.a;\n o.rgb = ((texColor.a - 1.0) * v_dark.a + 1.0 - texColor.rgb) * v_dark.rgb + texColor.rgb * v_light.rgb;\n #else\n o *= texture2D(cc_spriteTexture, uv0);\n o *= v_light;\n #endif\n ALPHA_TEST(o);\n return o;\n}\nvoid main() { gl_FragColor = frag(); }"
|
||||
},
|
||||
"builtins": {
|
||||
"globals": {
|
||||
"blocks": [
|
||||
{
|
||||
"name": "CCGlobal",
|
||||
"defines": []
|
||||
},
|
||||
{
|
||||
"name": "CCCamera",
|
||||
"defines": []
|
||||
}
|
||||
],
|
||||
"samplerTextures": [],
|
||||
"buffers": [],
|
||||
"images": []
|
||||
},
|
||||
"locals": {
|
||||
"blocks": [
|
||||
{
|
||||
"name": "CCLocal",
|
||||
"defines": [
|
||||
"USE_LOCAL"
|
||||
]
|
||||
}
|
||||
],
|
||||
"samplerTextures": [
|
||||
{
|
||||
"name": "cc_spriteTexture",
|
||||
"defines": []
|
||||
}
|
||||
],
|
||||
"buffers": [],
|
||||
"images": []
|
||||
},
|
||||
"statistics": {
|
||||
"CC_EFFECT_USED_VERTEX_UNIFORM_VECTORS": 56,
|
||||
"CC_EFFECT_USED_FRAGMENT_UNIFORM_VECTORS": 1
|
||||
}
|
||||
},
|
||||
"defines": [
|
||||
{
|
||||
"name": "USE_LOCAL",
|
||||
"type": "boolean",
|
||||
"defines": []
|
||||
},
|
||||
{
|
||||
"name": "TWO_COLORED",
|
||||
"type": "boolean",
|
||||
"defines": []
|
||||
},
|
||||
{
|
||||
"name": "USE_ALPHA_TEST",
|
||||
"type": "boolean",
|
||||
"defines": []
|
||||
}
|
||||
],
|
||||
"name": "for2d/builtin-spine|sprite-vs:vert|sprite-fs:frag"
|
||||
}
|
||||
],
|
||||
"combinations": [],
|
||||
"hideInEditor": false
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"__type__": "cc.ImageAsset",
|
||||
"content": {
|
||||
"fmt": "0",
|
||||
"w": 0,
|
||||
"h": 0
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"__type__": "cc.Texture2D",
|
||||
"content": {
|
||||
"base": "2,2,2,2,1,0",
|
||||
"mipmaps": [
|
||||
"c27d623b-c777-478a-a318-301db259ec05"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
{
|
||||
"__type__": "cc.SpriteFrame",
|
||||
"content": {
|
||||
"name": "BTN_MiaoZhun",
|
||||
"atlas": "",
|
||||
"rect": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 275,
|
||||
"height": 277
|
||||
},
|
||||
"offset": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"originalSize": {
|
||||
"width": 275,
|
||||
"height": 277
|
||||
},
|
||||
"rotated": false,
|
||||
"capInsets": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-137.5,
|
||||
-138.5,
|
||||
0,
|
||||
137.5,
|
||||
-138.5,
|
||||
0,
|
||||
-137.5,
|
||||
138.5,
|
||||
0,
|
||||
137.5,
|
||||
138.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
0,
|
||||
277,
|
||||
275,
|
||||
277,
|
||||
0,
|
||||
0,
|
||||
275,
|
||||
0
|
||||
],
|
||||
"nuv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"minPos": {
|
||||
"x": -137.5,
|
||||
"y": -138.5,
|
||||
"z": 0
|
||||
},
|
||||
"maxPos": {
|
||||
"x": 137.5,
|
||||
"y": 138.5,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
"texture": "c27d623b-c777-478a-a318-301db259ec05@6c48a",
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivot": {
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"meshType": 0
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,193 @@
|
||||
[
|
||||
{
|
||||
"__type__": "cc.Prefab",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_native": "",
|
||||
"data": {
|
||||
"__id__": 1
|
||||
},
|
||||
"optimizationPolicy": 0,
|
||||
"persistent": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "SM_Tile_Hex_Road_Grass_017",
|
||||
"_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_Tile_Hex_Road_Grass_017",
|
||||
"_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__": "c28d2bc2-94b2-4d4d-99af-f248bdec839e@56820",
|
||||
"__expectedType__": "cc.Material"
|
||||
}
|
||||
],
|
||||
"_visFlags": 0,
|
||||
"bakeSettings": {
|
||||
"__id__": 5
|
||||
},
|
||||
"_mesh": {
|
||||
"__uuid__": "c28d2bc2-94b2-4d4d-99af-f248bdec839e@34294",
|
||||
"__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": "2csxgoqa9RJZUakaT/eyZ4"
|
||||
},
|
||||
{
|
||||
"__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": "b6CVZyCP9ZP7jZNofHAztJ",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "0cH7Bp8d9elJWcdc6Y0i8c",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
}
|
||||
]
|
||||
Binary file not shown.
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"__type__": "cc.Mesh",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_native": ".bin",
|
||||
"_struct": {
|
||||
"primitives": [
|
||||
{
|
||||
"primitiveMode": 7,
|
||||
"vertexBundelIndices": [
|
||||
0
|
||||
],
|
||||
"indexView": {
|
||||
"offset": 12528,
|
||||
"length": 768,
|
||||
"count": 384,
|
||||
"stride": 2
|
||||
}
|
||||
}
|
||||
],
|
||||
"vertexBundles": [
|
||||
{
|
||||
"view": {
|
||||
"offset": 0,
|
||||
"length": 12528,
|
||||
"count": 261,
|
||||
"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": -2.8870849609375,
|
||||
"y": -0.4314727783203125,
|
||||
"z": -2.5003795623779297
|
||||
},
|
||||
"maxPosition": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 2.8870849609375,
|
||||
"y": 0.04277924448251724,
|
||||
"z": 2.500379800796509
|
||||
}
|
||||
},
|
||||
"_hash": 1956766695,
|
||||
"_allowDataAccess": true
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"__type__": "cc.Material",
|
||||
"_name": "lambert101",
|
||||
"_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,9 @@
|
||||
{
|
||||
"__type__": "cc.Texture2D",
|
||||
"content": {
|
||||
"base": "2,2,0,0,0,0",
|
||||
"mipmaps": [
|
||||
"c28d2bc2-94b2-4d4d-99af-f248bdec839e@9b723"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"__type__": "cc.ImageAsset",
|
||||
"content": {
|
||||
"fmt": "0",
|
||||
"w": 0,
|
||||
"h": 0
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 70 B |
Reference in New Issue
Block a user