mirror of
https://github.com/ifengzp/cocos-awesome.git
synced 2025-04-12 01:51:37 +00:00
1 line
7.5 KiB
JSON
1 line
7.5 KiB
JSON
|
[[{"__type__":"cc.SceneAsset","_name":"Specular_gloss","scene":{"__id__":1},"asyncLoadAssets":null},{"__type__":"cc.Scene","_name":"New Node","_children":[{"__id__":2}],"_anchorPoint":{"__type__":"cc.Vec2"},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]},"autoReleaseAssets":false},{"__type__":"cc.Node","_name":"Canvas","_parent":{"__id__":1},"_children":[{"__id__":3},{"__id__":4},{"__id__":5},{"__id__":6},{"__id__":7}],"_components":[{"__type__":"cc.Canvas","node":{"__id__":2},"_designResolution":{"__type__":"cc.Size","width":1334,"height":750}},{"__type__":"cc.Widget","node":{"__id__":2},"_alignFlags":45}],"_contentSize":{"__type__":"cc.Size","width":1334,"height":750},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[667,375,0,0,0,0,1,1,1,1]},"_id":"a5esZu+45LA5mBpvttspPD"},{"__type__":"cc.Node","_name":"Main Camera","_parent":{"__id__":2},"_components":[{"__type__":"cc.Camera","node":{"__id__":3},"_clearFlags":7,"_depth":-1}],"_contentSize":{"__type__":"cc.Size","width":960,"height":640},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,452.93128617926146,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"bg","_parent":{"__id__":2},"_components":[{"__type__":"cc.Sprite","node":{"__id__":4},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"249SLhaLtAuJfYTNxXe5lx"},"_sizeMode":0},{"__type__":"cc.Widget","node":{"__id__":4},"_alignFlags":45,"_originalWidth":2,"_originalHeight":2}],"_contentSize":{"__type__":"cc.Size","width":1334,"height":750},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"card","_parent":{"__id__":2},"_components":[{"__type__":"cc.Sprite","node":{"__id__":5},"_materials":[{"__uuid__":"85yaF1ZuVPmK0ZVJFXS2UC"}],"_spriteFrame":{"__uuid__":"65cVThJM9FMKTOL8ARlZrR"}}],"_contentSize":{"__type__":"cc.Size","width":497,"height":585},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[225.699,7.947,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"icon","_parent":{"__id__":2},"_components":[{"__type__":"cc.Sprite","node":{"__id__":6},"_materials":[{"__uuid__":"85yaF1ZuVPmK0ZVJFXS2UC"}],"_spriteFrame":{"__uuid__":"80gc6g+olGWZmnFwsXGD38"}}],"_contentSize":{"__type__":"cc.Size","width":88,"height":88},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[-303.182,128.469,0,0,0,0,1,2,2,1]}},{"__type__":"cc.Node","_name":"btn","_parent":{"__id__":2},"_components":[{"__type__":"cc.Sprite","node":{"__id__":7},"_materials":[{"__uuid__":"85yaF1ZuVPmK0ZVJFXS2UC"}],"_spriteFrame":{"__uuid__":"95aLEFT1VC3r9kmguKrlRs"}}],"_contentSize":{"__type__":"cc.Size","width":240,"height":88},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[-296.142,-129.18,0,0,0,0,1,1,1,1]}}],{"__type__":"cc.SpriteFrame","content":{"name":"bg","texture":"68ZHIi9k1Joo5G+vFoqt9c","rect":[0,0,2,2],"offset":[0,0],"originalSize":[2,2],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"card","texture":"8asKJxx01KrYZc/UMWZlWl","rect":[45,23,497,585],"offset":[8.5,4.5],"originalSize":[570,640],"capInsets":[0,0,0,0]}},{"__type__":"cc.EffectAsset","_name":"Specular_gloss","techniques":[{"passes":[{"blendState":{"targets":[{"blend":true}]},"rasterizerState":{"cullMode":0},"properties":{"texture":{"value":"white","type":29},"width":{"value":[0.1],"type":13},"strength":{"value":[1.2],"type":13}},"program":"Specular_gloss|vs|fs"}]}],"shaders":[{"hash":911915250,"glsl3":{"vert":"\nprecision highp float;\nuniform CCGlobal {\n highp vec4 cc_time;\n mediump vec4 cc_screenSize;\n mediump vec4 cc_screenScale;\n mediump vec4 cc_nativeSize;\n highp mat4 cc_matView;\n mediump mat4 cc_matViewInv;\n mediump mat4 cc_matProj;\n mediump mat4 cc_matProjInv;\n mediump mat4 cc_matViewProj;\n mediump mat4 cc_matViewProjInv;\n mediump vec4 cc_cameraPos;\n};\nuniform CCLocal {\n mat4 cc_matWorld;\n mat4 cc_matWorldIT;\n};\nin vec3 a_position;\nin vec4 a_color;\nout vec4 v_color;\n#if USE_TEXTURE\nin vec2 a_uv0;\nout vec2 v_uv0;\n#endif\nvoid main ()
|