缓存一下外发光

This commit is contained in:
caizhitao 2019-12-25 19:06:48 +08:00
parent 1cf8ba3545
commit 3f72a29841
2 changed files with 17 additions and 16 deletions

View File

@ -63,6 +63,7 @@ CCProgram vs %{
void main () {
vec4 pos = vec4(a_position, 1);
// vec4 pos = vec4(a_position * vec3(1.0, 1.0, 1.0), 1);
#if CC_USE_MODEL
pos = cc_matViewProj * cc_matWorld * pos;

View File

@ -5183,20 +5183,20 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 384,
"height": 603.3299999999999
"width": 384.0000000000002,
"height": 270
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 1
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
288,
301.66499999999996,
-132.038,
679.166,
0,
0,
0,
@ -5228,7 +5228,7 @@
"__id__": 114
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 116
@ -5351,8 +5351,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-1005.506,
0,
-255,
0,
0,
0,
@ -5416,7 +5416,7 @@
"__id__": 114
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 120
@ -5446,7 +5446,7 @@
"ctor": "Float64Array",
"array": [
0,
-480,
-360,
0,
0,
0,
@ -5696,7 +5696,7 @@
"__id__": 114
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 126
@ -5726,7 +5726,7 @@
"ctor": "Float64Array",
"array": [
0,
-586.665,
-466.665,
0,
0,
0,
@ -5793,11 +5793,11 @@
"alignMode": 1,
"_target": null,
"_alignFlags": 42,
"_left": 0.6,
"_right": 0,
"_left": 0.16246041666666655,
"_right": 420.0379999999999,
"_top": 48,
"_bottom": 48,
"_verticalCenter": 0,
"_verticalCenter": 679.166,
"_horizontalCenter": 0,
"_isAbsLeft": false,
"_isAbsRight": true,
@ -5819,8 +5819,8 @@
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
"width": 384,
"height": 603.3299999999999
"width": 384.0000000000002,
"height": 270
},
"_resize": 1,
"_N$layoutType": 2,