Commit 3bfc3cb9 authored by 苏尧华's avatar 苏尧华

111

parent 1698efcf
{"type":"cc.Texture2D","data":"0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|1,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|1,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0|0,9729,9729,33071,33071,0"}
\ No newline at end of file
[{"__type__":"cc.EffectAsset","_name":"builtin-gray-sprite","properties":{"texture":{"type":13,"value":null}},"techniques":[{"passes":[{"cullMode":0,"blend":true,"program":"4c10e7ec534d3f65baabc458cc91fd8dfe66821a283acb75aea070ac"}],"layer":0,"stages":["opaque"],"queue":0,"priority":0}],"shaders":[{"vert":"\n#define _IS_VERT_SHADER 1\n\nprecision highp float;\n\nuniform mat4 cc_matViewProj;\nattribute vec3 a_position;\nattribute mediump vec2 a_uv0;\nvarying mediump vec2 v_uv0;\n\nvoid main () {\n gl_Position = cc_matViewProj * vec4(a_position, 1);\n v_uv0 = a_uv0;\n}\n\n\n","frag":"\n#define _IS_FRAG_SHADER 1\n\nprecision highp float;\n\nuniform sampler2D texture;\nvarying mediump vec2 v_uv0;\n\nvoid main () {\n vec4 color = texture2D(texture, v_uv0);\n #if _USE_ETC1_TEXTURE\n color.a *= texture2D(texture, v_uv0 + vec2(0, 0.5)).r;\n #endif\n float gray = 0.2126*color.r + 0.7152*color.g + 0.0722*color.b;\n gl_FragColor = vec4(gray, gray, gray, color.a);\n}\n\n\n","defines":[{"name":"_USE_ETC1_TEXTURE","type":"boolean","defines":[]}],"uniforms":[{"name":"texture","type":13,"defines":[]}],"attributes":[{"name":"a_position","type":6,"defines":[]},{"name":"a_uv0","type":5,"defines":[]}],"extensions":[],"name":"4c10e7ec534d3f65baabc458cc91fd8dfe66821a283acb75aea070ac"}]},{"__type__":"cc.Material","_name":"builtin-gray-sprite","_effectAsset":{"__uuid__":"14TDKXr2NJ6LjvHPops74o"},"_defines":{},"_props":{}}]
\ No newline at end of file
[{"__type__":"cc.EffectAsset","_name":"builtin-clear-stencil","properties":{},"techniques":[{"passes":[{"cullMode":0,"blend":true,"program":"ecffb93dd8898d482a87ab9b7d996968df31634fee23f1aa5de47906"}],"layer":0,"stages":["opaque"],"queue":0,"priority":0}],"shaders":[{"vert":"\n#define _IS_VERT_SHADER 1\n\nprecision highp float;\n\nattribute vec3 a_position;\n\nvoid main () {\n gl_Position = vec4(a_position, 1);\n}\n\n\n","frag":"\n#define _IS_FRAG_SHADER 1\n\nprecision highp float;\n\nvoid main () {\n gl_FragColor = vec4(1.0);\n}\n\n\n","defines":[],"uniforms":[],"attributes":[{"name":"a_position","type":6,"defines":[]}],"extensions":[],"name":"ecffb93dd8898d482a87ab9b7d996968df31634fee23f1aa5de47906"}]},{"__type__":"cc.Material","_name":"builtin-clear-stencil","_effectAsset":{"__uuid__":"c0BAyVxX9JzZy8EjFrc9DU"},"_defines":{},"_props":{}}]
\ No newline at end of file
{"__type__":"cc.JsonAsset","_name":"weaponData","json":[{"Lv":[0,1],"weaponAttributes1_1":[[0.1,1],[1,20],[0.5,1]],"weaponAttributes1_2":[[1,80],[1,20]],"weaponAttributes2_1":[[0.5,1],[1,20],[0.5,1]],"weaponAttributes2_2":[[1,80],[1,20]],"weaponAttributes3_1":[[0.5,1],[1,20],[0.5,0.5]],"weaponAttributes3_2":[[1,80],[1,20]],"weaponAttributes4_1":[[1,1],[1,20]],"weaponAttributes4_2":[[1,80],[1,20]],"weaponAttributes5_1":[[1,1],[1,20]],"weaponAttributes5_2":[[1,80],[1,20]],"weaponAttributes6_1":[[1,1],[1,20]],"weaponAttributes6_2":[[1,80],[1,20]],"weaponAttributes7_1":[[1,1],[1,20]],"weaponAttributes7_2":[[1,80],[1,20]]},{"Lv":[2,3],"weaponAttributes1_1":[[0.1,1],[1,20],[0.5,1]],"weaponAttributes1_2":[[1,16],[2,0]],"weaponAttributes2_1":[[0.5,1],[1,20],[0.5,1]],"weaponAttributes2_2":[[1,16],[2,0]],"weaponAttributes3_1":[[0.5,1],[1,20],[0.5,0.5]],"weaponAttributes3_2":[[1,16],[2,0]],"weaponAttributes4_1":[[1,0.09],[2,0]],"weaponAttributes4_2":[[1,16],[2,0]],"weaponAttributes5_1":[[1,0.09],[2,0]],"weaponAttributes5_2":[[1,16],[2,0]],"weaponAttributes6_1":[[1,0.09],[2,0]],"weaponAttributes6_2":[[1,16],[2,0]],"weaponAttributes7_1":[[1,0.09],[2,0]],"weaponAttributes7_2":[[1,16],[2,0]]},{"Lv":[4,5],"weaponAttributes1_1":[[0.1,1],[1,20],[0.5,1]],"weaponAttributes1_2":[[1,16],[1.8,0]],"weaponAttributes2_1":[[0.5,1],[1,20],[0.5,1]],"weaponAttributes2_2":[[1,16],[1.8,0]],"weaponAttributes3_1":[[0.5,1],[1,20],[0.5,0.5]],"weaponAttributes3_2":[[1,16],[1.8,0]],"weaponAttributes4_1":[[1,0.09],[1.8,0]],"weaponAttributes4_2":[[1,16],[1.8,0]],"weaponAttributes5_1":[[1,0.09],[1.8,0]],"weaponAttributes5_2":[[1,16],[1.8,0]],"weaponAttributes6_1":[[1,0.09],[1.8,0]],"weaponAttributes6_2":[[1,16],[1.8,0]],"weaponAttributes7_1":[[1,0.09],[1.8,0]],"weaponAttributes7_2":[[1,16],[1.8,0]]},{"Lv":[6,7],"weaponAttributes1_1":[[0.1,1],[1,20],[0.1,1]],"weaponAttributes1_2":[[1,16],[1.7,0]],"weaponAttributes2_1":[[1,0.09],[1.7,0]],"weaponAttributes2_2":[[1,16],[1.7,0]],"weaponAttributes3_1":[[1,0.09],[1.7,0]],"weaponAttributes3_2":[[1,16],[1.7,0]],"weaponAttributes4_1":[[1,0.09],[1.7,0]],"weaponAttributes4_2":[[1,16],[1.7,0]],"weaponAttributes5_1":[[1,0.09],[1.7,0]],"weaponAttributes5_2":[[1,16],[1.7,0]],"weaponAttributes6_1":[[1,0.09],[1.7,0]],"weaponAttributes6_2":[[1,16],[1.7,0]],"weaponAttributes7_1":[[1,0.09],[1.7,0]],"weaponAttributes7_2":[[1,16],[1.7,0]]},{"Lv":[8,9],"weaponAttributes1_1":[[1,0.09],[1.7,0]],"weaponAttributes1_2":[[1,16],[1.6,0]],"weaponAttributes2_1":[[1,0.09],[1.7,0]],"weaponAttributes2_2":[[1,16],[1.6,0]],"weaponAttributes3_1":[[1,0.09],[1.7,0]],"weaponAttributes3_2":[[1,16],[1.6,0]],"weaponAttributes4_1":[[1,0.09],[1.7,0]],"weaponAttributes4_2":[[1,16],[1.6,0]],"weaponAttributes5_1":[[1,0.09],[1.7,0]],"weaponAttributes5_2":[[1,16],[1.6,0]],"weaponAttributes6_1":[[1,0.09],[1.7,0]],"weaponAttributes6_2":[[1,16],[1.6,0]],"weaponAttributes7_1":[[1,0.09],[1.7,0]],"weaponAttributes7_2":[[1,16],[1.6,0]]},{"Lv":[10,11],"weaponAttributes1_1":[[1,0.09],[1.7,0]],"weaponAttributes1_2":[[1,16],[1.5,0]],"weaponAttributes2_1":[[1,0.09],[1.7,0]],"weaponAttributes2_2":[[1,16],[1.5,0]],"weaponAttributes3_1":[[1,0.09],[1.7,0]],"weaponAttributes3_2":[[1,16],[1.5,0]],"weaponAttributes4_1":[[1,0.09],[1.7,0]],"weaponAttributes4_2":[[1,16],[1.5,0]],"weaponAttributes5_1":[[1,0.09],[1.7,0]],"weaponAttributes5_2":[[1,16],[1.5,0]],"weaponAttributes6_1":[[1,0.09],[1.7,0]],"weaponAttributes6_2":[[1,16],[1.5,0]],"weaponAttributes7_1":[[1,0.09],[1.7,0]],"weaponAttributes7_2":[[1,16],[1.5,0]]},{"Lv":[12,19],"weaponAttributes1_1":[[1,0.09],[1.7,0]],"weaponAttributes1_2":[[1,16],[1.3,0]],"weaponAttributes2_1":[[1,0.09],[1.7,0]],"weaponAttributes2_2":[[1,16],[1.3,0]],"weaponAttributes3_1":[[1,0.09],[1.7,0]],"weaponAttributes3_2":[[1,16],[1.3,0]],"weaponAttributes4_1":[[1,0.09],[1.7,0]],"weaponAttributes4_2":[[1,16],[1.3,0]],"weaponAttributes5_1":[[1,0.09],[1.7,0]],"weaponAttributes5_2":[[1,16],[1.3,0]],"weaponAttributes6_1":[[1,0.09],[1.7,0]],"weaponAttributes6_2":[[1,16],[1.3,0]],"weaponAttributes7_1":[[1,0.09],[1.7,0]],"weaponAttributes7_2":[[1,16],[1.3,0]]},{"Lv":[20,29],"weaponAttributes1_1":[[1,0.09],[1.7,0]],"weaponAttributes1_2":[[1,16],[1.2,0]],"weaponAttributes2_1":[[1,0.09],[1.7,0]],"weaponAttributes2_2":[[1,16],[1.2,0]],"weaponAttributes3_1":[[1,0.09],[1.7,0]],"weaponAttributes3_2":[[1,16],[1.2,0]],"weaponAttributes4_1":[[1,0.09],[1.7,0]],"weaponAttributes4_2":[[1,16],[1.2,0]],"weaponAttributes5_1":[[1,0.09],[1.7,0]],"weaponAttributes5_2":[[1,16],[1.2,0]],"weaponAttributes6_1":[[1,0.09],[1.7,0]],"weaponAttributes6_2":[[1,16],[1.2,0]],"weaponAttributes7_1":[[1,0.09],[1.7,0]],"weaponAttributes7_2":[[1,16],[1.2,0]]},{"Lv":[30,39],"weaponAttributes1_1":[[1,0.09],[1.7,0]],"weaponAttributes1_2":[[1,16],[1.1,0]],"weaponAttributes2_1":[[1,0.09],[1.7,0]],"weaponAttributes2_2":[[1,16],[1.1,0]],"weaponAttributes3_1":[[1,0.09],[1.7,0]],"weaponAttributes3_2":[[1,16],[1.1,0]],"weaponAttributes4_1":[[1,0.09],[1.7,0]],"weaponAttributes4_2":[[1,16],[1.1,0]],"weaponAttributes5_1":[[1,0.09],[1.7,0]],"weaponAttributes5_2":[[1,16],[1.1,0]],"weaponAttributes6_1":[[1,0.09],[1.7,0]],"weaponAttributes6_2":[[1,16],[1.1,0]],"weaponAttributes7_1":[[1,0.09],[1.7,0]],"weaponAttributes7_2":[[1,16],[1.1,0]]},{"Lv":[40,49],"weaponAttributes1_1":[[1,0.09],[1.7,0]],"weaponAttributes1_2":[[1,16],[1.08,0]],"weaponAttributes2_1":[[1,0.09],[1.7,0]],"weaponAttributes2_2":[[1,16],[1.08,0]],"weaponAttributes3_1":[[1,0.09],[1.7,0]],"weaponAttributes3_2":[[1,16],[1.08,0]],"weaponAttributes4_1":[[1,0.09],[1.7,0]],"weaponAttributes4_2":[[1,16],[1.08,0]],"weaponAttributes5_1":[[1,0.09],[1.7,0]],"weaponAttributes5_2":[[1,16],[1.08,0]],"weaponAttributes6_1":[[1,0.09],[1.7,0]],"weaponAttributes6_2":[[1,16],[1.08,0]],"weaponAttributes7_1":[[1,0.09],[1.7,0]],"weaponAttributes7_2":[[1,16],[1.08,0]]}]}
\ No newline at end of file
[{"__type__":"cc.EffectAsset","_name":"builtin-sprite","properties":{"texture":{"type":13,"value":null},"alphaThreshold":{"value":0.5}},"techniques":[{"passes":[{"cullMode":0,"blend":true,"program":"cea1abc1cddcfe17654f435ec4a977f72769819d4d7c0460b90eedb5"}],"layer":0,"stages":["opaque"],"queue":0,"priority":0}],"shaders":[{"vert":"\n#define _IS_VERT_SHADER 1\n\nprecision highp float;\n\nuniform mat4 cc_matViewProj;\n\n#if _USE_MODEL\n uniform mat4 cc_matWorld;\n#endif\n\nattribute vec3 a_position;\nattribute lowp vec4 a_color;\n\n#if USE_TEXTURE\n attribute mediump vec2 a_uv0;\n varying mediump vec2 v_uv0;\n#endif\n\nvarying lowp vec4 v_color;\n\nvoid main () {\n mat4 mvp;\n \n #if _USE_MODEL\n mvp = cc_matViewProj * cc_matWorld;\n #else\n mvp = cc_matViewProj;\n #endif\n\n #if USE_TEXTURE\n v_uv0 = a_uv0;\n #endif\n\n v_color = a_color;\n\n gl_Position = mvp * vec4(a_position, 1);\n}\n\n\n","frag":"\n#define _IS_FRAG_SHADER 1\n\nprecision highp float;\n\n#if USE_TEXTURE\n uniform sampler2D texture;\n varying mediump vec2 v_uv0;\n#endif\n\n#if USE_ALPHA_TEST\n uniform float alphaThreshold;\n#endif\n\nvoid ALPHA_TEST (in vec4 color) {\n #if USE_ALPHA_TEST\n if (color.a < alphaThreshold) discard;\n #endif\n}\n\nvoid ALPHA_TEST (in float alpha) {\n #if USE_ALPHA_TEST\n if (alpha < alphaThreshold) discard;\n #endif\n}\n\nvarying lowp vec4 v_color;\n\nvoid main () {\n vec4 color = v_color;\n\n #if USE_TEXTURE\n color *= texture2D(texture, v_uv0);\n #if _USE_ETC1_TEXTURE\n color.a *= texture2D(texture, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #endif\n\n ALPHA_TEST(color);\n\n gl_FragColor = color;\n}\n\n\n","defines":[{"name":"_USE_MODEL","type":"boolean","defines":[]},{"name":"USE_TEXTURE","type":"boolean","defines":[]},{"name":"USE_ALPHA_TEST","type":"boolean","defines":[]},{"name":"_USE_ETC1_TEXTURE","type":"boolean","defines":["USE_TEXTURE"]}],"uniforms":[{"name":"texture","type":13,"defines":["USE_TEXTURE"]},{"name":"alphaThreshold","type":4,"property":true,"defines":["USE_ALPHA_TEST"]}],"attributes":[{"name":"a_position","type":6,"defines":[]},{"name":"a_color","type":7,"defines":[]},{"name":"a_uv0","type":5,"defines":["USE_TEXTURE"]}],"extensions":[],"name":"cea1abc1cddcfe17654f435ec4a977f72769819d4d7c0460b90eedb5"}]},{"__type__":"cc.Material","_name":"builtin-sprite","_effectAsset":{"__uuid__":"28dPjdQWxEQIG3VVl1Qm6T"},"_defines":{},"_props":{}}]
\ No newline at end of file
[{"__type__":"cc.EffectAsset","_name":"builtin-spine","properties":{"texture":{"type":13,"value":null},"alphaThreshold":{"value":0.5}},"techniques":[{"passes":[{"cullMode":0,"blend":true,"program":"7b385aeea63c6235fbf39dd4bf009f23c884ecc0ebb6dcef392ae264"}],"layer":0,"stages":["opaque"],"queue":0,"priority":0}],"shaders":[{"vert":"\n#define _IS_VERT_SHADER 1\n\nprecision highp float;\n\nuniform mat4 cc_matViewProj;\n\n#if _USE_MODEL\n uniform mat4 cc_matWorld;\n#endif\n\nattribute vec3 a_position;\nattribute lowp vec4 a_color;\n#if USE_TINT\n attribute lowp vec4 a_color0;\n#endif\n\nattribute mediump vec2 a_uv0;\nvarying mediump vec2 v_uv0;\n\nvarying lowp vec4 v_light;\n#if USE_TINT\n varying lowp vec4 v_dark;\n#endif\n\nvoid main () {\n mat4 mvp;\n \n #if _USE_MODEL\n mvp = cc_matViewProj * cc_matWorld;\n #else\n mvp = cc_matViewProj;\n #endif\n\n v_uv0 = a_uv0;\n\n v_light = a_color;\n #if USE_TINT\n v_dark = a_color0;\n #endif\n\n gl_Position = mvp * vec4(a_position, 1);\n}\n\n\n","frag":"\n#define _IS_FRAG_SHADER 1\n\nprecision highp float;\n\nuniform sampler2D texture;\nvarying mediump vec2 v_uv0;\n\n#if USE_ALPHA_TEST\n uniform float alphaThreshold;\n#endif\n\nvoid ALPHA_TEST (in vec4 color) {\n #if USE_ALPHA_TEST\n if (color.a < alphaThreshold) discard;\n #endif\n}\n\nvoid ALPHA_TEST (in float alpha) {\n #if USE_ALPHA_TEST\n if (alpha < alphaThreshold) discard;\n #endif\n}\n\nvarying lowp vec4 v_light;\n#if USE_TINT\n varying lowp vec4 v_dark;\n#endif\n\nvoid main () {\n vec4 texColor = texture2D(texture, v_uv0);\n #if _USE_ETC1_TEXTURE\n texColor.a *= texture2D(texture, v_uv0 + vec2(0, 0.5)).r;\n #endif\n vec4 finalColor;\n\n #if USE_TINT\n finalColor.a = v_light.a * texColor.a;\n finalColor.rgb = ((texColor.a - 1.0) * v_dark.a + 1.0 - texColor.rgb) * v_dark.rgb + texColor.rgb * v_light.rgb;\n #else\n finalColor = texColor * v_light;\n #endif\n\n ALPHA_TEST(finalColor);\n\n gl_FragColor = finalColor;\n}\n\n\n","defines":[{"name":"_USE_MODEL","type":"boolean","defines":[]},{"name":"USE_TINT","type":"boolean","defines":[]},{"name":"USE_ALPHA_TEST","type":"boolean","defines":[]},{"name":"_USE_ETC1_TEXTURE","type":"boolean","defines":[]}],"uniforms":[{"name":"texture","type":13,"defines":[]},{"name":"alphaThreshold","type":4,"property":true,"defines":["USE_ALPHA_TEST"]}],"attributes":[{"name":"a_position","type":6,"defines":[]},{"name":"a_color","type":7,"defines":[]},{"name":"a_color0","type":7,"defines":["USE_TINT"]},{"name":"a_uv0","type":5,"defines":[]}],"extensions":[],"name":"7b385aeea63c6235fbf39dd4bf009f23c884ecc0ebb6dcef392ae264"}]},{"__type__":"cc.Material","_name":"builtin-spine","_effectAsset":{"__uuid__":"0ek66qC1NOQLjgYmi04HvX"},"_defines":{},"_props":{}}]
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment