外发光demo优化

This commit is contained in:
caizhitao 2019-12-25 22:45:22 +08:00
parent d2b94a8d7f
commit 1da4d79a7a
2 changed files with 24 additions and 24 deletions

View File

@ -92,8 +92,8 @@ CCProgram vs %{
// // y轴压缩 // // y轴压缩
// v_uv0 = a_uv0 * vec2(1.0, 2.0); // v_uv0 = a_uv0 * vec2(1.0, 2.0);
// v_uv0 = clamp(a_uv0 + vec2(0.5, 0.0), vec2(0.0, 0.0), vec2(1.0, 1.0)); // 先缩小一倍,然后在移动回去中间
// v_uv0 = a_uv0 * vec2(2.0, 2.0) + vec2(-0.5, -0.5); // v_uv0 = a_uv0 * 2.0 - 0.5;
#endif #endif
v_color = a_color; v_color = a_color;

View File

@ -171,7 +171,7 @@
"array": [ "array": [
0, 0,
0, 0,
418.2902700278839, 351.60631393648214,
0, 0,
0, 0,
0, 0,
@ -5183,8 +5183,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 384.0000000000002, "width": 384,
"height": 270 "height": 518
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@ -5195,8 +5195,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-132.038, 288,
679.166, 0,
0, 0,
0, 0,
0, 0,
@ -5228,7 +5228,7 @@
"__id__": 114 "__id__": 114
}, },
"_children": [], "_children": [],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 116 "__id__": 116
@ -5258,7 +5258,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
-30, 229,
0, 0,
0, 0,
0, 0,
@ -5351,8 +5351,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-1005.506,
0, 0,
34,
0, 0,
0, 0,
0, 0,
@ -5510,7 +5510,7 @@
"__id__": 114 "__id__": 114
}, },
"_children": [], "_children": [],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 122 "__id__": 122
@ -5540,7 +5540,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
-559, -156,
0, 0,
0, 0,
0, 0,
@ -5696,7 +5696,7 @@
"__id__": 114 "__id__": 114
}, },
"_children": [], "_children": [],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 126 "__id__": 126
@ -5713,8 +5713,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 167.5, "width": 201,
"height": 33.33 "height": 48
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@ -5726,7 +5726,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
-466.665, -235,
0, 0,
0, 0,
0, 0,
@ -5766,8 +5766,8 @@
"_useOriginalSize": false, "_useOriginalSize": false,
"_string": "BM Font", "_string": "BM Font",
"_N$string": "BM Font", "_N$string": "BM Font",
"_fontSize": 40, "_fontSize": 48,
"_lineHeight": 40, "_lineHeight": 48,
"_enableWrapText": true, "_enableWrapText": true,
"_N$file": { "_N$file": {
"__uuid__": "4c95de7e-8cca-47bf-a446-47b7594e0992" "__uuid__": "4c95de7e-8cca-47bf-a446-47b7594e0992"
@ -5793,11 +5793,11 @@
"alignMode": 1, "alignMode": 1,
"_target": null, "_target": null,
"_alignFlags": 42, "_alignFlags": 42,
"_left": 0.16246041666666655, "_left": 0.6,
"_right": 420.0379999999999, "_right": 0,
"_top": 48, "_top": 48,
"_bottom": 48, "_bottom": 48,
"_verticalCenter": 679.166, "_verticalCenter": 0,
"_horizontalCenter": 0, "_horizontalCenter": 0,
"_isAbsLeft": false, "_isAbsLeft": false,
"_isAbsRight": true, "_isAbsRight": true,
@ -5819,8 +5819,8 @@
"_enabled": true, "_enabled": true,
"_layoutSize": { "_layoutSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 384.0000000000002, "width": 384,
"height": 270 "height": 518
}, },
"_resize": 1, "_resize": 1,
"_N$layoutType": 2, "_N$layoutType": 2,
@ -5836,7 +5836,7 @@
"_N$paddingTop": 0, "_N$paddingTop": 0,
"_N$paddingBottom": 0, "_N$paddingBottom": 0,
"_N$spacingX": 48, "_N$spacingX": 48,
"_N$spacingY": 60, "_N$spacingY": 30,
"_N$verticalDirection": 1, "_N$verticalDirection": 1,
"_N$horizontalDirection": 0, "_N$horizontalDirection": 0,
"_N$affectedByScale": false, "_N$affectedByScale": false,