mirror of
https://github.com/k4yt3x/video2x.git
synced 2024-12-29 16:09:10 +00:00
48119a30eb
Signed-off-by: k4yt3x <i@k4yt3x.com>
9174 lines
1.3 MiB
Vendored
9174 lines
1.3 MiB
Vendored
// MIT License
|
|
|
|
// Copyright (c) 2019-2021 bloc97
|
|
// All rights reserved.
|
|
|
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
// of this software and associated documentation files (the "Software"), to deal
|
|
// in the Software without restriction, including without limitation the rights
|
|
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
// copies of the Software, and to permit persons to whom the Software is
|
|
// furnished to do so, subject to the following conditions:
|
|
|
|
// The above copyright notice and this permission notice shall be included in all
|
|
// copies or substantial portions of the Software.
|
|
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
// SOFTWARE.
|
|
|
|
//!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x3
|
|
//!HOOK MAIN
|
|
//!BIND MAIN
|
|
//!SAVE conv2d_tf
|
|
//!WIDTH MAIN.w
|
|
//!HEIGHT MAIN.h
|
|
//!COMPONENTS 4
|
|
#define go_0(x_off, y_off) (MAIN_texOff(vec2(x_off, y_off)))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.011550553, 0.2571523, -0.16894904, -0.09610124, -0.052744195, 0.30938542, 0.21441698, 0.2569063, 0.06468069, 0.089650966, 0.0748017, -0.018602168, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, -1.0);
|
|
result += mat4(0.17143345, 0.051090688, -0.040205717, 0.23977952, -0.06845662, 0.11059154, 0.27167943, 0.039820686, -0.037420645, 0.32412684, 0.114460744, 0.19145139, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.18283899, 0.16125157, -0.29441658, -0.14905207, 0.19206345, -0.03641905, -0.0255512, -0.1973209, 0.096413575, -0.165314, 0.09896132, -0.023077995, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.03697045, 0.16279477, -0.22278853, -0.111244164, 0.12984428, -0.016251296, 0.06175422, -0.38215196, -0.020128965, -0.1455273, -0.08009769, 0.25073814, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, -1.0);
|
|
result += mat4(-0.5884801, -0.6035645, 0.29799506, 0.15807843, -0.7622044, -0.15211694, 0.02642718, 0.08056384, -0.019515019, -0.08969495, 0.05972669, -0.56973815, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 0.0);
|
|
result += mat4(0.5292328, -0.12033433, 0.1487622, -0.016836211, 0.18644744, -0.1327393, 0.1285929, -0.25551647, 0.1799259, 0.041404646, -0.20043947, -0.3026472, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 1.0);
|
|
result += mat4(-0.024188336, -0.054328248, -0.12121459, 0.17569984, 0.0269405, -0.068125665, -0.12267483, -0.03206367, 0.010800722, 0.06791396, 0.21666309, 0.00086910516, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, -1.0);
|
|
result += mat4(0.11299782, 0.16244878, 0.050983112, -0.20673744, 0.0814762, -0.290341, -0.13428551, 0.02317926, -0.23702003, -0.057354085, -0.16910575, 0.12039626, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 0.0);
|
|
result += mat4(0.0099286465, -0.01866624, -0.01341757, 0.040368155, 0.29543665, 0.20391521, 0.015693977, 0.024313066, -0.009628433, 0.014835176, -0.05416802, -0.049118232, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 1.0);
|
|
result += vec4(0.009906447, 0.016014593, -0.015037731, 0.019793766);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x3
|
|
//!HOOK MAIN
|
|
//!BIND MAIN
|
|
//!SAVE conv2d_tf1
|
|
//!WIDTH MAIN.w
|
|
//!HEIGHT MAIN.h
|
|
//!COMPONENTS 4
|
|
#define go_0(x_off, y_off) (MAIN_texOff(vec2(x_off, y_off)))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.2907437, -0.077323735, -0.16973291, -0.16443132, 0.22864507, 0.49630427, 0.26739725, 0.032699764, 0.06087564, -0.20624332, 0.0112693785, 0.08255652, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, -1.0);
|
|
result += mat4(0.06868092, -0.40196502, 0.13545038, 0.17964815, -0.05201233, -0.068510085, -0.033420287, 0.11053642, -0.22962584, 0.1240376, -0.07122576, -0.287889, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.08391916, 0.044837173, 0.05309633, -0.020162301, 0.21601973, 0.107087076, 0.009593669, -0.0480218, -0.0341008, 0.065055884, -0.037138876, 0.098079376, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 1.0);
|
|
result += mat4(0.13852748, -0.41455564, 0.18791267, 0.092003055, 0.09786073, 0.13783242, -0.0740668, 0.24771707, -0.33705822, 0.14416842, 0.15743637, -0.2325511, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, -1.0);
|
|
result += mat4(0.5497675, -0.29078907, 0.05763203, -0.04751569, -0.6902698, -0.19779761, -0.39250666, -0.00016204051, 0.5432319, 0.2619331, -0.46955073, -0.3574246, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 0.0);
|
|
result += mat4(-0.061908755, -0.19342895, 0.16516154, 0.034592014, -0.19078135, 0.17319767, -0.08530775, 0.30626982, 0.07117333, -0.13394159, -0.16021773, -0.25067675, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 1.0);
|
|
result += mat4(-0.08075159, -0.2351002, -0.16552883, 0.05863658, 0.016604373, 0.097477786, 0.06739595, 0.055863712, 0.1263199, 0.21669623, 0.14968488, -0.08309879, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, -1.0);
|
|
result += mat4(0.29566878, -0.18975174, -0.31122676, 0.012913531, -0.14852591, 0.21946627, 0.34939107, 0.11229292, -0.065245174, 0.08148012, 0.3856815, -0.043731045, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 0.0);
|
|
result += mat4(0.03664222, 0.05616905, 0.16613087, -0.036628574, -0.0907965, 0.013615345, 0.0053964662, -0.015731616, -0.022957215, 0.10116718, -0.094957925, 0.058128193, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 1.0);
|
|
result += vec4(0.0017539978, -0.004052146, -0.0068221963, 0.0025597692);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x16
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_tf
|
|
//!BIND conv2d_tf1
|
|
//!SAVE conv2d_1_tf
|
|
//!WIDTH conv2d_tf.w
|
|
//!HEIGHT conv2d_tf.h
|
|
//!COMPONENTS 4
|
|
#define go_0(x_off, y_off) (max((conv2d_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max(-(conv2d_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max(-(conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.023552546, -0.17976846, -0.032507695, 0.34888005, -0.10224707, 0.13343506, 0.06544117, 0.012628775, -0.14143938, -0.19284354, 0.21922144, -0.24267627, 0.60245264, -0.24113165, -0.22310556, -0.02382731) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.034701347, 0.07372663, 0.32609418, 0.11162037, -0.014141982, 0.07118311, -0.17728676, 0.11904929, -0.044187993, 0.10390664, -0.25206113, -0.27696803, -0.047686324, -0.1442619, 0.20605747, 0.06257326) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.22148718, -0.01991937, 0.1064617, -0.040335968, 0.15501678, -0.23332876, 0.034576464, 0.0071954974, 0.29223567, -0.23055542, -0.2282997, -0.12242584, -0.37809116, -0.058991294, 0.39480785, 0.09886273) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.14810124, 0.016219528, -0.19418913, -0.007893501, -0.053713404, 0.049100377, -0.05975324, 0.18977694, -0.050193787, -0.21011077, 0.2016647, 0.14340237, 1.0558138, -0.33549616, 0.231785, -0.3162362) * go_0(0.0, -1.0);
|
|
result += mat4(-0.13609457, -0.08641219, -0.44855806, 0.3498321, 0.30400246, -0.03185214, -0.1854452, -0.010487082, -0.17215589, 0.03237537, 0.28143924, -0.08109354, 0.22742943, -1.2136713, -0.13101196, 0.25476894) * go_0(0.0, 0.0);
|
|
result += mat4(0.13384807, 0.02634565, -0.0014585925, -0.119772, -0.22263676, 0.24358267, -0.29998726, 0.10864307, -0.025059542, 0.19892238, -0.48717195, -0.12713853, 0.0052565294, -0.06785795, -0.12660097, -0.2680154) * go_0(0.0, 1.0);
|
|
result += mat4(0.050817262, -0.000118490156, 0.008932358, 0.12216974, 0.00651495, -0.045953527, -0.06928984, -0.059567403, -0.045261804, -0.09506907, -0.15795891, 0.40871626, 0.75113076, -0.2689173, 0.014691355, 0.17588368) * go_0(1.0, -1.0);
|
|
result += mat4(-0.098001294, 0.017431907, -0.129577, -0.5423294, 0.006492312, -0.3798156, -0.0912911, -0.4348394, -0.008890873, 0.056336716, 0.31541198, 0.2757727, 0.18999146, -0.4838279, -0.8643528, -0.23371552) * go_0(1.0, 0.0);
|
|
result += mat4(0.12763253, 0.20787789, 0.014009273, -0.10351501, -0.10169546, 0.105827406, 0.08317957, 0.34155595, 0.09826027, 0.120087825, 0.00772547, -0.18460846, -0.057804313, -0.09804123, 0.23369344, -0.36933377) * go_0(1.0, 1.0);
|
|
result += mat4(0.016852003, -0.006062252, -0.12426935, 0.03895753, 0.015224101, 0.036187973, -0.12444835, 0.17155123, -0.21852624, -0.039858755, 0.030547414, -0.31835446, -0.1285454, 0.036886804, 0.120653056, 0.115938485) * go_1(-1.0, -1.0);
|
|
result += mat4(-0.0073105944, 0.0034892666, 0.16796911, 0.10596121, 0.053536925, -0.046282507, 0.04151762, 0.011876018, 0.038614176, -0.03580031, -0.119827464, -0.040998273, 0.07371248, 0.20536064, -0.11701863, 0.03227468) * go_1(-1.0, 0.0);
|
|
result += mat4(0.060087442, -0.2968361, 0.13312283, -0.23400159, -0.23598443, -0.042868868, 0.18195826, 0.28549528, 0.34385213, 0.21937303, -0.29659066, -0.2519378, 0.086887576, -0.2174296, 0.105925284, -0.021433428) * go_1(-1.0, 1.0);
|
|
result += mat4(0.13158737, 0.33106673, -0.17471395, -0.29580286, 0.06354943, 0.0942313, -0.0018473539, -0.036752637, -0.12811747, 0.17727722, -0.05052513, 0.02059626, 0.053381227, 0.051411, -0.040178068, 0.045549665) * go_1(0.0, -1.0);
|
|
result += mat4(-0.08831061, -0.28157574, -0.1294387, -0.034455232, 0.23092915, 0.064474, -0.26692396, 0.12853913, 0.006096496, -0.17732559, -0.14009307, 0.21564251, 0.20883715, 0.10718936, -0.47879994, -0.5107674) * go_1(0.0, 0.0);
|
|
result += mat4(-0.17679055, -0.03551305, 0.17372696, 0.25607085, -0.021303236, -0.116409995, 0.21391216, 0.1466252, 0.22911525, -0.11913164, 0.29034084, -0.08526714, -0.3873873, -0.21568687, 0.23877093, 0.42613512) * go_1(0.0, 1.0);
|
|
result += mat4(0.048116915, -0.08262296, -0.03324074, 0.13923667, -0.0062459446, -0.03517941, -0.009773409, -0.120674424, 0.15095374, -0.0005339233, 0.015473752, 0.14777213, 0.12814662, -0.05017428, -0.010744916, -0.23875938) * go_1(1.0, -1.0);
|
|
result += mat4(0.056450244, 0.11676627, -0.14198391, -0.045776248, 0.00897558, -0.058434367, 0.021832153, -0.52523935, -0.12343506, -0.11054828, 0.15865694, 0.09315367, -0.05297719, -0.10711813, 0.06007512, -0.08399776) * go_1(1.0, 0.0);
|
|
result += mat4(-0.019619863, 0.20729768, 0.043339703, 0.025781998, 0.023497196, 0.028392693, -0.04190367, -0.04418058, -0.042211913, -0.15244623, 0.02924173, 0.21085598, -0.035596382, 0.2381614, -0.030051846, 0.13014893) * go_1(1.0, 1.0);
|
|
result += mat4(-0.21234104, 0.041297037, -0.18101437, -0.2185761, 0.028981358, -0.081642486, -0.021145426, -0.009989747, 0.09318067, 0.16207193, -0.19826248, 0.16293178, -0.15917318, 0.06660727, 0.053039506, -0.1168678) * go_2(-1.0, -1.0);
|
|
result += mat4(-0.011286741, 0.14351663, -0.50032014, -0.026436124, -0.011840812, -0.07747942, 0.15334651, -0.14048274, -0.14003748, -0.047146395, -0.00042596797, 0.2566855, -0.03316183, 0.062969685, 0.043717206, -0.055696994) * go_2(-1.0, 0.0);
|
|
result += mat4(0.30375633, -0.023652522, -0.007335798, 0.11816739, -0.0505561, 0.16002876, -0.10969625, 0.11233836, -0.19340275, 0.05881697, 0.3182961, -0.022817641, 0.42393655, -0.0420881, -0.22744067, -0.11468599) * go_2(-1.0, 1.0);
|
|
result += mat4(0.19680668, -0.2718221, -0.109129034, -0.031820036, -0.014158195, 0.046111293, -0.14502439, -0.13337612, 0.09411394, 0.21357663, -0.20042713, -0.15176094, -0.0045771925, -0.031944096, 0.1550206, -0.03722588) * go_2(0.0, -1.0);
|
|
result += mat4(0.24317834, 0.18838319, 0.45047724, 0.18649562, -0.2095104, -0.0006020615, 0.08367084, -0.30320555, 0.07171591, -0.29137737, -0.049099058, 0.15327643, -0.24013925, 0.34259155, 0.115902506, 0.11450217) * go_2(0.0, 0.0);
|
|
result += mat4(0.016413163, 0.03915114, -0.015337155, 0.09729268, 0.29813018, -0.17131683, -0.2312706, 0.10482244, -0.2066783, -0.3365877, 0.2263724, 0.43815294, 0.036072776, 0.105696954, 0.077359736, 0.008051612) * go_2(0.0, 1.0);
|
|
result += mat4(0.12033027, 0.2112806, 0.017177183, -0.09654978, 0.07329572, 0.13259365, 0.011394168, 0.0069998833, -0.16171043, -0.02289922, 0.11146632, -0.33248207, -0.017027456, -0.10894563, -0.03257589, 0.021239217) * go_2(1.0, -1.0);
|
|
result += mat4(-0.031499073, -0.27365288, -0.064902805, 0.124796495, -0.023522072, -0.02951537, 0.04670401, 0.27531293, 0.43533918, 0.0585005, -0.15084462, -0.40506473, -0.32984722, -0.15036964, 0.07660922, -0.0032199689) * go_2(1.0, 0.0);
|
|
result += mat4(-0.115331754, -0.09803054, -0.024313536, 0.14555499, 0.23887083, -0.29849875, -0.26729763, 0.184482, 0.09255375, -0.10736947, -0.04150894, -0.0010320714, -0.051008355, -0.104129285, -0.08903581, 0.22098938) * go_2(1.0, 1.0);
|
|
result += mat4(0.06769511, -0.03238206, -0.068165705, -0.14739762, -0.061350193, 0.004104931, 0.11618826, 0.010067987, 0.02997295, 0.09301918, -0.12241719, 0.24177656, 0.22807428, -0.02756493, -0.0748496, -0.047249116) * go_3(-1.0, -1.0);
|
|
result += mat4(-0.18760902, 0.18009059, -0.0020327838, -0.21866414, -0.031515904, -0.05650113, -0.12750417, 0.103761345, 0.06476017, -0.3304871, -0.07148537, 0.24832407, -0.13958152, -0.09241458, 0.22140716, 0.08166865) * go_3(-1.0, 0.0);
|
|
result += mat4(0.26009315, -0.010701869, 0.023371957, -0.21740876, 0.17189556, 0.15437202, -0.14821805, -0.27689627, -0.2479749, -0.47549838, 0.32036334, 0.013038371, 0.14058238, 0.30515867, -0.26070523, 0.04663332) * go_3(-1.0, 1.0);
|
|
result += mat4(-0.020923758, -0.032509495, 0.12358641, 0.4433483, -0.06527426, -0.07173554, -0.11908415, -0.072907776, -0.0026322093, 0.045405984, 0.14449333, 0.18437918, 0.064828105, -0.151514, 0.091675825, 0.13046047) * go_3(0.0, -1.0);
|
|
result += mat4(-0.026943995, -0.07820492, -0.103887096, -0.3451598, 0.047472734, 0.0033870118, 0.440715, -0.20901312, 0.20392485, 0.2621361, 0.12270217, -0.24512972, -0.049621828, -0.22698936, 0.2641905, 0.009628438) * go_3(0.0, 0.0);
|
|
result += mat4(-0.20713174, 0.195439, 0.058581114, -0.10963195, 0.0812059, 0.011282248, -0.18487422, -0.016993608, 0.19099854, -0.3759483, -0.5897507, 0.14572738, 0.23315357, 0.10245343, 0.043103352, -0.46267846) * go_3(0.0, 1.0);
|
|
result += mat4(0.022161806, -0.00090681383, 0.052800614, 0.18393794, -0.027101398, 0.0014004739, 0.05572843, 0.118573196, -0.19916826, -0.02380698, 0.116629034, -0.28870407, 0.008048728, 0.053172585, -0.021419706, 0.09050276) * go_3(1.0, -1.0);
|
|
result += mat4(-0.016204836, 0.19174457, 0.2839895, 0.17540698, -0.123605736, -0.0061563863, 0.0028344695, 0.32647628, 0.057774115, 0.06937624, -0.13302265, -0.16724658, -0.12756115, 0.13584238, 0.078516625, 0.09640836) * go_3(1.0, 0.0);
|
|
result += mat4(0.120685734, -0.21064857, -0.16614036, -0.26340094, -0.06945371, 0.04921331, -0.020397125, 0.074044324, 0.23755525, -0.003564956, -0.06143462, -0.1825731, -0.11152944, -0.30590633, -0.054638807, -0.27331424) * go_3(1.0, 1.0);
|
|
result += vec4(0.04903664, 0.055879604, 0.072665684, -0.063299604);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x16
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_tf
|
|
//!BIND conv2d_tf1
|
|
//!SAVE conv2d_1_tf1
|
|
//!WIDTH conv2d_tf.w
|
|
//!HEIGHT conv2d_tf.h
|
|
//!COMPONENTS 4
|
|
#define go_0(x_off, y_off) (max((conv2d_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max(-(conv2d_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max(-(conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.21144664, -0.21278776, 0.14495273, 0.40425083, 0.27247587, -0.109341, 0.033743903, 0.035514083, -0.39683792, 0.05346587, -0.164584, -0.27716008, 0.12337504, 0.06634312, 0.2134371, 0.6341114) * go_0(-1.0, -1.0);
|
|
result += mat4(0.13073774, -0.103435524, 0.0346405, 0.44462252, 0.11620409, 0.10156601, 0.054093704, -0.26547235, -0.11527728, 0.13799351, -0.027917054, -0.60904527, -0.07724007, -0.08113308, -0.009969666, 0.26369193) * go_0(-1.0, 0.0);
|
|
result += mat4(0.24912444, 0.0009965017, 0.04969851, 0.3003267, -0.003903703, -0.06769968, 0.10561507, -0.17234871, 0.1536697, -0.21829624, -0.017951855, -0.09118876, -0.22243726, 0.1614144, -0.024269601, 0.397888) * go_0(-1.0, 1.0);
|
|
result += mat4(0.06768992, -0.041342556, 0.07763352, -0.41787583, 0.031124283, 0.011633926, -0.0978459, 0.039305598, -0.41848403, -0.26259893, 0.28613627, 0.20371561, 0.58345675, -0.07080824, 0.19021916, 0.012531278) * go_0(0.0, -1.0);
|
|
result += mat4(-0.20584361, 0.20292012, 0.16911204, -0.11723318, -0.06905249, -0.12639555, 0.029861137, -0.69824475, -0.15893462, 0.03822974, 0.2365254, -0.18049008, -0.54079545, 0.05378836, 0.3731226, -0.4194168) * go_0(0.0, 0.0);
|
|
result += mat4(-0.16185144, 0.08044541, -0.11534125, -0.38361254, -0.18125655, 0.100682445, -0.17568061, 0.15932092, 0.4921224, -0.21809934, -0.4219327, 0.56603193, -0.11896117, 0.09941898, 0.060406428, -0.28055435) * go_0(0.0, 1.0);
|
|
result += mat4(-0.17914674, -0.039117515, -0.10780753, -0.0019961328, -0.118028656, 0.13673705, 0.09796823, 0.036670703, 0.23708504, -0.217638, 0.02271306, -0.08260663, -0.02218291, 0.25449663, -0.38577145, 0.2289155) * go_0(1.0, -1.0);
|
|
result += mat4(0.20697436, -0.08170284, -0.30875778, -0.091935694, -0.4299069, -0.048003297, 0.040368207, -0.11808018, 0.19754, -0.11251598, 0.27953205, 0.3021206, 0.45326826, 0.1854244, -0.29116857, -0.2648801) * go_0(1.0, 0.0);
|
|
result += mat4(-0.005043171, 0.1165916, 0.035544373, -0.11442216, -0.17139262, -0.050638396, -0.26463476, 0.11100485, -0.10001776, -0.21563227, -0.16391662, -0.054651123, 0.39844766, 0.1455794, 0.017547537, -0.39557946) * go_0(1.0, 1.0);
|
|
result += mat4(0.15157916, 0.18656601, -0.00782459, -0.038346134, -0.2450021, 0.047928028, -0.1472038, 0.2255333, -0.4334985, 0.08729366, 0.0846153, -0.30595127, -0.044211008, -0.08241214, -0.043064255, 0.4190449) * go_1(-1.0, -1.0);
|
|
result += mat4(0.05928101, -0.06261379, 0.038639594, 0.19335443, 0.07116561, -0.09511715, 0.2905441, 0.1801976, 0.26955184, -0.17377244, -0.1212788, 0.016638374, -0.22339019, 0.004929746, -0.09799133, -0.031665847) * go_1(-1.0, 0.0);
|
|
result += mat4(-0.18101548, 0.0012552696, -0.23048487, 0.112049505, -0.12021156, 0.14923924, 0.23487978, 0.09156211, 0.3823153, 0.19112724, -0.16386096, -0.33862537, 0.6392619, -0.074322194, -0.011328445, 0.010085967) * go_1(-1.0, 1.0);
|
|
result += mat4(0.14264163, -0.083046414, 0.05174603, -0.11164799, 0.5145514, 0.09971472, 0.07346141, -0.001808423, -0.26032692, -0.22621563, 0.055869855, 0.076288834, -0.010914596, 0.22231369, 0.10603505, -0.5869296) * go_1(0.0, -1.0);
|
|
result += mat4(0.5548472, 0.12401844, -0.23502155, 0.0061489646, 0.67039174, 0.05105186, -0.37961176, -0.15655631, 0.2625075, 0.0843665, 0.15801008, 0.09782913, -1.1630117, 0.5171362, 0.29586038, -0.08990771) * go_1(0.0, 0.0);
|
|
result += mat4(-0.5571424, -0.058150455, 0.07254807, -0.12936777, -0.12786071, 0.07129326, -0.241742, -0.08085487, -0.13637958, -0.22721592, -0.11745357, 0.112150125, -0.09672555, 0.27359635, -0.080746, -0.009863987) * go_1(0.0, 1.0);
|
|
result += mat4(0.030648582, 0.065971114, 0.067242995, 0.22608843, -0.17207222, 0.054914985, 0.03116957, -0.052851222, 0.0069969087, -0.006153292, 0.21847431, 0.057503276, 0.8095128, -0.21049567, -0.006439858, 0.08432311) * go_1(1.0, -1.0);
|
|
result += mat4(-0.042780217, -0.12338032, 0.05577247, -0.21822974, -0.17892684, 0.058537606, 0.080431335, -0.078834526, -0.31537804, -0.061866514, 0.023990609, -0.058277693, 0.097793244, -0.12215614, -0.13899407, 0.27879617) * go_1(1.0, 0.0);
|
|
result += mat4(0.008304607, 0.034395944, 0.17608953, -0.06544607, -0.24016827, -0.0677199, 0.12737678, -0.05233579, 0.16614896, -0.14099626, -0.022224577, 0.14793196, -0.012446621, 0.028061012, -0.1716129, 0.060556497) * go_1(1.0, 1.0);
|
|
result += mat4(0.5220798, 0.13444152, -0.2122427, -0.5736831, -0.20706674, 0.017248502, -0.028334714, 0.055140972, 0.33016387, -0.14287637, 0.01387342, 0.3571347, 0.28431186, 0.11765858, -0.01822439, -0.39872175) * go_2(-1.0, -1.0);
|
|
result += mat4(0.08728331, 0.23902069, -0.36302498, -0.16066715, -0.11230054, -0.13030538, 0.009534622, 0.048962418, 0.012431211, -0.20593752, -0.0013636881, 0.4360859, 0.04262531, 0.23974936, -0.094283335, -0.527438) * go_2(-1.0, 0.0);
|
|
result += mat4(0.030728528, -0.112231985, -0.009100498, -0.35143045, 0.16748357, 0.017510839, 0.03239966, 0.054478996, -0.17319912, -0.050375365, 0.089725465, 0.16103691, 0.10676163, -0.09278535, -0.05428266, -0.33354014) * go_2(-1.0, 1.0);
|
|
result += mat4(0.21258125, 0.04599829, -0.24325258, 0.029835198, 0.20194697, -0.07060258, 0.016639128, -0.3157998, 0.33405927, 0.060434584, -0.43728244, -0.062135965, 0.028998438, 0.11571891, -0.15109324, 0.07101858) * go_2(0.0, -1.0);
|
|
result += mat4(-0.40383798, -0.36821288, 0.19626383, 0.59001976, 0.32839507, 0.101678796, 0.10640573, -0.10071399, -0.02920735, -0.0077641695, -0.22367977, -0.05433425, 0.004730477, 0.23157004, -0.11481708, 0.061465364) * go_2(0.0, 0.0);
|
|
result += mat4(-0.08762416, -0.035775788, 0.26598835, 0.37357306, -0.11917872, 0.036915135, -0.19645864, -0.8743145, -0.51593053, 0.100978024, 0.06177629, -0.5311378, -0.09897961, -0.007981574, -0.14613442, 0.29796147) * go_2(0.0, 1.0);
|
|
result += mat4(-0.08169756, 0.10602942, 0.16290301, 0.08642245, 0.14126572, 0.0143537, 0.022076355, 0.12719934, -0.115588315, 0.018044261, 0.06112664, -0.17315914, -0.24815254, 0.07138127, 0.064938284, 0.30757383) * go_2(1.0, -1.0);
|
|
result += mat4(0.08658424, 0.04834558, 0.11189677, -0.11959915, 0.043204036, 0.0028814555, -0.27114293, 0.19655752, -0.06219229, -0.06335925, 0.001583622, 0.0003887524, -0.02551103, 0.1810684, -0.13473205, 0.41511175) * go_2(1.0, 0.0);
|
|
result += mat4(0.098328196, -0.15463813, -0.25395435, 0.057165585, 0.12112806, 0.047703095, 0.1736894, -0.571335, -0.08877221, 0.25854358, -0.12695095, 0.057413366, -0.098884575, -0.28365913, 0.09991636, 0.22292562) * go_2(1.0, 1.0);
|
|
result += mat4(-0.6112117, -0.010231417, -0.112239756, -0.07849118, 0.02083121, -0.034805223, 0.15247148, -0.12141691, 0.3277976, -0.06351269, -0.09261654, 0.48218137, -0.26786497, 0.18436286, 0.0026548437, -0.3494242) * go_3(-1.0, -1.0);
|
|
result += mat4(-0.095630266, 0.40209347, 0.037867773, -0.25989276, -0.011930034, 0.24516326, -0.0069997567, -0.3245564, -0.023615206, 0.15278822, -0.029383302, -0.7744169, 0.94101965, 0.056572374, 0.058212046, -0.061330616) * go_3(-1.0, 0.0);
|
|
result += mat4(0.081363745, -0.15472494, -0.34431493, 0.07395791, -0.055564385, 0.016541688, -0.08667468, -0.1444773, -0.2256494, -0.20606478, 0.4394829, 0.52758425, -0.5187416, 0.17331822, -0.27094364, -0.2181298) * go_3(-1.0, 1.0);
|
|
result += mat4(-0.287361, 0.16206776, 0.14063619, 0.13728833, -0.36886695, -0.08538228, 0.19503894, 0.11056105, 0.16406211, 0.01727046, 0.0871592, 0.07294414, 0.060550056, 0.061177608, -0.016883448, 0.30192128) * go_3(0.0, -1.0);
|
|
result += mat4(-0.33929467, 0.13435748, 0.115937024, 0.067573994, 0.009863674, 0.013138309, 0.30058098, 0.10597743, -0.17499073, 0.05588405, 0.005677747, 0.40934527, 1.1545268, -0.155579, -0.13197516, 0.15191454) * go_3(0.0, 0.0);
|
|
result += mat4(0.37388617, -0.08841946, -3.8818067e-05, -0.055153493, 0.10924964, 0.005106532, 0.2640823, 0.17689948, -0.078712486, 0.014336811, 0.13541687, -0.35125944, 0.25925586, -0.11574074, -0.05334974, 0.37477663) * go_3(0.0, 1.0);
|
|
result += mat4(-0.09378358, -0.02469048, 0.09498973, -0.14765818, -0.06543113, 0.052611325, -0.038409166, -0.10529152, -0.19401579, -0.16219963, -0.16643663, -0.33105713, -0.47642896, 0.3563738, 0.10123918, 0.0047903634) * go_3(1.0, -1.0);
|
|
result += mat4(-0.09347765, 0.13719639, 0.17906445, 0.20748247, 0.31409532, -0.033543803, -0.055865422, 0.20806772, -0.004353982, 0.15110697, -0.052026875, 0.04408309, -0.3727673, 0.08697647, 0.062118348, -0.12789507) * go_3(1.0, 0.0);
|
|
result += mat4(0.17479336, -0.15061922, -0.039640546, 0.041190077, -0.060928237, 0.17590441, 0.13194624, 0.05623478, -0.16385348, 0.09232265, 0.035934143, -0.1263174, -0.35249633, 0.15528975, 0.10165315, -0.20805833) * go_3(1.0, 1.0);
|
|
result += vec4(-0.016027294, -0.022314552, 0.29750827, 0.022724666);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x16
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_tf
|
|
//!BIND conv2d_tf1
|
|
//!SAVE conv2d_1_tf2
|
|
//!WIDTH conv2d_tf.w
|
|
//!HEIGHT conv2d_tf.h
|
|
//!COMPONENTS 4
|
|
#define go_0(x_off, y_off) (max((conv2d_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max(-(conv2d_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max(-(conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.20217955, -0.1016539, -0.24689016, 0.026825983, -0.012303149, 0.016825393, 0.11242501, 0.1197403, -0.29600206, 0.27503014, -0.11554761, -0.051286228, -0.010749474, -0.0034162628, -0.07294611, -0.3771706) * go_0(-1.0, -1.0);
|
|
result += mat4(0.14065309, -0.20494242, 0.08172008, -0.24708536, 0.14010069, -0.0034903025, -0.13427053, 0.038706955, 0.14292285, -0.22876161, -0.08053654, -0.13691449, -0.32719252, 0.3200724, 0.41660982, 0.4663079) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.40426278, 0.42029375, 0.2581085, -0.08178537, 6.6040986e-05, 0.051414035, -0.09223715, 0.09467653, 0.0022885685, -0.36213446, -0.22484992, 0.11228845, -0.266375, 0.47065213, 0.18022436, 0.018949319) * go_0(-1.0, 1.0);
|
|
result += mat4(0.0967041, -0.4762878, -0.48147273, -0.38028395, 0.0096386345, 0.038764592, 0.31412536, 0.11140124, -0.26849043, 0.5565519, 0.43003628, -0.4071856, -0.07576129, -0.1801822, -0.47469202, 0.20814487) * go_0(0.0, -1.0);
|
|
result += mat4(-0.00062698213, -0.7789418, 0.35716832, -0.02369097, 0.3586657, 0.0046842257, -0.1294594, -0.42827508, 0.1843683, -0.109799415, -0.03444211, -0.4856736, 0.20326613, -0.20637028, 0.043016884, 0.2611685) * go_0(0.0, 0.0);
|
|
result += mat4(-0.4074533, 0.11487311, 0.3276686, -0.002443473, -0.18050632, 0.36538202, 0.23752166, -0.21289061, 0.08633338, -0.30124283, -0.020832658, -0.02058489, -0.18569615, 0.47561193, 0.29504526, -0.37081027) * go_0(0.0, 1.0);
|
|
result += mat4(0.3032142, -0.05559384, -0.14362094, 0.4066231, -0.10048464, 0.123465545, 0.17526495, -0.05644113, 0.10546904, 0.04229368, 0.39113873, 0.31476578, -0.3210935, -0.2459354, -0.57513195, 0.42412075) * go_0(1.0, -1.0);
|
|
result += mat4(-0.012243576, 0.12146884, 0.07562772, 0.6030755, 0.11079806, -0.33577108, -0.34181613, -0.1494174, -0.03203171, 0.4393293, -0.28612396, 0.42938936, -0.043798693, -0.37709042, 0.26563555, -0.11072489) * go_0(1.0, 0.0);
|
|
result += mat4(0.046751764, 0.0035097478, -0.01897875, 0.02122587, -0.12605189, -0.41298488, -0.03824162, 0.51710933, -0.052696224, -0.2337075, -0.12560573, 0.33835718, -0.31342196, 0.51827186, 0.1890404, -0.03768498) * go_0(1.0, 1.0);
|
|
result += mat4(0.17229721, 0.062260006, 0.21993148, 0.075963624, 0.067087546, -0.20411918, -0.06633631, -0.05168393, -0.055554014, 0.07146849, -0.11320391, -0.5016039, -0.015768923, -0.029974159, 0.003875134, -0.7003569) * go_1(-1.0, -1.0);
|
|
result += mat4(-0.0693014, 0.23172057, -0.12445124, 0.10486695, 0.024282364, 0.104390465, 0.10902425, 0.044662107, -0.14725766, -0.12317419, -0.24799284, -0.5018698, -0.09759714, -0.08109111, -0.16864298, -0.21465865) * go_1(-1.0, 0.0);
|
|
result += mat4(-0.05006012, -0.091789775, -0.039711423, -0.025967857, 0.004903828, 0.27684125, 0.090259, 0.25723773, 0.25361672, -0.63184565, -0.2300667, -0.10245676, -0.43677995, 0.4948819, 0.23426977, 0.27520937) * go_1(-1.0, 1.0);
|
|
result += mat4(0.24944058, -0.2630142, 0.087730475, 0.14870866, -0.05221804, -0.11076067, -0.28590345, 0.30941877, 0.12329378, 0.0869489, 0.3449555, 0.26338112, 0.27513418, -0.34140083, -0.44811395, -0.32881838) * go_1(0.0, -1.0);
|
|
result += mat4(-0.2300291, 0.026097683, 0.011726505, 0.33332226, -0.24714379, -0.052737463, 0.16558985, 0.43402666, -0.040318843, 0.14610682, 0.32763618, 0.1530442, 0.46671808, -0.36680204, 0.30263212, 0.4588324) * go_1(0.0, 0.0);
|
|
result += mat4(0.04394229, 0.1959856, -0.23437811, -0.42994127, 0.2209785, 0.08641096, 0.059983835, 0.3301891, -0.20396693, 0.21257658, -0.17936775, -0.17046471, -0.3278646, -0.015171337, -0.39279112, 0.7612752) * go_1(0.0, 1.0);
|
|
result += mat4(-0.0721009, 0.03914034, -0.03603309, 0.0032750098, 0.02849652, -0.22286695, -0.21038975, -0.5404214, -0.09446682, 0.13351013, 0.19801673, 0.3039991, 0.06969349, 0.47980356, 0.4956948, -0.22736946) * go_1(1.0, -1.0);
|
|
result += mat4(0.10723219, -0.23137522, -0.12172196, 0.041468218, -0.07041226, 0.06390648, 0.14080569, -0.35228798, 0.07642974, -0.13615544, -0.039689478, 0.07113939, 0.28258353, 0.060358338, 0.17336333, -0.2321431) * go_1(1.0, 0.0);
|
|
result += mat4(-0.17947374, 0.03477672, 0.14946933, -0.27187726, 0.18819115, 0.032378223, 0.0020400453, -0.48512584, -0.12591578, -0.1212832, -0.116236545, 0.045565434, -0.15292491, -0.24064177, -0.10086153, 0.23591255) * go_1(1.0, 1.0);
|
|
result += mat4(-0.106525, -0.12032337, 0.17431536, 0.0052562207, -6.420632e-05, -0.01623248, -0.08095955, -0.13127506, 0.27539784, -0.31894428, 0.08169528, 0.062290672, -0.18432364, 0.21473673, -0.025179744, 0.094855726) * go_2(-1.0, -1.0);
|
|
result += mat4(-0.31541437, -0.24790616, 0.013607132, 0.039480396, -0.122884266, 0.19012398, 0.09748719, -0.09533564, -0.292556, 0.18304445, -0.1432241, 0.1381094, 0.21733786, -0.18149674, -0.1615431, 0.03368751) * go_2(-1.0, 0.0);
|
|
result += mat4(0.28429464, -0.40165743, -0.26162243, -0.02550708, 0.08182439, -0.142696, -0.029649947, 0.047006324, -0.041352388, 0.45716748, 0.14035358, -0.0074519147, 0.30095938, -0.4907558, -0.19573994, -0.0730125) * go_2(-1.0, 1.0);
|
|
result += mat4(0.015484458, 0.18262957, 1.1304622, 0.13020717, 0.08094596, -0.041125435, -0.011831079, 0.016813423, 0.27810735, -0.64546406, -0.09420503, 0.30469316, -0.298747, 0.56795603, 0.42592815, 0.31302226) * go_2(0.0, -1.0);
|
|
result += mat4(0.04343304, -0.4498391, -0.5037316, 0.19293165, -0.53385746, 0.33699542, 0.27228716, -0.19133756, -0.32839635, 0.35161376, 0.2137489, 0.38544926, -0.25985554, 0.20467313, 0.19342346, 0.20128295) * go_2(0.0, 0.0);
|
|
result += mat4(0.22484256, -0.23751211, -0.30022943, 0.051273867, -0.007936754, -0.68916345, -0.71587783, -0.1656445, -0.097008295, 0.10184849, -0.051216517, -0.3001333, 0.44228783, -0.3494149, -0.3600727, 0.061474547) * go_2(0.0, 1.0);
|
|
result += mat4(-0.1976335, 0.11761563, 0.25485405, -0.24935004, 0.21836887, -0.0373093, -0.06946182, 0.049853157, -0.19294016, 0.027994758, -0.7352471, -0.40208367, -0.29396078, 0.27974385, 0.23464991, -0.21713316) * go_2(1.0, -1.0);
|
|
result += mat4(0.11203325, -0.07249998, 0.03275291, -0.5243432, 0.027975427, 0.65923446, 1.1487273, 0.13650933, 0.18981944, -0.41047823, 0.24949239, -0.038735647, -0.16338153, 0.19802837, 0.2097514, -0.15370321) * go_2(1.0, 0.0);
|
|
result += mat4(0.05246577, -0.10527885, -0.023790307, 0.02944672, 0.21446787, 0.22428256, -0.30655965, -0.4283235, 0.073304355, 0.2829255, 0.30902624, -0.14685656, 0.24827917, -0.33014455, -0.32007882, -0.20629856) * go_2(1.0, 1.0);
|
|
result += mat4(-0.08960087, 0.0050927363, -0.30011386, -0.047652043, -0.094598204, 0.11405335, 0.06829049, 0.059407845, -0.022997437, -0.106863946, 0.07900994, 0.44502714, 0.15836091, -0.066640936, 0.15023214, 0.54916424) * go_3(-1.0, -1.0);
|
|
result += mat4(-0.06162481, -0.3285692, -0.022469657, -0.11277432, -0.09067458, 0.030319816, -0.14839767, -0.23583637, 0.06760135, -0.028171305, 0.014077104, 0.35498118, -0.025291484, 0.24540594, -0.017083582, 0.28348377) * go_3(-1.0, 0.0);
|
|
result += mat4(0.17504841, 0.060240712, 0.17431584, 0.16914812, 0.06998317, -0.30380917, -0.09968582, -0.30383462, -0.4403573, 0.78940177, 0.020485763, 0.27871025, 0.6351977, -0.37790725, -0.22219525, -0.4110773) * go_3(-1.0, 1.0);
|
|
result += mat4(-0.08675536, 0.27092165, -0.058764063, 0.20293204, 0.009523148, 0.09759644, 0.32254717, -0.48095647, -0.23190324, -0.12567216, -0.44106624, -0.30251557, -0.29637465, 0.16701616, 0.039250236, 0.20024182) * go_3(0.0, -1.0);
|
|
result += mat4(-0.12002944, 0.13862704, 0.17594223, -0.044401992, 0.36661845, -0.038946245, -0.29144734, -0.033288293, -0.48884743, 0.08073716, -0.31537253, 0.1283542, -0.5425199, 0.19174723, 0.15365373, -0.14512973) * go_3(0.0, 0.0);
|
|
result += mat4(0.15586664, -0.16834132, 0.05371874, 0.36174223, -0.15587626, -0.0017205992, 0.02366499, -0.13222694, 0.27792883, -0.20452052, 0.07238269, -0.6005766, 0.45729572, -0.057850257, 0.3978193, -0.42369977) * go_3(0.0, 1.0);
|
|
result += mat4(0.0125904465, -0.28701517, -0.06483255, -0.36696205, 0.0041157743, 0.16688906, 0.16022897, 0.32454333, 0.24528491, -0.22117196, -0.15657167, -0.27925336, -0.21296152, -0.27980646, -0.35671264, 0.1338135) * go_3(1.0, -1.0);
|
|
result += mat4(-0.09333434, 0.2844371, -0.0012270715, -0.08979275, -0.06961038, -0.011850921, -0.14248405, 0.69844127, -0.39664406, -0.024479598, 0.055128384, -0.44450662, -0.2171763, -0.027311027, -0.22850873, 0.21512528) * go_3(1.0, 0.0);
|
|
result += mat4(0.05754468, -0.06023853, -0.10660665, 0.001042397, -0.0098680295, -0.020704228, 0.022198498, 0.22380444, 0.2768453, -0.0008279344, 0.026585666, -0.4575448, 0.25150645, 0.11999355, 0.12135898, -0.39513355) * go_3(1.0, 1.0);
|
|
result += vec4(0.025650544, 0.03663525, -0.016599739, 0.0293095);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x24
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_1_tf1
|
|
//!BIND conv2d_1_tf2
|
|
//!SAVE conv2d_2_tf
|
|
//!WIDTH conv2d_1_tf.w
|
|
//!HEIGHT conv2d_1_tf.h
|
|
//!COMPONENTS 4
|
|
#define go_0(x_off, y_off) (max((conv2d_1_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_1_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv2d_1_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max(-(conv2d_1_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max(-(conv2d_1_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max(-(conv2d_1_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.04035504, 0.24661791, 0.16603021, -0.14574075, 0.016028887, 0.23053943, -0.01308933, -0.13217592, 0.14422223, 0.046401497, 0.31343204, -0.018826274, -0.13334458, -0.13250591, -0.19680983, 0.023520457) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.18644534, 0.16142415, -0.10263999, -0.1785358, 0.1524165, -0.096029095, 0.044161733, 0.040999066, -0.024374438, 0.007344798, -0.011679108, -0.01964757, -0.17767182, 0.05571244, 0.027234446, 0.043839652) * go_0(-1.0, 0.0);
|
|
result += mat4(0.04718799, -0.044331063, 0.13524447, -0.067815036, 0.11796701, 0.19663425, -0.10252262, -0.10110826, -0.12611324, 0.10640568, 0.19015492, -0.05703842, -0.2498106, 0.06150599, -0.16034353, 0.023444213) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.27109948, -0.2330959, -0.24654478, -0.13645583, -0.30987036, -0.09328997, -0.047055356, -0.008120827, 0.12002382, -0.052843675, -0.024162116, -0.07013582, -0.21204828, 0.24816163, -0.048868638, -0.020213706) * go_0(0.0, -1.0);
|
|
result += mat4(-0.36924088, 0.19141299, -0.0596671, 0.05201207, 0.042457893, -0.14713997, 0.06199918, 0.3931451, 0.08613402, -0.07767505, -0.22640567, 0.139795, -0.080966346, 0.24099334, -0.1484309, -0.18542144) * go_0(0.0, 0.0);
|
|
result += mat4(-0.24846043, 0.04992665, 0.01550666, -0.07386302, -0.033128314, -0.109518744, -0.0131575465, 0.093934394, -0.10481641, -0.21640164, -0.042719785, -0.119751304, -0.14406851, -0.09887475, 0.0551473, 0.1988483) * go_0(0.0, 1.0);
|
|
result += mat4(0.005014479, -0.028502205, 0.056643553, 0.22005746, -0.109462686, -0.063529275, 0.068870015, -0.09086573, -0.20329769, 0.062993504, 0.012298516, -0.09511996, -0.070928045, -0.084570564, 0.030517094, 0.0666073) * go_0(1.0, -1.0);
|
|
result += mat4(-0.23140994, -0.14801921, 0.10917109, 0.04020163, -0.124175526, -9.252112e-05, -0.10079859, -0.08308403, -0.15703133, 0.12351128, -0.062012766, 0.012078454, 0.017588409, -0.19278778, -0.011159341, -0.019345049) * go_0(1.0, 0.0);
|
|
result += mat4(-0.13358298, -0.13400944, -0.04192524, 0.05254761, 0.090020865, 0.204023, -0.017487295, -0.103140116, -0.0635867, -0.04658558, 0.017988916, -0.095914505, 0.0028000565, 0.1542994, 0.02950823, 0.04616086) * go_0(1.0, 1.0);
|
|
result += mat4(-0.05432518, -0.0111842025, -0.0062327827, -0.033791576, 0.09963238, -0.007702412, 0.107363395, -0.0002620659, -0.03530006, -0.17219695, 0.20868061, 0.097935446, -0.08475756, -0.039234992, -0.13846119, 0.062036924) * go_1(-1.0, -1.0);
|
|
result += mat4(0.01616353, -0.12863919, 0.15521172, 0.097896874, 0.033820298, -0.05146636, 0.02785997, -0.09073786, -0.09372875, 0.06929703, -0.0107195005, 0.018365687, 0.0868831, 0.0070242505, -0.040582743, -0.07992907) * go_1(-1.0, 0.0);
|
|
result += mat4(-0.07650785, -0.072560616, 0.01351836, 0.07111899, -0.022031955, -0.010699844, -0.061331112, -0.18606193, 0.016390545, -0.013820923, 0.024161916, 0.05317417, -0.023394106, -0.12722068, -0.2521299, -0.0032620258) * go_1(-1.0, 1.0);
|
|
result += mat4(0.09762331, 0.062247284, -0.07981863, 0.048026998, 0.052663904, 0.1488446, -0.0859117, 0.081166595, 0.06321994, 0.10102734, -0.08696909, 0.018006293, 0.10951873, 0.11635254, -0.073152475, 0.021577666) * go_1(0.0, -1.0);
|
|
result += mat4(0.13631535, 0.09643497, 0.06995556, -0.012752857, 0.16278613, 0.015534217, 0.108511776, 0.14669219, 0.008778259, 0.16631478, 0.060034137, -0.16236681, -0.05978258, 0.062230766, -0.33324954, -0.02387315) * go_1(0.0, 0.0);
|
|
result += mat4(-0.26835418, -0.05078421, -0.038090322, -0.01212539, 0.0064360583, -0.09849181, 0.055596586, -0.049771946, -0.060680225, 0.11777931, 0.0092843445, -0.0003092349, -0.054714512, -0.036983784, 0.080890685, 0.01171634) * go_1(0.0, 1.0);
|
|
result += mat4(-0.095172614, -0.00536103, 0.024565516, 0.15711878, -0.054901525, -0.11539277, -0.0537201, 0.035690263, -0.012858618, 0.0074576396, -0.09323002, 0.0212987, 0.057625733, -0.028343642, 0.09287552, 0.17583063) * go_1(1.0, -1.0);
|
|
result += mat4(0.039239723, 0.08689648, -0.09737909, -0.030164383, -0.16954574, -0.19429989, -0.008026096, -0.009319319, 0.050411783, 0.003132383, -0.032023713, -0.044580568, 0.05639381, 0.26383185, -0.11680319, 0.20925997) * go_1(1.0, 0.0);
|
|
result += mat4(-0.1350493, 0.066753425, -0.07848042, -0.07173146, -0.09169151, -0.02280378, 0.014779426, 0.08916784, -0.09334288, -0.081331305, -0.06598685, -0.023294056, 0.13236979, 0.32240087, -0.05203544, -0.035413966) * go_1(1.0, 1.0);
|
|
result += mat4(0.026199203, 0.0204687, -0.070584424, -0.021580774, 0.118979365, 0.0988867, -0.14607596, 0.13370356, -0.0843717, 0.08955508, -0.035913162, -0.039743375, 0.03797019, -0.057666034, 0.09423923, 0.07839171) * go_2(-1.0, -1.0);
|
|
result += mat4(0.2348814, 0.0213994, 0.07450211, -0.003232845, 0.09450214, 0.014603701, 0.025057215, 0.048732072, -0.20320013, 0.02525451, -0.26879773, -0.21511178, 0.08866451, -0.046766516, -0.13612792, -0.09785279) * go_2(-1.0, 0.0);
|
|
result += mat4(-0.12481913, -0.12849878, -0.016158326, 0.025934998, 0.022762675, -0.011452937, -0.08533328, 0.06363569, 0.14518197, 0.23348686, 0.095732406, -0.19029738, 0.05512797, 0.02524934, 0.05958946, 0.06717244) * go_2(-1.0, 1.0);
|
|
result += mat4(0.061521348, -0.16622357, -0.08235146, -0.06429693, 0.03720797, 0.20682053, -0.08594098, 0.07171474, 0.0014226728, -0.07034602, -0.09734637, 0.03378296, 0.16466366, -0.10899766, -0.003239979, -0.015122078) * go_2(0.0, -1.0);
|
|
result += mat4(0.16695042, -0.1315729, 0.09122205, 0.07520023, -0.09821882, 0.035185304, -0.06842167, -0.011763841, -0.09345794, 0.15259263, -0.39355028, -0.3891075, 0.18299462, 0.06755557, -0.027738906, 0.013310929) * go_2(0.0, 0.0);
|
|
result += mat4(0.033140916, -0.027768493, -0.02067478, -0.06325463, -0.09894021, -0.20934165, -0.015428146, 0.12136887, 0.046120573, -0.071947254, 0.028421128, 0.06357571, 0.13145766, 0.04536773, 0.044150203, -0.10509899) * go_2(0.0, 1.0);
|
|
result += mat4(-0.10988508, 0.112615995, 0.1751226, 0.02660734, 0.08398276, 0.12926741, 0.2084611, 0.15119243, 0.028835213, -0.039361596, 0.0034648806, 0.029079277, -0.00217732, 0.06629454, -0.07294264, 0.023904502) * go_2(1.0, -1.0);
|
|
result += mat4(-0.013733941, -0.19174497, 0.106097385, 0.13108249, -0.02342723, -0.314217, 0.070849575, 0.0720347, -0.12744898, -0.065455206, -0.15339097, 0.022219827, -0.016159452, 0.010578856, 0.08105944, -0.05987952) * go_2(1.0, 0.0);
|
|
result += mat4(0.23217027, 0.05277337, 0.071452655, -0.10689918, -0.031163886, 0.1281398, -0.046946436, -0.027713988, -0.03565471, 0.08120484, -0.04330698, 0.07295522, 0.1321532, -0.03170989, 0.016022692, 0.121839166) * go_2(1.0, 1.0);
|
|
result += mat4(0.00410671, -0.04678445, 0.18113981, 0.05987472, 0.21671912, -0.34416708, 0.2037898, 0.15413988, -0.115338616, -0.06392024, 0.13700303, -0.033065956, -0.018238343, 0.1134282, 0.1275314, -0.019762916) * go_3(-1.0, -1.0);
|
|
result += mat4(-0.11894926, -0.029414194, 0.18244646, 0.217531, 0.07504621, 0.024808811, 0.23533674, -0.022842843, 0.05035676, -0.011317847, 0.7755237, 0.14858165, -8.2921815e-08, -0.04540463, 0.11160265, -0.0009788543) * go_3(-1.0, 0.0);
|
|
result += mat4(-0.14826688, -0.097891875, -0.13205692, -0.059139438, -0.13794315, -0.2652887, -0.11130958, -0.05137257, -0.1176455, -0.1548706, -0.10306716, 0.21789181, -0.009209018, 0.011220653, 0.01963476, 0.012935865) * go_3(-1.0, 1.0);
|
|
result += mat4(0.11714751, 0.15236345, 0.13536146, 0.044848517, 0.34835097, 0.13658829, 0.36627477, -0.27132225, -0.3091611, 0.20383716, 0.30317453, 0.08233188, -0.07287086, -0.048854213, 0.14926453, 0.033089206) * go_3(0.0, -1.0);
|
|
result += mat4(0.06970943, -0.11879602, -0.04682354, 0.06618747, 0.22552045, -0.13497396, 0.08345175, -0.255251, 0.15757652, 0.069464825, 0.37833855, -0.2546535, -0.16741769, -0.0860299, -0.0130390655, 0.09818734) * go_3(0.0, 0.0);
|
|
result += mat4(-0.07983536, 0.06403843, -0.07103762, -0.08339309, -0.055773012, 0.009426009, -0.12089462, -0.16594686, -0.11570191, -0.15629323, 0.054537755, 0.1888691, -0.13647257, -0.020126633, -0.17405704, -0.26438174) * go_3(0.0, 1.0);
|
|
result += mat4(-0.11210597, -0.020617625, -0.13101855, -0.17561626, -0.043740314, 0.23093803, -0.016813299, 0.09149021, 0.18216842, -0.043552347, 0.023779068, -0.10780718, -0.016673947, 0.14319964, -0.028260237, -0.124928825) * go_3(1.0, -1.0);
|
|
result += mat4(-0.03160608, -0.2333736, -0.13623776, -0.026613101, -0.26093182, 0.0132271405, 0.13844319, -0.02270748, 0.10522583, 0.18912983, 0.073725015, -0.27355325, -0.0055876593, 0.16790742, -0.07568777, 0.06618935) * go_3(1.0, 0.0);
|
|
result += mat4(0.022589413, 0.07764155, 0.07209622, -0.056753542, 0.0568345, -0.16099633, -0.1312878, 0.02636607, -0.21696982, -0.059245802, -0.08554336, 0.14966543, -0.059751473, -0.12615988, -0.04726769, 0.05051841) * go_3(1.0, 1.0);
|
|
result += mat4(0.08186889, 0.08205334, 0.023400525, -0.014372715, -0.32853618, 0.20950803, -0.13900198, 0.033662543, 0.22546336, 0.51378864, 0.25709614, 0.0690995, 0.024139842, 0.06293423, -0.016842663, -0.0019389848) * go_4(-1.0, -1.0);
|
|
result += mat4(0.08322223, 0.20575687, -0.12917835, -0.051425036, -0.10029536, 0.020689568, -0.62112635, -0.15488598, -0.12642258, 0.27025947, -0.10352515, -0.094899215, -0.07861278, -0.008126564, -0.36391425, 0.012501281) * go_4(-1.0, 0.0);
|
|
result += mat4(0.09727261, 0.2485468, 0.032302193, -0.056679122, -0.30999616, -0.15299593, -0.023860209, -0.016379328, 0.20444955, 0.24193929, -0.047571138, -0.13646403, 0.07320446, 0.11940953, 0.081255615, -0.024622988) * go_4(-1.0, 1.0);
|
|
result += mat4(-0.012735532, -0.0026588705, 0.049573418, -0.03732182, -0.550759, -0.19040847, -0.092085555, 0.050688766, 0.05871898, 0.65302145, 0.0486849, -0.015391376, -0.088805616, -0.1919315, -0.18541074, 0.064208336) * go_4(0.0, -1.0);
|
|
result += mat4(-0.25550497, 0.076505475, -0.0033188355, 0.05434708, -0.6988797, -0.44051754, -0.7110294, -0.6219069, -0.18371364, 0.03994295, 0.22495036, 0.2654511, 0.039869636, -0.0014285883, -0.3385523, 0.03384559) * go_4(0.0, 0.0);
|
|
result += mat4(0.12577426, 0.18141976, 0.017276304, -0.030196752, -0.3411355, -0.051372755, -0.4402098, -0.2307844, 0.2475909, 0.042480852, -0.13148455, 0.08761176, 0.09051365, 0.04634071, -0.1398518, -0.09816492) * go_4(0.0, 1.0);
|
|
result += mat4(0.082957186, 0.20064567, -0.0039741206, -0.101500906, -0.11700493, 0.029862897, -0.12905416, 0.2396674, -0.0837802, 0.53440446, -0.044294536, -0.03571166, 0.043897923, -0.052617326, -0.15071645, 0.032061413) * go_4(1.0, -1.0);
|
|
result += mat4(-0.11662253, 0.11108744, 0.15453078, 0.07819891, -0.25460127, -0.8427337, -0.07924075, 0.060776, -0.07543319, 0.1565062, -0.12689075, -0.053272385, -0.19933213, -0.020827955, 0.013956402, 0.21194445) * go_4(1.0, 0.0);
|
|
result += mat4(-0.0043281335, -0.024467073, 0.051124696, 0.08090264, -0.30834627, -0.67489, 0.2619303, 0.23885296, 0.20223773, 0.23991251, 0.01228539, -0.077657975, 0.025452869, -0.03739561, 0.042129666, 0.11460913) * go_4(1.0, 1.0);
|
|
result += mat4(0.06228207, -0.14803374, 0.010911389, 0.09355621, 0.023043629, 0.031996407, -0.055188306, -0.014802153, -0.019913547, 0.049278714, -0.08680487, -0.109947994, 0.0075249076, 0.05728937, -0.23096122, -0.14276639) * go_5(-1.0, -1.0);
|
|
result += mat4(-0.13976647, -0.06370508, -0.103730015, 0.036839988, -0.034798823, 0.10165849, -0.22992481, -0.22844586, -0.09660402, -0.00035895672, 0.043261856, -0.048690017, 0.07580462, -0.076795, 0.104297355, 0.064719155) * go_5(-1.0, 0.0);
|
|
result += mat4(0.20086232, 0.21900544, 0.100586765, -0.1263965, 0.08518987, 0.07015036, 0.1540687, -0.027686164, -0.2645977, -0.21961495, -0.049981266, 0.04538352, 0.07476041, 0.015029907, -0.0283461, -0.06752002) * go_5(-1.0, 1.0);
|
|
result += mat4(0.025824754, 0.009975207, -0.09909158, -0.007285313, 0.018532153, -0.17034489, -0.22879048, 0.11958223, -0.02237275, -0.039665785, 0.10340932, -0.035260696, -0.044261284, -0.08655165, -0.106472224, 0.050346926) * go_5(0.0, -1.0);
|
|
result += mat4(-0.088629484, -0.03668536, -0.09841912, -0.026597997, -0.053007387, 0.10285643, -0.21886663, -0.16486467, -0.06485831, -0.16549312, 0.09329481, 0.019519072, 0.125703, 0.04451335, -0.057531886, 0.016026434) * go_5(0.0, 0.0);
|
|
result += mat4(0.1822173, -0.050538287, 0.13174933, 0.12418439, 0.089775965, 0.20749187, -0.027725866, -0.19011584, -0.08552012, 0.0063636974, -0.09168926, -0.30534875, 0.06661879, -0.06904948, -0.030606193, 0.11095211) * go_5(0.0, 1.0);
|
|
result += mat4(0.105299786, -0.35318968, -0.09098853, -0.0369341, 0.0002527501, -0.0522018, -0.09358501, -0.045713484, 0.0027285013, 0.048836533, 0.13147967, -0.048738208, 0.059378657, -0.10914055, 0.11926634, 0.075568035) * go_5(1.0, -1.0);
|
|
result += mat4(0.2516043, -0.24786504, -0.10248864, -0.0040028943, 0.02035929, 0.21344659, -0.18807223, -0.15342413, 0.10871073, 0.084864154, 0.1361142, 0.0115587525, 0.11032122, -0.12804365, -0.11517307, 0.029220797) * go_5(1.0, 0.0);
|
|
result += mat4(0.0013311467, 0.031627458, -0.07854846, -0.057380144, -0.058437843, -0.034605294, 0.088147335, 0.03749221, 0.018598026, 0.017132863, 0.0018768669, -0.04457343, 0.03682849, -0.055201598, -0.0021610786, -0.08538003) * go_5(1.0, 1.0);
|
|
result += vec4(0.12639354, -0.013081255, 0.0065587023, 0.046620134);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x24
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_1_tf1
|
|
//!BIND conv2d_1_tf2
|
|
//!SAVE conv2d_2_tf1
|
|
//!WIDTH conv2d_1_tf.w
|
|
//!HEIGHT conv2d_1_tf.h
|
|
//!COMPONENTS 4
|
|
#define go_0(x_off, y_off) (max((conv2d_1_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_1_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv2d_1_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max(-(conv2d_1_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max(-(conv2d_1_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max(-(conv2d_1_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.011583964, -0.039870065, -0.15999149, 0.08675985, 0.08109101, -0.1879774, 0.19331096, -0.4534524, -0.12586977, 0.011471076, 0.19720814, -0.1143906, 0.07553728, -0.056127805, 0.1635918, -0.17931661) * go_0(-1.0, -1.0);
|
|
result += mat4(0.067819625, -0.21503527, 0.09939146, -0.07270988, -0.059113953, -0.049392458, 0.28810808, -0.14547947, -0.12949272, -0.0024433902, 0.38158932, -0.07837205, -0.036141198, 0.15529773, -0.11398279, -0.13650618) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.033942446, -0.031523492, 0.088098265, -0.20998281, -8.739418e-06, 0.176242, -0.0481297, 0.052109815, 0.081447944, -0.14213382, 0.277246, -0.11737086, -0.13384427, -0.0008667019, 0.14954486, 0.12667161) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.19201736, 0.12778927, -0.038250033, -0.5468646, -0.0061836247, 0.18480751, 0.044333503, 0.26007488, -0.20757933, 0.19695, -0.29442382, -0.22411272, 0.004405764, -0.034501124, 0.057751704, -0.03413746) * go_0(0.0, -1.0);
|
|
result += mat4(0.24880652, 0.1541801, -0.012062207, -0.6005811, -0.14904043, 0.05525859, -0.10741317, 0.1890063, -0.035635296, 0.3005301, -0.2797406, 0.8594579, 0.07482009, -0.10378448, 0.08236929, -0.26407042) * go_0(0.0, 0.0);
|
|
result += mat4(0.0073660286, -0.26556304, -0.1433165, 0.25972745, 0.23314878, 0.027763477, -0.11621574, -0.21574795, 0.24350981, -0.006988954, -0.02177087, -0.13037811, -0.1166682, 0.17278492, 0.08241569, 0.51040107) * go_0(0.0, 1.0);
|
|
result += mat4(0.13853693, -0.06968601, 0.12298946, 0.017782336, 0.012372836, 0.027876694, -0.27880472, -0.18076333, -0.0397836, 0.2420896, 0.038473837, -0.1555481, 0.04083059, -0.073141545, 0.14184499, 0.30984175) * go_0(1.0, -1.0);
|
|
result += mat4(-0.3133015, -0.09274826, 0.13639203, 0.10206795, -0.08598331, 0.03450585, 0.19280651, -0.08538865, -0.008546558, -0.07174769, -0.20052853, -0.24860515, -0.1470964, -0.22390126, 0.07744998, -0.002739885) * go_0(1.0, 0.0);
|
|
result += mat4(-0.006748567, 0.07274748, 0.092211284, 0.14483126, -0.11027929, 0.1201977, -0.04872484, -0.16433857, 0.044397447, -0.21384367, 0.03269424, 0.10942982, 0.04403927, 0.010967787, -0.040405788, -0.03232669) * go_0(1.0, 1.0);
|
|
result += mat4(-0.008280273, 0.024787866, 0.037189875, 0.03429621, -0.14698292, 0.094748855, 0.11563344, -0.073624834, -0.029853089, 0.07087531, -0.05736988, 0.11237037, -0.04985742, 0.056539766, -0.020783758, 0.12329614) * go_1(-1.0, -1.0);
|
|
result += mat4(-0.03344095, -0.0073405057, 0.05190122, 0.12998703, -0.048184916, -0.13144512, 0.031402104, 0.43577522, 0.112474926, -0.08905257, 0.10081381, -0.014079196, 0.09510892, -0.03853581, -0.20324658, 0.1589196) * go_1(-1.0, 0.0);
|
|
result += mat4(0.034226835, -0.038741812, -0.020816153, -0.13061026, -0.020475632, -0.16419771, -0.0076826485, -0.04103266, -0.0056703947, 0.06705962, 0.026199229, -0.019306373, -0.0067688744, -0.07038936, -0.104216576, 0.12684165) * go_1(-1.0, 1.0);
|
|
result += mat4(-0.008213376, -0.10455055, 0.04212865, 0.05025464, -0.07784179, 0.018042147, -0.023232944, 0.25375158, -0.009442334, -0.07854094, -0.040824052, 0.09969908, -0.07734574, 0.010816756, -0.098997355, 0.22808696) * go_1(0.0, -1.0);
|
|
result += mat4(-0.09186444, -0.070967846, -0.18332118, -0.13047308, 0.07874793, 0.49928188, -0.19095366, -0.5786626, -0.076766655, 0.00328989, -0.027825667, -0.46311954, 0.18953162, 0.0067680115, -0.39336485, 0.21162145) * go_1(0.0, 0.0);
|
|
result += mat4(0.067058854, 0.097902276, 0.11048054, 0.08798107, 0.24173008, -0.09251265, 0.040146023, 0.051595293, -0.024550369, -0.054440435, 0.002777188, 0.10740609, 0.12708955, -0.1126051, 0.08698823, -0.22985286) * go_1(0.0, 1.0);
|
|
result += mat4(0.009401559, -0.00019733842, -0.0391449, 0.07650643, 0.117760375, -0.16319785, -0.042495195, -0.23318908, 0.024536118, 0.12618859, -0.011912352, 0.09087688, -0.2767169, -0.044689544, 0.18786801, -0.020456426) * go_1(1.0, -1.0);
|
|
result += mat4(-0.034666687, -0.037431296, -0.12936176, -0.20454895, -0.30241257, -0.019945377, 0.01616507, 0.13762684, 0.055600353, -0.01146059, -0.013451368, 0.16529311, 0.42141652, 0.17878959, -0.322346, -0.2869838) * go_1(1.0, 0.0);
|
|
result += mat4(0.00015858973, -0.026061518, 0.056444857, 0.0891557, 0.08452023, -0.118858494, 0.052117698, 0.10851732, -0.0738216, -0.021903642, 0.041175738, -0.0327392, 0.5465747, -0.22983976, -0.2643581, -0.41978332) * go_1(1.0, 1.0);
|
|
result += mat4(-0.071339466, 0.20363729, -0.12277878, -0.18987495, -0.076909326, 0.040142104, 0.19751047, 0.09099594, 0.05504884, 0.010637861, -0.07010218, 0.016844785, -0.0025642936, -0.07132042, -0.0058730873, 0.114345245) * go_2(-1.0, -1.0);
|
|
result += mat4(-0.12181514, 0.09113612, -0.011027632, 0.1210622, -0.11706013, 0.03866967, -0.3818603, 0.071857385, 0.10714353, 0.05537742, -0.44725725, 0.03664743, 0.13571225, -0.13654736, -0.05921695, -0.023738123) * go_2(-1.0, 0.0);
|
|
result += mat4(-0.023582853, 0.09176081, -0.021919282, -0.010129313, 0.031890567, -0.07508517, -0.08540747, 0.05653626, 0.05514676, -0.0798297, 0.18732204, -0.030211389, -0.10890019, -0.0084348805, -0.027744634, 0.08252744) * go_2(-1.0, 1.0);
|
|
result += mat4(0.46878332, 0.26391587, 0.1209319, 0.20555447, -0.14922385, 0.051061515, -0.098676264, -0.79184246, -0.013350073, -0.08962262, 0.13399342, 0.06365851, -0.14557728, -0.06463198, -0.08577713, 0.013490423) * go_2(0.0, -1.0);
|
|
result += mat4(0.09800499, 0.20487864, 0.04297167, -0.17064336, -0.18083592, 0.07161958, -0.25937584, 0.2956417, -0.06518691, -0.041915365, 0.2427435, -0.27577895, 0.042372942, 0.012740312, 0.1629995, -0.068871476) * go_2(0.0, 0.0);
|
|
result += mat4(-0.09425951, -0.0002062786, 0.23311934, -0.006410014, -0.12866448, 0.007478842, -0.033752777, 0.25421995, -0.083972536, 0.23449679, -0.010915457, 0.028103303, -0.034862384, -0.1672906, -0.018962707, -0.18321303) * go_2(0.0, 1.0);
|
|
result += mat4(0.07923952, -0.008543305, 0.034679245, -0.11071784, -0.18627429, 0.003675945, 0.0069275787, -0.044213627, -0.006995472, 0.048261233, -0.06831886, 0.08082691, 0.09143829, 0.016518226, -0.05343353, -0.059744157) * go_2(1.0, -1.0);
|
|
result += mat4(-0.068577155, 0.07070798, 0.012206329, 0.060340866, -0.15496197, -0.048976723, 0.1804755, 0.023005864, 0.10723597, -0.11200869, -0.09880576, 0.04989044, 0.022357088, -0.037169944, 0.07880648, 0.072531044) * go_2(1.0, 0.0);
|
|
result += mat4(0.18387286, 0.03215834, -0.14121926, -0.10857612, -0.052505493, 0.04517108, -0.011841349, 0.004303513, 0.106845826, 0.15006103, 0.08652394, 0.08490524, -0.061379727, 0.08679647, -0.040883318, 0.08898481) * go_2(1.0, 1.0);
|
|
result += mat4(-0.23395903, 0.14408536, 0.06144857, -0.6685949, 0.031935096, 0.12004766, 0.26079124, -0.029172074, -0.03897466, 0.15112093, -0.07277923, 0.03711819, 0.16760348, 0.0568828, -0.065560065, 0.00956802) * go_3(-1.0, -1.0);
|
|
result += mat4(-0.04025016, 0.1942882, 0.3924612, -0.04801865, -0.00043523984, 0.14166853, 0.07607167, 0.08827246, -0.013007562, 0.2740378, 0.17477411, -0.12968275, -0.049680926, -0.050259456, 0.45260057, -0.577762) * go_3(-1.0, 0.0);
|
|
result += mat4(0.14644562, 0.031796087, -0.09817545, 0.20418191, -0.0067933775, 0.056546275, -0.21122308, 0.0013088459, -0.01669626, -0.06921733, -0.036989935, -0.011311058, -0.13346042, 0.058525432, -0.20613761, 0.20606859) * go_3(-1.0, 1.0);
|
|
result += mat4(0.030689783, -0.044584632, -0.1423556, 0.46852973, 0.1544211, 0.09648401, -0.02908366, 0.20236433, -0.209728, 0.14151458, 0.043298278, -0.09896984, -0.010364637, 0.105616786, 0.015112407, 0.1621763) * go_3(0.0, -1.0);
|
|
result += mat4(0.26286677, -0.18297276, -0.008437637, 0.23164693, -0.17953826, 0.0068245744, 0.3154146, 0.013059944, 0.01976866, 0.23886378, -0.41287166, 0.5972539, -0.096666135, -0.041894518, 0.09390394, 0.21449414) * go_3(0.0, 0.0);
|
|
result += mat4(-0.10464677, 0.13162361, 0.15632801, -0.08477776, 0.019359391, 0.011527983, 0.1291731, -0.23251401, 0.12450163, -0.109221414, -0.15897743, -0.14652708, -0.20315395, -0.14564586, 0.020215273, -0.32138833) * go_3(0.0, 1.0);
|
|
result += mat4(0.0016461449, -0.019713728, 0.0021448475, 0.23474461, -0.023654517, 0.3125121, -0.14093982, 0.029511975, -0.06882552, -0.055134527, 0.08678149, 0.16168617, 0.056411985, -0.003294866, -0.086585745, -0.08039331) * go_3(1.0, -1.0);
|
|
result += mat4(0.025475128, -0.13736734, -0.23040788, -0.14943235, 0.105925016, 0.035434112, -0.3531705, -0.08996714, 0.16017611, 0.32583725, -0.0015653507, -0.20779954, 0.052627537, 0.15831038, -0.04017022, 0.17487001) * go_3(1.0, 0.0);
|
|
result += mat4(-0.02480846, -0.007830464, -0.0036758396, -0.23093869, 0.09558813, -0.114281885, 0.031678613, -0.009195237, 0.06701917, 0.22061102, -0.09497275, -0.049442247, 0.035844408, -0.0007537016, 0.022630664, -0.038742796) * go_3(1.0, 1.0);
|
|
result += mat4(0.041537244, -0.07261114, -0.04763458, 0.10301855, 0.17563294, -0.0015564843, -0.37491855, 0.98893, -0.033186004, 0.02857216, 0.08441547, -0.10630457, -0.0057512764, -0.072272584, 0.04433026, -0.03993334) * go_4(-1.0, -1.0);
|
|
result += mat4(0.045594532, -0.09183751, -0.07595133, -0.29140073, 0.14685835, -0.11706308, -0.1521791, -0.08122252, -0.16447383, -0.16774787, 0.031189548, -0.049414303, 0.11017621, -0.039800264, -0.026208388, 0.010578009) * go_4(-1.0, 0.0);
|
|
result += mat4(-0.008146379, 0.011186087, 0.06602373, 0.12634839, -0.15983777, 0.47099414, -0.45333612, 0.8108099, 0.060124353, -0.055181783, 0.060738478, -0.19588436, -0.058250163, 0.07546748, -0.12299866, 0.14861311) * go_4(-1.0, 1.0);
|
|
result += mat4(-0.061107293, 0.03472494, -0.02506493, -0.20965452, 0.06124681, -0.10108107, -0.016206535, 0.9110013, -0.1416294, 0.08154053, -0.031441186, 0.0186752, 0.0034352038, -0.07802204, 0.017881326, 0.08767849) * go_4(0.0, -1.0);
|
|
result += mat4(0.111084074, 0.15226965, 0.18580344, 0.2079405, -0.13621394, -1.091612, 0.61654764, -0.4794665, 0.06974509, -0.13632853, 0.075810306, 0.23651427, -0.13307844, -0.15254645, 0.3380616, -0.23381148) * go_4(0.0, 0.0);
|
|
result += mat4(-0.087361775, -0.18112153, -0.041845977, 0.06846624, -0.5374386, 0.0951175, -0.07031933, 0.6016942, 0.2098498, 0.14762096, -0.07894201, 0.018698592, 0.015885107, 0.08625943, -0.06305365, -0.09532374) * go_4(0.0, 1.0);
|
|
result += mat4(-0.00532194, 0.023428405, 0.009051187, -0.026698198, 0.24106956, -0.120294146, -0.17878368, 0.5585901, -0.09603226, -0.27434218, 0.061267257, -0.067599274, 0.11577519, -0.07198036, -0.063585244, -0.054138158) * go_4(1.0, -1.0);
|
|
result += mat4(-0.0037090166, 0.12307526, 0.0906306, 0.25897357, -0.056975186, -0.1644774, 0.29305506, 0.8245228, -0.1015189, 0.12243611, -0.04579446, 0.03619774, -0.13700119, -0.093857154, 0.11116371, 0.28709015) * go_4(1.0, 0.0);
|
|
result += mat4(-0.06580517, -0.0050515556, -0.020180127, -0.12627304, -0.5295511, 0.20198601, 0.07984717, 0.49923962, 0.053387187, -0.14329363, 0.0334398, 0.027427796, -0.06010418, 0.06905177, -0.05953624, -0.0062744734) * go_4(1.0, 1.0);
|
|
result += mat4(0.10157902, -0.04258438, -0.081592366, 0.10231988, -0.0011280937, -0.0029477119, 0.122473806, 0.058182172, -0.12809396, -0.0764063, -0.02463603, 0.090703174, 0.016098853, -0.05153951, -0.10675215, -0.02805221) * go_5(-1.0, -1.0);
|
|
result += mat4(-0.006401907, 0.03299347, 0.021813435, -0.13645992, 0.023382979, 0.010197056, 0.06242549, 0.12870488, 0.019453553, -0.2611006, 0.36471257, -0.15937614, -0.15930663, 0.05387499, 0.016597098, -0.08595697) * go_5(-1.0, 0.0);
|
|
result += mat4(-0.124307014, 0.12072375, -0.0152935125, 0.11888215, -0.002845999, 0.06499965, -0.06901064, -0.03703204, -0.029126361, -0.0076392456, -0.060736757, 0.129555, 0.11537912, 0.116019435, 0.010435708, -0.028468154) * go_5(-1.0, 1.0);
|
|
result += mat4(-0.30459714, -0.17632067, -0.011205797, -0.221887, 0.10605666, -0.13572265, -0.46315852, 0.04301515, -0.13903672, 0.06458765, 0.06137365, -0.07876008, 0.094751015, -0.14028335, 0.116963856, -0.08032087) * go_5(0.0, -1.0);
|
|
result += mat4(-0.06367799, 0.02582219, 0.014640189, 0.18990557, -0.06407629, -0.32271802, 0.1840523, -0.19602421, 0.3909874, -0.36456084, 0.18965109, 0.7528314, 0.012954545, -0.15343507, -0.22583503, 0.25706828) * go_5(0.0, 0.0);
|
|
result += mat4(0.1301731, 0.058515985, 0.033280328, -0.24190922, -0.040143438, 0.058877766, 0.0054545617, 0.087361515, 0.27292597, -0.40958795, 0.026887156, -0.31366885, -0.0043431865, 0.12750955, -0.07194776, 0.065983064) * go_5(0.0, 1.0);
|
|
result += mat4(0.035723373, -0.095498726, 0.0782959, 0.15071936, -0.023301449, -0.05924046, 0.06547244, -0.10660772, -0.030093014, 0.07851236, -0.011449212, 0.047922783, -0.015065303, 0.03087975, -0.00836779, 0.09950588) * go_5(1.0, -1.0);
|
|
result += mat4(0.14543498, -0.117947996, -0.03933479, 0.004552818, -0.13139006, -0.122988954, -0.22851296, -0.13614058, -0.065790504, 0.18083169, 0.009247789, 0.11099354, -0.09211226, -0.16174947, -0.030774815, -0.087108776) * go_5(1.0, 0.0);
|
|
result += mat4(-0.03276944, 0.066936366, -0.0058282167, 0.036148816, -0.112155296, 0.00018165805, 0.1121539, 0.19087985, 0.19124067, -0.17718928, -0.218951, -0.27710462, 0.055448502, -0.14703886, -0.02985939, -0.13152236) * go_5(1.0, 1.0);
|
|
result += vec4(0.023773972, -0.01610134, -0.0063477294, 0.03926911);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x32
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_tf
|
|
//!BIND conv2d_tf1
|
|
//!BIND conv2d_2_tf
|
|
//!BIND conv2d_2_tf1
|
|
//!SAVE conv2d_3_tf
|
|
//!WIDTH conv2d_tf.w
|
|
//!HEIGHT conv2d_tf.h
|
|
//!COMPONENTS 4
|
|
#define go_0(x_off, y_off) (max((conv2d_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max(-(conv2d_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max(-(conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.070009954, 0.021454038, -0.11847886, -0.13528088, -0.018916288, -0.007984584, -0.24044524, 0.19681533, -0.2256282, 0.062132522, 0.09804443, 0.1609667, -0.1681184, -0.2739988, 0.9826367, -0.7047149) * go_0(-1.0, -1.0);
|
|
result += mat4(0.15299161, 0.031075276, 0.3363494, 0.21731544, 0.16975908, -0.13952748, 0.2240078, -0.05287144, -0.10947391, -0.28058887, 0.1602415, -0.05242933, -0.012824572, 0.44019148, 0.183011, 0.22124447) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.1933171, 0.010807793, 0.09619794, -0.11506685, -0.021847002, -0.032412205, -0.0695289, -0.36532974, -0.3062084, 0.23712663, -0.103008516, -0.1459631, -0.3775901, -0.15065736, 0.50798917, -0.319278) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.035294224, -0.18208614, -0.07670704, 0.19304472, -0.031985164, 0.1892136, 0.25703606, -0.13320692, 0.15069315, -0.15903461, 0.09562073, 0.62043756, -0.23541127, -0.40577292, 1.0787953, -1.2457207) * go_0(0.0, -1.0);
|
|
result += mat4(0.026066521, -0.123162605, -0.44671676, -0.2474968, -0.15022507, 0.14640577, -0.16684136, -0.17727603, -0.10631298, -0.00019539552, -0.14931045, 0.513359, -0.14604786, 0.2310633, 0.7307062, 0.9524847) * go_0(0.0, 0.0);
|
|
result += mat4(-0.01440516, -0.029865097, -0.21874285, -0.08972308, -0.041655123, -0.31896067, -0.08689541, -0.44401455, 0.19876169, 0.28722167, 0.2994054, -0.11819685, -0.21186438, 0.09155155, -0.053684887, 0.06309117) * go_0(0.0, 1.0);
|
|
result += mat4(0.38075218, -0.043483753, -0.06272146, -0.3508819, -0.028731659, 0.11677864, 0.30532238, -0.1361271, 0.027849868, 0.26058978, -0.22731794, -0.31844667, -0.14439595, -0.43144438, 0.22429988, -0.8116798) * go_0(1.0, -1.0);
|
|
result += mat4(0.2698316, 0.10916783, 0.22091974, 0.25939828, -0.39838716, -0.56674814, -0.0027586184, 0.3153625, 0.02299242, -0.09457763, -0.18344624, -0.26338023, 0.808161, 0.42487702, -0.08384813, 0.2537601) * go_0(1.0, 0.0);
|
|
result += mat4(0.0016191471, -0.017978113, 0.07647931, 0.09275741, 0.047083963, -0.16048019, -0.35436496, -0.11364046, 0.14129135, -0.22842133, 0.2055642, -0.2851008, -0.26163805, 0.25209108, -0.07687645, 0.17382248) * go_0(1.0, 1.0);
|
|
result += mat4(-0.17505698, 0.050314635, 0.22755234, 0.08223936, 0.5061073, -0.03928098, -0.04852723, -0.2080106, -0.23748071, -0.11158337, -0.1185882, 0.25914934, -0.12613636, -0.14749174, -0.01269258, -0.029624067) * go_1(-1.0, -1.0);
|
|
result += mat4(0.10377744, -0.05466698, 0.078872405, 0.13041748, 0.3035502, 0.008530016, -0.0073189647, 0.08329345, -0.6060871, -0.16662528, -0.30371985, -0.2702, 0.61287826, 0.1879884, -0.35137656, 0.059505742) * go_1(-1.0, 0.0);
|
|
result += mat4(0.4154466, 0.027697539, -0.20323761, 0.053415433, -0.068815745, -0.08202049, -0.0044402266, -0.15027983, -0.20020244, 0.07059659, -0.41572148, -0.1883762, 0.4808424, 0.17841879, 0.34741637, -0.16586983) * go_1(-1.0, 1.0);
|
|
result += mat4(-0.49572352, 0.18716958, -0.11335317, -0.04769748, -0.10330109, -0.19025627, 0.041789476, -0.029715253, 0.41650102, -0.21882975, 0.00034815544, -0.14541556, -0.36252424, 0.08366534, -0.3358562, 0.14622436) * go_1(0.0, -1.0);
|
|
result += mat4(-0.61609584, 0.27124375, -0.19046734, -0.11064285, 0.07314146, -0.06847904, -0.10895851, -0.25303125, -0.31509212, -0.061137207, 0.77079886, 0.09762246, -0.12127141, 0.5360138, -0.10778708, -0.26520404) * go_1(0.0, 0.0);
|
|
result += mat4(0.14356199, -0.33016726, -0.10193467, 0.11632038, -0.2102557, -0.09183232, -0.05608626, 0.1077268, 0.42815325, -0.12325146, 0.07102939, 0.33383858, 0.2685298, -0.30266166, -0.14468539, 0.25896597) * go_1(0.0, 1.0);
|
|
result += mat4(0.24143316, -0.25761056, 0.10797443, -0.09529745, -0.2713075, -0.13745351, 0.35335636, 0.18980181, 0.1497739, 0.2171633, 0.061957028, 0.06298818, -0.5021309, 0.23157999, 0.33820194, -0.31056333) * go_1(1.0, -1.0);
|
|
result += mat4(0.5320622, -0.19934873, 0.23535317, 0.31637898, -0.22363397, 0.08788032, -0.39178285, -0.008990902, -0.123608015, -0.19913444, -0.057655413, 0.14251189, -0.10986118, 0.2881711, 0.17117414, 0.192134) * go_1(1.0, 0.0);
|
|
result += mat4(-0.17839171, -0.073765226, -0.008635483, -0.060226154, 0.06017481, -0.13104144, 0.12686783, 0.032242585, 0.2530974, -0.16110623, -0.063553855, 0.037782427, -0.16940302, 0.12327486, -0.26592708, -0.6268989) * go_1(1.0, 1.0);
|
|
result += mat4(-0.02958415, 0.17974854, -0.05410245, 0.33944428, -0.09253551, 0.07514051, 0.13740923, -0.28058362, -0.02765559, -0.11831436, -0.043005154, -0.11904006, 0.16704343, 0.04189509, -0.10330082, 0.1880131) * go_2(-1.0, -1.0);
|
|
result += mat4(-0.37475482, -0.01700356, -0.24596426, -0.4922382, -0.19088304, -0.016197044, -0.12311331, -0.036154404, 0.2840147, 0.118689395, -0.12786976, -0.2880571, -0.11529499, -0.1782456, -0.033142284, 0.13284667) * go_2(-1.0, 0.0);
|
|
result += mat4(0.19109744, -0.022636034, -0.20981206, -0.13425744, 0.06719846, -0.007916905, 0.03267867, 0.2379371, 0.14225921, -0.34617522, -0.05871524, 0.16368906, -0.11616345, 0.11237658, -0.045261133, -0.11723488) * go_2(-1.0, 1.0);
|
|
result += mat4(-0.08670845, 0.26602617, 0.44096178, -0.51279294, -0.056755852, -0.12593001, -0.33269683, 0.20696445, 0.1559452, 0.07681006, -0.09779268, -0.688887, 0.21316779, 0.17372929, -0.08544234, 0.07616171) * go_2(0.0, -1.0);
|
|
result += mat4(0.17020908, -0.12088683, 0.1419015, 0.12911774, -0.15688238, -0.28298134, -0.11700167, 0.19899802, -0.07609943, -0.029896088, -0.0050638276, -0.38834035, -0.08416907, 0.031337228, -0.28374615, -0.14694452) * go_2(0.0, 0.0);
|
|
result += mat4(0.06929038, -0.047811467, 0.117096715, 0.12538622, 0.08086667, 0.24495961, 0.3155886, 0.104587935, -0.01886312, -0.34588912, -0.27327782, -0.04555734, 0.23255315, -0.108082674, -0.13707769, -0.05873641) * go_2(0.0, 1.0);
|
|
result += mat4(0.00902887, 0.14967729, 0.32326877, 0.37786308, 0.086763926, 0.07875129, 0.018687664, -0.23617996, 0.10713405, -0.32334656, 0.03548578, 0.48193508, 0.16891663, 0.06672513, 0.015739288, 0.11815199) * go_2(1.0, -1.0);
|
|
result += mat4(-0.056735244, -0.12874928, -0.1966798, -0.006730039, -0.19457163, 0.5460189, -0.33285704, -0.16783655, -0.110312894, 0.26006797, 0.39838836, 0.04828549, -0.35588023, -0.046225607, 0.1470969, -0.03958509) * go_2(1.0, 0.0);
|
|
result += mat4(-0.040117856, -0.12115325, -0.09573767, -0.20720899, -0.31765452, 0.17502289, 0.32475054, -0.037348557, -0.6297341, 0.31640062, 0.13060059, 0.38800913, 0.022872448, -0.24634287, 0.078089714, -0.06475687) * go_2(1.0, 1.0);
|
|
result += mat4(0.091850154, 0.07503415, -0.029450072, 0.063198596, -0.48778293, 0.008516766, -0.011320089, 0.16324575, 0.25261796, -0.17494957, 0.05179325, -0.38840756, -0.0009285451, 0.23772798, -0.041317377, -0.2321146) * go_3(-1.0, -1.0);
|
|
result += mat4(-0.14229155, -0.0363765, -0.2688432, -0.050601564, -0.34335235, 0.06305365, 0.13397686, 0.080726914, 0.7566556, -0.13657099, 0.5557799, 0.32687777, -0.48564702, -0.2650894, -0.12913369, -0.120667666) * go_3(-1.0, 0.0);
|
|
result += mat4(-0.46836203, -0.0053843935, 0.121539764, 0.1515464, -0.08852458, 0.0457093, 0.17343567, 0.28838184, 0.1487209, -0.16409159, 0.36763063, 0.32707927, -0.6642105, -0.07492801, -0.10795077, 0.022325262) * go_3(-1.0, 1.0);
|
|
result += mat4(0.57899827, -0.13887906, -0.0097093545, 0.16584128, 0.02580304, 0.029060904, -0.07870976, 0.08426836, -0.49014091, -0.059810862, 0.07537706, 0.19709098, 0.50265956, -0.1979507, 0.04224913, 0.24166693) * go_3(0.0, -1.0);
|
|
result += mat4(0.5854048, -0.30505064, 0.11956023, 0.42225972, 0.23776995, -0.15392427, -0.24818493, -0.008560312, 0.14061272, -0.24819212, -0.43060255, 0.041263513, 0.1102007, -0.35617712, 0.11143811, -0.12615411) * go_3(0.0, 0.0);
|
|
result += mat4(0.038254753, 0.25506422, -0.04199388, 0.049952004, 0.09660053, -0.102070555, 0.03463346, 0.41572338, -0.8515757, -0.099683315, 0.41168302, -0.28354573, -0.033608474, 0.20575888, -0.09237519, 0.1317394) * go_3(0.0, 1.0);
|
|
result += mat4(-0.36307448, 0.21091977, -0.05185984, 0.23907793, 0.028207673, -0.03712817, -0.14677319, 0.012790144, -0.10698613, -0.10369875, 0.04410704, 0.24705076, 0.6489292, -0.32338777, -0.13414769, 0.06621839) * go_3(1.0, -1.0);
|
|
result += mat4(-0.75373167, 0.09019827, -0.17284726, -0.12543003, 0.27073398, -0.2086718, 0.27785063, -0.13103813, 0.02331414, 0.08186754, -0.20196521, 0.051684897, -0.06606664, -0.31958562, -0.21315438, 0.125855) * go_3(1.0, 0.0);
|
|
result += mat4(-0.038064726, 0.16583198, 0.32122764, 0.035743285, 0.12363822, 0.1127362, -0.14712748, -0.085392915, -0.24138255, 0.044777665, -0.05044951, -0.033647526, 0.030597545, 0.09082426, 0.2265798, 0.4736122) * go_3(1.0, 1.0);
|
|
result += mat4(0.1126977, -0.20046005, -0.25496894, 0.124036126, 0.10974965, 0.11985285, 0.084138885, 0.18124366, -0.07204373, 0.0064274063, -0.04832383, 0.08851591, 0.16612647, 0.03482884, -0.18090217, 0.047765564) * go_4(-1.0, -1.0);
|
|
result += mat4(-0.07905303, -0.18953685, -0.0394631, 0.3865751, -0.09878195, 0.0971415, -0.028516496, -0.028853778, 0.14474897, -0.09137614, 0.09731305, 0.40169916, 0.15572307, 0.1500765, -0.00012203158, 0.0064038946) * go_4(-1.0, 0.0);
|
|
result += mat4(-0.003821752, -0.06385342, 0.0072888564, -0.083775744, -0.060851365, 0.057136264, 0.04280462, -0.021202056, -0.048534214, -0.18506972, -0.12204474, 0.5779176, -0.04827323, -0.08722066, -0.07115785, 0.05368898) * go_4(-1.0, 1.0);
|
|
result += mat4(-0.2330202, -0.06303653, 0.29030174, 0.030189004, -0.33963275, 0.18114606, 0.29463735, 0.11328755, 0.07963053, 0.0031095785, -0.29962993, 0.28251857, -0.11494044, -0.0057895523, 0.14319211, -0.2488439) * go_4(0.0, -1.0);
|
|
result += mat4(-0.23654912, 0.22379474, 0.3198649, 0.056066927, 0.030691607, -0.07961141, -0.03144492, -0.088082604, 0.6778628, 0.132889, -0.055798188, -0.06978169, 0.12096563, -0.32717404, 0.09106718, -0.36815766) * go_4(0.0, 0.0);
|
|
result += mat4(-0.023105778, -0.06328445, -0.19508956, 0.03861484, 0.012225362, 0.19229671, 0.116407454, 0.14414418, 0.35368624, -0.024074793, 0.3326615, 0.27431, 0.09195309, -0.07196982, 0.04215389, -0.3849532) * go_4(0.0, 1.0);
|
|
result += mat4(0.07858679, -0.09443359, -0.29571265, -0.1362178, 0.0996039, 0.11245977, 0.027077818, -0.08518728, 0.33179262, 0.049214616, -0.05736423, 0.36015186, 0.15525928, -0.038635023, -0.39069554, 0.34784096) * go_4(1.0, -1.0);
|
|
result += mat4(0.058750402, -0.10020396, -0.07721487, -0.17439356, 0.16671538, 0.13477819, 0.16946232, -0.025819335, 0.34714434, -0.010198532, 0.11025432, -0.38616708, 0.12990142, 0.23817861, -0.019366616, 0.028044654) * go_4(1.0, 0.0);
|
|
result += mat4(0.14006312, 0.10630536, -0.2260768, 0.05714687, 0.092723176, 0.09547309, -0.0389109, 0.07675646, 0.058345646, -0.042954672, 0.06104659, -0.4122757, 0.16417535, 0.0037746713, -0.18294196, 0.30190903) * go_4(1.0, 1.0);
|
|
result += mat4(0.057622287, -0.035229363, -0.06553031, 0.10031876, -0.19319145, -0.048806723, -0.007425805, 0.019005304, 0.003586262, 0.016717708, 0.060107335, -0.06216915, 0.049704567, -0.05240107, 0.25620982, -0.31595117) * go_5(-1.0, -1.0);
|
|
result += mat4(-0.18573885, -0.111477345, -0.09373111, -0.21040887, 0.11643646, 0.07510521, -0.32174352, -0.15092906, 0.12905258, -0.027009318, -0.002743646, -0.041563954, 0.020309664, -0.034647387, 0.31882894, -0.37069848) * go_5(-1.0, 0.0);
|
|
result += mat4(0.17867199, -0.00943737, -0.010177444, -0.21181585, 0.104042746, 0.014474994, 0.018701844, 0.026212798, 0.03658747, 0.043956183, 0.043650407, 0.085389875, -0.014945577, -0.01762919, 0.182654, -0.22317432) * go_5(-1.0, 1.0);
|
|
result += mat4(-0.120912515, -0.039224375, -0.037017174, -0.23653193, -0.1008845, 0.028399386, -0.044548668, -0.45636034, -0.16566889, 0.013642447, 0.0137368515, -0.03482613, 0.13369492, -0.06382037, 0.22479321, -0.23690398) * go_5(0.0, -1.0);
|
|
result += mat4(-0.4373671, -0.23222357, -0.21916443, 0.3293385, 0.028744029, 0.15837203, 0.023399707, 0.10409895, -0.41181034, 0.043568164, -0.009273385, 0.21109276, 0.16801079, 0.030154167, -0.009720421, -0.18788648) * go_5(0.0, 0.0);
|
|
result += mat4(-0.072376475, -0.02011798, -0.10647262, 0.020971974, -0.2182798, 0.11682645, -0.087513156, -0.13088813, -0.008121755, 0.0039800145, 0.038333565, -0.11610967, 0.027469315, -0.056020927, 0.15623987, -0.056618977) * go_5(0.0, 1.0);
|
|
result += mat4(-0.13373947, -0.033171114, 0.06283731, -0.08029521, -0.24974878, -0.03945939, 0.034578755, -0.1890085, -0.027030889, 0.0749198, -0.016240204, 0.03943091, 0.030432291, -0.044505976, 0.19445403, -0.49589068) * go_5(1.0, -1.0);
|
|
result += mat4(-0.1509842, -0.0070381155, 0.012917948, 0.17059498, 0.029610088, -0.10878063, -0.008113074, 0.056289833, -0.054603256, 0.09829515, 0.03806881, 0.17829162, -0.0015822726, -0.08691946, 0.20231368, -0.19972196) * go_5(1.0, 0.0);
|
|
result += mat4(0.029532772, 0.07929085, -0.11437378, 0.19494608, 0.032031387, -0.028734982, -0.1297608, 0.137159, -0.022271536, 0.09515793, -0.078155525, 0.23037949, -0.04492241, 0.0027398348, 0.13030772, -0.3092417) * go_5(1.0, 1.0);
|
|
result += mat4(-0.20163082, 0.10821193, -0.008131394, 0.23895654, -0.088109724, 0.027591089, -0.06744196, -0.16356489, 0.14405222, -0.03198801, -0.035864875, -0.1109604, -0.20993288, 0.006086241, 0.17663592, -0.15123697) * go_6(-1.0, -1.0);
|
|
result += mat4(0.15604545, 0.0863649, -0.17487015, -0.046291944, -0.06473543, -0.046659626, -0.06383705, 0.20159698, 0.14458497, 0.043557648, -0.16473973, 0.27218005, 0.11444152, -0.17841269, 0.0213813, -0.09379467) * go_6(-1.0, 0.0);
|
|
result += mat4(-0.09508709, 0.062292904, -0.025705643, -0.046973627, 0.035843458, -0.020717923, 0.0016703135, -0.120141126, -0.07056921, 0.0071509765, 0.0033964573, 0.15667385, 0.001521539, 0.02383701, 0.11906247, 0.015913757) * go_6(-1.0, 1.0);
|
|
result += mat4(-0.023991859, 0.057200454, -0.27439624, 0.23484877, 0.27387905, -0.027218517, -0.043888092, -0.103732556, -0.0017815046, -0.04338658, 0.028682018, -0.029997526, 0.09857438, -0.099476606, -0.2005576, 0.21962215) * go_6(0.0, -1.0);
|
|
result += mat4(0.17833887, 0.036116857, -0.17426641, -0.3021426, -0.08815194, 0.09120692, -0.09277666, 0.31938124, -0.12322653, 0.07583539, 0.40784645, -0.2529727, 0.060947243, 0.29199588, -0.09663916, -0.0887749) * go_6(0.0, 0.0);
|
|
result += mat4(0.12118307, 0.072123915, 0.032619722, -0.14627928, -0.17117277, -0.20412678, 0.10590516, -0.120998636, -0.09727269, 0.10894508, 0.08592984, -0.091238625, 0.19324283, -0.21001537, -0.28439295, 0.55045736) * go_6(0.0, 1.0);
|
|
result += mat4(0.012281795, 0.081385076, 0.11878277, 0.0492705, 0.044748496, 0.023902494, 0.048969056, -0.020066973, 0.008425134, -0.039190397, -0.23549677, 0.16787378, -0.08247198, -0.09669504, 0.2364321, -0.15428442) * go_6(1.0, -1.0);
|
|
result += mat4(-0.06404987, 0.0792038, 0.0879481, 0.2292919, -0.037722748, -0.06653894, 0.014114178, 0.06494269, -0.08017585, -0.03293329, 0.08816353, -0.1719619, -0.033170886, -0.13535172, -0.15126792, -0.028171781) * go_6(1.0, 0.0);
|
|
result += mat4(-0.0939603, -0.04363446, 0.21171579, 0.08820829, -0.15083222, 0.03214101, 0.09666204, 0.07437523, 0.21149153, 0.08965673, -0.2026921, 0.45489082, -0.12321808, 0.020059932, 0.22567947, -0.1652867) * go_6(1.0, 1.0);
|
|
result += mat4(0.058340825, -0.009565485, -0.04712614, -0.011693445, 0.109775394, 0.1345538, -0.14835285, -0.03637253, -0.045945812, 0.057066254, 0.0012826056, 0.17587218, -0.05606375, 0.039724518, 0.14448565, -0.06710324) * go_7(-1.0, -1.0);
|
|
result += mat4(-0.03129011, -0.09362061, -0.1680952, 0.42509457, -0.05798844, 0.07895778, -0.00010777998, -0.004981966, 0.015770718, 0.039250076, -0.016780263, -0.018409397, 0.013635053, 0.046897493, 0.10643381, -0.19698535) * go_7(-1.0, 0.0);
|
|
result += mat4(-0.17554706, -0.058096908, -0.11011958, 0.028699566, -0.09768116, 0.09436239, 0.096591026, -0.0271704, 0.083061986, 0.035011213, 0.018580453, -0.13121471, -0.008538906, 0.007896264, 0.16126987, -0.23193283) * go_7(-1.0, 1.0);
|
|
result += mat4(-0.15810363, -0.13618536, 0.14263584, -0.20569824, -0.026839454, 0.11919806, -0.014142015, 0.099571005, -0.22521633, 0.08088796, 0.004038379, 0.1033703, 0.044606976, 0.0591929, 0.13262387, -0.101969674) * go_7(0.0, -1.0);
|
|
result += mat4(0.023098622, 0.0056320266, -0.048355665, 0.15577006, -0.62205386, -0.028400926, -0.2078418, -0.21066222, -0.15307198, -0.22209099, -0.23168832, 0.20184901, -0.015974384, -0.047552537, -0.002478177, 0.042329706) * go_7(0.0, 0.0);
|
|
result += mat4(-0.13832586, 0.121770665, 0.09548324, -0.011305353, 0.08170726, 0.038764317, 0.13168605, -0.4840011, -0.016078193, 0.042103536, -0.07127359, 0.07069598, -0.077047385, 0.062384266, 0.04216962, -0.28733572) * go_7(0.0, 1.0);
|
|
result += mat4(0.0047042207, -0.005170153, -0.060513787, 0.24502122, 0.15005493, 0.19491407, -0.20482984, 0.028262774, -0.27250344, -0.018161086, -0.063804634, 0.2234186, -0.0013560655, 0.0017168024, 0.031621188, -0.039464153) * go_7(1.0, -1.0);
|
|
result += mat4(-0.017963814, 0.020721428, -0.11342004, 0.13301808, 0.0057044607, 0.16854525, 0.0016813589, 0.263098, -0.19456023, -0.006512073, 0.27316168, 0.113714844, -0.05583268, 0.049267832, 0.1909614, -0.028266707) * go_7(1.0, 0.0);
|
|
result += mat4(-0.09178215, -0.04123267, 0.019224923, -0.021475106, -0.03738984, 0.091329075, -0.11633343, 0.00926425, 0.055472236, -0.029774308, 0.10396517, -0.1399692, -0.08381618, 0.010906619, 0.13378097, -0.15872277) * go_7(1.0, 1.0);
|
|
result += vec4(0.06153431, -0.030526869, 0.17697038, -0.06977153);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x32
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_tf
|
|
//!BIND conv2d_tf1
|
|
//!BIND conv2d_2_tf
|
|
//!BIND conv2d_2_tf1
|
|
//!SAVE conv2d_3_tf1
|
|
//!WIDTH conv2d_tf.w
|
|
//!HEIGHT conv2d_tf.h
|
|
//!COMPONENTS 4
|
|
#define go_0(x_off, y_off) (max((conv2d_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max(-(conv2d_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max(-(conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.39232063, -0.31443354, 0.016747609, -0.19821034, -0.11440283, -0.108339086, 0.09855654, 0.09687135, -0.15667859, -0.30788472, -0.057983518, -0.30048364, -0.5892024, -0.03315241, 0.036535796, 0.042668976) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.12170337, -0.31539497, -0.0080226185, -0.28167912, -0.026236918, 0.26168135, -0.086754136, 0.07140889, -0.11411177, 0.15551405, -0.04641522, 0.046217185, 0.080186784, -0.0001861396, -0.5990683, -0.24228567) * go_0(-1.0, 0.0);
|
|
result += mat4(0.0850365, -0.10327682, -0.1407833, 0.15661862, -0.1448079, -0.2993967, 0.08681482, 0.00483843, 0.18711449, 0.12147834, 0.114697695, -0.015375287, -0.39649305, -0.22024211, -0.08587565, -0.002201199) * go_0(-1.0, 1.0);
|
|
result += mat4(0.30565795, -0.3130614, 0.15354335, -0.21783416, -0.3877839, 0.003429585, -0.21440028, -0.024295159, 0.35766846, 0.02559725, -0.120454274, -0.10827954, -0.3355037, 0.6561727, -0.065990135, 0.30999345) * go_0(0.0, -1.0);
|
|
result += mat4(0.46554184, 0.43995824, 0.25583804, 0.20159459, 0.03730261, -0.15794723, 0.16795531, 0.11421282, 0.17099904, -0.22430302, 0.072461665, -0.06345064, 0.36006132, 0.47494593, -0.18869492, -0.04085313) * go_0(0.0, 0.0);
|
|
result += mat4(0.27438906, 0.00022448118, 0.099661484, 0.1397181, 0.12914467, -0.102830835, 0.045909263, -0.07967794, 0.2870382, 0.055183165, -0.031485636, 0.029727582, 0.37630266, 0.9301813, 0.28615892, 0.122112595) * go_0(0.0, 1.0);
|
|
result += mat4(-0.15251397, 0.09909433, -0.17192633, 0.0061163795, 0.06472459, -0.04261906, -0.13661696, -0.077453144, -0.7501463, 0.017666366, 0.16321932, 0.043644384, -0.05170323, 0.46000114, 0.32755983, 0.28597534) * go_0(1.0, -1.0);
|
|
result += mat4(-0.48834783, -0.038160775, -0.08875091, 0.04970968, 0.4627543, 0.03755849, 0.2540123, -0.21826492, -0.38032553, 0.32484698, -0.008446612, 0.23523396, 0.02375393, 0.27418464, -0.28132874, 0.15265541) * go_0(1.0, 0.0);
|
|
result += mat4(0.13747992, 0.11715287, 0.13201898, 0.0015658925, -0.2934619, -0.39777488, -0.07560646, -0.10565406, -0.04838937, 0.08350108, -0.019061742, 0.16467288, -0.05936286, -0.015435401, 0.4184143, 0.10496155) * go_0(1.0, 1.0);
|
|
result += mat4(-0.3240166, 0.08215981, -0.2075559, 0.19689886, 0.11150226, 0.06310339, -0.13621064, -0.15570635, 0.33679137, 0.04409631, -0.28714085, 0.031056935, 0.6626613, -0.08051886, 0.1722458, -0.22435535) * go_1(-1.0, -1.0);
|
|
result += mat4(0.24195263, -0.04580777, -0.4145571, -0.1574205, -0.042835433, 0.03784082, -0.026375433, 0.35892, 0.15977724, 0.0630263, -0.088371195, 0.02971135, 0.25729623, -0.15589325, 0.14479266, -0.05088765) * go_1(-1.0, 0.0);
|
|
result += mat4(0.48559383, -0.25281984, 0.36621982, -0.21811092, -0.32971957, -0.035721473, 0.019352507, -0.06045977, 0.2761817, 0.19758923, 0.089941375, 0.041624714, -0.041388534, 0.16949178, 0.031209668, -0.064278066) * go_1(-1.0, 1.0);
|
|
result += mat4(-0.32959136, 0.5905178, -0.121284775, 0.004792909, 0.23675677, -0.020328185, 0.13438764, 0.24885756, -0.17519131, 0.13370351, -0.1229379, 0.048159435, 0.17464967, -0.42540422, -0.13947602, 0.22700138) * go_1(0.0, -1.0);
|
|
result += mat4(-0.33010545, 0.31171462, 0.405461, -0.19268602, -0.19920933, -0.05938957, 0.0026099307, -0.24588005, -0.80367726, 0.67246026, -0.2002546, 0.06855837, -0.21781918, 0.74446076, -0.5982218, 0.2985812) * go_1(0.0, 0.0);
|
|
result += mat4(0.5674039, -0.4777194, -0.13907014, 0.12356176, -0.2920615, 0.0718882, 0.17865288, 0.20312083, -0.27032906, -0.34635755, 0.16373387, 0.03063499, -0.19903831, -0.19363025, 0.10843769, -0.26495013) * go_1(0.0, 1.0);
|
|
result += mat4(-0.17949842, -0.29433724, -0.23462017, 0.09636558, 0.20076938, -0.24068621, -0.056744654, 0.10993452, 0.04466387, -0.2755299, -0.13640761, -0.024520185, -0.46797183, 0.367952, 0.11696459, 0.22428559) * go_1(1.0, -1.0);
|
|
result += mat4(-0.011885658, 0.0891566, -0.037328225, 0.121865466, 0.048127756, 0.19165848, 0.031010484, -0.059921212, -0.21560976, -0.1529375, 0.12882216, 0.026642917, -0.11849831, 0.1641988, -0.06821976, 0.038913097) * go_1(1.0, 0.0);
|
|
result += mat4(0.014311083, 0.0046286825, 0.03766498, 0.030933104, 0.3158337, 0.014788744, -0.25061515, 0.3439588, 0.3746984, 0.011211178, 0.06807453, -0.14517218, -0.08588519, -0.44777295, -0.14026845, -0.112901196) * go_1(1.0, 1.0);
|
|
result += mat4(0.30676752, 0.22429968, 0.010868903, 0.19810227, 0.07854048, 0.0401537, -0.21871732, 0.024473034, 0.0754844, 0.21695364, 0.015986437, 0.32385147, -0.049408115, -0.0382484, -0.109464966, -0.17461152) * go_2(-1.0, -1.0);
|
|
result += mat4(-0.08928476, 0.16673279, 0.04767194, 0.09194907, 0.048144393, 0.10040854, 0.34817588, 0.038137782, 0.036133062, -0.037641533, 0.28543243, -0.2839514, -0.11791945, -0.19487488, -0.11268661, 0.05276339) * go_2(-1.0, 0.0);
|
|
result += mat4(-0.16383977, -0.31993598, 0.05208131, -0.0903597, 0.11033569, -0.0088908225, -0.054778915, -0.08319848, -0.06639396, -0.24900046, -0.2512979, -0.0019553688, -0.048192777, 0.03562768, 0.047395132, -0.05525853) * go_2(-1.0, 1.0);
|
|
result += mat4(-0.7830732, -0.4262562, -0.2673563, 0.13023588, 0.31384844, 0.1693089, 0.048528794, 0.15604164, -0.39588538, -0.08493865, 0.3310555, 0.08203675, -0.066885136, -0.0058401288, -0.17974985, -0.16163951) * go_2(0.0, -1.0);
|
|
result += mat4(-0.6983336, -0.59333223, -0.20371103, -0.3932194, 0.10534863, 0.04589214, -0.12699358, -0.15107739, -0.43941692, 0.13968801, -0.1860207, 0.25864246, -0.31358764, 0.02336987, -0.114363804, -0.2314969) * go_2(0.0, 0.0);
|
|
result += mat4(-0.13214386, 0.2762571, -0.07932436, -0.011312506, -0.1585973, -0.01644935, 0.0013558406, 0.073481865, -0.38878354, -0.008272082, -0.010028009, -0.12177282, -0.19708647, -0.20147185, -0.009344351, -0.039000046) * go_2(0.0, 1.0);
|
|
result += mat4(0.36948234, -0.027262207, 0.073340006, -0.11237642, -0.014205325, -0.033619095, 0.090520136, 0.044478547, 0.89536375, -0.25342697, 0.06966775, -0.25697634, 0.44092584, -0.02181121, -0.23286918, -0.16207126) * go_2(1.0, -1.0);
|
|
result += mat4(0.5282722, 0.2186328, -0.06594115, -0.005403383, -0.9999943, 0.1652842, -0.40371686, 0.045263674, 0.48378405, 0.5981784, -0.8636207, 0.48454443, 0.61362064, 0.40381622, -0.20037466, -0.35095415) * go_2(1.0, 0.0);
|
|
result += mat4(-0.15710682, -0.082183905, 0.025527366, -0.06832543, 0.45136708, 0.28492203, 0.21369967, -0.1544125, -0.21440476, 0.2747644, -0.07809032, -0.05409878, -0.09492401, -0.0042038485, -0.08335747, -0.1286338) * go_2(1.0, 1.0);
|
|
result += mat4(0.092377424, -0.29580644, 0.037406705, -0.057557207, -0.068813734, 0.025797142, 0.005817593, 0.13936609, -0.5533757, -0.0055351052, 0.3490144, -0.10275609, -0.3246664, -0.22240998, -0.06546209, 0.04502687) * go_3(-1.0, -1.0);
|
|
result += mat4(-0.040512305, -0.15789752, 0.3350875, 0.3248354, 0.11479105, 0.072781734, 0.11961662, 0.009017058, -0.7485467, -0.2354417, -0.18182847, -0.39436963, -0.21553181, 0.06693962, -0.10265758, -0.101919465) * go_3(-1.0, 0.0);
|
|
result += mat4(-0.29808417, 0.16832493, -0.36638075, -0.003277357, 0.30853003, -0.11783712, -0.04467285, 0.09799486, -0.29557002, -0.051879432, -0.10781173, -0.012533523, 0.13472205, 0.0886817, -0.095418304, 0.20694672) * go_3(-1.0, 1.0);
|
|
result += mat4(0.54963315, -0.51755005, -0.11815116, 0.44336796, -0.26965025, 0.063990854, -0.06830417, -0.22906917, 0.15537436, -0.12382655, 0.040594, 0.13573219, -0.32865304, -0.051071506, 0.07789849, -0.17451958) * go_3(0.0, -1.0);
|
|
result += mat4(0.108385645, 0.19099213, -0.13721561, -0.10001342, 0.36975056, -0.15690732, -0.011564509, -0.4645765, 0.9664348, -0.4172701, -0.12434381, -0.20082358, 0.025960991, -0.07957984, 0.06240927, 0.06882944) * go_3(0.0, 0.0);
|
|
result += mat4(-0.55891496, 0.5313842, -0.0052928664, -0.31153533, 0.27312106, 0.11299291, -0.20902458, -0.22780886, 0.18460937, 0.20829925, -0.22429292, 0.11375158, -0.24776565, 0.013294957, 0.108396605, 0.18705682) * go_3(0.0, 1.0);
|
|
result += mat4(0.17449534, -0.014089195, -0.005522746, -0.26652694, -0.3059182, -0.077219255, 0.13172182, 0.22815189, 0.29824528, -0.0018969525, -0.049221557, -0.02434726, 0.28403616, -0.30762187, -0.18281007, -0.069536164) * go_3(1.0, -1.0);
|
|
result += mat4(0.11734828, -0.099142194, -0.1678673, 0.113515854, -0.16090973, -0.018343726, 0.09375435, -0.11457814, 0.29799998, 0.14911132, -0.030187404, -0.0033569376, 0.51210696, 0.20057757, 0.018672027, -0.00072862353) * go_3(1.0, 0.0);
|
|
result += mat4(-0.4207862, 0.23023506, -0.045380734, 0.35523587, -0.31482896, 0.0016041965, 0.031437084, -0.11878056, -0.09631354, -0.44702205, 0.07262705, -0.019627657, 0.27565527, 0.30019623, -0.2416735, 0.13827145) * go_3(1.0, 1.0);
|
|
result += mat4(-0.21828848, -0.05362182, 0.092769556, 0.058445822, -0.015375804, 0.032911193, -0.016062194, 0.0023879025, -0.07955863, -0.18912281, 0.100602634, 0.18384646, 0.09833795, 0.13066116, 0.08606998, 0.060196545) * go_4(-1.0, -1.0);
|
|
result += mat4(-0.30196983, -0.13994773, -0.04102513, -0.021608166, 0.15173563, -0.0014104879, 0.013970848, 0.069105186, -0.046455324, -0.55526954, 0.39444688, 0.0815259, 0.10904215, 0.21681397, 0.06073383, 0.10265119) * go_4(-1.0, 0.0);
|
|
result += mat4(-0.11820481, -0.05975609, -0.13999549, 0.030522387, -0.013776436, -0.14367265, 0.009655233, -0.020354088, -0.117309436, -0.21025649, -0.0852297, 0.0050804066, 0.07790261, -0.07352538, -0.016056273, 0.030884959) * go_4(-1.0, 1.0);
|
|
result += mat4(-0.01982244, -0.14982677, 0.08542808, 0.114587806, -0.093505375, 0.009862345, -0.17831016, 0.15021613, 0.017223043, -0.05448468, 0.19507179, 0.005433668, -0.28699195, -0.0943735, 0.005008677, -0.084489435) * go_4(0.0, -1.0);
|
|
result += mat4(0.17592743, 0.16011396, -0.4458925, 0.03776147, -0.22227006, -0.1765121, -0.023907507, -0.12340803, 0.69395095, -0.42174822, 0.2619632, -0.08317782, 0.06564856, -0.07574905, 0.19617046, -0.15101147) * go_4(0.0, 0.0);
|
|
result += mat4(-0.0031664995, 0.0048539517, -0.029761892, -0.024908772, 0.038988, 0.083212, 0.022871153, 0.049879767, 0.5655658, -0.39324993, -0.41707525, -0.00069710996, -0.088931695, 0.5349101, -0.03700674, 0.19864099) * go_4(0.0, 1.0);
|
|
result += mat4(-0.09978203, -0.12430744, -0.005363638, -0.078683436, 0.16000083, 0.09070007, -0.08223272, 0.10610758, -0.09339724, -0.25193405, 0.060660124, 0.022009233, 0.028552014, -0.30671445, 0.04395066, -0.022646846) * go_4(1.0, -1.0);
|
|
result += mat4(-0.0025377637, -0.10979372, 0.0953052, -0.041535445, 0.028650977, -0.18192725, -0.13626699, -0.04126641, 0.41577348, 0.070594355, 0.17786773, -0.0019128436, 0.21811736, -0.3097873, -0.1697477, -0.05985297) * go_4(1.0, 0.0);
|
|
result += mat4(0.0029388457, -0.08754279, -0.057417464, -0.045205314, 0.14254501, -0.14048617, -0.029115621, 0.017037913, 0.23511319, 0.58405197, -0.045535047, -0.093041405, 0.24495944, 0.048594877, 0.16573521, -0.016364215) * go_4(1.0, 1.0);
|
|
result += mat4(0.0061783222, 0.03700483, 0.03310341, 0.03506661, 0.18640573, 0.060847793, -0.03938158, 0.002558664, 0.0066146054, -0.03961683, 0.11786358, -0.018774983, -0.023232952, -0.018498667, -0.02113431, -0.03875601) * go_5(-1.0, -1.0);
|
|
result += mat4(-0.07762769, 0.3220323, 0.0019882289, 0.11455374, 0.12809245, 0.054234043, -0.032796185, -0.004923056, 0.03533371, 0.23241599, -0.047939382, -0.005454499, 0.018655885, -0.06090632, -0.074992895, -0.022785714) * go_5(-1.0, 0.0);
|
|
result += mat4(-0.024499241, -0.0656105, 0.033745233, -0.06109949, 0.02657246, 0.099547654, 0.048236806, -0.08930123, -0.028375195, 0.21267472, 0.04065708, -0.029539475, -0.0034377375, -0.076174065, -0.08033416, 0.014191793) * go_5(-1.0, 1.0);
|
|
result += mat4(0.09567274, 0.17149109, 0.057815317, -0.02354373, -0.053182393, 0.07036649, 0.11426706, 0.0073960987, -0.042224813, -0.03242704, 0.028637128, -0.018156664, 0.027350018, -0.059693146, -0.025782553, -0.059870392) * go_5(0.0, -1.0);
|
|
result += mat4(-0.29396304, -0.14174098, 0.044468317, 0.048983667, -0.09083888, 0.14550914, -0.17293338, -0.019666478, -0.27275094, -0.026832746, -0.16039373, 0.05072858, 0.13158675, -0.0014240668, -0.19267258, 0.028367419) * go_5(0.0, 0.0);
|
|
result += mat4(-0.14670749, -0.20505863, -0.25351146, -0.18028821, -0.09074548, 0.12591866, -0.11648123, 0.08052676, -0.1030718, 0.055071495, -0.027647234, 0.036372066, 0.042164043, -0.24193078, -0.018126357, -0.08488727) * go_5(0.0, 1.0);
|
|
result += mat4(-0.002951344, -0.07835709, 0.0412822, 0.024059866, -0.17239328, -0.045480777, 0.031516057, -0.02321261, 0.16131492, -0.108720064, -0.13902234, 0.009038252, 0.019813707, -0.13780454, -0.08646045, -0.03967984) * go_5(1.0, -1.0);
|
|
result += mat4(0.087156996, -0.43204084, 0.08196673, 0.09000798, 0.11798731, -0.2800244, 0.013827372, 0.006278623, -0.027538646, -0.47985002, -0.07989979, 0.0101940865, 0.11476763, -0.08189494, -0.107904315, 0.0034190493) * go_5(1.0, 0.0);
|
|
result += mat4(0.10922693, -0.13929938, -0.14316928, -0.06415228, 0.10821941, -0.09326445, -0.10437615, -0.019490898, 0.02572968, -0.23569673, -0.18372843, 0.018998442, 0.019020457, -0.078145295, -0.12052183, -0.02904386) * go_5(1.0, 1.0);
|
|
result += mat4(0.047391865, -0.14862657, 0.10497325, -0.0060389596, 0.04090357, 0.07597069, -0.16701244, -0.045025267, 0.05439692, -0.0046527646, 0.10107427, -0.017686805, -0.09081038, 0.0033508723, -0.07428749, 0.083581686) * go_6(-1.0, -1.0);
|
|
result += mat4(0.24039297, 0.10254748, -0.08497433, 0.06220285, -0.21642606, 0.06099548, 0.05618001, 0.027991194, 0.11916666, 0.001376908, -0.04484436, -0.063753836, -0.080493644, -0.12548241, 0.22396187, -0.060979564) * go_6(-1.0, 0.0);
|
|
result += mat4(0.09228674, -0.10189853, -0.019978495, 0.055631284, -0.056667626, 0.042379495, -0.11306628, 0.015792474, -0.024159636, 0.17669754, -0.0015470447, 0.030659685, 0.049270805, 0.01379507, -0.07484134, 0.03997324) * go_6(-1.0, 1.0);
|
|
result += mat4(-0.08015897, -0.1573799, -0.0068566655, 0.024327071, -0.00024650464, -0.11511224, 0.10626316, -0.09424342, 0.035164617, -0.0071606585, 0.023877172, -0.0032834266, 0.03981932, 0.00094573526, 0.07893367, 0.058131382) * go_6(0.0, -1.0);
|
|
result += mat4(-0.09480482, -0.13352568, 0.11975561, 0.04046284, 0.017295167, 0.14661242, 0.034784466, 0.16060774, 0.12513426, 0.11618688, -0.19043984, -0.006898629, 0.33333287, 0.02068534, -0.144777, 0.054585308) * go_6(0.0, 0.0);
|
|
result += mat4(-0.040517613, 0.13882688, -0.10775904, -0.01107748, -0.22891715, 0.023514308, -0.07362997, 0.050480675, -0.15309371, 0.22601646, 0.050979435, 0.0078024655, 0.09704638, -0.113768086, 0.159759, -0.19680989) * go_6(0.0, 1.0);
|
|
result += mat4(-0.038060542, 0.060299598, -0.06167331, 0.070311025, -0.056030717, -0.10937594, -0.094534926, -0.05876128, 0.04186674, 0.05846574, 0.046057925, 0.050594475, -0.15031303, 0.033675846, 0.14669393, -0.020838607) * go_6(1.0, -1.0);
|
|
result += mat4(0.006198633, 0.008096492, -0.061412863, -0.038600348, 0.13099104, -0.024788823, 0.143207, 0.08146842, -0.09880114, 0.020192526, 0.093205445, -0.006562488, -0.10218187, 0.34932604, 0.017245278, 0.022239687) * go_6(1.0, 0.0);
|
|
result += mat4(0.019581253, -0.071536854, -0.079313144, 0.0039378665, 0.04372604, 0.0350227, -0.13975748, 0.02514243, 0.1482172, -0.1795845, 0.016553031, -0.114758186, -0.13846005, 0.028443053, -0.0028277517, 0.073823154) * go_6(1.0, 1.0);
|
|
result += mat4(0.019089226, -0.002865448, 0.114264086, -0.14795631, 0.052681867, 0.06782111, 0.005056374, 0.03333905, -0.045924906, 0.1271522, -0.022228748, 0.09460952, 0.0257857, -0.0404471, -0.100172006, -0.009518522) * go_7(-1.0, -1.0);
|
|
result += mat4(-0.0919395, 0.024952088, 0.02894272, -0.02876963, -0.17500453, 0.22578874, -0.05303085, -0.0015600728, -0.0076474883, -0.0018742654, 0.044667635, -0.029744165, -0.00179505, -0.012467833, -0.12192312, 0.034183223) * go_7(-1.0, 0.0);
|
|
result += mat4(-0.11467171, 0.036459688, -0.12508968, 0.062637016, 0.05442847, 0.023415027, -0.058653936, 0.27762222, 0.0033886922, -0.056405902, -0.1611357, -0.042607184, -0.029176304, -0.033276357, -0.060190573, 0.006230224) * go_7(-1.0, 1.0);
|
|
result += mat4(-0.10476976, 0.20189178, 0.013450291, 0.017824117, -0.07174306, -0.16174208, -0.0790696, -0.13154395, -0.119226985, 0.03126223, 0.08976427, -0.0017329347, 0.03171847, -0.062868886, 0.04638837, -0.03491934) * go_7(0.0, -1.0);
|
|
result += mat4(0.059950083, 0.10400816, -0.046370424, -0.012014035, -0.43914387, -0.18396273, -0.060568314, 0.010451131, -0.43835276, 0.026284682, 0.1604382, -0.10625134, 0.044843365, 0.10809218, 0.06464759, -0.046850365) * go_7(0.0, 0.0);
|
|
result += mat4(-0.06787761, -0.042850304, -0.15407841, 0.058458067, -0.17467526, 0.096576124, 0.21345392, 0.09298287, -0.01394914, -0.13355762, -0.13184176, 0.0003088022, 0.046734177, 0.028196447, -0.13506489, 0.0067693642) * go_7(0.0, 1.0);
|
|
result += mat4(0.053602345, -0.08111152, -0.017126815, -0.028242027, 0.092225246, 0.076781385, -0.089152336, 0.0012632497, -0.09276537, -0.24698547, 0.04423726, -0.06601727, 0.01814881, -0.13947123, -0.032667328, -0.019452555) * go_7(1.0, -1.0);
|
|
result += mat4(-0.0888714, -0.14888728, -0.03935948, -0.020991955, -0.07616056, -0.04555924, -0.09465727, -0.13786288, -0.305734, -0.3085076, 0.03795676, -0.021256099, -0.012537832, -0.23650081, -0.07035176, -0.028411875) * go_7(1.0, 0.0);
|
|
result += mat4(-0.0868341, -0.14694329, 0.08679206, -0.014810077, 0.022454316, -0.094533004, -0.17521082, -0.0076950863, -0.077531025, 0.11369054, -0.131653, -0.014213835, -0.08936547, -0.123560406, -0.031929504, 0.017496165) * go_7(1.0, 1.0);
|
|
result += vec4(0.05049932, 0.08230575, 0.58376503, 0.86909854);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x32
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_tf
|
|
//!BIND conv2d_tf1
|
|
//!BIND conv2d_2_tf
|
|
//!BIND conv2d_2_tf1
|
|
//!SAVE conv2d_3_tf2
|
|
//!WIDTH conv2d_tf.w
|
|
//!HEIGHT conv2d_tf.h
|
|
//!COMPONENTS 4
|
|
#define go_0(x_off, y_off) (max((conv2d_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max(-(conv2d_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max(-(conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.14979692, -0.19874124, 0.7368574, -0.75289476, -0.07442179, -0.057006773, 0.052752588, 0.07042955, 0.023808982, -0.15449218, -0.214054, 0.4198038, -0.031717926, 0.42492926, -0.365123, -0.5385816) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.20962773, -0.023108777, 0.058071185, 0.16705127, -0.13245003, 0.035289574, -0.2708952, -0.09654876, -0.031879663, -0.04658145, 0.34683147, 0.16727158, 0.0348443, 0.3031345, -0.3261166, -0.118750244) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.21795142, -0.11076161, -0.05562235, -0.019234827, -0.013561418, -0.097614266, 0.017759917, -0.016897203, -0.35361412, 0.057772327, -0.06672376, 0.022556266, 0.10166518, -0.20721449, -0.33036092, 0.031573854) * go_0(-1.0, 1.0);
|
|
result += mat4(0.33822674, -0.014097686, 0.040684048, -0.18630835, -0.14371929, -0.044715706, 0.15923496, -0.001135727, 0.09309857, 0.043319203, 0.008005289, -0.06445179, 0.04558112, -0.3218687, -0.23799446, -0.05683568) * go_0(0.0, -1.0);
|
|
result += mat4(0.30100045, -0.16198196, -0.40970346, -0.08049791, -0.3257815, 0.32816964, -0.1036189, -0.01658084, 0.3158466, -0.099933214, 0.17709035, 0.015306898, 0.109196454, -0.8539901, -0.39478862, 0.44471648) * go_0(0.0, 0.0);
|
|
result += mat4(-0.25177294, 0.38001952, -0.10283977, 0.16721214, 0.47318378, -0.051106233, -0.1658626, 0.0006494121, 0.0790059, -0.2052262, 0.09690421, -0.24400221, 0.386201, 0.12295305, 0.008400798, 0.1569414) * go_0(0.0, 1.0);
|
|
result += mat4(0.13002181, -0.062052924, -0.105005205, -0.1063579, -0.2948124, -0.084252134, -0.1092418, 0.18163803, 0.087108664, -0.24015805, 0.0813893, -0.15364105, 0.4476238, -0.19498287, 0.058062855, -0.13685432) * go_0(1.0, -1.0);
|
|
result += mat4(0.080557905, 0.10061249, -0.019393712, 0.2723204, 0.37991402, -0.30517173, 0.15205608, -0.17223756, -0.1711708, 0.22243942, -0.51695263, 0.06089266, 0.2784161, -0.039997682, -0.27718592, 0.18410686) * go_0(1.0, 0.0);
|
|
result += mat4(0.04679752, -0.10547882, 0.065308206, -0.05089279, -0.03807331, 0.39167935, -0.033223882, -0.029149204, -0.11922506, 0.14605616, -0.026710276, 0.043473598, -0.14226817, -0.33978114, -0.13193306, -0.064798094) * go_0(1.0, 1.0);
|
|
result += mat4(0.16664545, 0.054396506, 0.5975169, -0.1282768, 0.033200808, 0.07221164, -0.26142395, -0.18964534, -0.13124959, -0.18198496, -0.6014699, 0.05141559, 0.5430321, 0.1740554, -0.34170282, 0.26922655) * go_1(-1.0, -1.0);
|
|
result += mat4(-0.3690329, -0.41274253, -0.17788443, -0.38740525, -0.31772953, 0.065274484, -0.10197657, -0.009203365, 0.014726659, -0.4838253, 0.6801823, 0.048202187, -0.004891756, 0.45931026, -0.42521614, 0.54947734) * go_1(-1.0, 0.0);
|
|
result += mat4(-0.022050077, 0.07676187, -0.2678602, 0.12050436, 0.2968012, 0.134127, 0.013001306, -0.022339938, 0.072250396, 0.16998878, 0.13204311, 0.1460555, -0.2108701, 0.085233, -0.33153787, -0.3943539) * go_1(-1.0, 1.0);
|
|
result += mat4(0.020494493, -0.13280667, 0.120742574, 0.18085496, -0.3993116, 0.27331954, -0.16451527, -0.12265906, -0.609543, 0.5610297, -0.51908624, -0.12770663, -0.06081323, -0.03547236, -0.3134851, 0.120467834) * go_1(0.0, -1.0);
|
|
result += mat4(0.694917, -0.056899358, 0.5973495, -0.36394402, 0.11194564, -0.014088698, 0.3335045, -0.30163172, 0.410675, -0.18881899, 0.6248168, 0.11293253, 0.007631114, 0.25432107, 0.13347992, 0.12681353) * go_1(0.0, 0.0);
|
|
result += mat4(-0.10188845, -0.25959828, -0.3245341, 0.27263215, -0.023503877, -0.072242714, 0.13622598, 0.21790865, -0.3163553, -0.013236621, -0.13055128, -0.20804474, -0.009641516, 0.20730485, 0.040377166, 0.13722788) * go_1(0.0, 1.0);
|
|
result += mat4(-0.4001694, 0.20498846, -0.04771135, -0.2705733, 0.097105324, 0.08779578, 0.018639572, 0.18933, -0.06865882, -0.24691378, -0.27062201, -0.028328577, -0.0036236667, -0.19430988, 0.022964898, 0.08762482) * go_1(1.0, -1.0);
|
|
result += mat4(-0.26447344, 0.597568, -0.75024736, 0.29766613, -0.040174056, 0.0043453, -0.034185186, -0.09291407, 0.14045602, 0.19046465, -0.013113876, -0.20518276, 0.1951194, -0.317452, 0.38230306, 0.16865042) * go_1(1.0, 0.0);
|
|
result += mat4(0.059703857, -0.38956463, 0.1103034, -0.0053544333, 0.067712605, -0.25418857, 0.18657285, 0.14283091, -0.3343347, 0.13270105, -0.22770841, 0.053509742, -0.21625842, -0.3108662, 0.7752985, 0.031922966) * go_1(1.0, 1.0);
|
|
result += mat4(0.27932245, -0.031156274, -0.8561641, 0.6776702, 0.011417689, -0.00027964372, -0.18250081, -0.0037116525, -0.099202864, 0.06313943, -0.042443503, -0.5106033, -0.08595155, -0.052907, -0.1087237, 0.5441453) * go_2(-1.0, -1.0);
|
|
result += mat4(0.16762924, -0.009944587, -0.2679235, -0.2021139, 0.21079461, -0.11809957, 0.3809502, 0.08643512, -0.058171842, 0.20088726, -0.062347364, -0.12985747, 0.16284388, -0.16306452, 0.09982884, 0.14088723) * go_2(-1.0, 0.0);
|
|
result += mat4(-0.0714393, 0.082623124, 0.10457793, 0.06049393, -0.21751815, 0.15272824, -0.05817135, -0.033302475, 0.040557053, -0.23516949, -0.0038103394, 0.012663176, 0.028543636, 0.006461524, 0.04151789, 0.025360702) * go_2(-1.0, 1.0);
|
|
result += mat4(-0.3958464, -0.49928874, -0.18322971, 0.1660756, 0.02241122, -0.15481286, -0.08289814, 0.1838922, -0.30311695, 0.033998005, 0.046327453, 0.046667594, -0.19373152, 0.054595128, -0.1810291, 0.026330587) * go_2(0.0, -1.0);
|
|
result += mat4(-0.17988408, -0.06920031, 0.45933202, 0.13610782, 0.3321532, -0.35902196, -0.01072334, 0.130472, -0.17946465, 0.024062874, 0.028480636, -0.02477549, 0.030871931, -0.06926073, 0.21192017, -0.3275599) * go_2(0.0, 0.0);
|
|
result += mat4(0.2777268, 0.039282586, 0.18316416, -0.09472171, -0.12926842, 0.21093419, 0.26748186, -0.034381114, 0.37504667, 0.101034865, -0.005076637, 0.3046354, 0.19506508, 0.07113483, 0.11567689, 0.015364835) * go_2(0.0, 1.0);
|
|
result += mat4(0.0024751208, -0.09917078, 0.28514004, 0.13154282, 0.025117317, 0.107632674, -0.14624198, -0.13388367, -0.038752496, 0.06344873, -0.17392725, 0.44770598, 0.06466959, 0.18955265, -0.07118261, 0.13022475) * go_2(1.0, -1.0);
|
|
result += mat4(0.061531715, 0.040746104, 0.17598623, -0.15300408, -0.16540745, -0.22774096, -0.092872284, 0.22756997, 0.49107695, -0.6291782, 0.18959439, 0.051523212, -0.022658838, -0.23492336, 0.22632147, -0.0963997) * go_2(1.0, 0.0);
|
|
result += mat4(-0.049996454, 0.20427251, -0.13305162, 0.11485584, -0.049903087, -0.27760607, 0.10333013, -0.102610506, 0.5495312, -0.31861833, 0.002093027, -0.07540532, 0.020750895, 0.11532434, -0.302924, 0.038216017) * go_2(1.0, 1.0);
|
|
result += mat4(-0.0742038, 0.14481308, -0.52984416, 0.1047764, 0.056594335, -0.30959937, 0.28613302, 0.34666842, -0.39666295, 0.26017725, 0.35440627, -0.34158382, -0.37820384, -0.17103404, 0.50328887, -0.22849783) * go_3(-1.0, -1.0);
|
|
result += mat4(0.3429522, -0.15276, 0.2209812, 0.45239314, 0.23704866, -0.005374581, 0.16275096, 0.024596661, -0.82699585, 0.6892652, -0.5133988, -0.37860793, -0.24554388, -0.36862546, 0.53238416, -0.15033963) * go_3(-1.0, 0.0);
|
|
result += mat4(-0.18241908, -0.097688325, 0.19900274, -0.049691215, -0.0707727, 0.01220912, -0.13254303, 0.06655784, -0.112321585, -0.6344655, -0.14198428, -0.25697416, 0.30084953, -0.06746383, 0.061665535, 0.48863387) * go_3(-1.0, 1.0);
|
|
result += mat4(0.037913926, -0.03827507, 0.154614, -0.40610346, 0.3045199, 0.008148914, 0.16061406, -0.18722008, 0.23903824, -0.41043565, 0.13431714, 0.005762402, -0.11140545, 0.09172593, 0.36103448, -0.21254368) * go_3(0.0, -1.0);
|
|
result += mat4(-0.81520826, -0.18719831, -0.7951369, 0.30222818, 0.022721667, -0.24935177, -0.28099492, 0.46440077, -0.22375317, 0.21440145, -0.82245845, -0.08865358, -0.034643255, -0.14605747, -0.20446338, 0.017269822) * go_3(0.0, 0.0);
|
|
result += mat4(-0.027954992, 0.44265705, 0.14893635, -0.22994424, -0.4062441, 0.037667353, -0.20461299, -0.2084607, 0.045539107, 0.019446995, -0.26775262, 0.20553084, 0.53191364, -0.34656656, 0.101131186, -0.18529478) * go_3(0.0, 1.0);
|
|
result += mat4(0.22462271, -0.6351009, -0.30356836, 0.4656144, 0.021343032, 0.12060711, -0.118174694, -0.102915525, -0.03897218, 0.38728097, 0.0065090284, -0.014050115, -0.11878573, 0.043891054, -0.2201844, -0.008109699) * go_3(1.0, -1.0);
|
|
result += mat4(0.3475876, -0.5480176, 0.32965973, -0.3013803, -0.12759317, -0.2552925, 0.040291607, 0.058848295, 0.090461515, -0.0100614, 0.26301694, 0.19180556, -0.19759412, 0.22332898, -0.66193426, 0.029582586) * go_3(1.0, 0.0);
|
|
result += mat4(-0.15084246, 0.2588267, -0.12036018, -0.100685254, -0.09681174, 0.10745359, -0.055402648, -0.17146726, 0.16907287, -0.2920604, 0.1719566, -0.062248997, 0.16846664, -0.04184749, -0.67145276, -0.14377783) * go_3(1.0, 1.0);
|
|
result += mat4(-0.29134026, 0.14061885, 0.019386701, -0.23595293, 0.15995972, 0.11001859, 0.09999047, 0.24208768, -0.20627365, -0.5980567, -0.10900429, 0.15628706, -0.035789836, 0.11344383, 0.22269405, 0.1167161) * go_4(-1.0, -1.0);
|
|
result += mat4(0.2086919, 0.32100046, -0.074735984, 0.028284928, 0.05750321, -0.066351704, -0.12921254, 0.02867359, 0.61451894, -0.64832085, 0.01923096, 0.107076205, -0.080694854, 0.017926944, 0.115145884, 0.023048883) * go_4(-1.0, 0.0);
|
|
result += mat4(0.044795334, -0.14508736, 0.009281871, -0.047577426, -0.04061876, -0.10779222, -0.0934905, 0.07574239, 0.06306946, -0.18841065, -0.06520789, -0.1511161, 0.056024194, -0.23865043, 0.0027067165, -0.023214353) * go_4(-1.0, 1.0);
|
|
result += mat4(-0.16991557, 0.017060002, -0.29013085, 0.19565602, -0.058718584, 0.07541131, -0.19660297, 0.030717509, 0.13866037, 0.1607997, 0.33416504, -0.10889656, -0.16938633, -0.30223483, -0.116302475, -0.067932114) * go_4(0.0, -1.0);
|
|
result += mat4(0.013324888, 0.043513425, -0.13977613, 0.049115334, 0.27864334, -0.14303638, -0.08351705, -0.034961347, 0.54420704, -0.114335835, 0.70558935, -0.17958923, 0.2993206, 0.15411529, 0.1525758, 0.02863741) * go_4(0.0, 0.0);
|
|
result += mat4(-0.037015285, -0.2017719, -0.011478376, -0.018624172, 0.1424438, -0.21703872, 0.04142035, 0.08435333, 0.016879117, -0.13277175, 0.5071568, -0.00452118, -0.075084746, 0.02599955, 0.03993921, -0.0077187354) * go_4(0.0, 1.0);
|
|
result += mat4(-0.08865702, -0.036773548, 0.09770667, -0.059214808, 0.092925295, 0.024745809, 0.18103407, 0.010096519, 0.12563165, 0.21068119, 0.39060932, 0.052776936, -0.007520789, 0.073785275, 0.15345341, -0.040818583) * go_4(1.0, -1.0);
|
|
result += mat4(-0.01307178, -0.2883416, 0.06089409, -0.025703222, -0.0153167285, -0.13499002, 0.19134292, 0.017535282, 0.4228713, 0.42407927, 0.49823955, -0.014714462, 0.07038049, -0.16592962, 0.20797624, -0.067286916) * go_4(1.0, 0.0);
|
|
result += mat4(-0.10721055, 0.12606484, 0.058121577, -0.0076352274, 0.20147532, 0.023864318, 0.035990067, 0.019970879, -0.09824868, 0.21742553, 0.23160207, -0.01923935, -0.051066495, 0.07820049, 0.25739282, 0.01963692) * go_4(1.0, 1.0);
|
|
result += mat4(-0.11948619, 0.2351847, -0.043393455, 0.030519446, 0.4539114, 0.1742429, -0.0774874, -0.080372855, 0.08532228, 0.2565506, -0.047552552, 0.06568883, -0.0336801, 0.014859413, -0.01480705, 0.000907035) * go_5(-1.0, -1.0);
|
|
result += mat4(0.13286628, 0.18621215, -0.023270091, 0.0070656347, -0.15205616, 0.1755209, 0.058746208, -0.11478106, 0.028688533, 0.018236568, -0.029914241, -0.01234524, 0.027454674, -0.08994973, -0.023616008, 0.10552348) * go_5(-1.0, 0.0);
|
|
result += mat4(-0.061776865, 0.37519607, -0.0055178492, 0.0034296983, 0.18715686, 0.5121114, 0.097835, 0.03487622, 0.0467928, 0.054646105, -0.005521889, 0.005822461, -0.043956164, 0.03566145, -0.074804395, -0.0035681466) * go_5(-1.0, 1.0);
|
|
result += mat4(0.030094853, -0.19132867, -0.12022806, 0.008678997, 0.14250284, -0.39671174, -0.02558346, 0.049037408, 0.030368956, 0.032775097, -0.0700175, -0.043425113, -0.011832092, 0.1385766, 0.049986932, 0.048339713) * go_5(0.0, -1.0);
|
|
result += mat4(-0.04173207, -0.32059047, -0.3176571, -0.059780464, -0.149838, -0.09253593, 0.017474804, -0.02850501, -0.002491147, -0.4902331, -0.41391358, -0.019036679, 0.12910078, 0.011391104, 0.15281096, 0.035302237) * go_5(0.0, 0.0);
|
|
result += mat4(-0.051985674, -0.28821957, 0.041421372, -0.026321337, -0.11232292, -0.0076721082, -0.017660424, -0.053183485, 0.011399399, -0.21104087, -0.08247351, 0.012001115, 0.13353747, -0.018404294, -0.013070655, 0.021725055) * go_5(0.0, 1.0);
|
|
result += mat4(-0.10819058, 0.01522892, -0.11809611, -0.005361581, 0.016413989, -0.17791939, -0.07641427, -0.0075271325, -0.04744145, 0.14214009, 0.06238958, 0.030852603, -0.045064628, -0.10203394, 0.022396715, -0.0067329407) * go_5(1.0, -1.0);
|
|
result += mat4(-0.19808967, -0.104994975, 0.015773673, -0.022771256, 0.026054395, -0.052030962, 0.00745939, 0.04304712, -0.10831072, -0.16059683, -0.04864209, 0.037260182, 0.041406773, -0.11586577, 0.043287378, 0.027181271) * go_5(1.0, 0.0);
|
|
result += mat4(-0.1844484, 0.08464415, 0.10791806, 0.013830704, 0.03208257, 0.26110005, -0.03262007, 0.091473244, 0.13977927, 0.032529682, -0.021369038, 0.053745314, 8.765892e-05, 0.010181694, -0.046350393, -0.0064968574) * go_5(1.0, 1.0);
|
|
result += mat4(0.16242024, 0.0029229107, -0.03808197, 0.11881662, -0.008760509, -0.09074291, -0.15157613, -0.19312446, 0.098781265, -0.06404453, 0.17561193, -0.011888404, 0.012034257, -0.095228486, -0.17663169, -0.14239185) * go_6(-1.0, -1.0);
|
|
result += mat4(0.10714533, -0.091631204, 0.10210571, -0.024006354, -0.20195729, -0.028262442, 0.0057075145, 0.08570983, -0.1349579, 0.16353582, 0.06258812, -0.055206373, 0.027616054, 0.16366649, 0.15170477, 0.100432895) * go_6(-1.0, 0.0);
|
|
result += mat4(-0.005640863, 0.01953208, -0.05362749, 0.03737554, 0.10574648, 0.04949733, 0.011875781, -0.027762452, 0.11309614, -0.037482325, -0.037490267, 0.05672542, -0.03851815, -0.040241454, -0.014456474, -0.015964273) * go_6(-1.0, 1.0);
|
|
result += mat4(-0.05119488, -0.05249867, 0.08751497, -0.15210281, 0.06936269, 0.060947813, 0.15130071, 0.0061567873, 0.089312874, -0.08143958, 0.006515938, -0.062999725, 0.14026858, 0.14795284, 0.28729984, 0.078133605) * go_6(0.0, -1.0);
|
|
result += mat4(-0.009654871, -0.21643133, 0.06265242, 0.01572518, -0.1400239, 0.08764587, -0.013960639, 0.11240323, -0.06609911, 0.17936565, -0.099240325, 0.03606391, -0.08663271, 0.21256153, 0.076862626, -0.06660453) * go_6(0.0, 0.0);
|
|
result += mat4(-0.0032671946, 0.0434528, 0.12943126, 0.032995254, -0.026195439, 0.22761142, -0.08781017, -0.027369386, -0.23265982, -0.16121218, -0.05160874, -0.01102774, 0.18765874, 0.10036096, 0.13562876, -0.115016125) * go_6(0.0, 1.0);
|
|
result += mat4(-0.014280088, -0.036902506, -0.06825763, 0.081764676, 0.030115271, -0.023108382, 0.06727549, 0.00067218125, 0.017059056, -0.03265097, 0.15135893, -0.039459277, -0.04266232, 0.1111974, -0.020078076, 0.006387551) * go_6(1.0, -1.0);
|
|
result += mat4(-0.04688186, -0.09174231, -0.05381622, 0.024881862, 0.036378797, 0.12511472, -0.12020627, 0.011695685, -0.033788696, -0.048612628, -0.096676245, -0.09272234, -0.0752053, 0.17060183, -0.056995165, 0.0037499536) * go_6(1.0, 0.0);
|
|
result += mat4(0.06944483, -0.0036858325, -0.014824583, 0.022016088, -0.13040295, -0.17123172, 0.042282093, 0.025151532, 0.09733767, 0.02184708, 0.12792501, 0.008477331, -0.033732317, -0.09257224, -0.087834194, -0.04676004) * go_6(1.0, 1.0);
|
|
result += mat4(-0.06177712, 0.09466163, 0.041752685, 0.0796498, -0.08357602, -0.21963142, -0.05910052, 0.1355151, -0.020803489, -0.026252296, -0.07097114, 0.09607317, 0.078275844, 0.04250756, -0.047696978, -0.066009335) * go_7(-1.0, -1.0);
|
|
result += mat4(-0.32883903, -0.18983904, -0.011129119, -0.061288845, 0.20026195, 0.008631433, -0.06246731, -0.013857852, 0.005461851, 0.19473334, -0.018032562, -0.004270683, -0.03182703, -0.041694432, 0.046114028, -0.08224892) * go_7(-1.0, 0.0);
|
|
result += mat4(-0.18344544, -0.22068006, -3.779529e-05, -0.042374518, -0.010999355, -0.1526405, -0.08975188, -0.07842255, 0.0702596, 0.0027714027, 0.03802376, -0.015517716, 0.009005106, 0.06702078, 0.048812397, -0.018014267) * go_7(-1.0, 1.0);
|
|
result += mat4(-0.16322157, -0.12375638, -0.14597934, -0.10065044, -0.0034380173, 0.0688033, -0.13725469, 0.1336164, -0.028104529, -0.096491896, -0.29770237, 0.010468916, 0.003322942, -0.012829131, 0.055854827, -0.03990536) * go_7(0.0, -1.0);
|
|
result += mat4(-0.13249227, 0.078412525, 0.001221111, 0.039858975, 0.15937175, -0.02095173, -0.22108203, 0.09235874, -0.22747709, 0.2172244, -0.08376862, -0.047431935, -0.093568005, 0.06131771, -0.015086977, -0.056581) * go_7(0.0, 0.0);
|
|
result += mat4(-0.19138841, 0.08926175, -0.093786284, 0.057811834, -0.14395343, 0.064682476, -0.008969366, 0.0674351, 0.17032358, 0.12163412, 0.05056086, 0.058084372, -0.13832766, -0.11045532, -0.042922694, -0.030604472) * go_7(0.0, 1.0);
|
|
result += mat4(0.055630907, 0.16944349, -0.13912451, 0.033242557, 0.12217042, -0.21623628, 0.08676071, 0.06943562, 0.0558185, -0.023673354, -0.17777173, 0.004594415, 0.0135196885, -0.029225778, 0.030058527, -0.009726104) * go_7(1.0, -1.0);
|
|
result += mat4(0.01702246, 0.16437621, -0.018122733, 0.024081163, 0.016095428, -0.41127196, -0.017206954, 0.09858238, -0.15810199, -0.14963378, -0.3974077, -0.03380379, -0.045687225, -0.032821044, -0.094495125, -0.014884245) * go_7(1.0, 0.0);
|
|
result += mat4(0.049720503, -0.09237875, -0.04686381, 0.019112429, 0.14990957, -0.2563238, 0.06650471, 0.027189046, 0.065547526, 0.061466973, 0.038220834, -4.9633014e-05, -0.037983235, -0.0315463, -0.08640253, 0.023909623) * go_7(1.0, 1.0);
|
|
result += vec4(-0.0053955545, 0.20755386, 0.060728047, -0.11934225);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x24
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_3_tf
|
|
//!BIND conv2d_3_tf1
|
|
//!BIND conv2d_3_tf2
|
|
//!SAVE conv2d_4_tf
|
|
//!WIDTH conv2d_3_tf.w
|
|
//!HEIGHT conv2d_3_tf.h
|
|
//!COMPONENTS 4
|
|
#define go_0(x_off, y_off) (max((conv2d_3_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_3_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv2d_3_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max(-(conv2d_3_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max(-(conv2d_3_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max(-(conv2d_3_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.011262504, 0.031819463, -0.06957062, -0.043127634, 0.00583867, 0.09169646, -0.045924503, -0.03033917, 0.04295624, -0.0008524074, -0.10314193, 0.017878639, -0.026550706, -0.057304744, -0.093816355, 0.084548905) * go_0(-1.0, -1.0);
|
|
result += mat4(0.14785792, 0.27953532, 0.013030618, 0.088695146, 0.108306505, 0.09207513, 0.111750156, -0.053279888, -0.091059364, -0.06638048, 0.027781408, -0.16337578, 0.056285474, 0.11172556, 0.030077877, -0.017893653) * go_0(-1.0, 0.0);
|
|
result += mat4(0.17618006, -0.4502103, 0.07598669, -0.0009732414, 0.050383665, 0.17085455, -0.0031775923, 0.064862505, 0.11707715, 0.3526508, -0.01904134, -0.012807272, -0.116546296, -0.060822245, -0.1311729, 0.07212336) * go_0(-1.0, 1.0);
|
|
result += mat4(0.087797835, -0.06613155, 0.1483391, 0.013323468, -0.11146307, -0.015671762, -0.040200327, -0.10357134, 0.019073516, -0.06472526, 0.10602498, 0.1770319, -0.08521562, 0.12664832, 0.08947633, -0.05493576) * go_0(0.0, -1.0);
|
|
result += mat4(0.33827654, 0.28221247, -0.18990488, 0.026941316, 0.1488764, -0.2931259, -0.076329395, -0.015431582, -0.099263206, 0.19168049, -0.026642313, 0.13576517, 0.038345568, 0.28094527, 0.009882045, -0.11360381) * go_0(0.0, 0.0);
|
|
result += mat4(0.05157035, -0.07949976, -0.11442825, -0.10846249, 0.0041128546, -0.086069524, -0.08534606, 0.030012999, -0.02440029, 0.0032833228, 0.080156125, -0.09495428, -0.014791535, -0.3719053, -0.09000905, 0.0037281278) * go_0(0.0, 1.0);
|
|
result += mat4(0.06803247, 0.07046111, 0.025906414, 0.04482326, -0.029433155, -0.053168926, 0.11433928, 0.09067554, 0.08303741, -0.17981903, -0.119454004, 0.18209296, -0.03772345, 0.025304617, -0.078271955, -0.091292545) * go_0(1.0, -1.0);
|
|
result += mat4(0.22007126, -0.40249357, 0.09878526, 0.043460052, -0.037937324, 0.2775198, 0.08673017, -0.075257935, 0.14146972, -0.049743168, -0.09132197, 0.072746076, 0.029836698, -0.0047054323, 0.041883502, -0.0780989) * go_0(1.0, 0.0);
|
|
result += mat4(0.054638218, 0.31379706, -0.015786655, -0.026390918, -0.11370519, -0.085995756, 0.08572533, -0.066644676, -0.052945357, -0.027882649, -0.030349009, -0.00074756425, -0.0034215925, 0.16293995, 0.0043956763, -0.013435695) * go_0(1.0, 1.0);
|
|
result += mat4(0.004479172, 0.15894544, 0.014565352, -0.022123177, 0.036710665, 0.027838772, -0.03341635, -0.02814826, -0.0891137, -0.051923018, -0.058425512, 0.057913873, -0.058511104, 0.04785274, 0.047574837, 0.095560044) * go_1(-1.0, -1.0);
|
|
result += mat4(0.026339598, -0.21249251, 0.09641629, -0.1050302, -0.11599119, 0.16732395, -0.07735261, 0.10095655, -0.046776835, -0.1985677, -0.100405715, -0.0049418057, 0.08661461, 0.030991163, 0.058080763, -0.033386886) * go_1(-1.0, 0.0);
|
|
result += mat4(0.06275464, 0.12353212, 0.011660699, -0.0048974585, 0.03182892, -0.11731411, 0.058963027, 0.00076737226, -0.014992623, -0.075640306, 0.021105729, 0.054476924, 0.010348032, 0.018136699, -0.015781997, 0.011437102) * go_1(-1.0, 1.0);
|
|
result += mat4(0.13556376, -0.061953824, 0.05551936, 0.116930924, 0.06720336, 0.37149063, -0.020317249, 0.10018995, 0.03449863, 0.00254038, -0.12589492, -0.116539575, 0.02914628, -0.1132907, 0.059977263, -0.01013219) * go_1(0.0, -1.0);
|
|
result += mat4(-0.17061242, -0.11773073, -0.07108274, 0.0034582969, 0.037274398, -0.38318223, 0.10591709, 0.25803554, -0.07071293, 0.17214958, 0.34243912, -0.20444241, 0.16736552, 0.14189146, -0.15058914, 0.028070828) * go_1(0.0, 0.0);
|
|
result += mat4(-0.014832051, 0.38498318, 0.07763121, 0.0076594464, 0.1140444, 0.23477876, -0.06551489, 0.082364485, -0.072711125, -0.26173973, 0.10116861, 0.025223283, 0.0071469937, -0.08337561, -0.029252755, -0.040330622) * go_1(0.0, 1.0);
|
|
result += mat4(0.065506235, -0.04470719, 0.09613445, 0.11135494, -0.038838383, -0.13319598, -0.030709865, -0.11286597, 0.02777684, 0.14582784, 0.10601686, 0.032446314, -0.101155646, 0.01797949, -0.060460012, -0.17628726) * go_1(1.0, -1.0);
|
|
result += mat4(-0.013238295, 0.23827216, -0.052030362, 0.056838796, 0.11169307, -0.0019896782, 0.04225852, -0.05080408, 0.041208353, -0.018402472, 0.0045357095, 0.14560573, -0.07002417, -0.14796354, 0.007762815, -0.10192629) * go_1(1.0, 0.0);
|
|
result += mat4(-0.041997515, -0.35881934, -0.021417812, 0.08649882, 0.09397181, -0.13445188, 0.06475497, -0.010673045, 0.12269194, 0.18738186, -0.042150542, 0.1256423, -0.008410485, 0.09158409, 0.041347865, -0.0074583124) * go_1(1.0, 1.0);
|
|
result += mat4(-0.062870465, -0.059856553, 0.091585, 0.092011355, 0.020937715, 0.010538825, 0.06692169, 0.0006046978, 0.1952068, 0.031263877, -0.106957935, 0.14423949, -0.014842083, -0.043564916, -0.019768178, 0.034922168) * go_2(-1.0, -1.0);
|
|
result += mat4(-0.117032535, 0.18058799, 0.007915372, 0.020678058, 0.14933655, -0.051320497, -0.023838546, 0.06867943, -0.3355837, 0.0042644492, -0.12227475, -0.04008191, 0.024019344, -0.040317632, 0.025777748, 0.24088405) * go_2(-1.0, 0.0);
|
|
result += mat4(-0.00010084207, -0.1289124, 0.031990424, -0.079577096, -0.0053844554, -0.02361255, 0.07049022, 0.039858952, -0.07922686, -0.06185779, -0.03044959, 0.079977244, -0.0893825, -0.106873706, 0.0044374927, -0.028308846) * go_2(-1.0, 1.0);
|
|
result += mat4(-0.08895584, -0.042846404, -0.013092824, -0.13957329, -0.10497291, 0.10893366, -0.16962886, -0.002034427, -0.037901185, 0.064590566, 0.058201604, 0.14310947, 0.08995774, -0.05294167, 0.1631053, -0.012728631) * go_2(0.0, -1.0);
|
|
result += mat4(-0.07719386, 0.046034593, 0.04633185, 0.11177461, 0.012042811, 0.13169785, -0.11322429, 0.10102152, -0.23842178, 0.13413563, 0.07785035, -0.083747946, 0.10070529, -0.0900075, -0.17456235, -0.38653556) * go_2(0.0, 0.0);
|
|
result += mat4(-0.12692979, -0.047207076, 0.003124948, 0.0031179655, 0.028505344, -0.16842307, 0.018322583, -0.03406163, 0.04017119, -0.1724708, 0.039637722, 0.14817074, -0.015262273, 0.4343052, -0.028746288, -0.06529248) * go_2(0.0, 1.0);
|
|
result += mat4(-0.124842934, 0.13421857, -0.02313364, -0.11312006, -0.03259939, 0.06062406, -0.007419522, -0.04876289, -0.10012543, -0.25548926, -0.030651081, 0.034160238, -0.14513661, 0.036888786, 0.17565195, 0.11805049) * go_2(1.0, -1.0);
|
|
result += mat4(0.19049145, -0.039175794, 0.018565621, 0.1548963, -0.051579755, 0.031628616, 0.0051352894, 0.11517133, -0.01610091, 0.051337674, -0.026527107, -0.019971197, 0.12971555, 0.07533016, -0.3041597, -0.06759981) * go_2(1.0, 0.0);
|
|
result += mat4(0.12584706, -0.10033112, 0.035238206, 0.09898554, 0.050027825, 0.07308421, -0.01463469, -0.00082939945, -0.047252785, 0.08552882, 0.0019422411, -0.024661394, 0.11734384, -0.26585263, 0.07397762, 0.20346671) * go_2(1.0, 1.0);
|
|
result += mat4(0.107849255, -0.11532747, 0.05027606, 0.10103512, 0.064907365, 0.010803471, 0.028275143, 0.14567783, -0.07167514, 0.08434946, 0.07393991, 0.0254499, 0.04305806, 0.04086671, 0.053802863, -0.06721381) * go_3(-1.0, -1.0);
|
|
result += mat4(0.09881202, -0.06978072, 0.04603433, 0.01741673, -0.15704031, -0.1793963, -0.038271505, -0.10161381, 0.04542897, 0.07914688, 0.046205457, 0.08958046, -0.0061665005, -0.03463733, 0.029120842, 0.043564152) * go_3(-1.0, 0.0);
|
|
result += mat4(-0.012550157, 0.17462914, 0.06898175, -0.07152383, -0.03304833, -0.08832667, -0.016064065, -0.23278883, -0.13197964, -0.08672381, -0.05409716, -0.065082744, 0.06888385, 0.036308136, 0.11151006, -0.06965145) * go_3(-1.0, 1.0);
|
|
result += mat4(0.10415191, 0.17370042, -0.077190965, -0.008505009, 0.071427636, 0.021012051, 0.29375538, 0.20707655, 0.08539143, -0.21792713, -0.069910124, -0.13272718, 0.078085855, 0.020925732, -0.09766308, -0.014647463) * go_3(0.0, -1.0);
|
|
result += mat4(-0.1540831, -0.20195347, 0.12906608, -0.18597993, 0.02752237, 0.3436961, 0.12848559, 0.23174804, 0.09912136, 0.2955073, -0.0119524235, 0.07499343, -0.056999985, -0.13919996, -0.0442433, 0.09012822) * go_3(0.0, 0.0);
|
|
result += mat4(0.03846984, -0.016049843, -0.04194403, 0.016142704, -0.14151782, -0.06796431, 0.004672686, -0.20027739, -0.100223176, -0.08138453, -0.09202174, 0.12008146, -0.009262179, 0.303418, 0.040116344, 0.032100268) * go_3(0.0, 1.0);
|
|
result += mat4(-0.02313964, -0.24428035, 0.038113195, -0.0045478963, -0.12524363, 0.0911982, -0.091526926, -0.10919195, -0.044670045, 0.08331864, 0.12612547, -0.103683256, -0.003986556, -0.034693778, 0.03215815, 0.06168313) * go_3(1.0, -1.0);
|
|
result += mat4(-0.024951402, 0.36099398, -0.08449376, -0.07497921, 0.09019578, -0.34781474, -0.038260702, 0.04863762, 0.017253455, -0.019677663, 0.12687095, 0.00063366926, 0.011710997, -0.10072319, -0.03315336, 0.07632106) * go_3(1.0, 0.0);
|
|
result += mat4(0.07059056, -0.12018756, -0.09131319, -0.013561132, 0.24165273, 0.22274019, -0.017931685, 0.010056685, 0.12344425, 0.12156007, -0.026813593, 0.004195277, 0.04681439, -0.076013386, -0.031047279, 0.028654084) * go_3(1.0, 1.0);
|
|
result += mat4(-0.07966141, -0.07519266, 0.08071786, -0.07381566, 0.016123658, -0.05854732, 0.037251532, 0.025495501, 0.105325036, -0.09021125, -0.0065127593, 0.20154859, -0.24500966, 0.16068383, -0.045858987, -0.013114567) * go_4(-1.0, -1.0);
|
|
result += mat4(-0.11490749, 0.2778325, -0.09342925, -0.059463568, 0.038029168, 0.010677079, 0.004088794, -0.0524926, 0.14234811, 0.26121226, 0.080162, 0.19559322, 0.19100796, 0.120853685, 0.14027278, -0.07141763) * go_4(-1.0, 0.0);
|
|
result += mat4(-0.07725682, -0.028726127, -0.011004939, -0.016452273, -0.004484741, 0.11287478, -0.090253375, -0.00962195, 0.067813195, 0.00653987, 0.11110691, 0.02533638, 0.047734473, 0.630844, -0.12703009, 0.0815481) * go_4(-1.0, 1.0);
|
|
result += mat4(-0.063518584, -0.068115965, 0.06567312, 0.005423953, -0.035477355, -0.36495018, 0.034740042, 0.10112081, -0.106252685, -0.27082387, 0.29244247, 0.12543291, -0.35771617, -0.106733896, 0.09776179, -0.041923277) * go_4(0.0, -1.0);
|
|
result += mat4(0.1582593, -0.19066747, 0.12785429, -0.06028763, 0.07165759, 0.29100847, -0.066886865, -0.026840167, 0.0149742095, 0.046114814, -0.16078624, -0.06096696, -0.15888374, 0.29948848, 0.011921788, -0.14737292) * go_4(0.0, 0.0);
|
|
result += mat4(0.023203196, -0.012949222, -0.10660274, -0.019064514, -0.01604895, -0.11042657, 0.014043448, -0.007858082, 0.034866568, 0.28908056, 0.044833034, -0.055372775, 0.05015458, 0.45589668, -0.059942003, -0.24177484) * go_4(0.0, 1.0);
|
|
result += mat4(-0.010991107, 0.081413716, -0.022647902, 0.035956774, -0.01045697, -0.06317254, -0.048409183, 0.014224823, -0.041370537, -0.03167499, -0.08533798, -0.0033347958, -0.045379575, -0.1464327, 0.11794289, 0.12731233) * go_4(1.0, -1.0);
|
|
result += mat4(-0.042375486, -0.26550424, -0.020939078, 0.048613142, -0.0064663864, -0.3438306, 0.01354813, 0.01667072, -0.078636885, -0.15991145, 0.07323537, 0.041297473, -0.088465534, -0.333333, -0.05659556, -0.2753555) * go_4(1.0, 0.0);
|
|
result += mat4(-0.007157959, 0.16018897, 0.026304452, -0.04799124, -0.009590161, -0.05249338, -0.009172379, 0.0054461583, -0.05708218, -0.19263835, 0.11795639, -0.02212647, 0.056535985, -0.06511114, -0.013391156, -0.13783967) * go_4(1.0, 1.0);
|
|
result += mat4(-0.05439675, -0.006444465, -0.009317183, -0.07307444, -0.00030038637, 0.18579505, -0.051370375, 0.059529413, -0.27623934, -0.013988184, -0.0048374305, -0.15984012, 0.039892353, -0.018393246, -0.046821754, 0.023543872) * go_5(-1.0, -1.0);
|
|
result += mat4(0.13751456, -0.06096664, -0.025098158, 0.06613064, -0.08354669, -0.07604228, 0.008098726, 0.018510602, 0.14101581, 0.22782752, -0.0028741485, 0.041945882, -0.0810864, -0.020587375, -0.085017934, -0.025102144) * go_5(-1.0, 0.0);
|
|
result += mat4(0.047001034, 0.15929686, -0.017429994, 0.11485433, 0.008108619, -0.039101716, -0.01298734, -0.04309558, 0.063283674, -0.006479532, 0.041943613, 0.020806335, 0.1637154, 0.08164767, -0.022789355, 0.23034051) * go_5(-1.0, 1.0);
|
|
result += mat4(0.04580322, 0.035329618, -0.045944862, -0.11552284, 0.080185264, -0.054166514, 0.050542697, -0.026156206, -0.083026126, 0.07445656, 0.020240687, -0.095825456, -0.05638868, 0.061477177, -0.0053955787, -0.03098832) * go_5(0.0, -1.0);
|
|
result += mat4(0.0488631, 0.0048201405, -0.17982271, -0.19360444, 0.04280375, -0.06298201, 0.18850167, -0.1875722, -0.021133788, -0.4440641, -0.08967545, -0.020436049, -0.07340717, 0.15360972, 0.30010164, 0.13870142) * go_5(0.0, 0.0);
|
|
result += mat4(0.06518589, 0.05225434, 0.035718046, 0.09953873, -0.018187355, 0.2680586, -0.011366758, 0.16459163, -0.17236687, 0.271017, -0.044547327, -0.12611923, -0.17699997, -0.14207041, 0.029943895, -0.32613477) * go_5(0.0, 1.0);
|
|
result += mat4(-0.043032415, -0.112493455, -0.0017059229, 0.030980088, -0.034748103, -0.034630474, -0.00086845557, -0.07122569, 0.0859297, 0.048253577, 0.1304124, -0.0067533916, 0.15792038, -0.051970366, -0.02041555, -0.022408634) * go_5(1.0, -1.0);
|
|
result += mat4(-0.16435696, 0.1454917, -0.02320267, -0.07823869, 0.03715387, 0.001277761, 0.09719438, 0.015275015, -0.11739434, 0.06375923, 0.10178472, 0.0694389, 0.04614792, -0.38499647, 0.27365905, -0.20401697) * go_5(1.0, 0.0);
|
|
result += mat4(-0.09289143, -0.059769634, -0.014427403, 0.07280103, 0.04857605, 0.04126391, 0.007707449, 0.016183812, -0.080374636, -0.24951005, 0.051764973, 0.01020587, -0.2992075, 0.04918275, 0.2093324, 0.14188328) * go_5(1.0, 1.0);
|
|
result += vec4(-0.034787357, -0.010484513, -0.13672084, 0.021112612);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x24
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_3_tf
|
|
//!BIND conv2d_3_tf1
|
|
//!BIND conv2d_3_tf2
|
|
//!SAVE conv2d_4_tf1
|
|
//!WIDTH conv2d_3_tf.w
|
|
//!HEIGHT conv2d_3_tf.h
|
|
//!COMPONENTS 4
|
|
#define go_0(x_off, y_off) (max((conv2d_3_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_3_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv2d_3_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max(-(conv2d_3_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max(-(conv2d_3_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max(-(conv2d_3_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.09358625, 0.04006633, 0.08724545, 0.08691784, -0.14107502, -0.0007997976, 0.17306888, 0.038711257, 0.0985122, -0.0014992851, -0.17487743, -0.10194699, 0.11023988, -0.06968423, 0.01662707, 0.21470292) * go_0(-1.0, -1.0);
|
|
result += mat4(0.031636875, 0.13806665, -0.0814631, 0.07943226, 0.0119793005, 0.04941359, 0.074861325, -0.16535385, -0.11496889, 0.13269342, -0.109500505, -0.05149521, -0.046225246, 0.12686665, 0.17126462, 0.009109644) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.03334245, -0.123216815, -0.1330235, -0.12154138, -0.059628066, 0.10496938, -0.0038054981, 0.1457567, -0.019918114, -0.0020958772, 0.04247789, -0.0062168534, 0.0026362725, 0.021436866, -0.11040905, 0.108333305) * go_0(-1.0, 1.0);
|
|
result += mat4(0.0042455117, -0.14640199, -0.06118977, 0.16638735, -0.030705301, -0.0113191, 0.03248879, -0.044538334, -0.0102377115, -0.01707356, -0.13409424, 0.07820454, 0.0050400933, -0.051095866, 0.115574144, 0.1082736) * go_0(0.0, -1.0);
|
|
result += mat4(0.059850972, 0.12553261, 0.23358655, 0.011808153, 0.3940932, -0.10867016, -0.23658483, -0.08347661, 0.18414836, 0.13377388, -0.14889582, -0.0067077233, 0.04137153, 0.07864369, -0.2230585, 0.20400442) * go_0(0.0, 0.0);
|
|
result += mat4(-0.14122446, -0.05491896, 0.23194087, -0.04420126, 0.003479982, -0.0025467714, 0.07257286, 0.064608194, 0.003435564, 0.028599951, 0.034278907, 0.020127177, -0.05769672, -0.053810723, 0.021130094, -0.10632285) * go_0(0.0, 1.0);
|
|
result += mat4(-0.06342671, -0.02102852, -0.057624057, -0.04255905, -0.027436286, -0.004304728, -0.068475425, 0.084754616, -0.013654013, 0.040915813, 0.03803916, -0.013154927, 0.035633024, 0.03539127, 0.011308919, -0.07959703) * go_0(1.0, -1.0);
|
|
result += mat4(-0.082511365, -0.062265713, 0.12336093, 0.050000474, -0.012206841, -0.11110678, 0.23245499, 0.08442603, 0.03861097, 0.04962608, 0.2711461, 0.061978027, 0.02267645, -0.024108166, 0.050957117, -0.09069499) * go_0(1.0, 0.0);
|
|
result += mat4(-0.036008272, 0.077173404, 0.007906516, -0.07967038, -0.03769282, 0.0647222, -0.048025336, -0.24466506, -0.10772676, -0.045048002, 0.11905392, 0.09015004, 0.018585265, 0.0492868, -0.12064848, -0.12835266) * go_0(1.0, 1.0);
|
|
result += mat4(0.03722991, 0.05483932, 0.005279874, -0.036382344, 0.07366523, 0.080671124, -0.022853829, 0.17026854, -0.025622483, 0.02234575, 0.047529936, 0.08349223, -0.0811592, -0.06856246, 0.095451735, 0.04447287) * go_1(-1.0, -1.0);
|
|
result += mat4(-0.011579923, -0.07021126, -0.18775284, 0.06256736, -0.07229184, 0.007508845, 0.009623485, -0.07026442, -0.017683864, -0.05394156, 0.009937637, -0.06132005, 0.08447428, -0.035887707, 0.05672016, -0.023255082) * go_1(-1.0, 0.0);
|
|
result += mat4(-0.24283841, 0.049064692, 0.19258617, -0.09556112, -0.043943178, -0.026093625, -0.0037277476, -0.08488672, -0.05969904, 0.014202227, 0.07155138, -0.006620953, 0.12378093, 0.023470948, -0.15103869, 0.04221627) * go_1(-1.0, 1.0);
|
|
result += mat4(0.0008730981, -0.07160066, -0.076891124, 0.13791084, -0.13737433, -0.010282979, 0.078346394, 0.09242266, 0.076963596, 0.05978104, -0.05467655, 0.086442284, 0.044609588, -0.016739035, 0.021820836, -0.2011709) * go_1(0.0, -1.0);
|
|
result += mat4(-0.20905402, -0.08102045, -0.29869592, -0.047263417, -0.17030494, 0.13713762, 0.1867857, 0.0476295, -0.09349327, 0.19339523, 0.022656808, -0.0009851357, -0.2303008, -0.06444237, -0.019168362, 0.2020858) * go_1(0.0, 0.0);
|
|
result += mat4(-0.024434976, 0.10944717, 0.055678647, 0.10161796, -0.049396966, 0.0052144537, -0.16087285, -0.015105596, -0.086011946, 0.022698695, 0.15757102, -0.14491843, 0.037698947, -0.047221012, -0.030243723, 0.13107443) * go_1(0.0, 1.0);
|
|
result += mat4(-0.086016916, 0.04024993, 0.04098034, 0.07725262, -0.06640869, -0.04112078, 0.021855356, -0.18622814, -0.058279853, -0.029800907, -0.15918955, 0.09680758, 0.054697946, 0.03253648, 0.08338082, -0.04502999) * go_1(1.0, -1.0);
|
|
result += mat4(0.01646839, -0.054888945, -0.26849058, -0.011435841, -0.057793204, -0.07927816, 0.025392462, -0.10175547, 0.029483873, -0.14580205, 0.0024861468, 0.07208289, 0.06519596, 0.03442096, 0.026397267, 0.020078517) * go_1(1.0, 0.0);
|
|
result += mat4(-0.08198775, -0.0814655, 0.05315498, 0.051077936, -0.030619444, 0.019064562, -0.13288063, -0.1472509, -0.048526105, -0.040171668, 0.12455891, -0.14622177, 0.011852844, 0.096620746, -0.18692164, -0.055299122) * go_1(1.0, 1.0);
|
|
result += mat4(0.058797743, 0.024229972, 0.034255873, 0.036447, 0.00075901265, 0.074688934, -0.042593017, 0.00060293835, 0.032229654, -0.052531853, -0.07462269, 0.12802848, 0.007995166, -0.02878037, 0.06900506, 0.06908949) * go_2(-1.0, -1.0);
|
|
result += mat4(-0.10522075, 0.048956644, 0.05420077, -0.016637634, 0.04412326, -0.09468539, 0.034226764, -0.018262677, -0.06783241, -0.040329143, 0.18946178, 0.13130969, 0.10075684, -0.07591921, -0.1623158, -0.025584042) * go_2(-1.0, 0.0);
|
|
result += mat4(-0.034107495, -0.016770529, -0.016136456, 0.02585942, 0.12677853, 0.01417575, 0.047958545, 0.12998682, 0.016893117, 0.010598557, 0.12055522, -0.047758352, -0.05235784, 0.005084147, 0.07550005, -0.16640854) * go_2(-1.0, 1.0);
|
|
result += mat4(-0.114226855, 0.06335544, -0.0881748, -0.2498259, 0.015568782, 0.012487128, 0.0046955296, 0.025751248, 0.04212843, 0.15120652, 0.15968561, 0.19253394, 0.087034084, -0.0423726, -0.051838346, -0.14310384) * go_2(0.0, -1.0);
|
|
result += mat4(-0.013026084, 0.06131241, -0.1675201, -0.12888479, -0.0014964524, -0.10069896, 0.02356384, 0.01806289, 0.19572161, -0.11961045, -0.24700944, -0.1844911, -0.26364744, 0.07644966, 0.2593859, 0.08114606) * go_2(0.0, 0.0);
|
|
result += mat4(0.068388715, -0.0046663, -0.020979358, 0.09952774, -0.11110095, -0.0774004, 0.012848098, -0.012930355, 0.08189461, 0.0054886085, 0.00053461257, -0.23077695, 0.050515562, -0.035863694, 0.07036627, -0.13812068) * go_2(0.0, 1.0);
|
|
result += mat4(0.09648746, -0.10755913, -0.08146234, 0.00811376, 0.004864761, -0.08113828, 0.04964263, 0.11690557, -0.014368101, -0.014423742, 0.03171528, 0.08982036, 0.10246555, -0.06881209, -0.29283836, 0.039537873) * go_2(1.0, -1.0);
|
|
result += mat4(-0.13718893, -0.009659399, 0.2992416, -0.0066323625, -0.071996465, 0.13524258, 0.023679543, 0.07826935, 0.075409144, 0.08589669, 0.061272033, -0.045499824, -0.03741875, 0.27842635, 0.13185109, -0.099911585) * go_2(1.0, 0.0);
|
|
result += mat4(-0.024441944, -0.03522318, 0.05140529, 0.0071282475, -0.10594544, -0.05181565, 0.25732583, -0.018825782, -0.0012439055, 0.019219896, 0.09946713, -0.0722263, -0.12645322, -9.644992e-05, 0.06875323, 0.21561073) * go_2(1.0, 1.0);
|
|
result += mat4(-0.022150004, 0.054419033, -0.083107114, -0.08959484, 0.08172815, -0.013834652, -0.15180096, -0.024615027, -0.07028262, -0.0007512729, 0.26976782, 0.18875809, -0.099938266, 0.05480333, 0.016040394, -0.17822164) * go_3(-1.0, -1.0);
|
|
result += mat4(-0.026931163, -0.052416157, 0.07639568, -0.05452748, 0.035625458, 0.004550296, -0.16772425, -0.00061168516, 0.15335664, 0.051302932, 0.04580133, 0.13039467, 0.023763021, -0.07687596, -0.05549799, -0.017360365) * go_3(-1.0, 0.0);
|
|
result += mat4(0.003008481, 0.10352107, 0.076348424, 0.040963676, -0.057719737, -0.08755317, 0.024834383, -0.23462833, -0.09101583, 0.086903796, -0.07216142, 0.090624414, 0.029025761, -0.033761367, 0.1366635, -0.10524101) * go_3(-1.0, 1.0);
|
|
result += mat4(-0.028344428, 0.22866614, 0.22265156, -0.050915148, -0.07759447, -0.1586285, -0.049925447, -0.05273905, -0.010746756, 0.019270241, 0.22497585, 0.013571467, 0.019270418, 0.052651558, -0.024736265, -0.14067775) * go_3(0.0, -1.0);
|
|
result += mat4(0.058332205, -0.0631195, -0.19648206, -0.039481703, -0.2998922, 0.18085144, 0.17090257, 0.27006564, -0.2703318, 0.06099154, 0.04560162, 0.118134916, -0.004565211, -0.08472733, 0.10459307, -0.16570608) * go_3(0.0, 0.0);
|
|
result += mat4(0.10358238, -0.061059173, -0.13393302, 0.015948834, -0.030868502, -0.04978585, -0.012687447, -0.2505655, 0.049323123, -0.00019374766, 0.028754372, 0.033648107, 0.07063697, -0.014583936, 0.1362805, 0.08024834) * go_3(0.0, 1.0);
|
|
result += mat4(-0.013942856, -0.08531508, 0.039745845, 0.10414194, 0.06313496, 0.02417523, 0.07144888, -0.13780569, 0.0024822098, -0.0005785404, -0.070522025, -0.010603217, -0.008350787, -0.08310923, -0.06434052, 0.05212829) * go_3(1.0, -1.0);
|
|
result += mat4(-0.033343147, 0.11818227, -0.101355605, -0.09815853, -0.0037257646, 0.093914956, 0.045073465, -0.21146262, -0.033502303, -0.033563633, -0.19179441, -0.064311236, 0.017742243, 0.008572989, -0.017310511, 0.09787876) * go_3(1.0, 0.0);
|
|
result += mat4(-0.0965179, -0.05104779, 0.21980357, 0.059457585, 0.05362383, -0.07189908, 0.21294238, 0.12593827, 0.08622481, 0.0061037396, -0.11099128, -0.075461335, -0.019220999, -0.08473234, 0.1896788, 0.1545825) * go_3(1.0, 1.0);
|
|
result += mat4(-0.067072935, -0.009035596, 0.039182313, 0.017011479, 0.036997713, -0.042869426, -0.0040173815, -0.031988475, -0.0069290483, 0.05294254, -0.0012220141, 0.09110227, -0.014827876, 0.19689846, 0.0022661786, -0.07005972) * go_4(-1.0, -1.0);
|
|
result += mat4(-0.057713088, 0.050435945, -8.427375e-05, -0.010549373, 0.03760227, 0.022647688, 0.02825286, 0.06377033, -0.0047159446, 0.11320346, -0.069414824, 0.059531983, -0.3299612, 0.2719073, -0.1501237, -0.2640464) * go_4(-1.0, 0.0);
|
|
result += mat4(-0.11150839, 0.050114244, -0.032236893, 0.0015038166, 0.027094943, -0.02502733, -0.043179303, 0.016036531, 0.09573851, 0.08618344, -0.107915044, 0.009664713, 0.014394529, 0.06955564, 0.16166097, 0.20743166) * go_4(-1.0, 1.0);
|
|
result += mat4(-0.044392925, -0.040684875, -0.23557815, -0.056034833, -0.028161626, 0.05496662, -0.053270698, -0.0734554, -0.111465365, 0.03420695, 0.109617576, 0.0010966054, -0.2844835, 0.26836982, 0.23121232, -0.10785496) * go_4(0.0, -1.0);
|
|
result += mat4(0.23357789, 0.00012668641, 0.107617445, 0.095301114, -0.02025481, 0.05065449, -0.024430674, -0.06981479, -0.013470061, -0.18655962, 0.0027839232, -0.12599237, 0.33548972, 0.30407274, -0.40126064, -0.32490435) * go_4(0.0, 0.0);
|
|
result += mat4(-0.122281134, -0.04318224, -0.052405555, 0.013284251, 0.13037762, -0.03950817, 0.11751856, 0.12586644, 0.04493563, 0.065146565, -0.08837088, 0.047829423, -0.06804128, 0.048373412, -0.15102965, 0.055268798) * go_4(0.0, 1.0);
|
|
result += mat4(0.030756064, 0.04952702, -0.13558283, 0.0072438875, 0.009556099, -0.010242232, -0.030279964, -0.02526838, 0.038414564, 0.048353594, 0.095979914, 0.021043506, -0.03390589, 0.21514107, 0.16822831, -0.03800557) * go_4(1.0, -1.0);
|
|
result += mat4(-0.077866204, -0.033634454, 0.037902627, 0.07902395, -0.028916273, -0.0226067, -0.024876777, -0.022323275, 0.023246247, 0.053687774, -0.07160366, 0.047302466, -0.16095349, 0.20279877, 0.4096563, -0.07618548) * go_4(1.0, 0.0);
|
|
result += mat4(-0.07142796, 0.06627731, -0.14174895, -0.07026203, 0.07220904, -0.040048495, -0.00987828, 0.08977276, 0.13406783, 0.01384705, -0.11771938, 0.12959056, 0.014253595, -0.06292875, 0.2582175, 0.40633658) * go_4(1.0, 1.0);
|
|
result += mat4(-0.16788402, 0.050656084, 0.19867243, -0.047497474, -0.041200183, -0.035055846, 0.07874877, 0.04519112, -0.06284356, 0.066545784, 0.12576821, -0.056989186, -0.017403305, 0.08785861, -0.041629825, -0.015809631) * go_5(-1.0, -1.0);
|
|
result += mat4(-0.049183913, 0.0074359034, -0.08632813, 0.005517822, 0.022378573, 0.008625282, -0.08956046, -0.022195501, 0.05653246, 0.059899297, -0.18981466, -0.088493966, -0.17928217, 0.09689291, 0.119702354, 0.02164232) * go_5(-1.0, 0.0);
|
|
result += mat4(0.14917888, 0.015048009, -0.005661549, 0.037006833, -0.044544507, -0.04312164, -0.00308949, -0.1262605, -0.05497811, 0.007944446, 0.08427898, 0.10117571, -0.04657141, 0.02150161, -0.06573186, 0.040465128) * go_5(-1.0, 1.0);
|
|
result += mat4(-0.13925308, -0.027741015, 0.154933, -0.21173707, 0.03086154, -0.09298073, 0.012140707, -0.0837475, -0.0389594, -0.13471437, -0.06527673, -0.09669443, -0.029916963, 0.098984316, 0.07964568, 0.12955827) * go_5(0.0, -1.0);
|
|
result += mat4(0.113585204, -0.1900433, 0.06495972, 0.2520296, 0.028009154, 0.11481251, -0.041522022, 0.12091007, 0.10473571, 0.050006554, 0.15297762, -0.008781097, 0.31699565, -0.017735595, -0.17169666, -0.2624132) * go_5(0.0, 0.0);
|
|
result += mat4(0.0887785, 0.028235141, 0.07372089, 0.04354993, 0.017250411, 0.06372916, 0.14129215, 0.02355555, 0.027448706, 0.044665307, 0.021888286, 0.19552916, 0.15212306, 0.04121492, 0.14111567, 0.17364514) * go_5(0.0, 1.0);
|
|
result += mat4(-0.053401828, 0.0036638333, -0.11299562, -0.018262852, -0.018146416, 0.036637712, -0.016478777, -0.1337408, -0.0517515, -0.04804134, 0.023531632, -0.043174334, -0.06509281, 0.04609587, 0.12353532, 0.07258964) * go_5(1.0, -1.0);
|
|
result += mat4(0.13987146, -0.004954282, -0.19968997, 0.10498915, 0.032130655, -0.06047886, 0.05529797, 0.1026575, 0.05790419, -0.02940328, -0.0059209364, 0.014009479, 0.03707385, -0.22969075, 0.014512211, -0.05710503) * go_5(1.0, 0.0);
|
|
result += mat4(-0.039069746, 0.062022384, -0.07215672, 0.06928623, 0.060027763, -0.0012453326, -0.10970553, -0.06261657, 0.1871706, -0.0018255943, -0.14889055, 0.023299964, -0.3351649, 0.37802795, -0.19070482, -0.060723614) * go_5(1.0, 1.0);
|
|
result += vec4(0.11029581, -0.13019782, -0.084883854, -0.08666392);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x32
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_2_tf
|
|
//!BIND conv2d_2_tf1
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_4_tf1
|
|
//!SAVE conv2d_5_tf
|
|
//!WIDTH conv2d_2_tf.w
|
|
//!HEIGHT conv2d_2_tf.h
|
|
//!COMPONENTS 4
|
|
#define go_0(x_off, y_off) (max((conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max(-(conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max(-(conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv2d_4_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv2d_4_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv2d_4_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv2d_4_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.2512713, 0.04446131, -0.13019001, -0.19825238, -0.13686082, 0.0009870777, -0.057273045, -0.18591711, -0.23278764, 0.18710285, -0.22846954, 0.053128306, -0.21377552, -0.031190397, 0.02671188, 0.27215254) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.02850081, -0.25581798, -0.2916671, 0.25948995, -0.061595846, 0.021996778, 0.26533875, -0.1386817, -0.50907725, -0.107387096, -0.5450341, -0.024946108, -0.17377011, 0.16451572, 0.026229601, 0.4334658) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.16645597, 0.04859862, -0.11956127, -0.10639128, -0.1512508, -0.16807108, -0.17695063, 0.18996993, 0.02294206, -0.10125812, -0.5181448, -0.38864586, 0.23754308, -0.08984774, -0.24180885, 0.3828395) * go_0(-1.0, 1.0);
|
|
result += mat4(0.06978632, -0.07391368, 0.16064985, 0.14387815, 0.13395701, 0.0072151893, -0.012425532, 0.17299308, 0.07081038, 0.36008126, -0.15714419, 0.07240115, 0.13636859, 0.1784294, 0.011940809, -0.52540964) * go_0(0.0, -1.0);
|
|
result += mat4(-0.09117334, 0.23012494, 0.28810725, -0.100390926, 0.06310453, 0.20847455, -0.10232593, -0.19567461, 0.36627305, -0.4853842, 0.08254439, 0.24376224, 0.056684412, 0.006989206, 0.022157473, -0.030653777) * go_0(0.0, 0.0);
|
|
result += mat4(-0.2663092, 0.00064693484, 0.029155029, 0.09757617, 0.1529268, 0.091259964, -0.10012239, -0.22128165, 0.13576204, 0.11918086, 0.19831064, 0.502025, 0.12156709, 0.24983601, 0.3127286, 0.75281775) * go_0(0.0, 1.0);
|
|
result += mat4(-0.17778896, 0.22676969, -0.015692642, -0.009996105, 0.028742755, -0.047916196, 0.25847134, 0.08189432, 0.36310482, -0.15971468, -0.67326957, -0.2647825, 0.21505079, -0.13693511, -0.25197342, -0.035831798) * go_0(1.0, -1.0);
|
|
result += mat4(-0.2606467, -0.04332907, -0.0081932675, -0.1871374, 0.011161732, 0.060496867, 0.1462103, 0.06257406, 0.3499117, 0.3138593, 0.76008654, -0.015321124, 0.111340284, -0.19518661, -0.07172604, -0.09686078) * go_0(1.0, 0.0);
|
|
result += mat4(0.06345513, -0.11955674, -0.10117546, 0.11214337, -0.032827023, -0.03233337, 0.0405524, -0.059570026, 0.43338406, 0.19762945, 0.7126324, 0.4188931, -0.101491705, -0.013107355, -0.12105306, -0.006423246) * go_0(1.0, 1.0);
|
|
result += mat4(-0.06646153, 0.008786217, -0.12322221, 0.038551513, 0.21105461, 0.029630456, -0.046948384, -0.08749188, 0.20109598, -0.32960144, 0.12458934, 0.065261096, 0.1736474, 0.08107202, 0.21897486, -0.07582082) * go_1(-1.0, -1.0);
|
|
result += mat4(-0.0956223, -0.16077499, -0.078044854, 0.010729564, -0.13726994, 0.028060393, 0.03612404, -0.34773487, -0.102635644, -0.15022214, 0.35442317, 0.1504626, 0.12941697, -0.0081511475, 0.47598404, 0.1603431) * go_1(-1.0, 0.0);
|
|
result += mat4(0.056824043, 0.06583582, 0.19184831, -0.2864132, 0.028662741, 0.11763177, -0.13771693, 0.00023768989, -0.103775464, -0.17286631, 0.0583067, -0.24930799, -0.003860889, 0.03102717, 0.27666515, 0.16049923) * go_1(-1.0, 1.0);
|
|
result += mat4(0.10747796, -0.11407924, 0.07512156, 0.16156466, -0.0761196, -0.4194308, 0.3467298, 0.051567934, -0.01650765, -0.3078, -0.0915916, -0.12230647, 0.28413123, 0.12150274, 0.32607988, 0.03547804) * go_1(0.0, -1.0);
|
|
result += mat4(-0.15339021, -0.32022968, -0.15313472, -0.21096179, 0.21755596, 0.5007671, -0.084493205, 0.24789453, -0.008148358, -0.37689698, 0.052389532, 0.1103459, 0.116709754, 0.057310186, -0.13453801, 0.31041884) * go_1(0.0, 0.0);
|
|
result += mat4(-0.27026525, 0.055883665, 0.21993993, 0.16815868, -0.16430366, 0.014845722, -0.04250501, -0.32818204, -0.06997226, -0.15058292, 0.15950048, -0.12349109, 0.027781306, 0.010121193, 0.21316971, 0.35488003) * go_1(0.0, 1.0);
|
|
result += mat4(-0.26226902, 0.12889884, 0.035255022, -0.25410843, 0.15391718, 0.15659589, 0.23515344, -0.12434832, -0.25579002, -0.30341643, -0.037506066, -0.15720633, 0.1376103, 0.18252009, 0.33176532, 0.027529534) * go_1(1.0, -1.0);
|
|
result += mat4(0.0037590207, 0.17911285, 0.06906637, 0.17953697, -0.09008308, -0.15015154, -0.43836382, 0.3525618, 0.05467472, -0.52823055, -0.23620026, 0.34462368, 0.39483768, 0.20073475, 0.3278273, 0.10098111) * go_1(1.0, 0.0);
|
|
result += mat4(0.10590756, 0.0948448, -0.14713965, 0.36263084, -0.20373668, -0.002442622, -0.17611219, -0.12712897, 0.047380507, -0.07845144, -0.21089159, -0.16667572, 0.19997585, 0.13592377, 0.33893886, 0.18317363) * go_1(1.0, 1.0);
|
|
result += mat4(0.2965214, -0.06210429, -0.14850818, 0.08950312, 0.16642696, -0.016716538, -0.072306536, 0.31038073, -0.07912652, -0.05515433, -0.04921583, 0.08185186, 0.18347357, 0.022154849, -0.0004953931, -0.03949225) * go_2(-1.0, -1.0);
|
|
result += mat4(-0.29195285, 0.24432418, -0.36798882, 0.17430644, 0.36771268, -0.06538093, -0.29294577, -0.06279913, -0.21313414, 0.09859833, -0.108558804, -0.029308762, 0.13946626, -0.017130189, -0.06855778, -0.25429824) * go_2(-1.0, 0.0);
|
|
result += mat4(-0.06389454, -0.064197145, -0.045878682, -0.07161815, 0.04137984, 0.16231675, 0.4002652, -0.19706374, -0.23648848, -0.12520109, -0.13031802, 0.16896103, -0.14413834, 0.08727873, 0.23887047, -0.10668098) * go_2(-1.0, 1.0);
|
|
result += mat4(0.049962725, 0.015332934, -0.32353997, 0.010178239, 0.14607702, -0.021713382, 0.30675814, -0.23125732, -0.12972106, -0.015958687, -0.12036701, -0.10332523, 0.004802664, -0.04311933, -0.18757673, 0.13215788) * go_2(0.0, -1.0);
|
|
result += mat4(-0.149493, -0.25933927, -0.16011974, 0.030059932, 0.17800556, -0.21459822, -0.2168605, 0.3184123, 0.10750539, 0.16187398, 0.32434842, 0.11596275, -0.13076428, 0.19637384, 0.22133437, 0.37495127) * go_2(0.0, 0.0);
|
|
result += mat4(0.054967344, 0.02872234, 0.03161886, 0.062141456, -0.19746579, -0.14291914, 7.4703865e-05, 0.15052183, 0.11602195, 0.0037601371, -0.02332411, -0.089222685, 0.23475187, -0.1604402, -0.38760346, -0.020806316) * go_2(0.0, 1.0);
|
|
result += mat4(-0.14585812, -0.14615667, -0.051447522, 0.15611356, 0.18497528, 0.081289835, 0.12661521, 0.005147319, -0.036558554, -0.053869057, -0.0039063287, -0.032759674, 0.09126186, 0.008506298, -0.034447696, -0.10733875) * go_2(1.0, -1.0);
|
|
result += mat4(0.054028746, -0.00937832, -0.15684044, -0.035560567, 0.11809561, 0.1014585, 0.03356128, 0.02016173, 0.09049222, -0.021339757, 0.07999249, 0.18014722, 0.016788004, 0.043118123, -0.18311624, -0.17827764) * go_2(1.0, 0.0);
|
|
result += mat4(-0.17769523, 0.11805558, 0.1659212, 0.041927963, 0.078464985, 0.07504244, 0.09389066, 0.050142735, 0.10748948, -0.102326766, -0.24754792, -0.122868046, -0.11781918, -0.014019157, 0.049353566, 0.058935367) * go_2(1.0, 1.0);
|
|
result += mat4(0.15844208, 0.04755972, 0.2995126, -0.21663505, -0.00011620265, -0.0920107, -0.022999357, -0.1296501, -0.15867265, -0.19909091, -0.19694586, -0.056097876, 0.07395912, 0.10025299, 0.25709102, -0.023848202) * go_3(-1.0, -1.0);
|
|
result += mat4(-0.11322553, -0.09600812, -0.14286031, 0.14715615, 0.1812981, -0.010719141, -0.06493227, -0.02056335, -0.036782123, -0.16428772, -0.0257993, -0.413957, 0.22038403, 0.12777176, 0.07709192, -0.062658824) * go_3(-1.0, 0.0);
|
|
result += mat4(-0.028069293, 0.06065116, -0.2580596, 0.1429641, -0.031438775, 0.15333374, 0.04029889, -0.2119529, 0.02965389, 0.011932767, 0.048941217, 0.052197248, 0.0069986824, 0.114639916, 0.23558734, 0.071952805) * go_3(-1.0, 1.0);
|
|
result += mat4(-0.06488308, 0.09402183, 0.2945335, -0.0075379927, 0.23234147, 0.16486216, 0.075063676, -0.13243993, -0.07322842, -0.03335224, 0.10056115, -0.03634638, -0.039835792, 0.07942052, 0.011616743, -0.032830272) * go_3(0.0, -1.0);
|
|
result += mat4(-0.07104258, -0.17667016, -0.21837749, -0.055763435, -0.6686622, -0.20883176, 0.2730452, 0.23990531, -0.029782413, -0.0098454505, -0.3267454, -0.13315259, 0.26045015, 0.06319506, 0.3368705, -0.057651937) * go_3(0.0, 0.0);
|
|
result += mat4(-0.1651042, -0.0065184776, -0.07931902, -0.3233216, -0.17614277, -0.014422923, 0.12026072, 0.19844185, -0.16411425, -0.10423013, -0.14174505, -0.042299822, -0.013956158, 0.043245506, 0.28541192, -0.024170961) * go_3(0.0, 1.0);
|
|
result += mat4(0.11822045, 0.13256907, 0.1145154, 0.20927152, 0.05685588, -0.13790809, -0.3190584, 0.1989516, 0.009066991, 0.2330579, 0.1995987, 0.11560573, -0.030923547, 0.087892644, 0.21597871, 0.03743619) * go_3(1.0, -1.0);
|
|
result += mat4(-0.4099685, -0.020438893, -0.082362354, -0.06452889, 0.37881377, 0.10635464, -0.06538328, -0.38973767, 0.51307523, 0.11719936, 0.38153416, -0.34511742, -0.048716113, -0.018229034, -0.03832133, -0.05830876) * go_3(1.0, 0.0);
|
|
result += mat4(-0.106022984, -0.014159266, -0.026645603, -0.038261224, 0.20721874, -0.040447287, 0.034983322, 0.14717588, -0.010929067, -0.16487508, -0.01462808, 0.10304265, -0.10781002, 0.023938116, 0.18254079, 0.004454827) * go_3(1.0, 1.0);
|
|
result += mat4(0.021212364, 0.02463952, 0.20319557, 0.006853534, 0.01923601, -0.03024551, 0.16040856, 0.030991258, -0.069986686, 0.062546656, -0.031001838, -0.041288298, -0.1010596, 0.06939378, 0.23429441, -0.09559115) * go_4(-1.0, -1.0);
|
|
result += mat4(0.06261205, -0.03705453, -0.18669654, -0.0181734, 0.11758142, 0.062471334, 0.19166726, 0.20650591, -0.15047501, 0.15895432, 0.049506746, 0.21445669, -0.103519544, 0.005469086, 0.0039006013, -0.27438062) * go_4(-1.0, 0.0);
|
|
result += mat4(-0.080068275, 0.087389246, 0.063547224, 0.07317146, 0.06493674, 0.08251285, 0.19219737, 0.14406256, 0.0050070896, 0.08467077, 0.30765936, 0.13362816, -0.19590043, -0.0025648642, -0.02054509, -0.123127185) * go_4(-1.0, 1.0);
|
|
result += mat4(0.035833023, -0.07591796, -0.07311685, -0.015659545, -0.1071422, -0.03163112, -0.15992196, -0.012923958, -0.2571729, -0.07938968, 0.0413156, -0.13006738, -0.15211388, 0.04415037, -0.05164996, 0.10922049) * go_4(0.0, -1.0);
|
|
result += mat4(-0.01729037, 0.15696312, 0.24416976, -0.14139475, -0.113730945, -0.03231372, -0.030602036, 0.13402711, -0.4753809, -0.08170512, -0.22863603, 0.014114137, 0.11541584, -0.11207372, -0.6808578, -0.18360177) * go_4(0.0, 0.0);
|
|
result += mat4(0.055491205, -0.12612139, -0.106761724, 0.012882862, 0.14926314, 0.091033846, 0.20083062, -0.0016588457, 0.20377177, -0.11680146, 0.10070291, 0.050298847, -0.06142294, -0.09137155, -0.0892819, -0.33678165) * go_4(0.0, 1.0);
|
|
result += mat4(0.10703002, 0.084578834, -0.12851705, 0.060689818, 0.09584378, 0.08541435, -0.19049749, -0.06647584, 0.067393035, -0.07042473, -0.44782272, 0.077020116, 0.023799181, 0.13890763, 0.30552545, -0.099860385) * go_4(1.0, -1.0);
|
|
result += mat4(-0.06843849, -0.06796385, -0.14991613, -0.10321344, 0.030656688, 0.01517565, -0.04451364, -0.14096247, 0.0616397, 0.104577266, 0.17183799, -0.33740512, -0.17921185, 0.13753828, 0.033225838, 0.033278663) * go_4(1.0, 0.0);
|
|
result += mat4(0.07333974, -0.035097934, -0.099412724, 0.028803498, 0.0073889066, 0.04448838, 0.10087784, -0.10349331, -0.1748929, -0.023355793, 0.12004346, 0.060392488, 0.21111041, 0.02820841, -0.01905034, -0.060936175) * go_4(1.0, 1.0);
|
|
result += mat4(0.1230735, -0.036640514, 0.14228842, 0.03674977, 0.18953583, 0.12063422, 0.278849, 0.011077689, -0.004723119, -0.085871086, -0.22208698, -0.05897798, -0.08820831, -0.055343833, -0.36630332, 0.061420467) * go_5(-1.0, -1.0);
|
|
result += mat4(-0.08617953, 0.029824207, 0.012999008, 0.14653832, 0.091754906, -0.18726993, 0.15466972, 0.07520414, -0.09422507, 0.06285359, -0.05190847, 0.040111717, 0.06347725, -0.12677085, -0.25064456, 0.037838973) * go_5(-1.0, 0.0);
|
|
result += mat4(0.024296625, 0.050277006, -0.0038943852, 0.22721657, 0.094200276, 0.13543595, -0.07011714, -0.0761234, 0.09904409, 0.040095594, 0.038246762, -0.088900656, -0.0994826, -0.07779853, -0.23548591, -0.011814277) * go_5(-1.0, 1.0);
|
|
result += mat4(-0.11484334, 0.058457036, -0.14017995, 0.004168719, 0.280425, -0.0608683, -0.041607536, 0.18203874, -0.09708175, 0.010571225, -0.09521854, 0.10316223, 0.22425781, 0.012244434, 0.22746642, -0.14701338) * go_5(0.0, -1.0);
|
|
result += mat4(-0.23617493, -0.17771423, -0.08029921, -0.17315923, -0.5219916, -0.20046392, -0.61504555, 0.097057335, -0.17237096, -0.12740523, -0.19614285, -0.0962008, 0.16025336, -0.061222732, 0.17753237, 0.17213206) * go_5(0.0, 0.0);
|
|
result += mat4(-0.106579974, 0.049742647, -0.05126049, 0.029903352, 0.26753578, -0.060165133, -0.056066565, 0.061395545, 0.21733779, 0.08878832, 0.0326938, -0.021217436, 0.098148674, 0.032903112, 0.20047897, 0.26074448) * go_5(0.0, 1.0);
|
|
result += mat4(0.0755034, 0.07197553, 0.1150647, 0.060213815, 0.02418587, -0.0068174214, 0.09854082, -0.06657632, -0.09059176, 0.06860972, 0.02102682, -0.08348747, 0.18531941, 0.01842052, -0.10409639, 0.10308704) * go_5(1.0, -1.0);
|
|
result += mat4(0.23391157, -0.04221323, 0.0070946272, 0.22225508, -0.03986882, 0.21027099, 0.3479087, 0.078737445, 0.10444782, 0.14575955, 0.28820315, 0.028596792, 0.25995937, 0.170944, 0.0895069, -0.007549278) * go_5(1.0, 0.0);
|
|
result += mat4(0.1333923, 0.057424176, 0.03997452, -0.070987694, -0.040175647, -0.106138796, 0.05134428, 0.17941214, 0.040890414, 0.047647286, 0.11145406, -0.064056404, -0.050256927, 0.1002497, 0.3559856, -0.20863442) * go_5(1.0, 1.0);
|
|
result += mat4(0.1188355, -0.12645717, -0.2225628, -0.08409446, 0.031680476, 0.1285114, 0.015257031, 0.07314906, -0.21217677, -0.07397989, -0.09830523, 0.095247865, -0.17913309, 0.041592747, -0.2962181, -0.14066707) * go_6(-1.0, -1.0);
|
|
result += mat4(-0.07401649, 0.04513353, -0.08079379, -0.2691485, 0.062272236, 0.018691711, -0.060476813, -0.06744648, 0.100468054, 0.023117458, -0.14244545, -0.3305552, 0.010295283, 0.16395009, 0.15042467, -0.034076292) * go_6(-1.0, 0.0);
|
|
result += mat4(-0.3141746, -0.26248914, -0.027696338, -0.30070263, 0.09125419, -0.0014763775, -0.14756647, -0.17390263, -0.17403154, -0.04297874, -0.1500881, -0.15539391, 0.006197388, 0.023637652, 0.032611176, 0.048603363) * go_6(-1.0, 1.0);
|
|
result += mat4(-0.07516776, -0.031942673, 0.07770739, 0.031496312, -0.0021692938, 0.056884985, 0.24546169, 0.003367791, -0.05033831, 0.028794305, 0.021211961, 0.33864278, 0.0031321745, -0.105278015, 0.0111407675, 0.0701436) * go_6(0.0, -1.0);
|
|
result += mat4(0.1021264, 0.0061049256, 0.19486322, 0.126134, -0.095017105, -0.08792092, 0.02274828, 0.02951376, 0.48483998, 0.07009104, 0.38171777, 0.02422749, -0.12333685, 0.11261442, 0.16367728, 0.072420195) * go_6(0.0, 0.0);
|
|
result += mat4(0.021734113, 0.21130675, -0.014667037, -0.007789671, -0.06846323, -0.117793076, -0.0964307, -0.02935036, -0.18294816, 0.059842993, -0.28913066, -0.102560386, 0.15000913, 0.032450397, 0.0988687, -0.085506015) * go_6(0.0, 1.0);
|
|
result += mat4(0.19509225, 0.028781189, 0.09271222, -0.1837815, -0.0120801255, 0.026893526, 0.2693688, -0.0016265993, 0.0039579174, 0.18030784, 0.4051318, -0.21415327, -0.12954094, -0.119375914, -0.30373552, -0.055964008) * go_6(1.0, -1.0);
|
|
result += mat4(-0.06313117, -0.32275942, -0.05000967, 0.20948593, 0.006625605, -0.02862116, 0.092328526, -0.0042809383, -0.22583593, -0.104118, -0.14766322, 0.3377656, 0.04367254, -0.21394794, -0.03967783, 0.04314833) * go_6(1.0, 0.0);
|
|
result += mat4(-0.16170035, -0.09274618, -0.068409264, -0.23469074, 0.02216607, -0.020882646, -0.030780574, -0.032728698, 0.19974543, -0.038825467, -0.20880729, -0.026957387, -0.2665676, -0.0042840806, -0.17434914, -0.20162287) * go_6(1.0, 1.0);
|
|
result += mat4(0.008706336, 0.24857536, 0.07012665, 0.029141488, -0.075971976, -0.06542143, -0.26977444, 0.28518954, -0.03994618, 0.06746459, 0.15960494, -0.031614818, 0.10402686, 0.05228521, 0.2706839, -0.08412449) * go_7(-1.0, -1.0);
|
|
result += mat4(0.34868455, 0.059125874, -0.24923514, -0.14030626, -0.002206843, 0.17649965, 0.022088109, 0.16989319, 0.28018022, 0.037482813, 0.033881966, -0.110211805, -0.1461133, 0.100152865, 0.21151756, 0.12784961) * go_7(-1.0, 0.0);
|
|
result += mat4(-0.0319395, -0.17589076, -0.22462021, 0.10701813, -0.06862374, -0.09489239, 0.22301264, 0.14567333, -0.10425317, -0.017173383, -0.09257967, 0.07398802, -0.0145952385, 0.18448386, 0.21701702, -0.16777204) * go_7(-1.0, 1.0);
|
|
result += mat4(0.061221093, -0.05704288, -0.07676006, -0.052152745, -0.29757017, -0.041490067, 0.10110148, 0.06999996, 0.13920887, 0.096642986, 0.11759076, 0.039797485, -0.11345797, 0.08531267, 0.0020498617, 0.20756677) * go_7(0.0, -1.0);
|
|
result += mat4(-0.02924768, 0.43140748, 0.3576708, 0.07425467, -0.09776612, 0.17081547, 0.047453757, -0.24676917, 0.24032865, 0.16710171, 0.2931733, 0.10410114, -0.015874937, -0.098303884, -0.38009295, -0.17355318) * go_7(0.0, 0.0);
|
|
result += mat4(-0.13524444, 0.007712721, -0.15341945, 0.26658493, -0.15367007, 0.04757085, 0.05987942, 0.16386369, -0.2413242, -0.0129769435, -0.06789226, -0.10357101, 0.092468075, 0.11371365, -0.19948734, -0.14243089) * go_7(0.0, 1.0);
|
|
result += mat4(0.118277036, -0.06164381, -0.1686405, 0.058012348, -0.2670688, -0.0145501625, -0.07265152, -0.11451649, 0.06803662, -0.02435205, 0.03637894, 0.053843852, 0.03652821, -0.10161457, -0.0029967225, 0.069967866) * go_7(1.0, -1.0);
|
|
result += mat4(0.23541775, -0.059244093, -0.096260205, -0.034619953, -0.24691534, -0.22830355, -0.033745077, -0.06558064, -0.1939561, -0.27438363, -0.3102494, 0.010047581, -0.036287133, 0.015464844, -0.07904172, 0.058030576) * go_7(1.0, 0.0);
|
|
result += mat4(-0.30107716, -0.1288575, -0.022093268, 0.27418026, 0.23561528, 0.11505671, 0.3549647, -0.13953236, 0.14726228, -0.0036342216, -0.14700253, -0.028157962, -0.23330247, -0.14545065, -0.29455653, 0.28482953) * go_7(1.0, 1.0);
|
|
result += vec4(0.028692381, 0.02326062, -0.11377067, 0.025062647);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x32
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_2_tf
|
|
//!BIND conv2d_2_tf1
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_4_tf1
|
|
//!SAVE conv2d_5_tf1
|
|
//!WIDTH conv2d_2_tf.w
|
|
//!HEIGHT conv2d_2_tf.h
|
|
//!COMPONENTS 4
|
|
#define go_0(x_off, y_off) (max((conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max(-(conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max(-(conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv2d_4_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv2d_4_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv2d_4_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv2d_4_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.022938877, 0.2579751, -0.013084437, -0.1089233, -0.14861627, -0.078500114, 0.019642482, -0.05139565, -0.051909085, -0.17062944, 0.068744116, -0.07403651, 0.3269677, 0.17037666, 4.5802863e-05, -0.15335672) * go_0(-1.0, -1.0);
|
|
result += mat4(0.07954113, 0.18079437, -0.28405085, 0.007825187, 0.20935248, 0.14544328, 0.033194635, -0.21030708, 0.32258448, -0.26704326, 0.16460042, 0.065626666, -0.08469482, 0.06723138, -0.09091223, -0.06205721) * go_0(-1.0, 0.0);
|
|
result += mat4(0.17380527, -0.020091513, 0.0582957, -0.024271399, 0.18975389, 0.19778416, -0.29433975, 0.15521859, 0.58399194, -0.09595809, 0.009928574, -0.18851084, -0.29115897, -0.048134226, -0.09617586, 0.047225073) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.09309238, -0.07675889, -0.24878357, -0.06531893, -0.064129435, -0.009008467, 0.11631878, -0.06916144, 0.2793126, -0.32513165, 0.37253168, 0.036576062, 0.36744595, -0.04729552, -0.13206004, -0.05215635) * go_0(0.0, -1.0);
|
|
result += mat4(-0.023187222, 0.0009231289, 0.14988932, 0.23626575, -0.15809236, 0.17567657, -0.02422277, -0.33645374, -0.41344398, 0.17103645, 0.3518877, 0.47345215, -0.25195712, 0.084660046, -0.12522705, 0.052872717) * go_0(0.0, 0.0);
|
|
result += mat4(0.055161323, 0.043026455, 0.03779778, -0.08075425, -0.115782134, -0.014549669, 0.37075353, 0.22045816, -0.49088693, 0.0835494, 0.2159082, -0.41866717, -0.06417238, -0.30653054, 0.12484446, 0.13176875) * go_0(0.0, 1.0);
|
|
result += mat4(-0.045149174, 0.06681547, 0.18394029, -0.14042361, -0.07765508, 0.05034044, -0.17164557, -0.12491487, 0.4975827, -0.3203176, 0.055334024, 0.125109, 0.336075, 0.28669038, 0.30557877, 0.030119808) * go_0(1.0, -1.0);
|
|
result += mat4(0.00011821607, -0.122472174, -0.08324348, -0.027970925, -0.023000905, -0.099142514, -0.035895523, -0.08137834, -0.16044949, -0.19354698, -0.15582532, -0.081981316, 0.12961699, -0.1918534, 0.08779121, 0.12144554) * go_0(1.0, 0.0);
|
|
result += mat4(0.025441505, 0.03427134, -0.0064664106, 0.07586567, -0.1003307, -0.065233536, -0.16611056, -0.12936847, -0.50816315, -0.32010305, -0.20362125, -0.03147093, -0.072087474, 0.054650743, -0.16390504, 0.019627476) * go_0(1.0, 1.0);
|
|
result += mat4(-0.40184093, 0.022268726, -0.34950277, 0.0594148, -0.2275374, -0.12103956, 0.0052295276, -0.00024172834, 0.10389285, -0.1376218, -0.25130105, 0.14029239, -0.2917768, -0.14039762, -0.14850211, 0.035800025) * go_1(-1.0, -1.0);
|
|
result += mat4(0.062030964, 0.25622177, -0.72319925, 0.15366316, -0.183584, 0.36516508, -0.23446779, 0.08663755, -0.18829858, -0.002415918, -0.43276885, -0.07432367, -0.16350701, -0.3125193, -0.14811535, 0.0011325915) * go_1(-1.0, 0.0);
|
|
result += mat4(0.12557262, 0.20273705, -0.276058, -0.02353762, -0.066855654, 0.007290285, 0.043816283, -0.08797092, 0.12488218, -0.0654431, -0.019331945, -0.07025083, -0.24953426, -0.10457234, -0.14429206, -0.06647885) * go_1(-1.0, 1.0);
|
|
result += mat4(-0.09522532, 0.076986365, -0.21861225, -0.015553463, -0.08106973, 0.10615721, -0.11285844, 0.24737634, 0.16936691, -0.019318739, -0.11046508, -0.16758144, -0.23672962, -0.14047794, -0.055881936, -0.0519727) * go_1(0.0, -1.0);
|
|
result += mat4(-0.09556547, 0.38048413, 0.2174768, -0.40154982, 0.040295098, -0.28001946, 0.079922006, -0.27905703, 0.036086317, -0.47458485, 0.01217378, 0.047201037, -0.14604184, 0.14169596, -0.078762196, 0.39877397) * go_1(0.0, 0.0);
|
|
result += mat4(-0.043790977, 0.03552704, 0.7248381, -0.50752306, 0.28982326, -0.11697283, -0.061339833, 0.19690266, 0.044057723, 0.061007652, -0.018818501, -0.22131611, -0.32041064, 0.05665662, 0.07443633, -0.15590373) * go_1(0.0, 1.0);
|
|
result += mat4(-0.036357548, 0.099011496, -0.0600166, -0.006672921, -0.1656192, -0.058472272, -0.037689343, 0.005283873, -0.30923024, 0.046291128, 0.042236008, -0.04899875, -0.3175488, -0.12077662, -0.13294365, 0.03357164) * go_1(1.0, -1.0);
|
|
result += mat4(0.1086259, -0.19654356, 0.07482405, 0.028583387, 0.12874746, 0.13142939, -0.03945759, 0.070535645, -0.23495245, -0.039286736, 0.05450344, -0.026803093, -0.114840984, 0.045042433, -0.18101883, 0.08081232) * go_1(1.0, 0.0);
|
|
result += mat4(0.2383998, -0.033481326, 0.12682496, 0.17717046, -0.09860243, 0.09552485, -0.056021366, 0.13705646, 0.2192259, 0.2657086, -0.014578617, -0.05311957, -0.3127505, -0.0035301214, 0.044448815, -0.037845958) * go_1(1.0, 1.0);
|
|
result += mat4(-0.093362145, -0.08148622, 0.12565112, -0.019403974, -0.13835338, -0.0071526463, 0.1290535, -0.057555214, 0.09632061, -0.053040132, 0.09852903, -0.03910937, -0.032320388, 0.048392795, -0.012207167, -0.04393196) * go_2(-1.0, -1.0);
|
|
result += mat4(0.057860725, -0.2024194, 0.29320854, -0.10589582, -0.10735796, 0.13684767, 0.28570637, 0.19166973, -0.09423759, 0.22893463, -0.114109, -0.025798064, 0.017444948, 0.11321059, 0.16112305, 0.04476502) * go_2(-1.0, 0.0);
|
|
result += mat4(-0.09663057, 0.10491212, -0.0963407, -0.1480959, -0.04952603, -0.08474395, -0.028124198, -0.12026459, 0.088296264, 0.03230017, -0.05177514, -0.024137117, -0.011235952, -0.049136978, 0.1452754, 0.11608158) * go_2(-1.0, 1.0);
|
|
result += mat4(0.07949651, 0.06453834, 0.31745693, -0.03497614, -0.20939794, -0.042127363, 0.017483925, -0.12876181, -0.0162109, -0.037397776, -0.013959519, 0.007777444, 0.1301563, 0.03655948, -0.044273265, -0.069461495) * go_2(0.0, -1.0);
|
|
result += mat4(0.076347195, 0.07847409, -0.03042475, -0.08723051, 0.23076174, -0.078408934, 0.40998375, 0.021870123, 0.19212195, 0.14179486, 0.09031163, -0.15221268, 0.20335157, -0.58715457, -0.023486411, -0.015180159) * go_2(0.0, 0.0);
|
|
result += mat4(-0.08601226, -0.048167598, -0.09975146, 0.008574901, 0.11590632, 0.0836411, -0.20796347, -0.29599068, -0.08497977, 0.04826079, -0.198501, 0.31000587, 0.06959842, 0.026950095, 0.19877516, -0.23890266) * go_2(0.0, 1.0);
|
|
result += mat4(-0.06923031, -0.028005023, -0.13632496, 0.004848759, -0.06092114, -0.12422374, 0.117385164, -0.017468572, -0.028347377, 0.002899302, 0.046875317, -0.058066733, 0.0028499789, -0.11922645, -0.209848, -0.016156359) * go_2(1.0, -1.0);
|
|
result += mat4(0.05266488, 0.08492771, 0.09440972, -0.08432919, -0.05243905, 0.1362437, -0.04429104, 0.11472059, -0.05158979, -0.23943315, 0.12290304, 0.040338255, -0.07158117, 0.06566732, -0.20102906, 0.114058346) * go_2(1.0, 0.0);
|
|
result += mat4(0.056619167, -0.033348348, 0.052370623, -0.06495122, 0.027564008, 0.08083595, -0.0127976, -0.06486138, -0.050432798, 0.026196232, 0.022196831, 0.20244269, 0.039577875, -0.052140575, -0.009956325, 0.077953376) * go_2(1.0, 1.0);
|
|
result += mat4(0.017136047, -0.15870284, -0.07191247, 0.18083136, 0.20753674, 0.15130065, -0.1790816, 0.26776645, -0.12231414, 0.24638735, -0.14738652, -0.028907528, 0.040832903, -0.067194805, 0.17294602, -0.0026166802) * go_3(-1.0, -1.0);
|
|
result += mat4(0.10104892, -0.018738149, -0.073060036, -0.29469725, 0.092650965, -0.15875727, -0.08502473, 0.032668564, -0.13845024, 0.27037326, -0.19944431, 0.039671347, -0.04895266, -0.017618237, 0.039025962, 0.0016598356) * go_3(-1.0, 0.0);
|
|
result += mat4(0.17514467, -0.07050378, 0.18666385, 0.12077226, 0.031181589, -0.21891394, 0.44564912, -0.14018096, -0.124896295, -0.0016302528, 0.03213462, 0.11361923, -0.07941629, -0.0925229, -0.084085576, 0.030316519) * go_3(-1.0, 1.0);
|
|
result += mat4(-0.35773918, -0.059806474, -0.0020904322, 0.19435045, -0.10230651, -0.007758403, -0.23293154, -0.32158864, -0.11275798, 0.16192111, 0.008352999, -0.008750009, 0.09212086, -0.09098618, -0.26915243, 0.03357177) * go_3(0.0, -1.0);
|
|
result += mat4(0.09943201, 0.1901531, -0.026349293, 0.17466106, -0.10673977, 0.2547749, 0.10157686, 0.1326886, 0.03555933, 0.36037236, -0.4218841, 0.07446364, -0.2235149, -0.13361512, -0.24873514, -0.23566855) * go_3(0.0, 0.0);
|
|
result += mat4(-0.083322965, 0.067394584, -0.15775509, 0.76516485, -0.40491992, 0.051136486, -0.21803752, -0.12209488, 0.043623567, 0.0404948, -0.28643316, 0.039587826, 0.0026148176, -0.08919038, -0.3478394, 0.116790466) * go_3(0.0, 1.0);
|
|
result += mat4(0.13910362, 0.023986172, 0.07350453, 0.010063174, 0.12445804, 0.09106235, 0.10570027, 0.025098123, 0.08997035, 0.2792279, 0.3160799, -0.3935213, 0.035729084, -0.021334067, -0.026267715, -0.044499733) * go_3(1.0, -1.0);
|
|
result += mat4(0.20421049, 0.07346835, 0.18474397, 0.026174849, -0.02989818, -0.06286323, 0.2275253, -0.029805843, 0.115734585, 0.15343104, 0.66103226, 0.075917505, -0.10288058, -0.021190342, 0.04455335, -0.011274376) * go_3(1.0, 0.0);
|
|
result += mat4(-0.2354359, -0.14831413, 0.037986103, 0.036590938, 0.25972295, 0.006108503, 0.030833008, -0.20212393, 0.022195943, -0.010900623, 0.37299496, -0.13169637, 0.03193699, 0.007832017, -0.017574975, 0.070344575) * go_3(1.0, 1.0);
|
|
result += mat4(-0.11885056, -0.18644641, 0.17840427, -0.13825245, -0.030942062, 0.015069156, 0.021639956, 0.11524744, -0.0601021, -0.008369759, 0.15134856, -0.18300958, -0.09940503, 0.009815146, -0.017253477, 0.09037604) * go_4(-1.0, -1.0);
|
|
result += mat4(-0.110104315, -0.009834152, -0.14369361, 0.06185118, -0.08255751, -0.0516039, -0.1951323, -0.00047362587, 0.017227406, -0.15231636, -0.042297862, -0.047925126, 0.34693977, 0.061454788, -0.11192555, 0.16597812) * go_4(-1.0, 0.0);
|
|
result += mat4(-0.15342343, 0.10931233, -0.007310907, -0.07751543, -0.0888511, -0.08119914, -0.1414023, -0.032593522, -0.13005419, -0.09993501, 0.20015062, -0.08697108, 0.020872341, -0.076239474, -0.09099305, -0.11908446) * go_4(-1.0, 1.0);
|
|
result += mat4(-0.044990964, -0.027314631, -0.07820695, 0.078159526, 0.042958725, 0.088754624, -0.049424402, 7.2685914e-05, -0.00056504336, -0.05408936, 0.24272163, -0.10305403, 0.041021567, 0.110585794, 0.10719972, 0.08432359) * go_4(0.0, -1.0);
|
|
result += mat4(-0.095741525, 0.12368431, 0.14801304, 0.0380265, -0.015476223, -0.06634335, 0.079489276, 0.058822274, 0.23608524, 0.29305235, -0.009837359, 0.16402614, -0.016570859, 0.3342296, 0.09576365, -0.021151496) * go_4(0.0, 0.0);
|
|
result += mat4(0.10729588, 0.045816828, 0.1262373, 0.0052509876, -0.121602945, -0.055951986, 0.04807077, -0.016409213, -0.011724864, 0.051216003, -0.119300105, 0.06001936, 0.084430665, -0.020765483, 0.16509366, -0.008958939) * go_4(0.0, 1.0);
|
|
result += mat4(-0.064694576, 0.110651545, 0.15088093, -0.046932697, 0.058936216, 0.06959351, -0.0020466733, 0.04747578, 0.22621915, 0.13449503, 0.01605113, 0.16042295, -0.07204144, -0.0900099, -0.088417225, -0.082057305) * go_4(1.0, -1.0);
|
|
result += mat4(0.16447057, -0.04517711, -0.1714595, -0.083775364, 0.06958718, -0.053486623, -0.031540155, 0.0049946113, 0.18206403, -0.12547323, -0.1314431, -0.2403156, 0.11255935, -0.01883286, 0.21715029, 0.043270845) * go_4(1.0, 0.0);
|
|
result += mat4(0.108898625, 0.079559706, -0.0034652199, 0.15574843, 0.025981857, -0.04027031, -0.10371948, -0.083748214, -0.067730375, -0.018392408, 0.001656431, 0.115139425, -0.021774331, -0.24732396, -0.07133477, -0.06610868) * go_4(1.0, 1.0);
|
|
result += mat4(-0.035133053, 0.03512937, 0.15728034, 0.15501308, -0.009090469, 0.089557186, -0.40637708, 0.2399038, 0.10503285, 0.025647165, -0.026959898, 0.052915934, 0.37169585, 0.19439524, 0.05578172, -0.14021298) * go_5(-1.0, -1.0);
|
|
result += mat4(0.14407758, 0.13171129, 0.034860328, -0.034273557, 0.31252018, -0.24374081, -0.092568725, -0.24656439, 0.013929443, -0.045619074, -0.030720312, -0.08240126, -0.008946209, -0.12069562, 0.10321105, 0.050253898) * go_5(-1.0, 0.0);
|
|
result += mat4(-0.16870415, -0.0053623654, -0.24239568, -0.015851695, 0.3168152, 0.10030775, -0.08809818, 0.19916728, 0.00062866835, 0.0105750095, -0.11852275, -0.038046032, -0.024067584, -0.07467565, 0.08368766, 0.10921712) * go_5(-1.0, 1.0);
|
|
result += mat4(-0.17414445, -0.08300633, -0.2915034, 0.08091456, 0.29668987, 0.15542515, 0.03857886, -0.12984616, 0.07567486, 0.14261106, 0.029647684, -0.08307407, 0.0063827154, -0.21285148, -0.05295185, 0.11996014) * go_5(0.0, -1.0);
|
|
result += mat4(0.21793848, -0.0986422, -0.38136294, -0.15358298, 0.23020543, -0.05977532, -0.11393491, -0.096013635, 0.24110852, 0.16509794, 0.123878606, 0.37243974, -0.11803778, -0.08029274, -0.3473595, -0.016619613) * go_5(0.0, 0.0);
|
|
result += mat4(-0.23718977, 0.09085187, 0.029400716, 0.47734168, 0.31362626, 0.017727366, 0.020105481, 0.057455037, -0.051743355, 0.07249409, 0.049400017, -0.1550629, -0.071846515, -0.1437987, 0.2417953, 0.014299535) * go_5(0.0, 1.0);
|
|
result += mat4(-0.08694347, 0.009841694, 0.09711932, 0.15246062, 0.098932154, -0.014437434, -0.11970662, 0.07598205, 0.038751386, 0.03185043, -0.07837853, 0.108438924, 0.04504558, 0.011566745, 0.008329154, 0.1426964) * go_5(1.0, -1.0);
|
|
result += mat4(0.048465043, 0.05677615, 0.099296875, -0.18124029, -0.010807039, -0.00491463, -0.33124956, -0.14285894, 0.083550416, -0.0138887465, -0.23193465, -0.097341135, 0.028116707, -0.02220312, -0.37721866, 0.01048504) * go_5(1.0, 0.0);
|
|
result += mat4(0.041770935, 0.14585412, 0.2197504, 0.08920772, 0.21015723, -0.028688433, 0.023897428, 0.067301795, -0.23041755, 0.007535018, -0.1479986, -0.056359813, -0.17258057, -0.115048505, -0.12676053, -0.08775268) * go_5(1.0, 1.0);
|
|
result += mat4(0.024465568, 0.082423724, -0.080443636, 0.06963394, 0.047642346, -0.14285465, -0.020962767, -0.09884441, 0.17492405, 0.003157105, -0.004446115, 0.08194303, 0.1291698, 0.027452087, 0.15300538, -0.054447226) * go_6(-1.0, -1.0);
|
|
result += mat4(0.04749992, 0.16784605, 0.1447426, -0.1622565, 0.24699093, -0.13908885, 0.24418731, -0.02740722, 0.12872131, -0.008208542, 0.20528013, 0.13789995, -0.15344016, -0.09991068, 0.14630906, -0.17380811) * go_6(-1.0, 0.0);
|
|
result += mat4(0.095947415, 0.20968701, -0.007149529, 0.094800524, 0.05043026, -0.0693885, 0.12464035, 0.03035088, 0.0108456295, 0.12440731, -0.15677981, -0.004279606, -0.21148744, -0.0016452523, -0.09077341, 0.08485625) * go_6(-1.0, 1.0);
|
|
result += mat4(0.14946367, -0.026544122, -0.01740767, -0.02725897, -0.031115597, -0.09615934, -0.014224658, 0.069897555, -0.06448997, 0.013844944, -0.24855709, 0.19252767, -0.07110074, -0.23129512, 0.17940485, -0.15197137) * go_6(0.0, -1.0);
|
|
result += mat4(0.024190446, -0.4131039, 0.20890464, -0.14430898, 0.09224411, -0.084142424, -0.1300263, -0.12037812, -0.13061382, -0.23952286, 0.3093258, -0.4347307, -0.07327249, -0.34333092, -0.22807422, -3.587411e-08) * go_6(0.0, 0.0);
|
|
result += mat4(-0.12566617, 0.09386748, -0.060595963, 0.06381177, 0.008107327, -0.063545115, 0.014224591, -0.113904804, 0.014311766, 0.074355006, 0.009707868, 0.06504525, -0.035151925, -0.059292633, -0.009372453, 0.0428329) * go_6(0.0, 1.0);
|
|
result += mat4(0.13565753, 0.08438446, -0.25228864, 0.29451725, -0.1524786, -0.05199007, -0.14514388, -0.007710791, -0.23031662, -0.069889344, -0.119042754, -0.15772636, 0.049727075, 0.14252858, 0.12696588, 0.034571454) * go_6(1.0, -1.0);
|
|
result += mat4(-0.318517, 0.16518372, 0.4465158, -0.12741676, -0.14931186, 0.01184804, -0.12370663, -0.05469679, -0.052085515, 0.07560356, 0.038580637, 0.101390935, -0.10760684, -0.09168702, -0.11736598, -0.027629623) * go_6(1.0, 0.0);
|
|
result += mat4(0.017697498, -0.032091524, -0.19681352, -0.39446026, -0.103161484, -0.041192908, 0.12083361, 0.033441972, 0.05410027, -0.13009293, -0.029752202, -0.055233393, 0.07508266, 0.21648347, 0.016127443, 0.003726564) * go_6(1.0, 1.0);
|
|
result += mat4(0.11844395, -0.20417796, 0.046860386, -0.04963335, 0.28758386, 0.12296038, 0.006130141, -0.12428727, -0.08112634, 0.08013286, -0.022072678, -0.013939199, -0.26830623, -0.0774501, -0.12584007, 0.1048961) * go_7(-1.0, -1.0);
|
|
result += mat4(-0.002199185, -0.18720287, 0.09647677, -0.099159345, -0.37042502, 0.12126858, -0.055984303, -0.006307439, 0.050587848, 0.13118829, 0.014796261, 0.118981615, 0.059268136, 0.04953137, -0.26783678, -0.005206253) * go_7(-1.0, 0.0);
|
|
result += mat4(0.29162773, -0.06825134, 0.35480535, -0.013254458, 0.13690558, -0.038092773, -0.1442183, 0.008582979, 0.06665567, 0.09263725, 0.06401897, 0.04955423, 0.026602494, -0.043426443, -0.06760424, -0.028097454) * go_7(-1.0, 1.0);
|
|
result += mat4(0.0062063616, 0.041832373, 0.026989486, 0.07646448, -0.075214215, -0.04088086, 0.030253297, -0.0031407007, 0.10060057, -0.21035422, -0.0057072476, 0.009671492, -0.01255018, 0.1356472, -0.07203105, -0.09337885) * go_7(0.0, -1.0);
|
|
result += mat4(-0.16497216, -0.46643725, 0.10457678, -0.08723099, 0.009856483, -0.09712093, -0.06077413, 0.029142302, -0.31294492, -0.2785737, -0.06385234, -0.46307138, 0.11363836, 0.050526526, 0.22832777, -0.037936512) * go_7(0.0, 0.0);
|
|
result += mat4(0.2284257, -0.06757494, -0.12362806, -0.46540114, -0.027965, -0.119273104, -0.04408465, -0.08089625, 0.064668186, 0.18018429, -0.052782137, 0.2974697, 0.07583212, -0.062142026, 0.16650566, -0.20243031) * go_7(0.0, 1.0);
|
|
result += mat4(0.1417323, 0.18362466, 0.015461011, -0.07306669, 0.05225903, 0.03313784, 0.046318106, 0.092073604, 0.014854908, -0.009204208, 0.08582702, -0.060514253, -0.033618286, -0.082627475, -0.047510605, -0.17358147) * go_7(1.0, -1.0);
|
|
result += mat4(0.044509146, 0.18667401, -0.11588646, 0.21190381, 0.13762853, -0.080344714, 0.035992276, -0.09347646, -0.05722154, -0.020241026, 0.09365893, 0.0743754, 0.028774736, -0.09181784, 0.117522955, 0.024451857) * go_7(1.0, 0.0);
|
|
result += mat4(0.33748287, 0.33612773, -0.14045207, -0.11222517, -0.11824314, 0.008339795, -0.13027953, 0.011434568, 0.20478332, 0.084446914, 0.10224658, 0.12708066, 0.3002674, 0.13365488, -0.06434799, -0.0489962) * go_7(1.0, 1.0);
|
|
result += vec4(0.06834564, 0.017679863, 0.058996353, 0.07812309);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x32
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_2_tf
|
|
//!BIND conv2d_2_tf1
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_4_tf1
|
|
//!SAVE conv2d_5_tf2
|
|
//!WIDTH conv2d_2_tf.w
|
|
//!HEIGHT conv2d_2_tf.h
|
|
//!COMPONENTS 4
|
|
#define go_0(x_off, y_off) (max((conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max(-(conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max(-(conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv2d_4_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv2d_4_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv2d_4_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv2d_4_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.096992515, 0.08555787, 0.05567075, 0.3684235, -0.08453214, 0.14874797, -0.03518968, -0.21077682, 0.50580394, 0.27776504, -0.14072414, -0.047293838, -0.02501663, -0.18525644, -0.049244765, -0.019314952) * go_0(-1.0, -1.0);
|
|
result += mat4(0.15942743, 0.05601269, 0.43267244, -0.10105792, -0.10224665, -0.011477545, 0.18586546, 0.15386245, 0.018015172, 0.40642846, -0.43969464, -0.16773906, -0.08753851, 0.023862977, -0.20476931, -0.19330433) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.08384181, -0.21928434, 0.24617073, 0.072414346, 0.01447392, 0.1280031, 0.26045907, -0.34674746, -0.06659609, 0.5437911, -0.2481379, -0.4408586, -0.02065628, 0.35024786, -0.43344817, -0.23969968) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.26318234, -0.17276719, -0.27381238, 0.43724668, 0.1250605, 0.26279348, -0.1950965, 0.030116973, 0.22524981, -0.82836837, -0.37731346, -0.20764303, 0.082648724, 0.28439602, 0.2835361, -0.22858605) * go_0(0.0, -1.0);
|
|
result += mat4(-0.11053296, -0.18050304, -0.10785215, -0.5128143, -0.10638461, -0.18107837, -0.14984047, -0.31184852, 0.1233967, -0.5248787, 0.625766, -0.3261744, -0.33758238, -0.42288753, -0.24827915, 0.46629912) * go_0(0.0, 0.0);
|
|
result += mat4(0.05450445, 0.24746427, -0.12228202, 0.08459498, 0.21182795, -0.15472144, -0.20880555, -0.08567581, -0.06358891, 0.04441746, -0.24661979, -0.3056718, -0.011843654, 0.02622977, -0.30063242, 0.069148876) * go_0(0.0, 1.0);
|
|
result += mat4(0.10252986, 0.24974889, -0.14753763, -0.11542639, -0.02504192, 0.167707, -0.19300954, -0.28126183, 0.16349459, -0.39749804, -0.21315983, -0.3632333, 0.25346163, 0.011594266, 0.22163333, -0.36140066) * go_0(1.0, -1.0);
|
|
result += mat4(0.084694065, -0.15232442, 0.15100913, 0.258049, -0.16647953, -0.057295427, -0.2734653, 0.19444938, -0.543564, 0.1580093, -0.08364827, 0.39013955, 0.09799076, -0.28022006, 0.4436997, -0.007523592) * go_0(1.0, 0.0);
|
|
result += mat4(0.16044939, -0.16409683, -0.036102563, -0.045212515, 0.013765079, 0.16512275, -0.34618682, 0.15582882, -0.26858786, 0.11227446, -0.69422704, 1.0182123, 0.56721294, -0.27683023, -0.44450805, -0.056621786) * go_0(1.0, 1.0);
|
|
result += mat4(-0.005846392, -0.1002789, -0.11597346, 0.29757038, -0.3303294, -0.1128059, -0.16792095, -0.017062422, -0.20550682, -0.101541616, 0.1326292, -0.05803425, -0.1431525, 0.09539495, -0.0020564438, -0.015330874) * go_1(-1.0, -1.0);
|
|
result += mat4(-0.03305593, 0.30911654, -0.013541906, -0.03935406, -0.021767953, 0.033086017, -0.032538854, 0.29394448, -0.5953677, 0.042400517, -0.083737336, 0.35759467, -0.19653685, -0.0024307214, -0.022875965, 0.23306265) * go_1(-1.0, 0.0);
|
|
result += mat4(0.035584986, -0.08059428, 0.34352207, 0.1548032, 0.22265454, -0.09850938, 0.059585627, 0.13525864, -0.15460324, -0.12443778, -0.0065347757, 0.008565568, -0.09459641, -0.036760993, -0.16726579, 0.08680428) * go_1(-1.0, 1.0);
|
|
result += mat4(8.5111475e-05, 0.2236033, 0.17141129, -0.23127146, 0.15972026, 0.34908256, 0.26294386, 0.13128816, -0.16243693, 0.15757012, -0.22409199, -0.12647703, -0.18430239, 0.20520009, -0.02374801, -0.16203757) * go_1(0.0, -1.0);
|
|
result += mat4(0.22832601, 0.34606495, 0.11871914, -0.020249737, 0.21807198, -0.4782955, 0.27529162, -0.17565349, 0.038051367, -0.40700185, -0.2975774, -0.5380789, -0.004458205, -0.039739095, -0.19442874, -0.10650714) * go_1(0.0, 0.0);
|
|
result += mat4(0.25389373, -0.21592398, 0.46637633, 0.29954398, 0.011773476, 0.34604436, 0.015194187, 0.088156946, -0.07462061, -0.1797378, 0.24949403, 0.12773448, 0.04304656, 0.025975281, -0.0071224314, 0.10722792) * go_1(0.0, 1.0);
|
|
result += mat4(-0.021214327, 0.18125464, 0.09782468, 0.11554455, -0.10773687, 0.03764718, -0.07123926, 0.42674774, 0.15713947, 0.13268334, 0.2590209, 0.5615417, -0.10444575, 0.050965227, -0.1657652, -0.028306652) * go_1(1.0, -1.0);
|
|
result += mat4(0.07891638, 0.10982218, 0.18858793, 0.088180885, 0.21412432, 0.17309621, 0.13349771, -0.06536336, 0.2537686, 0.028627483, 0.2291187, -0.16728498, -0.0649568, -0.21011665, 0.12501954, 0.16584753) * go_1(1.0, 0.0);
|
|
result += mat4(0.37670746, -0.06669131, 0.2308896, -0.27846798, 0.03864727, -0.2396756, 0.20961864, -0.0955574, -0.17304963, 0.006572388, 0.4152245, -0.16013862, -0.048539825, -0.040141087, -0.17446917, 0.172646) * go_1(1.0, 1.0);
|
|
result += mat4(0.016411193, -0.24965028, -0.3197888, -0.15805353, 0.062157832, -0.07450992, 0.14774385, 0.019989528, -0.22329696, 0.07624211, 0.119352184, -0.12926702, 0.014121515, 0.04892924, -0.10143942, 0.1218296) * go_2(-1.0, -1.0);
|
|
result += mat4(-0.027942078, -0.21344666, 0.090950675, -0.017026879, -0.06316872, -0.17956391, 0.14474703, -0.12104946, 0.07770245, -0.11934515, 0.03306196, 0.08028085, 0.0807563, -0.09477622, 0.03688184, 0.031241085) * go_2(-1.0, 0.0);
|
|
result += mat4(0.058301553, 0.17516647, -0.1356353, -0.15869999, -0.06487614, -0.17825274, -0.28164253, 0.12063855, 0.14051922, 0.06572677, 0.24797052, -0.26174536, -0.014646216, -0.021676809, 0.102138005, 0.07929566) * go_2(-1.0, 1.0);
|
|
result += mat4(0.24743414, -0.07182416, -0.12567408, -0.57571995, -0.018107418, 0.27796823, -0.08527231, -0.18019378, 0.060446773, 0.10802219, 0.13173679, 0.1200748, 0.18567154, 0.19163565, -0.057419125, -0.24488002) * go_2(0.0, -1.0);
|
|
result += mat4(-0.0064926744, -0.35516098, 0.21456684, -0.07162182, -0.11187953, 0.11901505, 0.36913052, -0.019030696, -0.24774994, -0.026328832, 0.121998094, 0.20425063, -0.04413792, 0.16391441, -0.06149749, -0.5538841) * go_2(0.0, 0.0);
|
|
result += mat4(0.12691425, 0.011305395, -0.057030205, -0.029743116, -0.11666209, 0.20812204, 0.07555653, 0.011672403, 0.13864042, -0.08993008, -0.08202476, 0.12926434, 0.45806012, -0.0038320064, -0.02397306, 0.25906637) * go_2(0.0, 1.0);
|
|
result += mat4(-0.05215719, -0.2567637, -0.028009133, 0.12884264, -0.03538685, -0.14153866, -0.18635908, 0.3127351, -0.06493799, 0.11058845, 0.039282236, -0.089117266, -0.20289995, 0.16836898, -0.2553091, 0.3781839) * go_2(1.0, -1.0);
|
|
result += mat4(-0.038994674, 0.15095948, 0.010665794, -0.16193166, 0.029675307, 0.067519955, 0.014059612, -0.10524365, 0.22133544, -0.17850679, 0.17689049, -0.079176724, 0.140001, -0.106958285, -0.054205164, -0.063518755) * go_2(1.0, 0.0);
|
|
result += mat4(-0.0147742275, -0.02825343, -0.17911723, -0.033807088, -0.032546505, 0.07845434, -0.10618929, -0.24304347, 0.08031239, -0.081033856, 0.11696929, 0.30320054, -0.30589563, 0.025857087, 0.19169633, -0.21005262) * go_2(1.0, 1.0);
|
|
result += mat4(0.08359386, 0.29936704, 0.16312078, 0.21463135, 0.08171467, -0.1238904, 0.21628477, 0.20026375, -0.022520576, -0.09336571, 0.112078905, -0.11331715, 0.009337522, -0.050099798, -0.18231672, -0.020947263) * go_3(-1.0, -1.0);
|
|
result += mat4(-0.030812407, 0.111476146, 0.5977092, 0.13000198, -0.010192378, 0.054949045, 0.22067606, -0.2215171, -0.016222132, 0.10579395, 0.10758011, -0.009829448, -0.055121887, -0.018792551, -0.41590548, -0.04133538) * go_3(-1.0, 0.0);
|
|
result += mat4(0.080052584, 0.044864707, 0.106742695, -0.119988576, -0.21180773, 0.21859854, -0.30558732, 0.031225171, -0.1221141, -0.1679698, 0.19237423, 0.18212804, -0.019355904, 0.04471777, -0.4626242, 0.08120199) * go_3(-1.0, 1.0);
|
|
result += mat4(0.04417224, 0.22517249, 0.18053815, 0.2189462, -0.3901049, 0.12456932, 0.046451665, 0.027453724, -0.21874383, -0.28369403, 0.38541645, 0.15896674, 0.07901438, -0.11870142, -0.23583438, -0.21800627) * go_3(0.0, -1.0);
|
|
result += mat4(0.16514415, 0.48851582, 0.17654735, -0.32523116, 0.28139102, 0.32789868, 0.0060704425, -0.08439404, -0.19455875, 0.3426219, 0.1354883, 0.13480486, -0.047210373, 0.009763648, 0.10380663, -0.14301018) * go_3(0.0, 0.0);
|
|
result += mat4(-0.01964344, -0.22196314, 0.27099127, -0.3624297, -0.19935602, -0.57573617, 0.05781204, 0.34769946, -0.1655793, -0.31260255, -0.006191821, -0.14188464, -0.048039295, 0.016876832, 0.044305492, 0.11576497) * go_3(0.0, 1.0);
|
|
result += mat4(0.031500664, 0.213127, 0.040512875, -0.14993736, 0.1355947, 0.098466784, 0.2576776, -0.12359301, -0.095675476, 0.10758078, 0.15866314, 0.24855627, 0.01722974, 0.05124147, -0.2743417, 0.039515547) * go_3(1.0, -1.0);
|
|
result += mat4(0.2946348, 0.100007325, -0.06735624, 0.05319054, 0.19419125, 0.019504784, 0.07159323, 0.21550444, -0.19059516, 0.1583541, 0.3195432, -0.14882845, 0.06771776, -0.032769382, -0.08348987, 0.0024430798) * go_3(1.0, 0.0);
|
|
result += mat4(-0.05275983, 0.0034397016, -0.11966796, 0.12378445, 0.17581114, 0.13944638, 0.019923829, -0.031624325, -0.021019042, -0.16827096, -0.046106737, -0.06353076, 0.05943962, -0.20756234, 0.042654432, 0.13294446) * go_3(1.0, 1.0);
|
|
result += mat4(-0.042804338, 0.0009211868, -0.23128751, -0.14900532, 0.020116998, -0.129845, -0.26453322, 0.12563406, -0.015730144, 0.18961458, -0.2286719, -0.26802087, -0.0013182014, -0.08829011, -0.022237033, 0.18785976) * go_4(-1.0, -1.0);
|
|
result += mat4(0.068006374, 0.03713224, -0.17821713, 0.078400075, -0.03354765, 0.05032715, -0.22770362, 0.082578026, -0.164677, 0.010397865, 0.040545795, -0.07767106, -0.04931102, -0.020216117, 0.19189319, -0.07949725) * go_4(-1.0, 0.0);
|
|
result += mat4(-0.02560599, -0.014282298, -0.30485487, 0.12205604, 0.13143952, -0.020973703, -0.60740465, 0.18116136, -0.028516186, -0.09175719, -0.3332597, 0.0993698, 0.011291339, -0.018563187, -0.04645049, 0.1537859) * go_4(-1.0, 1.0);
|
|
result += mat4(-0.19548458, 0.008757838, -0.022760604, 0.056750417, 0.10407769, -0.103828914, -0.30039603, 0.15838397, 0.14583376, 0.14352289, 0.5236325, -0.22845235, 0.024826096, -0.15084279, -0.11028316, 0.3162365) * go_4(0.0, -1.0);
|
|
result += mat4(-0.27014557, -0.14510567, 0.13275504, -0.04220442, 0.073360756, 0.09062856, 0.25474098, 0.036567308, 0.029930808, -0.07118475, -0.38858262, 0.24752647, 0.18212575, 0.05463796, 0.2687639, -0.49617207) * go_4(0.0, 0.0);
|
|
result += mat4(-0.19640562, 0.101908855, 0.17502995, -0.042161964, 0.05290567, -0.025675468, -0.17403199, 0.09100326, 0.010622265, 0.044125065, -0.21804531, -0.1000515, 0.09555498, -0.042056557, 0.30270827, -0.110502906) * go_4(0.0, 1.0);
|
|
result += mat4(-0.015954453, 0.18156542, -0.026816932, 0.040066455, -0.041097276, -0.036309887, -0.27080503, -0.046121623, 0.2809894, 0.15110923, -0.051393576, -0.09357936, -0.110129625, -0.0112814475, -0.67396337, -0.045809776) * go_4(1.0, -1.0);
|
|
result += mat4(0.030026576, 0.31455976, 0.2093852, 0.07049524, 0.087148614, 0.04378545, -0.23404805, -0.21867152, 0.0780137, -0.3653028, 0.04958755, -0.24105056, -0.005830701, 0.14313154, 0.014666525, -0.12205944) * go_4(1.0, 0.0);
|
|
result += mat4(0.041753422, -0.029019587, 0.28341058, -0.11360368, -0.04306824, -0.022564419, -0.25620422, -0.07497915, -0.027317826, 0.014858011, -0.20636855, -0.34799644, -0.09822817, 0.11054621, 0.048805986, 0.28068805) * go_4(1.0, 1.0);
|
|
result += mat4(0.04645007, 0.20781171, -0.022659602, -0.16183186, 0.043681737, -0.016835278, -0.56000787, 0.25379097, -0.04654751, -0.009801681, 0.51817185, -0.28172117, -0.09141667, 0.004477492, 0.3877909, -0.25990424) * go_5(-1.0, -1.0);
|
|
result += mat4(-0.05770895, -0.32386646, 0.12786265, 0.25714403, -0.15705961, 0.042209778, 0.27720693, -0.31767642, 0.07279373, -0.19555818, 0.037276905, 0.17997949, 0.0382839, -0.18058495, 0.11596946, -0.4803383) * go_5(-1.0, 0.0);
|
|
result += mat4(0.14316835, -0.10939212, -0.57301897, 0.107101925, 0.027679194, 0.10561584, 0.16322306, -0.029265253, 0.015432328, 0.078424856, -0.3036955, 0.077147335, -0.07165004, 0.053753722, 0.046870816, -0.16831237) * go_5(-1.0, 1.0);
|
|
result += mat4(-0.0015454052, 0.11543685, 0.011629485, 0.09174164, -0.0020554285, -0.12829418, -0.16338444, -0.3855414, 0.09214294, 0.3051444, 0.4075737, 0.21011099, 0.09273038, 0.1422971, 0.23177463, -0.5677775) * go_5(0.0, -1.0);
|
|
result += mat4(-0.38397464, 0.1062587, 0.39587164, -0.13753776, -0.1408451, 0.051540542, -0.43004695, -0.37155452, 0.018951273, -0.12102222, 0.09337273, -0.1371699, -0.15890656, 0.06723986, -0.434453, 0.82531) * go_5(0.0, 0.0);
|
|
result += mat4(0.17049496, -0.04301534, -0.008399479, -0.02239451, -0.09903332, 0.16583356, -0.09590486, -0.43768612, -0.02140423, -0.017859606, -0.050639637, -0.15041262, 0.115062304, -0.05731665, -0.2678928, 0.3464159) * go_5(0.0, 1.0);
|
|
result += mat4(0.08870617, -0.118556865, -0.13360792, -0.09894303, -0.15581502, 0.2192686, -0.39398706, 0.11267478, 0.09166812, -0.15498365, -0.2917533, -0.16147003, 0.031740874, -0.22583205, -0.011654207, 0.30131137) * go_5(1.0, -1.0);
|
|
result += mat4(0.041226245, 0.073949926, 0.020469612, -0.04560685, 0.11118197, -0.24875127, -0.28384277, -0.209574, -0.11342182, -0.028049335, -0.30193615, -0.079933584, -0.095979676, -0.10020118, -0.19420303, -0.075664096) * go_5(1.0, 0.0);
|
|
result += mat4(0.14797074, -0.3470899, 0.39260823, 0.017051281, 0.06762197, -0.018575529, 0.0880026, -0.21063547, -0.1322691, 0.09712066, -0.4276631, 0.19340965, 0.12975846, 0.035868555, -0.70068085, -0.16410393) * go_5(1.0, 1.0);
|
|
result += mat4(-0.18932801, 0.09462974, 0.42027336, -0.37972912, 0.14362521, 0.19216716, -0.43429968, 0.059396047, -0.0013960754, 0.0058320346, -0.25363076, 0.044528674, -0.045085996, 0.09108611, -0.08413328, -0.32486486) * go_6(-1.0, -1.0);
|
|
result += mat4(-0.4067053, 0.10778585, 0.28718376, -0.051091816, 0.15242375, -0.02981224, -0.097597815, -0.048364934, 0.17647475, -0.083620705, -0.07125797, 0.044771638, 0.16834657, -0.025327723, -0.24978308, 0.09879097) * go_6(-1.0, 0.0);
|
|
result += mat4(-0.14262679, -0.24012862, 0.28995973, -0.08896369, 0.010631018, 0.09540369, -0.06608168, -0.18771736, -0.014997884, 0.030013464, 0.25964305, -0.21135412, 0.063037746, -0.018949352, -0.13153805, -0.2391852) * go_6(-1.0, 1.0);
|
|
result += mat4(0.057333205, 0.35793823, -0.031858347, 0.21486303, -0.04569342, 0.12527412, -0.12659034, 0.09696183, 0.08018003, -0.20497574, -0.38521993, 0.07651565, 0.07672333, -0.13392955, 0.080162585, -0.21611322) * go_6(0.0, -1.0);
|
|
result += mat4(0.089075185, -0.0313562, -0.1678185, -0.59176946, -0.10085004, -0.07158931, -0.20779158, 0.07887701, 0.05102273, 0.054919396, 0.20206434, -0.60396665, -0.21453445, -0.0129903015, -0.21422856, 0.120469116) * go_6(0.0, 0.0);
|
|
result += mat4(0.24352759, -0.46128348, -0.11604824, -0.12906942, -0.092262454, 0.093686655, 0.008656515, -0.09435711, 0.02955139, 0.058670785, 0.31187442, -0.012236685, -0.11576328, 0.26213887, -0.3678442, 0.39925987) * go_6(0.0, 1.0);
|
|
result += mat4(0.09056785, 0.025610259, 0.04404834, 0.04880529, -0.018727796, -0.02463311, -0.33473116, 0.18240984, -0.31690162, -0.03753813, -0.49378097, 0.034098472, 0.08104111, 0.15535483, 0.54219043, -0.14415042) * go_6(1.0, -1.0);
|
|
result += mat4(0.2178136, 0.26973012, -0.08373426, 0.050942183, -0.026202869, -0.19092646, -0.15695636, 0.14941269, -0.008460806, 0.17145476, -0.15403928, 0.30220225, -0.008509539, -0.07173873, -0.028730325, 0.11379968) * go_6(1.0, 0.0);
|
|
result += mat4(-0.423233, 0.22220805, 0.2923962, 0.07597547, 0.04264445, 0.073609315, -0.28772584, -0.018501874, 0.009833902, 0.09063646, 0.15016796, -0.050786685, -0.044880487, -0.00094357406, 0.054167807, -0.4163448) * go_6(1.0, 1.0);
|
|
result += mat4(0.064591885, -0.017542299, -0.7427811, 0.1085436, -0.099237405, 0.07204454, 0.21403041, -0.44325823, 0.063634664, 0.019480009, -0.5166522, 0.48371652, 0.042217735, -0.08151546, -0.16102481, 0.38363907) * go_7(-1.0, -1.0);
|
|
result += mat4(0.23603337, 0.36189508, 0.16096863, -0.23203878, 0.3909665, -0.048548676, -0.08426398, 0.13699533, -0.16585836, 0.08123174, 0.23689987, -0.14406693, -0.12765872, 0.14779435, -0.200962, 0.27416065) * go_7(-1.0, 0.0);
|
|
result += mat4(-0.29448098, 0.14758095, 0.57802075, 0.021730013, 0.13210014, 0.104395285, -0.2312142, -0.2866295, 0.016930144, -0.15231368, 0.14054593, -0.09351796, 0.1032217, 0.041166462, -0.36189362, 0.41247606) * go_7(-1.0, 1.0);
|
|
result += mat4(-0.007560109, -0.0803, -0.16032574, 0.05478983, -0.1759635, -0.14446284, 0.15542305, -0.16604201, -0.04187009, -0.26687822, -0.587336, -0.24216992, -0.23209628, 0.20443848, 0.20857601, 0.39599934) * go_7(0.0, -1.0);
|
|
result += mat4(-0.14840446, 0.40601328, -0.7559737, 0.2739641, -0.25899225, -0.08748905, 0.26742223, -0.1928892, -0.069469795, 0.17335804, 0.14560762, -0.29675013, 0.07705042, 0.087402344, 0.11580721, -0.56622976) * go_7(0.0, 0.0);
|
|
result += mat4(-0.09510998, 0.087312974, -0.4744771, -0.2034856, -0.0228022, 0.20781693, -0.21102814, 0.3811148, -0.032918505, -0.06346079, 0.11738945, 0.25676858, -0.040940452, -0.13468303, 0.18274675, -0.29756874) * go_7(0.0, 1.0);
|
|
result += mat4(0.018719247, 0.01183309, 0.5007991, -0.23340209, 0.26327956, -0.22815254, 0.108726546, -0.03552217, -0.009156057, 0.10254266, 0.16000487, 0.14117196, -0.017914208, 0.27125883, -0.21865341, 0.21615145) * go_7(1.0, -1.0);
|
|
result += mat4(0.19699602, -0.31031716, -0.59890205, -0.21126802, -0.20352201, -0.06410778, -0.037906803, -0.022946103, 0.06663984, 0.12589614, 0.32420775, 0.23299861, 0.0078275055, -0.12053192, 0.103772156, -0.01047939) * go_7(1.0, 0.0);
|
|
result += mat4(-0.13278633, -0.049333517, 0.112975165, -0.1881344, -0.049702376, 0.19375268, -0.86393154, 0.038770728, 0.12380659, -0.17710638, 0.3185005, -0.12963669, -0.088208504, 0.06580817, 0.026088627, -0.13940124) * go_7(1.0, 1.0);
|
|
result += vec4(-0.004481173, -0.061259553, 0.11030188, 0.16914344);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x24
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_5_tf
|
|
//!BIND conv2d_5_tf1
|
|
//!BIND conv2d_5_tf2
|
|
//!SAVE conv2d_6_tf
|
|
//!WIDTH conv2d_5_tf.w
|
|
//!HEIGHT conv2d_5_tf.h
|
|
//!COMPONENTS 4
|
|
#define go_0(x_off, y_off) (max((conv2d_5_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_5_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv2d_5_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max(-(conv2d_5_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max(-(conv2d_5_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max(-(conv2d_5_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.06430692, 0.086825125, -0.034608375, -0.01397618, 0.040052984, 0.011185875, 0.011732263, 0.012392225, 0.059679143, 0.0020240098, 0.06681242, 0.054336477, -0.0036498306, -0.019456264, -0.071606115, 0.041119363) * go_0(-1.0, -1.0);
|
|
result += mat4(0.04943378, -0.0848539, 0.0356649, -0.045104954, -0.07455269, 0.22761999, -0.097870104, -0.17315823, 0.024429278, -0.014491249, -0.041353658, 0.1098216, 0.03469068, -0.032172896, 0.033026703, 0.04296571) * go_0(-1.0, 0.0);
|
|
result += mat4(0.07144953, 0.008301972, -0.06500498, 0.031518232, -0.10892988, -0.097283006, -0.13314813, -0.013742693, 0.050799493, 0.050253615, 0.040891692, -0.0021811249, 0.030596646, -0.017255697, 0.0022994988, 0.00735084) * go_0(-1.0, 1.0);
|
|
result += mat4(0.023562869, -0.0011871309, -0.0423234, -0.002608592, 0.08043674, -0.082256354, -0.022457797, 0.07030839, 0.013923805, -0.013660352, 0.06952137, -0.044279564, 0.04486451, -0.02644484, 0.052811652, 0.00197306) * go_0(0.0, -1.0);
|
|
result += mat4(-0.05471925, -0.10278568, 0.017831381, -0.060885206, 0.01943984, -0.11520702, 0.10465094, 0.03574296, -0.050254647, 0.0019161392, -0.25124437, 0.043597598, -0.017897893, 0.07151743, 0.11265933, -0.08989344) * go_0(0.0, 0.0);
|
|
result += mat4(0.11001799, -0.011334239, 0.12736328, 0.16483796, -0.13220996, 0.0732099, 0.13678497, 0.1530554, 0.043017015, -0.10789205, 0.053205475, 0.023291817, -0.0056713475, -0.12603688, -0.13624206, -0.0714872) * go_0(0.0, 1.0);
|
|
result += mat4(0.021965552, -0.009516653, 0.020002227, -0.0072277826, -0.035595354, -0.052053552, -0.023298074, 0.01770549, 0.106064536, -0.096217915, 0.119941294, 0.054289114, 0.044710737, 0.03558839, 0.0025203228, 0.02229299) * go_0(1.0, -1.0);
|
|
result += mat4(-0.05996382, -0.059034027, 0.0048927953, 0.11681153, 0.0123580685, -0.15851006, 0.053752933, -0.094275564, 0.056480173, -0.01539422, -0.06352794, 0.05537091, -0.090935975, 0.114802405, -0.07706906, -0.020618843) * go_0(1.0, 0.0);
|
|
result += mat4(0.046106033, 0.06567163, 0.024409082, 0.08681322, -0.15275897, 0.051852785, -0.0982452, -0.14251694, 0.09573071, -0.018330676, 0.07995178, -0.010879136, -0.097755134, -0.017416988, -0.062556945, -0.0578873) * go_0(1.0, 1.0);
|
|
result += mat4(-0.00429525, -0.07700766, 0.010865506, 0.039318554, -0.06787303, -0.028628208, -0.05469512, 0.05459275, -0.030343568, 0.06288822, -0.02628777, 0.015035558, 0.003811996, 0.013887734, 0.034987926, 0.17882642) * go_1(-1.0, -1.0);
|
|
result += mat4(-0.04686645, 0.05545698, -0.022312073, -0.06866622, 0.09609454, -0.09298049, 0.20229526, 0.1036513, -0.07117841, 0.047199853, -0.018191453, -0.011281787, -0.014291751, -0.118642345, 0.07959059, 0.08753804) * go_1(-1.0, 0.0);
|
|
result += mat4(0.0145701915, -0.00083395635, -0.009838556, 0.03793263, -0.018338429, -0.028547939, -0.044276386, 0.022902593, -0.10429393, -0.08177185, 0.038462102, -0.061109234, 0.021328336, -0.018102761, -0.07724541, 0.03491818) * go_1(-1.0, 1.0);
|
|
result += mat4(0.051537625, -0.04092781, -0.027314937, 0.06624649, 0.0059737917, -0.0045862994, 0.03624142, 0.016898366, -0.15276705, -0.013039528, -0.034717664, 0.07935391, 0.016038802, -0.20841958, 0.08346563, 0.06563678) * go_1(0.0, -1.0);
|
|
result += mat4(-0.015235551, 0.15574263, -0.013553463, 0.07328153, 0.1526515, -0.28490472, 0.19684647, -0.15529588, -0.012245582, 0.06855586, -0.05603284, 0.06607822, -0.0842433, 0.17281564, 0.28474236, 0.08198234) * go_1(0.0, 0.0);
|
|
result += mat4(0.038899522, -0.06798045, -0.054560043, -0.16137177, 0.021140218, 0.29889742, -0.1840661, -0.05800861, -0.015068329, -0.04634431, 0.08015181, 0.019838551, 0.10208079, -0.077259056, -0.19794165, -0.15083085) * go_1(0.0, 1.0);
|
|
result += mat4(0.01064174, -0.05850555, -0.05604373, 0.04052068, -0.075376056, 0.046033148, 0.11586819, -0.019885244, 0.035843607, 0.046307143, 0.00585988, -0.080217384, -0.021261437, 0.1410561, 0.008985651, 0.028860984) * go_1(1.0, -1.0);
|
|
result += mat4(-0.07319461, 0.08104932, 0.041007817, 0.030615268, -0.20470095, 0.12515168, -0.160545, -0.12937605, 0.31107107, 0.1484706, 0.038850147, -0.012020466, -0.05610734, 0.044933334, 0.042511266, -0.052596994) * go_1(1.0, 0.0);
|
|
result += mat4(-0.066693224, 0.0361146, 0.067501135, -0.21699974, -0.11158058, 0.15679757, -0.028746078, -0.01819391, 0.104127966, -0.06664338, 0.06227161, 0.12396172, -0.0032715963, -0.08171951, -0.044955824, -0.08106554) * go_1(1.0, 1.0);
|
|
result += mat4(0.015864346, -0.013364807, -0.06118465, -0.044409316, 0.043848667, -0.021818867, 0.073257685, 0.031070877, -0.09103615, 0.049833406, -0.057495326, -0.12800662, 0.03994082, 0.0138215795, 0.015007392, 0.10248998) * go_2(-1.0, -1.0);
|
|
result += mat4(0.25089416, -0.07602123, 0.17347728, 0.02892703, -0.011619053, -0.0641153, 0.05217339, 0.07876783, 0.0055022957, 0.004055628, -0.09110391, -0.06867559, 0.024405807, -0.05255772, 0.04266218, -0.010957767) * go_2(-1.0, 0.0);
|
|
result += mat4(0.24782608, 0.036559172, 0.044769745, 0.0015120476, 0.013133198, -0.044633485, -0.014515029, -0.021279601, -0.036733393, 0.04075623, -0.17661944, -0.094546385, 0.056875527, 0.004090026, 0.05490262, 0.009615546) * go_2(-1.0, 1.0);
|
|
result += mat4(-0.059016522, 0.06971676, -0.018845871, -0.1960489, 0.030603651, 0.07038275, 0.030324249, -0.021405647, 0.0029889164, -0.044680223, 0.025204105, -0.070947506, 0.08812823, -0.04162818, 0.020303862, 0.033686403) * go_2(0.0, -1.0);
|
|
result += mat4(0.095108695, -0.001756413, -0.0746956, 0.19454287, 0.11728253, 0.024068093, 0.22989868, 0.15326135, -0.044749334, -0.10269763, -0.11903939, -0.0791172, -0.004715979, -0.034785185, 0.06928696, -0.080341384) * go_2(0.0, 0.0);
|
|
result += mat4(0.09515306, 0.0796711, 0.2531875, 0.17232622, -0.046116754, 0.10505673, 0.03974202, 0.0192849, -0.032660086, 0.090220645, -0.018340196, 0.010892869, 0.057608526, -0.0042284457, -0.033126116, -0.050798874) * go_2(0.0, 1.0);
|
|
result += mat4(-0.0465734, -0.12704821, -0.04242129, -0.08912093, 0.060641844, -0.030298313, 0.07455412, 0.09691065, -0.0993119, 0.08467131, -0.08018581, -0.06551497, 0.02412251, 0.023426851, -0.013038504, 0.058629658) * go_2(1.0, -1.0);
|
|
result += mat4(-0.0072143734, -0.17254709, -0.10164249, 0.009320373, 0.04572811, 0.031890705, 0.11281531, -0.053358663, -0.12266469, -0.0050442372, -0.088591315, -0.014440839, 0.025741255, -0.1090415, 0.14636643, 0.06128863) * go_2(1.0, 0.0);
|
|
result += mat4(-0.021854619, 0.08777348, -0.06519233, -0.068287335, -0.015207972, -0.041368876, -0.06916352, 0.014671391, -0.15136546, 0.12566894, -0.104125395, -0.025017736, -0.043513566, 0.08409863, 0.037353594, -0.06276716) * go_2(1.0, 1.0);
|
|
result += mat4(0.07235235, 0.03902354, 0.08474354, 0.015749328, -0.14268096, 0.030634299, -0.055138513, -0.03956857, 0.018563624, -0.081968024, 0.051094677, 0.034120332, 0.0053250403, 0.080352135, -0.04955247, -0.1332719) * go_3(-1.0, -1.0);
|
|
result += mat4(-0.036749303, -0.028455151, -0.014937002, 0.040662266, 0.08305564, 0.11542185, 0.013110968, 0.049462736, 0.055836335, -0.07350095, 0.022430308, -0.02959864, -0.01815184, -0.019589523, 0.063062504, 0.03289119) * go_3(-1.0, 0.0);
|
|
result += mat4(-0.023061413, 0.054117512, -0.005270115, -0.08946267, -0.04308614, 0.23271716, 0.23769991, 0.199799, 0.042626232, -0.003149215, -0.07325253, -0.09104977, 0.06556636, 0.123100184, -0.065416, -0.047533657) * go_3(-1.0, 1.0);
|
|
result += mat4(0.012621001, 0.010509575, 0.037320737, -0.059742343, -0.049418703, -0.09797092, 0.107040025, 0.050573327, -0.07652653, -0.096295066, 0.046717234, 0.0451225, -0.102516145, 0.15624528, -0.23164383, -0.13354032) * go_3(0.0, -1.0);
|
|
result += mat4(-0.028271353, 0.12728448, 0.030375311, 0.17157783, 0.122691065, -0.3680664, 0.029203705, -0.26102167, 0.025286853, 0.06262695, 0.1589348, 0.05327821, -0.065294765, -0.24605483, 0.042972647, -0.02089068) * go_3(0.0, 0.0);
|
|
result += mat4(-0.026082302, -0.08781727, -0.09250588, -0.023226565, 0.051248543, 0.16456133, -0.2952685, -0.083784014, 0.076261856, 0.0406498, 0.170887, 0.045606345, 0.090185635, -0.056969963, 0.013353489, -0.02177184) * go_3(0.0, 1.0);
|
|
result += mat4(0.03591036, -0.00022123115, 0.00879266, 0.0014145833, -0.031907767, 0.008818724, 0.038096637, 0.088316254, -0.111196004, -0.043627053, -0.03396249, -0.11398144, -0.013437176, -0.056140415, -0.02947146, 0.04266824) * go_3(1.0, -1.0);
|
|
result += mat4(0.27118152, -0.029443147, 0.029049424, -0.021353519, -0.08102377, -0.10702356, 0.2708468, -0.028351566, 0.10159006, -0.08634602, 0.11655341, 0.01216303, -0.032198787, 0.098999046, 0.08560102, 0.13209614) * go_3(1.0, 0.0);
|
|
result += mat4(-0.011867179, -0.008092173, -0.06914386, -0.0026515024, 0.15475754, -0.069809034, -0.061735924, 0.030092785, 0.015481355, 0.069196485, -0.067885965, -0.10032289, -0.022956805, -0.050457634, 0.034361836, 0.063292615) * go_3(1.0, 1.0);
|
|
result += mat4(-0.028808603, 0.2522452, -0.028151542, -0.11966417, 0.0060086837, -0.022839228, 0.04591885, -0.047450468, -0.017323907, 0.0033520379, -0.013912139, 0.00087186386, -0.095179744, 0.10477611, -0.1572277, -0.18952997) * go_4(-1.0, -1.0);
|
|
result += mat4(-0.024695182, 0.2125057, 0.0043758615, 0.048833247, -0.024862275, -0.07173688, 0.016327882, 0.052133285, 0.032598563, 0.0370544, -0.032444727, 0.007660602, 0.014026539, 0.15517443, -0.08797283, 0.046922438) * go_4(-1.0, 0.0);
|
|
result += mat4(-0.08749249, 0.17871788, 0.089315645, 0.020792015, 0.0062840376, 0.027935686, 0.022011895, 0.0014372129, 0.03437162, 0.04160462, -0.076575324, -0.005282676, 0.01039395, 0.13785924, -0.11939048, -0.12266059) * go_4(-1.0, 1.0);
|
|
result += mat4(-0.08761654, 0.12325804, 0.09464573, -0.070082165, -0.029074723, -0.039505627, -0.006745376, -0.07662022, 0.018293282, 0.16754504, -0.01436095, -0.07123675, -0.045903374, 0.045701377, -0.16947833, -0.065680735) * go_4(0.0, -1.0);
|
|
result += mat4(0.07837804, 0.10318053, 0.10402837, -0.09299896, -0.044918105, -0.19713773, -0.038225368, -0.0127715515, 0.021232253, 0.19498691, 0.054563515, -0.024584824, 0.14310583, -0.25778866, -0.048625097, -0.04034214) * go_4(0.0, 0.0);
|
|
result += mat4(0.03317779, 0.36327454, 0.0010753187, 0.07300084, 0.013177773, -0.10299273, -0.043644756, -0.049851302, -0.11076842, -0.0030125536, 0.13768485, 0.037023947, 0.05862015, 0.026259044, -0.11906646, 0.015630042) * go_4(0.0, 1.0);
|
|
result += mat4(0.04435236, 0.2442636, 0.02941278, -0.03259748, 0.02729472, 0.1464977, -0.23190135, -0.013464374, -0.04808333, -0.07721386, -0.006521778, 0.03849496, -0.087418415, -0.14530352, -0.046621766, 0.013260049) * go_4(1.0, -1.0);
|
|
result += mat4(-0.054236982, 0.16401532, -0.0410692, 0.018103333, 0.03832126, 0.24158026, -0.02707848, 0.063542314, -0.0025432308, 0.02253484, -0.13533834, 0.009265725, -0.13578576, 0.055599272, -0.029021647, 0.074372046) * go_4(1.0, 0.0);
|
|
result += mat4(0.07789502, 0.12068383, 0.06586239, 0.16586556, 0.12068069, 0.0314873, 0.020462591, 0.01643263, 0.0022647027, -0.0535912, 0.02042879, 0.08939534, -0.012003675, 0.10854255, -0.019238353, 0.05661957) * go_4(1.0, 1.0);
|
|
result += mat4(-0.0024771164, 0.0013602651, -0.006449609, -0.0674718, 0.011020245, -0.024715785, -0.005840159, -0.016253866, 0.0058691143, 0.00923955, -0.014752748, -0.009056492, 0.04719506, 7.439548e-05, -0.031533875, -0.028303158) * go_5(-1.0, -1.0);
|
|
result += mat4(-0.022446554, 0.011014639, 0.014150175, -0.08969043, 0.05011379, 0.0014429274, 0.13622425, -0.055668622, 0.003997062, -0.018588124, 0.037211727, -0.02675576, 0.021160034, 0.06025865, 0.044886358, 0.07540469) * go_5(-1.0, 0.0);
|
|
result += mat4(0.059523765, -0.106335945, 0.047557555, 0.015525542, -0.059115347, 0.009750207, 0.01922731, 0.024100488, 0.0016303931, -0.07808692, 0.08100007, 0.05687361, -0.03983667, -0.023318004, 0.044715997, 0.032614175) * go_5(-1.0, 1.0);
|
|
result += mat4(0.092187695, -0.16478536, 0.11356077, 0.1448521, 0.072599865, 0.06876907, -0.024432033, 0.052597918, -0.010043035, -0.03687111, 0.00895416, 0.02780389, 0.045475237, 0.0034288564, -0.053697575, -0.0039305706) * go_5(0.0, -1.0);
|
|
result += mat4(-0.086140305, 0.10712286, -0.098502316, -0.037614137, -0.0014869545, -0.119502805, 0.07774526, 0.01559113, -0.036177177, 0.05600912, 0.0672405, 0.0424494, -0.014852803, -0.09711143, 0.035177983, 0.027274514) * go_5(0.0, 0.0);
|
|
result += mat4(0.010052695, -0.1528992, 0.037211087, 0.050275393, -0.052893683, -0.103499845, 0.04699975, 0.010357094, 0.02002735, -0.0724987, -0.039920773, -0.03259424, 0.05104605, -0.021494186, 0.1335748, 0.1431882) * go_5(0.0, 1.0);
|
|
result += mat4(0.008692001, 0.1388636, 0.062878676, 0.043149088, 0.040500425, -0.06934554, 0.031019283, 0.086996906, -0.01329169, -0.024621997, 0.03125819, -0.03552568, 0.025497364, -0.013930993, 0.039630298, -0.009306881) * go_5(1.0, -1.0);
|
|
result += mat4(0.08138952, 0.11290011, 0.09357804, 0.0773934, 0.11037395, 0.040116914, 0.05588578, 0.08340036, 0.019552698, 0.010302062, 0.030425403, -0.012494984, 0.100253575, 0.058283005, -0.0053462014, 0.0011434298) * go_5(1.0, 0.0);
|
|
result += mat4(-0.0027934618, 0.012688533, 0.03582281, 0.093737796, -0.10973247, 0.07261092, 0.112351805, 0.011432246, 0.013944619, -0.06078718, 0.04819748, -0.023201318, 0.060381312, -0.08896123, 0.0354816, 0.1314617) * go_5(1.0, 1.0);
|
|
result += vec4(-0.014843715, 0.037786916, -0.050943095, 0.02970283);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x24
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_5_tf
|
|
//!BIND conv2d_5_tf1
|
|
//!BIND conv2d_5_tf2
|
|
//!SAVE conv2d_6_tf1
|
|
//!WIDTH conv2d_5_tf.w
|
|
//!HEIGHT conv2d_5_tf.h
|
|
//!COMPONENTS 4
|
|
#define go_0(x_off, y_off) (max((conv2d_5_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_5_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv2d_5_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max(-(conv2d_5_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max(-(conv2d_5_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max(-(conv2d_5_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.042099904, -0.058733735, 0.02552323, 0.08024827, -0.007007328, -0.024506995, -0.014314433, 0.07856346, 0.0070828185, 0.12121103, -0.047790356, -0.1190773, 0.09607051, -0.022659522, -0.012408393, -0.01265088) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.036540985, 0.065095425, 0.020370001, -0.13017972, 0.16372375, -0.13150094, 0.012892328, -0.1387121, -0.0398674, -0.115208104, -0.025226658, -0.066354044, 0.07032839, 0.11715836, 0.014640627, 0.0410301) * go_0(-1.0, 0.0);
|
|
result += mat4(0.030191297, -0.0066959998, 0.026137028, -0.015430499, -0.07329306, -0.138525, 0.080228955, 0.1005483, -0.0007654556, 0.08933457, -0.11922955, -0.0689602, 0.06392459, 0.04870049, -0.0018588612, 0.046055775) * go_0(-1.0, 1.0);
|
|
result += mat4(0.12119697, -0.03272271, -0.011908178, 0.07443732, 0.017831923, -0.06988535, -0.027143668, -0.023895472, 0.08469687, 0.1490557, 0.015963838, -0.0049853753, 0.01178327, -0.0028791244, -0.06283662, -0.0059013553) * go_0(0.0, -1.0);
|
|
result += mat4(0.028543679, 0.058001377, -0.008511679, 0.0026974818, -0.0013273149, 0.010061944, -0.07719697, -0.053456806, -0.2909378, -0.03735039, 0.02128061, 0.15994087, -0.020060549, 0.0051932936, 0.010056397, -0.044010773) * go_0(0.0, 0.0);
|
|
result += mat4(0.1596504, -0.055374887, -0.019871527, 0.008125669, 0.21285413, 0.03118557, 0.05784715, -0.033272292, -0.11010903, 0.08968991, 0.01791155, -0.11081058, -0.059060283, -0.08855704, 0.06299061, -0.08653331) * go_0(0.0, 1.0);
|
|
result += mat4(0.22247101, -0.04902725, 0.004427136, 0.00843986, -0.12681817, -0.04432411, 0.09346549, -0.07040382, 0.065832525, 0.1306079, -0.046262078, -0.064467475, 0.09017577, -0.05839232, 0.02169111, 0.015345169) * go_0(1.0, -1.0);
|
|
result += mat4(-0.019040529, 0.03761165, -0.021923041, -0.02165343, -0.22262675, -0.007393024, 0.13378944, 0.24793835, -0.115743674, -0.050898936, -0.101693556, -0.16117941, 0.15038069, -0.071292244, 0.16757068, 0.14149354) * go_0(1.0, 0.0);
|
|
result += mat4(0.15021501, 0.01646184, 0.039540898, -0.020430906, -0.09821808, -0.008859351, -0.0064752824, 0.04515899, -0.036680277, 0.03743646, 0.046192754, -0.07469316, 0.015766433, -0.053386677, -0.058385946, 0.04285354) * go_0(1.0, 1.0);
|
|
result += mat4(-0.12153023, -0.0052116364, 0.013274117, 0.066916846, -0.07894143, -0.07270525, 0.0032244355, 0.080999196, -0.071276195, 0.03603874, -0.023127655, -0.22612897, 0.019750288, 0.06261086, 0.036052, 0.057479452) * go_1(-1.0, -1.0);
|
|
result += mat4(0.068308026, -0.02204353, 0.037701212, -0.13152799, -0.040166344, 0.18250147, -0.00841116, 0.14707813, 0.2891035, 0.0355822, -0.037319396, -0.033286855, 0.05205944, 0.029016457, 0.02267416, 0.12552561) * go_1(-1.0, 0.0);
|
|
result += mat4(-0.07627465, -0.0015795324, 0.005847234, 0.0343533, -0.12101658, -0.044895757, -0.033076547, -0.0072863665, -0.13455121, -0.03442574, 0.03806193, -0.025911227, -0.05203063, 0.006293081, 0.01888723, 0.10063248) * go_1(-1.0, 1.0);
|
|
result += mat4(0.05558394, 0.03480151, 0.0068188105, 0.025131043, -0.12540701, -0.088756844, -0.03175985, -0.19954887, 0.0730124, -0.04229162, -0.0013364753, -0.03893613, 0.06019269, -0.034671903, 0.050091, -0.059322134) * go_1(0.0, -1.0);
|
|
result += mat4(-0.07942089, -0.018256165, -0.096205324, 0.101769134, 0.01908004, 0.33233985, -0.035679515, -0.23594299, -0.03030973, 0.06313867, -0.044021074, -0.10605643, -0.10518184, -0.11355261, 0.12967454, -0.106763974) * go_1(0.0, 0.0);
|
|
result += mat4(-0.09985036, 0.041868765, -0.09622011, -0.05465083, -0.039375015, -0.10204485, -0.004873815, 0.080527805, 0.08858304, -0.05943268, 0.08352734, -0.07512739, -0.22778553, 0.15029298, 0.08525989, -0.15358798) * go_1(0.0, 1.0);
|
|
result += mat4(-0.08080637, -0.097256064, -0.040232092, -0.06549907, 0.013221195, -0.028040923, -0.0005182768, 0.06254156, 0.19496393, -0.0040481715, -0.053046, 0.05839162, 0.11274092, 0.11118614, 0.1480564, 0.033354077) * go_1(1.0, -1.0);
|
|
result += mat4(0.023759563, 0.00635514, -0.045272943, -0.05173251, 0.0885555, -0.008405325, 0.19941078, 0.109418906, 0.48571047, 0.0562873, -0.122534275, 0.01860896, 0.10383342, -0.005438985, 0.2603844, 0.016442006) * go_1(1.0, 0.0);
|
|
result += mat4(-0.1018859, -0.06035783, 0.04882298, 0.121493384, -0.014769945, -0.026479812, -0.23881653, 0.15810451, 0.064371295, -0.08258908, 0.032874167, 0.0013588811, -0.13452709, -0.021992348, -0.12913197, -0.007582777) * go_1(1.0, 1.0);
|
|
result += mat4(0.09469535, -0.0059437137, 0.0070211883, 0.012549531, -0.04503433, 0.11778692, -0.01240231, -0.06452343, 0.0183962, -0.09719111, 0.051977355, 0.028582, 0.11405788, 0.09339377, -0.017060561, -0.016824113) * go_2(-1.0, -1.0);
|
|
result += mat4(0.025192278, 0.16830146, 0.002082107, -0.12433539, 0.05449372, 0.111993775, -0.050993383, 0.106019214, -0.0012675346, -0.11002013, 0.08042263, 0.046076216, 0.03845027, 0.026669858, -0.05693071, 0.006350705) * go_2(-1.0, 0.0);
|
|
result += mat4(0.11534884, 0.067232355, -0.08493867, -0.059265412, -0.045863472, 0.03164632, -0.013697583, 0.012065389, -0.15469037, -0.08252674, 0.102144025, 0.079707734, 0.0043182303, 0.07471552, -0.028747529, -0.05626163) * go_2(-1.0, 1.0);
|
|
result += mat4(-0.02088867, 0.005918884, -0.00632325, 0.06864312, 0.07231704, 0.06967162, 0.046126503, -0.03890708, -0.11291535, -0.112925544, 0.01721896, -0.027296377, -0.0008218594, 0.019371105, -0.028493239, -0.11972473) * go_2(0.0, -1.0);
|
|
result += mat4(0.05792697, -0.050189912, -0.013986142, -0.042153005, -0.044381443, -0.040740672, -0.036568243, -0.18094629, -0.032849103, -0.11920466, -0.01574577, 0.07106109, -0.0473771, -0.029407948, -0.016447794, 0.07348799) * go_2(0.0, 0.0);
|
|
result += mat4(0.25879595, 0.027651018, -0.09736299, -0.017931122, 0.1145708, 0.051391326, 0.14323749, -0.06405431, -0.017116228, -0.04995981, 0.017524386, 0.053012, -0.024927566, 0.029871127, -0.062402803, -0.089126125) * go_2(0.0, 1.0);
|
|
result += mat4(-0.3455905, -0.07298466, 0.022065436, -0.13115343, 0.0683912, 0.06609262, -0.035481025, -0.04162889, -0.0020681168, -0.0819611, 0.017471436, 0.022238733, 0.047958784, 0.037473556, -0.06708024, -0.06513322) * go_2(1.0, -1.0);
|
|
result += mat4(-0.008081404, 0.04029864, -0.07384856, -0.12268659, 0.048441645, 0.08439676, 0.032600272, 0.01420026, -0.16429286, -0.061197132, 0.05322935, -0.04212053, 0.0060033225, 0.037083343, -0.024957739, -0.026598029) * go_2(1.0, 0.0);
|
|
result += mat4(0.0018599767, 0.02205519, 0.10264597, 0.047300845, 0.13039044, -0.08621153, -0.014272506, 0.03800674, -0.12807004, -0.03650184, 0.17019251, 0.0050348463, 0.06673689, 0.062484764, -0.074008316, 0.0024411175) * go_2(1.0, 1.0);
|
|
result += mat4(0.10010423, 0.059802253, -0.028706724, -0.0021158324, -0.1071618, -0.06596802, 0.017506624, 0.020555088, 0.006742276, -0.058907714, 0.02132174, -0.00065407227, 0.10080476, -0.06645163, 0.028596232, -0.098386355) * go_3(-1.0, -1.0);
|
|
result += mat4(0.06250598, 0.028219528, -0.032285657, 0.029157873, 0.41888437, -0.07922488, -0.038655374, 0.08948803, -0.13829164, 0.13305405, 0.00031528703, -0.11085006, -0.063075796, 0.0500627, 0.065392256, 0.12271925) * go_3(-1.0, 0.0);
|
|
result += mat4(0.111435704, 0.02032602, 0.038795993, 0.03990286, 0.27919176, -0.08434588, -0.025168309, 0.051932946, -0.04704256, -0.031704668, 0.029195199, 0.0029008535, 0.1921871, 0.072233014, 0.02167757, -0.009142876) * go_3(-1.0, 1.0);
|
|
result += mat4(0.03787496, 0.10278594, -0.034100357, -0.038842272, -0.21315722, 0.04823617, -0.029114509, 0.051216953, 0.06688632, -0.016796501, 0.034409184, 0.030457467, 0.18392949, -0.05570241, -0.0074716844, -0.09469817) * go_3(0.0, -1.0);
|
|
result += mat4(0.00060441054, -0.21777734, 0.039007552, 0.065863505, -0.20799696, -0.007875905, -0.038051736, 0.107517034, -0.030292246, 0.039137594, -0.011577313, -0.09082536, -0.024957297, 0.04839934, 0.08945703, -0.067684196) * go_3(0.0, 0.0);
|
|
result += mat4(-0.0007396966, -0.028242454, -0.055650227, 0.015779331, -0.33971977, -0.0536201, 0.21978994, 0.17193733, 0.08947309, 0.05031975, -0.1301886, -0.035680372, 0.08049449, 0.20915179, -0.21580179, 0.0070197694) * go_3(0.0, 1.0);
|
|
result += mat4(0.018666867, 0.080064476, 0.03374961, 0.009929877, 0.12268159, 0.08780485, -0.020013101, 0.001475278, -0.094762295, -0.00571688, 0.07592603, 0.02490935, 0.20536572, -0.103320844, -0.11305944, 0.020782808) * go_3(1.0, -1.0);
|
|
result += mat4(0.10927535, -0.10669775, -0.119271345, -0.04704597, -0.33198515, 0.16730374, 0.067796834, -0.21553586, -0.15134549, 0.12522157, -0.059982754, 0.053596307, -0.07490767, 0.0430427, 0.13261874, 0.034827977) * go_3(1.0, 0.0);
|
|
result += mat4(-0.118310496, -0.034256335, 0.15736672, -0.012709214, 0.108289585, 0.055601, -0.15293309, -0.047951285, 0.13641061, 0.040393222, -0.014293154, 0.013147444, 0.040933702, 0.06414584, -0.06435496, 0.07897889) * go_3(1.0, 1.0);
|
|
result += mat4(0.1769398, -0.03865557, -0.007278993, -0.009594421, 0.06511066, -0.055826154, 0.039952062, 0.11912263, 0.017886136, -0.05012913, -0.026828678, -0.059241973, -0.10093276, -0.19696872, 0.084965006, 0.14702372) * go_4(-1.0, -1.0);
|
|
result += mat4(0.099720076, -0.067204416, -0.03463609, 0.09670626, -0.28691396, -0.06598814, 0.0014410254, 0.14105716, -0.033738673, -0.060082074, 0.022319613, -0.10230477, -0.04376945, -0.13106492, 0.063823946, 0.14856036) * go_4(-1.0, 0.0);
|
|
result += mat4(0.33853808, -0.0621997, 8.363771e-05, -0.0009150376, 0.024009543, 0.018634653, 0.0037902838, 0.10804439, 0.05129897, 0.013281732, 0.0192675, -0.021642182, 0.20649408, -0.059423707, 0.06726224, 0.0145797795) * go_4(-1.0, 1.0);
|
|
result += mat4(-0.15990373, -0.106583185, 0.002367883, 0.045296166, -0.0631138, -0.0072529926, 0.029369524, 0.08331243, 0.122756526, -0.0179492, -0.120487615, 0.0081743365, -0.17502016, -0.044541918, -0.015354001, -0.011111051) * go_4(0.0, -1.0);
|
|
result += mat4(-0.11184931, 0.06587063, 0.07042273, -0.04147224, -0.09151379, -0.20194946, 0.10355849, 0.19217291, 0.08952243, 0.12201255, 0.04417764, -0.04035679, -0.09468639, 0.31825796, 0.006901595, -0.04124098) * go_4(0.0, 0.0);
|
|
result += mat4(0.06660271, -0.0046637137, 0.09873929, 0.08799431, -0.100498706, 0.06444192, -0.02957856, 0.038241588, 0.15948315, 0.1299982, -0.090359725, 0.004090419, -0.079359606, -0.00037474622, -0.022643564, -0.08251614) * go_4(0.0, 1.0);
|
|
result += mat4(0.43229616, 0.10688282, -0.07364843, 0.053060126, 0.12662794, -0.008840078, 0.026755894, 0.041338578, -0.2254781, -0.10235022, -0.12567373, -0.0667009, -0.1809531, -0.09815889, -0.08910998, 0.037839357) * go_4(1.0, -1.0);
|
|
result += mat4(-0.07567111, 0.028171131, 0.055614933, -0.013953225, 0.12692563, 0.083607204, -0.07004251, -0.036412235, -0.058107987, 0.037055403, 0.18604837, -0.017260164, -0.17541583, 0.06894981, -0.23379545, 0.031235654) * go_4(1.0, 0.0);
|
|
result += mat4(0.45591107, 0.039045885, -0.12626866, -0.14674829, 0.05945796, -0.010674477, -0.035819475, -0.0047352607, -0.036941368, 0.10396601, -0.036363676, 0.0554336, 0.17748542, 0.06979016, 0.14080845, 0.042843) * go_4(1.0, 1.0);
|
|
result += mat4(0.10455963, 0.075099275, 0.05469465, 0.015781848, 0.09594164, 0.05998725, -0.052120302, -0.13773419, 0.044500146, 0.031731047, -0.008471109, -0.03267637, 0.047310144, 0.031099096, -0.024222182, -0.033589233) * go_5(-1.0, -1.0);
|
|
result += mat4(-0.12448876, -0.03613152, -0.0010140876, -0.025516123, -0.059143614, 0.023980793, -0.022088494, -0.23990345, -0.009263314, 0.07561086, -0.018244747, -0.030571839, 0.078326724, 0.11647481, 0.0005469513, 0.011363735) * go_5(-1.0, 0.0);
|
|
result += mat4(-0.012303434, 0.10459798, 0.0075168074, -0.06578245, 0.10195852, -0.011171349, 0.031734105, 0.01707112, 0.027664077, 0.023296015, -0.018072389, -0.025510611, 0.1640572, 0.034506124, 0.00016337275, 0.03571095) * go_5(-1.0, 1.0);
|
|
result += mat4(-0.008957332, 0.009508923, 0.0146317985, 0.038981803, 0.24314897, 0.0015878802, -0.078958146, 0.03145806, 0.0068939812, 0.073126584, -0.012263321, -0.036391743, 0.118567936, 0.065423995, 0.023732737, -0.0099737905) * go_5(0.0, -1.0);
|
|
result += mat4(0.07652766, -0.099965736, 0.07820692, -0.016641535, -0.05796137, 0.062477842, -0.09325648, 0.044144213, -0.074167095, -0.02907356, 0.009493459, -0.09726981, -0.024008945, 0.13910118, -0.012273277, -0.18442377) * go_5(0.0, 0.0);
|
|
result += mat4(-0.3458695, 0.0125532355, -0.04507072, 0.005002404, -0.054678664, -0.1073264, -0.066266164, 0.10499865, -0.026834222, -0.005892071, -0.012439621, -0.014582178, 0.20079906, 0.10445034, -0.017010294, -0.027499933) * go_5(0.0, 1.0);
|
|
result += mat4(0.20540363, 0.13028874, -0.0043541454, 0.041952956, -0.06462141, 0.05869749, -0.0336049, -0.00483216, 0.0071067465, 0.02086375, 0.029295754, 0.00054160395, 0.12825298, 0.01190737, 0.024069678, 0.0007039938) * go_5(1.0, -1.0);
|
|
result += mat4(0.25426188, -0.025078375, -0.18087013, -0.047353756, 0.050092597, -0.020793278, -0.20005824, -0.05249769, 0.10390969, 0.029416217, -0.022406658, 0.022277432, 0.10061195, 0.09648526, 0.08301866, -0.05414833) * go_5(1.0, 0.0);
|
|
result += mat4(-0.008085474, -0.0047122077, 0.037323467, -0.05261859, -0.014043025, 0.015429949, 0.0026017784, 0.05505961, -0.026992656, -0.0034499804, -0.040065564, -0.010143243, 0.080673434, 0.01895095, -0.044532266, -0.04431238) * go_5(1.0, 1.0);
|
|
result += vec4(-0.03466821, 0.00034034275, 0.0050041266, 0.015987461);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-3x3x3x32
|
|
//!HOOK MAIN
|
|
//!BIND MAIN
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_4_tf1
|
|
//!BIND conv2d_6_tf
|
|
//!BIND conv2d_6_tf1
|
|
//!SAVE MAIN
|
|
//!WIDTH conv2d_4_tf.w
|
|
//!HEIGHT conv2d_4_tf.h
|
|
#define go_0(x_off, y_off) (max((conv2d_4_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_4_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max(-(conv2d_4_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max(-(conv2d_4_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv2d_6_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv2d_6_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv2d_6_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv2d_6_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.029194267, -0.012368673, -0.032628484, 0.0, 0.009544185, 0.003643155, -0.012932683, 0.0, -0.02599644, -0.009162184, 0.001984748, 0.0, 0.036822453, -0.01785786, 0.010368739, 0.0) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.025280805, 0.03720678, 0.00053982873, 0.0, 0.014486393, -0.008664618, -0.013254841, 0.0, 0.032457434, -0.0054208813, -0.03551113, 0.0, 0.005541615, 0.009700108, 0.008173082, 0.0) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.008494375, 0.017570386, -0.035493053, 0.0, 0.0040664477, -0.009358297, -0.00124042, 0.0, 0.013665794, -0.027995802, 0.01806665, 0.0, 2.6274169e-05, -0.017136851, 0.004273683, 0.0) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.001260151, 0.0298161, 0.03177647, 0.0, 0.029924905, 0.002548117, -0.008971935, 0.0, -0.028699454, -0.011327333, 0.01809372, 0.0, 0.052908268, -0.009816564, -0.04160645, 0.0) * go_0(0.0, -1.0);
|
|
result += mat4(-0.0674105, 0.011343186, 0.031059649, 0.0, -0.01816893, -0.027822826, -0.0039920355, 0.0, 0.06559583, 0.08136345, 0.0024248413, 0.0, -0.007355395, 0.0021421018, -0.03261461, 0.0) * go_0(0.0, 0.0);
|
|
result += mat4(0.06596344, 0.0011187588, -0.0698554, 0.0, -0.024434082, -0.009038537, 0.042669352, 0.0, -0.060429063, -0.014795595, 0.10773078, 0.0, -0.018245215, -0.025555842, 0.07259554, 0.0) * go_0(0.0, 1.0);
|
|
result += mat4(-0.0035948083, -0.026325721, 0.032130077, 0.0, 0.0015195963, 0.0044271573, -0.008984954, 0.0, 0.016403245, -0.0039584707, 0.013665029, 0.0, 0.0016767944, 0.0070667397, -0.028133946, 0.0) * go_0(1.0, -1.0);
|
|
result += mat4(0.01695004, -0.029402763, 0.047411986, 0.0, -0.01129213, 0.0049071675, 0.003822879, 0.0, -0.031588167, -0.031124864, -0.06241746, 0.0, -0.035150167, 0.024117738, -0.008538587, 0.0) * go_0(1.0, 0.0);
|
|
result += mat4(0.058436964, -0.018053403, -0.0029208104, 0.0, -0.012583584, -8.435696e-06, -0.0021389409, 0.0, 0.025366964, 0.022662194, -0.03120317, 0.0, -0.05732525, -0.0019531269, 0.02189266, 0.0) * go_0(1.0, 1.0);
|
|
result += mat4(0.021041503, -0.03575024, 0.039296895, 0.0, 0.036413766, -0.015376002, -0.003543714, 0.0, -0.006572382, -0.01746979, 0.024723995, 0.0, -0.005184721, 0.014261276, -0.021478102, 0.0) * go_1(-1.0, -1.0);
|
|
result += mat4(0.007271495, 0.010891414, 0.06081773, 0.0, -0.07530834, -0.057223827, 0.056062855, 0.0, -0.03944118, 0.009164506, 0.016359169, 0.0, 0.011959882, -0.009856203, -0.050926358, 0.0) * go_1(-1.0, 0.0);
|
|
result += mat4(-0.01974953, 0.010230301, -0.007793579, 0.0, -0.020196917, 0.04590978, 0.03837431, 0.0, -0.006767891, 0.0075034844, -0.003773216, 0.0, 0.013550913, -0.0003947991, 0.0031925605, 0.0) * go_1(-1.0, 1.0);
|
|
result += mat4(0.028148983, -0.038432404, 0.03511873, 0.0, -0.034311228, -0.02840252, -0.027590172, 0.0, 0.06412731, -0.03889514, -0.016489375, 0.0, -0.048484165, 0.00057386677, 0.0026269031, 0.0) * go_1(0.0, -1.0);
|
|
result += mat4(-0.08776933, 0.0029032787, -0.031222485, 0.0, 0.06960467, 0.09750718, 0.050598294, 0.0, 0.0835213, 0.021661203, 0.038753476, 0.0, 0.03982122, 0.03788668, 0.1515678, 0.0) * go_1(0.0, 0.0);
|
|
result += mat4(0.028370056, 0.039478805, -0.020990063, 0.0, 0.00912417, 0.023335736, -0.16728604, 0.0, -0.011494958, -0.013394507, -0.053537812, 0.0, -0.005550743, -0.009001584, 0.012948562, 0.0) * go_1(0.0, 1.0);
|
|
result += mat4(0.013810996, -0.025271188, -0.004379599, 0.0, 0.015034975, -0.00089060765, 0.033212643, 0.0, 0.038851626, -0.0057069063, -0.040545236, 0.0, -0.0028078358, 0.015933724, 0.01575025, 0.0) * go_1(1.0, -1.0);
|
|
result += mat4(0.01737436, 0.01430337, -0.015735079, 0.0, -0.016511876, -0.06596022, 0.003990326, 0.0, 0.029907767, 0.0024715378, -0.05681515, 0.0, -0.0066727134, -0.024142109, 0.022043386, 0.0) * go_1(1.0, 0.0);
|
|
result += mat4(-0.019812914, 0.0015476292, -0.016639404, 0.0, 0.017160518, -0.002040027, -0.0007517166, 0.0, 0.0071950383, -0.003341077, -0.046353333, 0.0, -0.00083734177, -0.010146456, 0.016291264, 0.0) * go_1(1.0, 1.0);
|
|
result += mat4(0.005489136, -0.015574599, -0.011043608, 0.0, -0.009506977, 0.0054301876, 0.02158638, 0.0, 0.028507395, 0.018968195, 0.015134093, 0.0, -0.03841078, 0.025878599, 0.014776577, 0.0) * go_2(-1.0, -1.0);
|
|
result += mat4(0.050771695, -0.020951752, 0.02507804, 0.0, -0.023102228, 0.005002361, 0.009032685, 0.0, -0.02580423, 0.01087507, 0.053516913, 0.0, -0.0029967995, -0.0077431537, -0.001353477, 0.0) * go_2(-1.0, 0.0);
|
|
result += mat4(0.010528193, -0.015227771, 0.04612157, 0.0, -0.0034696343, 0.012149008, 0.00761891, 0.0, -0.028641496, 0.024396904, -0.005470966, 0.0, -0.016171847, 0.017462283, -0.0045835036, 0.0) * go_2(-1.0, 1.0);
|
|
result += mat4(0.016605109, -0.015695306, -0.026842888, 0.0, -0.018456295, -0.0015909546, 0.01639685, 0.0, 0.045253225, 0.014879358, -0.0029951404, 0.0, -0.07698649, -6.646588e-05, 0.051242474, 0.0) * go_2(0.0, -1.0);
|
|
result += mat4(0.021182995, -0.059780866, -0.10691225, 0.0, 0.012331703, 0.018810093, -0.00074620557, 0.0, -0.08377086, -0.09883356, 0.0033603192, 0.0, 0.027267748, -0.044589777, -0.016808862, 0.0) * go_2(0.0, 0.0);
|
|
result += mat4(-0.05345038, 0.007593226, 0.08017634, 0.0, 0.0029109702, -0.0066193943, -0.053755503, 0.0, 0.06317975, 0.013643785, -0.09781004, 0.0, 0.025922418, 0.02646404, -0.07879502, 0.0) * go_2(0.0, 1.0);
|
|
result += mat4(0.013840612, 0.03220654, 0.008247586, 0.0, 0.0024653377, 0.0017564539, 0.0095992945, 0.0, -0.008052894, 0.0005847401, 0.0030516423, 0.0, -0.0055664075, -0.0022113416, 0.03661902, 0.0) * go_2(1.0, -1.0);
|
|
result += mat4(-0.009897283, 0.03339503, -0.04373135, 0.0, 0.007111389, -0.0064675347, -0.0057030907, 0.0, 0.024796525, 0.014585273, 0.04618779, 0.0, 0.0451687, -0.01796601, 0.019403245, 0.0) * go_2(1.0, 0.0);
|
|
result += mat4(-0.050205655, 0.0067047793, 0.004935128, 0.0, 0.007296142, 0.0021017375, 0.004065404, 0.0, -0.033875827, -0.029431261, 0.028738476, 0.0, 0.0447788, 0.0089823445, -0.014340374, 0.0) * go_2(1.0, 1.0);
|
|
result += mat4(-0.008800223, 0.03338696, -0.034157075, 0.0, -0.0068426207, 0.018176233, 0.004032728, 0.0, 0.024810873, 0.014211227, -0.05046429, 0.0, 0.002167862, -0.024004508, 0.029742634, 0.0) * go_3(-1.0, -1.0);
|
|
result += mat4(-0.017277744, -0.027693354, -0.061636884, 0.0, 0.03730354, 0.02037306, -0.082923785, 0.0, 0.06614115, -0.021971319, -0.03728439, 0.0, -0.009604838, 0.0065510827, 0.05428039, 0.0) * go_3(-1.0, 0.0);
|
|
result += mat4(0.028721841, -0.015807403, 0.0052445545, 0.0, 0.044053316, -0.03528111, -0.02186662, 0.0, 0.038215213, -0.016336309, -0.008933091, 0.0, -0.0011169153, 0.012024489, 0.02721076, 0.0) * go_3(-1.0, 1.0);
|
|
result += mat4(-0.023697415, 0.03966659, -0.034681734, 0.0, 0.018552555, 0.0103879105, -0.012615872, 0.0, -0.07300987, 0.040119167, 0.005360114, 0.0, 0.027465869, -0.02125224, -0.0050676432, 0.0) * go_3(0.0, -1.0);
|
|
result += mat4(0.030902436, -0.036696557, 0.0028193328, 0.0, -0.05093436, -0.07263705, -0.021804878, 0.0, -0.09184029, -0.024111573, -0.058388986, 0.0, -0.0090374835, -0.005109571, -0.097216494, 0.0) * go_3(0.0, 0.0);
|
|
result += mat4(0.015647996, -0.014143281, 0.04477705, 0.0, -0.01775979, -0.034271564, 0.16637851, 0.0, 0.05501123, 0.017724924, 0.04504396, 0.0, -0.026133522, -0.013498184, -0.013634824, 0.0) * go_3(0.0, 1.0);
|
|
result += mat4(-0.03309264, 0.01711954, 0.0074518835, 0.0, 0.016711101, 0.032219592, -0.019081173, 0.0, -0.017806605, 0.009609709, 0.025623152, 0.0, 0.0010809151, -0.015366981, -0.012361129, 0.0) * go_3(1.0, -1.0);
|
|
result += mat4(0.0049063656, 0.010883338, 0.04879139, 0.0, -0.022820218, 0.034932375, -0.019001193, 0.0, -0.013871661, 0.000886869, 0.05011855, 0.0, 0.0074326694, 0.030681293, -0.008235174, 0.0) * go_3(1.0, 0.0);
|
|
result += mat4(0.016555479, -0.01782214, 0.012905581, 0.0, -0.024117837, 0.0008709348, -0.003545648, 0.0, 0.015249755, -0.01739516, 0.031961266, 0.0, 0.008861017, 0.019980997, -0.0017820391, 0.0) * go_3(1.0, 1.0);
|
|
result += mat4(0.015237567, 0.002044042, 0.013154992, 0.0, 0.014365077, 0.009685413, 0.009999783, 0.0, -0.004745017, -0.008530349, -0.0048582545, 0.0, 0.006463907, 0.011591748, 0.0013033211, 0.0) * go_4(-1.0, -1.0);
|
|
result += mat4(-0.0039128656, -0.018021967, -0.01664764, 0.0, 0.032044526, 0.03212382, 0.03248477, 0.0, -0.018143034, -0.024854887, -0.013054983, 0.0, 0.014334873, 0.026316965, 0.01232964, 0.0) * go_4(-1.0, 0.0);
|
|
result += mat4(0.002798491, -0.0038798824, 0.0022298654, 0.0, 0.0019937146, 2.3132301e-05, 0.0051871384, 0.0, 0.002116868, -0.0070092976, 0.0007712422, 0.0, -0.0110990815, -0.00045806088, -0.0042779488, 0.0) * go_4(-1.0, 1.0);
|
|
result += mat4(-0.010706082, -0.016151588, -0.008477227, 0.0, -0.010954006, -0.0032643504, -0.0057480773, 0.0, 0.0063414387, 0.011558126, 0.006752642, 0.0, 0.024452314, 0.013355994, 0.011969219, 0.0) * go_4(0.0, -1.0);
|
|
result += mat4(0.015298925, 0.030997332, 0.009838116, 0.0, -0.080680534, -0.05467505, -0.05227959, 0.0, -0.023426097, 0.013344335, 0.00071768253, 0.0, -0.015939463, -0.038700994, -0.028631734, 0.0) * go_4(0.0, 0.0);
|
|
result += mat4(-0.01238892, 0.004899588, 0.0006303335, 0.0, -0.0103858225, -0.0065748966, -0.013839468, 0.0, -0.016547715, 0.0016229248, -0.004543596, 0.0, 0.012939155, -0.004688313, -0.0023379533, 0.0) * go_4(0.0, 1.0);
|
|
result += mat4(-0.0057197395, -0.005643721, -0.00911208, 0.0, 0.017784229, 0.008518574, 0.014390045, 0.0, 0.01216526, -0.004762164, 0.00039809215, 0.0, 0.004477759, 0.0014034393, 0.0015725178, 0.0) * go_4(1.0, -1.0);
|
|
result += mat4(0.0080029685, 0.012455343, 0.008170205, 0.0, 0.013437776, 0.0017411915, 0.002170487, 0.0, 0.020931266, 0.0062978463, 0.0077739186, 0.0, 0.012534784, 0.0017018887, -0.0056342245, 0.0) * go_4(1.0, 0.0);
|
|
result += mat4(0.0009400788, -0.0069639036, 0.0030032704, 0.0, 0.0031776547, -0.0106882155, -0.0021752508, 0.0, 0.0209143, 0.0059682373, 0.004596733, 0.0, -0.022955237, -0.009941201, -0.006298617, 0.0) * go_4(1.0, 1.0);
|
|
result += mat4(-0.0064679156, -0.010350582, -0.009941069, 0.0, -0.0015805382, 0.012290337, 0.008409566, 0.0, -0.117412835, -0.09645556, -0.09703461, 0.0, -0.007818433, -0.0075441995, 0.0014142053, 0.0) * go_5(-1.0, -1.0);
|
|
result += mat4(-0.008875219, -0.010561973, -0.0123933125, 0.0, 0.013169622, 0.02392643, 0.016722063, 0.0, 0.055201843, 0.07873035, 0.05582767, 0.0, 0.023869634, 0.020948572, 0.019141855, 0.0) * go_5(-1.0, 0.0);
|
|
result += mat4(0.004586781, 0.003811747, 0.0040364224, 0.0, 0.0025533088, 0.004466686, -0.002531796, 0.0, 0.01505836, 0.012453587, 0.012348402, 0.0, -0.024105167, -0.020986296, -0.0138099855, 0.0) * go_5(-1.0, 1.0);
|
|
result += mat4(0.017402729, 0.012661966, 0.0056144516, 0.0, -0.004699965, -0.0008380072, -0.006091114, 0.0, 0.0011875675, 0.00879462, 0.011868305, 0.0, -0.018672796, -0.026099058, -0.010950582, 0.0) * go_5(0.0, -1.0);
|
|
result += mat4(0.0030471918, 0.0007148243, -0.0025094969, 0.0, 0.033177674, 0.035010602, 0.039097246, 0.0, 0.039616674, 0.037767593, 0.01638443, 0.0, -0.12697552, -0.1073338, -0.09579577, 0.0) * go_5(0.0, 0.0);
|
|
result += mat4(-0.00025230617, 0.0012266148, 0.004280498, 0.0, -0.014905165, -0.021798527, -0.020744175, 0.0, -0.002821233, -0.0060641593, -0.007882776, 0.0, -0.07172067, -0.06563568, -0.034545008, 0.0) * go_5(0.0, 1.0);
|
|
result += mat4(0.003620735, -0.0024858215, 0.00022405668, 0.0, -0.0076808417, -0.0012458211, -0.0011529091, 0.0, -0.004562087, -0.008754068, -0.0054264124, 0.0, -0.012856577, -0.0010323325, -0.010446232, 0.0) * go_5(1.0, -1.0);
|
|
result += mat4(-0.011776141, -0.0019654774, -0.0055164173, 0.0, -0.020086112, -0.016785175, -0.00850444, 0.0, 0.010972318, 0.0025132888, 0.0010225184, 0.0, 0.09268763, 0.092143916, 0.08644562, 0.0) * go_5(1.0, 0.0);
|
|
result += mat4(-0.007995734, 0.0009648095, 0.00030679026, 0.0, -0.012054333, -0.010890181, -0.014105062, 0.0, 0.008349884, 0.0012249199, 0.002626051, 0.0, -0.005392993, 0.0035896245, 0.011283782, 0.0) * go_5(1.0, 1.0);
|
|
result += mat4(0.040485244, 0.05691461, 0.01393322, 0.0, -0.0068288567, -0.0047428505, -0.00517558, 0.0, 0.0046434966, 0.015452392, -0.00041433485, 0.0, 0.00063609646, -0.0071669365, 0.024786541, 0.0) * go_6(-1.0, -1.0);
|
|
result += mat4(0.14682117, 0.17755695, 0.12569702, 0.0, -0.027783392, -0.02624908, -0.028104672, 0.0, 0.00031824392, 0.0073304633, 0.0035713087, 0.0, -0.004828108, -0.011006178, 0.0050675124, 0.0) * go_6(-1.0, 0.0);
|
|
result += mat4(0.018347368, 0.058970205, 0.005508202, 0.0, 0.00017912469, 0.0047737043, 0.005871205, 0.0, -0.007914939, -0.0030016988, -0.010390166, 0.0, -0.011853182, -0.016345054, 0.011509364, 0.0) * go_6(-1.0, 1.0);
|
|
result += mat4(-0.04851968, -0.0415747, -0.07765033, 0.0, 0.0065016304, 0.0018423289, 0.0009655065, 0.0, 0.12496835, 0.124992594, 0.103400074, 0.0, 0.03406387, 0.024533505, 0.077095464, 0.0) * go_6(0.0, -1.0);
|
|
result += mat4(-0.07254525, -0.08249368, -0.08311044, 0.0, 0.06959693, 0.044335928, 0.03670938, 0.0, -0.1417736, -0.16761701, -0.14663263, 0.0, 0.10133506, 0.110241316, 0.14565967, 0.0) * go_6(0.0, 0.0);
|
|
result += mat4(0.019155718, 0.0071138083, -0.0034784337, 0.0, -0.00664143, -0.001776598, 0.0020648353, 0.0, 0.023666251, 0.0018572954, 0.009598296, 0.0, -0.06739044, -0.07003538, -0.023062525, 0.0) * go_6(0.0, 1.0);
|
|
result += mat4(-0.01241549, -0.009126171, -0.025202572, 0.0, -0.0075291363, 0.0039865207, -0.0034039568, 0.0, 0.016126499, 0.03303203, 0.0098967515, 0.0, -0.028944502, -0.020699043, 0.029002754, 0.0) * go_6(1.0, -1.0);
|
|
result += mat4(-0.021382507, -0.026118703, -0.031718995, 0.0, -0.019529367, -0.0035435583, -0.0067699575, 0.0, -0.041487366, -0.028312238, -0.034041278, 0.0, -0.06073689, -0.07734381, -0.019799007, 0.0) * go_6(1.0, 0.0);
|
|
result += mat4(-0.01363575, -0.0015479103, -0.020948276, 0.0, -0.010927923, 0.0065499563, -0.0012396075, 0.0, -0.029386181, -0.014403808, -0.012845848, 0.0, -0.009659123, -0.0495663, -0.0149474265, 0.0) * go_6(1.0, 1.0);
|
|
result += mat4(0.021467282, 0.010587587, 0.027719442, 0.0, -0.016798606, -0.035109796, -0.028590709, 0.0, -0.030624123, -0.04124009, -0.03222284, 0.0, -0.0026517997, 0.0045358734, -0.002765814, 0.0) * go_7(-1.0, -1.0);
|
|
result += mat4(0.033694725, 0.02778838, 0.034238014, 0.0, -0.04121519, -0.06834962, -0.062327933, 0.0, 0.050779387, 0.030920736, 0.03404337, 0.0, -0.0036348598, -0.0020900413, -0.0004735747, 0.0) * go_7(-1.0, 0.0);
|
|
result += mat4(-0.007622776, 0.011874823, 0.01900638, 0.0, -0.0025179803, 0.028925508, 0.01261665, 0.0, 0.013219528, 0.016697768, 0.013904126, 0.0, 0.0032451088, 0.0002832319, 0.00023742643, 0.0) * go_7(-1.0, 1.0);
|
|
result += mat4(0.01943161, 0.0021087795, 0.019444287, 0.0, 0.014026365, -0.003662395, -0.025668561, 0.0, -0.024189321, -0.023441639, -0.031171577, 0.0, 0.008905503, 0.011113009, 0.01485881, 0.0) * go_7(0.0, -1.0);
|
|
result += mat4(0.03617188, 0.020874048, 0.019303437, 0.0, -0.31612596, -0.34252307, -0.37307942, 0.0, -0.010667352, -0.010282407, -0.0023546303, 0.0, -0.047603715, -0.042640142, -0.035864264, 0.0) * go_7(0.0, 0.0);
|
|
result += mat4(0.030194433, 0.039834637, 0.03607905, 0.0, 0.07675613, 0.09751075, 0.042691164, 0.0, 0.013306196, 0.015537212, 0.020499485, 0.0, 0.021594003, 0.005205471, 0.0023345314, 0.0) * go_7(0.0, 1.0);
|
|
result += mat4(0.017912725, 0.018817604, 0.009495288, 0.0, 0.031629816, 0.030030556, 0.003441103, 0.0, -0.0031581502, 0.003583242, 0.00081657764, 0.0, 0.005727217, 0.007922274, 0.013391995, 0.0) * go_7(1.0, -1.0);
|
|
result += mat4(0.035499737, 0.025537802, 0.011286941, 0.0, 0.060370766, 0.07218371, 0.02229925, 0.0, -0.007152367, 0.0015067369, 0.004906394, 0.0, -0.0069688433, -0.0027407445, -0.008629306, 0.0) * go_7(1.0, 0.0);
|
|
result += mat4(0.017541587, 0.03987632, 0.027013319, 0.0, 0.055954672, 0.08695107, 0.054611363, 0.0, -0.0035868676, 0.0035243938, 0.009716404, 0.0, 0.024346305, 0.017666759, 0.017770555, 0.0) * go_7(1.0, 1.0);
|
|
result += vec4(0.0013127691, 0.0012500212, 0.00080561294, 0.0);
|
|
return result * 0.5 + MAIN_tex(MAIN_pos);
|
|
}
|
|
|
|
// MIT License
|
|
|
|
// Copyright (c) 2019-2021 bloc97
|
|
// All rights reserved.
|
|
|
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
// of this software and associated documentation files (the "Software"), to deal
|
|
// in the Software without restriction, including without limitation the rights
|
|
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
// copies of the Software, and to permit persons to whom the Software is
|
|
// furnished to do so, subject to the following conditions:
|
|
|
|
// The above copyright notice and this permission notice shall be included in all
|
|
// copies or substantial portions of the Software.
|
|
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
// SOFTWARE.
|
|
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x3
|
|
//!HOOK MAIN
|
|
//!BIND MAIN
|
|
//!SAVE conv2d_tf
|
|
//!WIDTH MAIN.w
|
|
//!HEIGHT MAIN.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (MAIN_texOff(vec2(x_off, y_off)))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.3533503, -0.22744901, -0.09641403, 0.049930546, 0.21601382, 0.121875964, -0.4066155, -0.029510869, -0.15896404, -0.26784295, 0.12444282, -0.091934755, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.05173876, 0.5917674, -0.25219238, 0.36018333, 0.0018698558, -0.020742422, -0.19959457, -0.16152367, -0.3881654, -0.40024987, -0.007772714, -0.062565684, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 0.0);
|
|
result += mat4(0.015751071, -0.22430539, -0.11680504, 0.17976198, 0.14656822, -0.24317218, 0.029603355, -0.058181264, 0.058493074, 0.5022527, 0.11102914, -0.009173853, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.18293951, 0.5723565, 0.28864875, -0.49024883, 0.09118296, 0.33084247, -0.024498459, 0.44283792, 0.47181615, -0.017086344, -0.32055214, 0.56722766, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, -1.0);
|
|
result += mat4(0.32458597, -0.18757421, -0.32922122, -0.016391084, -0.1533236, 0.18488754, 0.27331817, 0.35373816, -0.01502724, 0.33746547, -0.37427562, -0.09936772, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 0.0);
|
|
result += mat4(0.6233762, 0.010086638, 0.05501213, -0.38833693, 0.18467852, 0.47564793, 0.2687248, 0.4827469, -0.43817607, 0.25323167, 0.5397538, -0.12697968, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 1.0);
|
|
result += mat4(0.29222447, -0.105247036, -0.14783503, -0.06417592, 0.17500208, 0.17491722, 0.12673122, 0.21052802, 0.013908459, -0.24594653, -0.19099778, -0.0023773864, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, -1.0);
|
|
result += mat4(-0.46258658, 0.25608945, 0.18290475, 0.38827166, 0.29616114, -0.34748495, -0.386308, -0.061988145, -0.0665722, -0.4120009, 0.14303757, -0.5645748, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 0.0);
|
|
result += mat4(-0.14725077, -0.38539198, 0.5607759, -0.18968762, -0.45513886, -0.17619537, 0.20813458, 0.2897601, 0.23251435, 0.0005268595, 0.04932729, 0.016341167, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 1.0);
|
|
result += vec4(0.00301274, 0.015373737, 0.020866359, 0.012416287);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x3
|
|
//!HOOK MAIN
|
|
//!BIND MAIN
|
|
//!SAVE conv2d_tf1
|
|
//!WIDTH MAIN.w
|
|
//!HEIGHT MAIN.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (MAIN_texOff(vec2(x_off, y_off)))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.14643213, 0.34573826, 0.022253275, 0.093370445, 0.12842871, 0.05782831, -0.29587168, 0.105391145, -0.009612344, -0.48199305, 0.10708218, -0.06391322, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, -1.0);
|
|
result += mat4(0.0075725354, 0.10891411, -0.37711775, -0.33482045, 0.075842425, 0.0006257457, -0.11693903, 0.04950486, 0.50191665, -0.10584904, 0.101994015, -0.076776676, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 0.0);
|
|
result += mat4(0.23182836, -0.20573832, -0.25540918, 0.1005638, 0.29947993, -0.17835905, -0.17877467, 0.026681015, -0.16849746, 0.3294309, -0.19993272, -0.04395935, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.29155123, -0.012395516, 0.3944017, 0.057145286, -0.053443987, 0.06875274, -0.044569965, -0.13700297, 0.26493445, 0.07362078, -0.04562383, -0.3087175, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, -1.0);
|
|
result += mat4(-0.14925154, 0.014966679, 0.15118442, 0.27622026, 0.14897393, 0.47124943, 0.3271807, 0.6352069, -0.21967705, -0.04371573, 0.34770805, 0.14594477, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 0.0);
|
|
result += mat4(-0.55078465, -0.25394475, 0.06182166, -0.08577288, 0.12739705, -0.35062942, 0.26408008, -0.09406672, 0.28381905, -0.0075195543, -0.27176276, 0.5115337, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 1.0);
|
|
result += mat4(0.4059103, 0.09464142, -0.30987218, 0.07346718, 0.16917384, -0.39596874, 0.06289742, -0.48918217, -0.34323612, -0.25985125, 0.048182715, 0.23947199, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, -1.0);
|
|
result += mat4(0.30781844, -0.075438604, 0.079587184, -0.341671, -0.2998036, 0.44415385, 0.29075965, -0.019560292, -0.0062685623, 0.4052073, -0.32235056, -0.5399795, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 0.0);
|
|
result += mat4(0.048963144, -0.20907535, 0.22934057, 0.14790095, -0.29026937, 0.40542123, -0.25430593, -0.00913707, -0.2250077, -0.17099477, 0.07582159, 0.16813178, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 1.0);
|
|
result += vec4(0.0648949, 0.028727708, -0.0060908287, 0.04652166);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x3
|
|
//!HOOK MAIN
|
|
//!BIND MAIN
|
|
//!SAVE conv2d_tf2
|
|
//!WIDTH MAIN.w
|
|
//!HEIGHT MAIN.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (MAIN_texOff(vec2(x_off, y_off)))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.26204622, 0.4223293, -0.08510012, 0.019453628, -0.017182587, 0.40875512, -0.3000382, 0.2466832, 0.18032596, -0.13804369, 0.23681472, -0.5184114, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, -1.0);
|
|
result += mat4(0.2840186, 0.14369252, -0.0046741674, 0.12592295, 0.10657679, -0.038042028, -0.07698588, 0.27475855, 0.12976117, -0.2198779, 0.46100235, -0.22570461, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 0.0);
|
|
result += mat4(0.16426864, -0.043802097, -0.14111784, -0.036953557, -0.32212126, 0.07034313, 0.099273205, -0.18979223, 0.1203169, 0.16851273, -0.095204584, 0.41846615, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 1.0);
|
|
result += mat4(0.011586374, -0.4041288, 0.02327077, -0.038964503, -0.020300997, 0.03858248, -0.016609106, 0.4671461, -0.05677658, -0.1051009, 0.32721362, 0.025792936, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, -1.0);
|
|
result += mat4(0.15935725, 0.578516, -0.6138353, -0.21297511, 0.39311242, -0.39518067, 0.07517545, -0.592613, 0.14880066, -0.27320826, 0.07287175, -0.48092732, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 0.0);
|
|
result += mat4(-0.18682362, 0.09657896, -0.014692581, -0.33343104, -0.25030813, 0.08155329, 0.2331368, 0.057343826, -0.4811021, -0.0041507008, 0.28470665, 0.20497215, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 1.0);
|
|
result += mat4(-0.1067868, -0.05718925, -0.20147423, 0.23770608, -0.42711017, 0.21191151, -0.011552215, -0.22620037, 0.39481977, -0.30003747, 0.09253048, -0.07504313, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, -1.0);
|
|
result += mat4(-0.27101615, -0.5613797, -0.05610472, 0.2528841, -0.5252947, 0.3716928, 0.06479668, 0.020567236, -0.033534806, -0.13467468, 0.19145517, 0.010775708, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 0.0);
|
|
result += mat4(0.07840132, 0.26650423, 0.28004074, 0.24665453, 0.3865472, 0.013721022, -0.1948635, -0.013643245, 0.44512212, -0.21704042, -0.52104753, 0.51656127, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 1.0);
|
|
result += vec4(-0.035768427, -0.001056053, 0.0340295, 0.006839878);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x3
|
|
//!HOOK MAIN
|
|
//!BIND MAIN
|
|
//!SAVE conv2d_tf3
|
|
//!WIDTH MAIN.w
|
|
//!HEIGHT MAIN.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (MAIN_texOff(vec2(x_off, y_off)))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.32331285, -0.030736726, 0.0042050784, 0.010926396, -0.23282023, -0.08763307, 0.37141582, 0.19859134, -0.1666083, -0.04315098, 0.07296003, 0.2861034, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.21563695, 0.14021617, 0.051348813, 0.4983129, -0.34992227, 0.18443501, -0.24389337, 0.06418108, -0.20921838, 0.18868116, -0.2684946, 0.55774176, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.024550043, -0.10363326, 0.1043099, -0.14632092, 0.17236416, -0.16043803, 0.38332343, 0.024406519, -0.03126577, 0.20712042, -0.037903644, -0.13856749, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.07120149, -0.33019403, 0.33729857, -0.4915631, 0.4082891, -0.15672709, 0.0030756786, -0.43779042, 0.097300366, 0.002372967, 0.368441, 0.17531842, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, -1.0);
|
|
result += mat4(-0.24669729, 0.35728258, 0.26481852, -0.32095483, -0.031781197, 0.5217997, -0.4768402, -0.3411008, -0.093396775, 0.31235504, 0.17860144, -0.09074654, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 0.0);
|
|
result += mat4(0.34211978, -0.067475505, -0.11130485, -0.027638488, 0.037768893, -0.1094967, -0.07283058, 0.5916835, 0.28903356, 0.0857213, -0.0060110637, -0.04816759, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 1.0);
|
|
result += mat4(0.3059696, 0.14136712, -0.32771704, -0.17229499, -0.14343582, 0.3470735, 0.3778098, -0.34243533, 0.2264067, -0.24548753, 0.38490316, 0.058428574, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, -1.0);
|
|
result += mat4(0.1412657, 0.33788598, -0.2157324, 0.040746648, -0.21837659, 0.33166492, 0.12508798, 0.4859738, -0.16807358, -0.22612841, -0.051258437, -0.24188246, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 0.0);
|
|
result += mat4(0.04993394, -0.33221748, -0.044392366, -0.3946246, -0.30577514, 0.13761942, -0.022273945, 0.21460211, 0.19924824, 0.043031078, -0.22369152, -0.13072547, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 1.0);
|
|
result += vec4(-0.0057866867, -0.031637643, 0.0723021, 0.04260856);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x3
|
|
//!HOOK MAIN
|
|
//!BIND MAIN
|
|
//!SAVE conv2d_tf4
|
|
//!WIDTH MAIN.w
|
|
//!HEIGHT MAIN.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (MAIN_texOff(vec2(x_off, y_off)))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.06263417, -0.015899068, -0.06673424, -0.29330692, 0.27661222, 0.21981683, 0.009470586, 0.09138456, 0.44470203, 0.1370112, 0.25888672, -0.26252735, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.16853511, -0.56013334, -0.083473705, -0.31337133, 0.020068824, -0.56741786, 0.23128, 0.033934496, -0.39917204, 0.006675525, -0.19767813, 0.24100189, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 0.0);
|
|
result += mat4(0.2767365, -0.21478292, 0.19800368, 0.04981372, -0.43988076, 0.13038118, -0.0023825555, -0.041225314, 0.055087563, 0.11922491, -0.36424643, 0.24521022, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 1.0);
|
|
result += mat4(0.054674063, -0.17308263, 0.06928539, 0.13456745, -0.1371371, 0.06866367, 0.28848526, 0.4235249, 0.08625838, -0.14268667, 0.10068345, -0.09432318, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, -1.0);
|
|
result += mat4(0.04889649, 0.4082082, 0.2460249, -0.3526585, 0.06668635, 0.054053612, -0.14569403, 0.4200826, 0.043631364, 0.09612367, 0.27758798, 0.30841815, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 0.0);
|
|
result += mat4(-0.6218072, -0.16005784, -0.388552, 0.35026243, 0.21814698, 0.12549512, 0.25294197, -0.6248336, 0.53151983, -0.05606831, 0.21320722, 0.0833118, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 1.0);
|
|
result += mat4(-0.0938141, -0.045953494, -0.056681573, -0.1889846, -0.22944446, -0.15354922, 0.39270183, 0.05020913, 0.13824314, -0.2219286, 0.17828543, -0.15948938, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, -1.0);
|
|
result += mat4(0.52495337, -0.074113816, -0.40637568, 0.1596743, 0.11383307, 0.3346896, -0.24222933, -0.21050623, 0.254895, 0.47635737, -0.25384998, -0.28989154, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 0.0);
|
|
result += mat4(0.012225922, 0.03979189, 0.5064567, 0.34305865, -0.1555728, -0.08338589, -0.32082558, 0.34781134, -0.4321089, -0.1193855, -0.1264447, -0.10376585, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 1.0);
|
|
result += vec4(-0.020296605, 0.008579932, -0.0016261942, 0.025361473);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x3
|
|
//!HOOK MAIN
|
|
//!BIND MAIN
|
|
//!SAVE conv2d_tf5
|
|
//!WIDTH MAIN.w
|
|
//!HEIGHT MAIN.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (MAIN_texOff(vec2(x_off, y_off)))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.1363371, -0.15540521, -0.31718272, 0.016195117, -0.11684813, 0.035514772, 0.036139056, -0.07166461, 0.18743914, 0.2597766, 0.40419564, 0.18188365, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.3009684, 0.022765834, -0.18049309, -0.08467225, -0.38133445, 0.5031245, -0.08499587, -0.05829229, 0.29517335, 0.5049954, -0.34550402, 0.028938027, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 0.0);
|
|
result += mat4(0.08297039, 0.40598175, 0.17898728, 0.09962402, 0.144094, -0.63257754, -0.17135625, 0.040128335, -0.44739345, 0.2947188, 0.16830204, -0.042169526, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 1.0);
|
|
result += mat4(0.6079493, 0.10111115, 0.07312328, 0.32797632, 0.04438061, 0.13169874, -0.25383157, -0.2082139, -0.21848431, -0.6352441, -0.21146472, -0.16604403, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, -1.0);
|
|
result += mat4(-0.072281, 0.15862514, 0.43191755, 0.11540132, 0.31328815, -0.5315003, -0.011417991, -0.05334168, -0.098632924, -0.1280698, 0.39636084, -0.22470373, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 0.0);
|
|
result += mat4(-0.09620375, 0.32031366, -0.28081584, -0.10667898, -0.22725722, 0.30929953, -0.13856508, 0.52870595, 0.3426154, -0.25681826, -0.5286905, 0.22251737, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 1.0);
|
|
result += mat4(-0.116833046, -0.010033731, -0.10660418, 0.20258091, -0.16682866, 0.10652147, 0.2892288, -0.46506444, 0.11439509, -0.087319046, 0.13385743, 0.018403474, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, -1.0);
|
|
result += mat4(0.25397176, 0.06900933, -0.032205634, -0.35559848, -0.4572871, 0.04391792, -0.079241835, 0.23730846, -0.14349656, 0.29821903, -0.12540016, 0.017602116, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 0.0);
|
|
result += mat4(0.10184281, -0.4598769, -0.037037294, -0.0764841, -0.019283077, 0.07611817, 0.4753825, 0.3533474, 0.0929917, -0.07361922, -0.08772396, 0.054960705, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 1.0);
|
|
result += vec4(-0.01772409, 0.0043326668, -0.0016441033, 0.045143403);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x48
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_tf
|
|
//!BIND conv2d_tf1
|
|
//!BIND conv2d_tf2
|
|
//!BIND conv2d_tf3
|
|
//!BIND conv2d_tf4
|
|
//!BIND conv2d_tf5
|
|
//!SAVE conv2d_2_tf
|
|
//!WIDTH conv2d_tf.w
|
|
//!HEIGHT conv2d_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv2d_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv2d_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max((conv2d_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv2d_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv2d_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv2d_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_8(x_off, y_off) (max(-(conv2d_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_9(x_off, y_off) (max(-(conv2d_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_10(x_off, y_off) (max(-(conv2d_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_11(x_off, y_off) (max(-(conv2d_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.08708938, 0.04659238, 0.0176195, 0.07332214, -0.0033999549, 0.10378978, 0.009203801, -0.14674269, 0.04196428, -0.13389935, -0.010313743, 0.09525925, -0.04273685, 0.0049842685, -0.04782435, -0.10746269) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.058692954, 0.029742118, 0.02237111, -0.17435773, 0.06456037, -0.03019781, 0.12503268, 0.028526554, 0.060585566, -0.09827803, 0.074175954, -0.18172584, -0.11584838, -0.07831707, -0.05294304, -0.0106923) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.031584334, 0.014252643, -0.07162117, -0.06419199, -0.14218293, 0.00710674, 0.11762262, 0.046548527, -0.012062736, 0.013610702, -0.025224337, 0.012470503, 0.047743093, -0.075982004, 0.1325312, -0.07263824) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.047091287, -0.12622702, -0.0012906026, 0.18104114, 0.100165896, 0.066891655, -0.0131071415, 0.03407408, 0.028450029, -0.115760155, -0.10819326, 0.1681725, -0.09913577, -0.13076334, 0.026878573, -0.053143714) * go_0(0.0, -1.0);
|
|
result += mat4(0.083894186, -0.14141738, 0.018934235, 0.031809587, 0.0003192794, 0.16290024, 0.07099023, 0.06556816, -0.19284101, -0.1453399, -0.0347245, -0.16616164, 0.024881344, 0.0021642817, -0.010100748, 0.0022466371) * go_0(0.0, 0.0);
|
|
result += mat4(0.0015557132, -0.05879126, -0.11525318, -0.10813486, 0.05760118, -0.021399507, -0.01548577, -0.004455722, -0.04850293, -0.042879056, -0.003998145, 0.111359306, -0.06351688, 0.045401093, 0.05995017, -0.1578649) * go_0(0.0, 1.0);
|
|
result += mat4(-0.04430244, -0.17245962, 0.022892194, -0.0692075, 0.104717515, 0.22675191, -0.13639514, -0.24593934, 0.063342735, -0.039179243, -0.029122557, 0.081671625, 0.14092505, -0.05549872, -0.0015202744, -0.06510917) * go_0(1.0, -1.0);
|
|
result += mat4(-0.15706699, -0.08377132, 0.022466531, -0.08059759, 0.027087238, 0.077262625, -0.14656287, 0.039614383, -0.19745086, 0.11043986, -0.0401111, -0.12457788, -0.011985427, 0.07006254, 0.047804836, -0.047927663) * go_0(1.0, 0.0);
|
|
result += mat4(-0.05709865, -0.049263585, -0.003258465, 0.05460852, 0.07713213, 0.025197832, 0.0019068273, 0.043446306, -0.095132224, 0.078292005, -0.04904267, 0.024313621, -0.12302135, -0.017898448, 0.024541078, 0.043991778) * go_0(1.0, 1.0);
|
|
result += mat4(0.12130153, 0.13911717, -0.04002126, -0.012871448, 0.07198464, 0.061591096, -0.019099334, -0.044026095, 0.09875178, 0.038835593, 0.04762761, 0.02498281, 0.011129141, 0.06378831, 0.06722678, -0.035866793) * go_1(-1.0, -1.0);
|
|
result += mat4(0.021273244, -0.07664181, 0.020639688, 0.015514086, -0.084263824, -0.07051794, 0.19240531, 0.046613134, 0.12619096, -0.0841264, 0.06217318, 0.07779716, -0.0963043, -0.10395887, 0.10938819, -0.015793487) * go_1(-1.0, 0.0);
|
|
result += mat4(0.08900367, 0.04946518, -0.029467355, 0.19663785, 0.15667154, -0.06690711, -0.052032534, -0.07847095, -0.033235654, 0.013093368, 0.03985917, -0.003270095, -0.11114758, -0.07755963, 0.07329337, -0.076278694) * go_1(-1.0, 1.0);
|
|
result += mat4(0.0027995422, 0.16994986, -0.08697692, -0.048091117, 0.035887104, 0.104790725, -0.0185358, -0.114902504, -0.0086569665, -0.19674753, -0.19395138, 0.36074165, 0.122156605, 0.019258482, 0.17046979, 0.060137603) * go_1(0.0, -1.0);
|
|
result += mat4(0.33356494, -0.101638936, -0.06131229, 0.048196703, 0.051127058, -0.044123553, 0.1780188, -0.0060462723, 0.050072145, 0.10497221, -0.50412345, -0.13448112, 0.0039893296, -0.08189366, -0.014733551, -0.10818881) * go_1(0.0, 0.0);
|
|
result += mat4(0.08261372, 0.014334234, 0.06299999, -0.075371794, -0.013736871, 0.012646158, -0.017394906, -0.089395225, -0.11433234, -0.029857801, -0.15656807, -0.091527075, 0.04103622, -0.03363836, 0.016624201, -0.0036849768) * go_1(0.0, 1.0);
|
|
result += mat4(-0.089841746, -0.06712061, 0.0527433, 0.082320526, -0.09120961, 0.050347377, -0.083178505, -0.08866272, -0.30313447, 0.11056798, 0.039219193, 0.07410963, 0.109322, 0.023776324, 0.12524699, -0.046025153) * go_1(1.0, -1.0);
|
|
result += mat4(0.084889896, -0.02918896, -0.09925119, -0.14783289, 0.17182311, -0.043737527, 0.037526473, -0.17095155, -0.4175669, 0.15075697, 0.08397851, -0.28285104, -0.15052564, 0.07753146, -0.055382084, -0.15306537) * go_1(1.0, 0.0);
|
|
result += mat4(0.05967354, 0.051270448, -0.088853374, 0.049626883, -0.045383934, 0.13075307, -0.013855193, 0.047234938, -0.13003716, 0.039057475, -0.20150818, 0.040109437, -0.010030361, 0.030319337, 0.032642324, -0.0369973) * go_1(1.0, 1.0);
|
|
result += mat4(-0.11543896, -0.017050894, -0.040339563, -0.028520064, -0.118439436, -0.07984377, 0.06831455, 0.15654051, -0.10115956, -0.2438409, 0.03736607, 0.12006528, -0.030477092, 0.011096038, 0.090815105, -0.0080058575) * go_2(-1.0, -1.0);
|
|
result += mat4(-0.06911358, 0.13267697, 0.14862104, -0.122848585, -0.17625184, -0.049463, -0.002210975, -0.0016514618, -0.10551103, 0.049154796, -0.0059836735, -0.105834186, 0.045391332, 0.09249315, -0.05793856, 0.067292385) * go_2(-1.0, 0.0);
|
|
result += mat4(-0.24482736, 0.059108716, -0.04583969, 0.08149522, 0.038962405, -0.042384293, -0.16724457, 0.02524365, 0.015999155, 0.0070147645, 0.05964749, -0.10706486, 0.026456963, 0.10617896, 0.15457928, 0.0120201) * go_2(-1.0, 1.0);
|
|
result += mat4(0.002382453, 0.1583132, -0.119973324, -0.0662401, -0.051640294, -0.0645128, -0.110066466, -0.04342153, -0.14796777, -0.00039787247, 0.06748297, 0.0036247273, -0.011881037, -0.16956528, 0.06889993, -0.20386338) * go_2(0.0, -1.0);
|
|
result += mat4(0.04101473, -0.24010769, 0.07311098, 0.54965353, -0.031760268, -0.028548244, 0.007514783, 0.04082258, -0.12587978, 0.10660041, 0.09860443, 0.06298276, -0.24874538, -0.027837105, 0.113290355, -0.107948154) * go_2(0.0, 0.0);
|
|
result += mat4(0.0003876406, -0.19534513, 0.12379949, 0.07418096, -0.05533002, 0.047913224, -0.095136575, -0.12830766, -0.045669492, 0.185782, 0.04429183, 0.021345537, 0.10170289, 0.012268334, 0.096150115, -0.13675393) * go_2(0.0, 1.0);
|
|
result += mat4(0.05352713, 0.10207215, -0.010504756, -0.08227354, -0.076499715, 0.007048693, 0.11185653, -0.0051883636, -0.096731015, -0.061566096, 0.06507135, -0.07496023, 0.06526383, 0.10773065, -0.02371179, -0.21231008) * go_2(1.0, -1.0);
|
|
result += mat4(0.065640226, -0.16055715, -0.19217896, -0.05266687, 0.043354426, 0.045996726, -0.12625614, -0.029164605, 0.009326327, 0.042128403, 0.17456397, -0.050843943, -0.0075650285, -0.03034361, 0.013880486, -0.069626965) * go_2(1.0, 0.0);
|
|
result += mat4(0.02068093, -0.04793541, -0.05546937, -0.032140132, 0.047307517, 0.051807012, 0.14029732, 0.00962683, -0.20456147, 0.18020096, -0.057128564, -0.13336244, -0.097290166, -0.004158448, -0.0600105, -0.009708849) * go_2(1.0, 1.0);
|
|
result += mat4(-0.032483056, 0.049853362, 0.021696301, -0.11219753, -0.02661955, -0.04607841, -0.014198818, -0.09468194, 0.021559052, -0.080357395, -0.032584, -0.00885768, 0.04445862, 0.067003295, -0.1003419, -0.05509865) * go_3(-1.0, -1.0);
|
|
result += mat4(-0.09067386, -0.1386776, -0.12894848, -0.09361908, 0.02725302, -0.082450785, 0.12913284, 0.017119015, 0.15628017, -0.04700464, 0.00830486, 0.038818985, 0.17048013, -0.07656522, -0.1224087, 0.07130913) * go_3(-1.0, 0.0);
|
|
result += mat4(-0.10417896, 0.016383825, 0.0073449006, -0.02711082, -0.037189025, -0.05160864, 0.05315494, -0.15611887, -0.04386266, -0.006611247, 0.14843988, -0.057192847, -0.023183309, -0.10346375, -0.06267799, 0.012322414) * go_3(-1.0, 1.0);
|
|
result += mat4(0.040689304, -0.18189529, -0.26992813, 0.12790182, 0.03878656, -0.0086402325, -0.0062929667, 0.06780035, 0.03195707, -0.035672437, 0.046817735, 0.06547671, 0.06372769, 0.05873523, 0.0021298856, 0.06129574) * go_3(0.0, -1.0);
|
|
result += mat4(-0.15713263, 0.035817664, -0.13872449, -0.044261634, 0.017223932, 0.009535214, 0.02511802, -0.04312037, 0.2664413, -0.0004277838, -0.15829046, 0.042596318, -0.00805113, -0.13120481, -0.0733825, 0.08075464) * go_3(0.0, 0.0);
|
|
result += mat4(0.019398525, -0.0021273023, -0.03635706, -0.014393008, -0.10642934, -0.1029655, -0.061802495, -0.15563649, 0.0645076, 0.14106958, 0.0996616, 0.03687089, 0.040620163, 0.075092375, -0.0925888, 0.020441564) * go_3(0.0, 1.0);
|
|
result += mat4(-0.12587729, 0.0013070012, 0.29089248, 0.059036452, -0.08924182, 0.091031685, -0.054014005, -0.10328428, 0.16332959, 0.053554036, -0.060469497, 0.040602013, -0.020064002, -0.08867987, -0.056540344, 0.008176135) * go_3(1.0, -1.0);
|
|
result += mat4(-0.035839718, 0.17201564, -0.24358493, -0.42401767, 0.09609074, 0.117533326, 0.02838792, -0.08895278, 0.017642612, -0.111211434, -0.050840933, -0.10403978, 0.033970676, -0.011216638, -0.04472192, 0.19342601) * go_3(1.0, 0.0);
|
|
result += mat4(0.0710926, 0.641456, 0.071938366, 0.1315065, -0.100831784, 0.1266041, 0.022571024, -0.07433246, -0.027134081, -0.03542851, -0.09404876, 0.022775577, -0.12099732, -0.01867027, -0.1062645, 0.13310277) * go_3(1.0, 1.0);
|
|
result += mat4(0.08233717, -0.04114099, 0.03508527, -0.15586078, -0.06144648, 0.114622496, 0.093427174, -0.07340158, -0.051627956, -0.07738936, 0.020813083, 0.06746887, -0.11991759, -0.051451, 0.053755388, 0.03875834) * go_4(-1.0, -1.0);
|
|
result += mat4(-0.040174812, 0.059218626, -0.06302023, 0.053127743, -0.014231688, 0.054382488, 0.068063706, 0.06149745, -0.01953451, -0.0713229, -0.02160103, -0.036886152, -0.0014814946, -0.055175968, 0.037955247, 0.005871771) * go_4(-1.0, 0.0);
|
|
result += mat4(-0.12535378, 0.17881174, 0.03780218, -0.012425667, 0.017902097, 0.09599461, 0.056568086, 0.25071, 0.0293225, -0.23321061, 0.12753327, -0.06956542, -0.06286754, -0.004013887, 0.03493985, -0.09810219) * go_4(-1.0, 1.0);
|
|
result += mat4(0.056827508, 0.16744581, 0.122243635, -0.068847984, 0.0877093, -0.24348012, -0.19141406, -0.055104826, -0.036792528, -0.0061125075, -0.0357928, -0.049301486, -0.002318358, 0.01462026, -0.044582937, 0.21821599) * go_4(0.0, -1.0);
|
|
result += mat4(-0.022950336, -0.08541699, -0.032364532, 0.073656, 0.28598115, -0.24147618, -0.40594783, -0.095169015, 0.030378088, -0.088105105, -0.018130457, 0.027292483, -0.053477596, 0.051044784, 0.057199217, 0.055807877) * go_4(0.0, 0.0);
|
|
result += mat4(-0.0029876707, 0.04961822, 0.14974596, -0.033321217, -0.16732486, -0.072705135, 0.013969497, -0.122740515, -0.08462876, -0.034225795, -0.014655614, -0.119398855, 0.09157269, -0.09268603, 0.050344553, -0.027266093) * go_4(0.0, 1.0);
|
|
result += mat4(0.15940595, -0.06773035, -0.018085696, -0.05118593, 0.0023117135, 0.086401805, -0.1512883, 0.064325646, -0.07582622, -0.17029655, -0.024559846, 0.030658428, 0.017730433, -0.08367396, 0.08823815, 0.05915384) * go_4(1.0, -1.0);
|
|
result += mat4(-0.038727205, 0.1089172, -0.057072043, -0.033894695, -0.14285448, 0.20544271, 0.17861229, -0.30484465, -0.03715663, -0.14572927, 0.060733713, 0.04181215, 0.09678157, -0.08408126, 0.0048096497, -0.065996654) * go_4(1.0, 0.0);
|
|
result += mat4(-0.07415517, 0.06777419, 0.026038412, -0.03502717, -0.13852024, 0.03202735, 0.02515385, 0.022922166, -0.09077502, 0.16230436, -0.0026498823, -0.015043002, 0.12700108, 0.057081882, 0.013029471, -0.030657085) * go_4(1.0, 1.0);
|
|
result += mat4(-0.12694584, 0.06294908, -0.117676765, -0.036909055, -0.044873755, -0.0039995643, 0.13362706, 0.050012905, -0.13367924, 0.07597831, 0.3819285, -0.28275692, -0.14412177, -0.2565575, 0.11027837, -0.12053281) * go_5(-1.0, -1.0);
|
|
result += mat4(-0.09367519, -0.14608231, -0.036556866, 0.01272179, 0.038633876, -0.003591367, 0.054400835, -0.010012759, -0.47939613, -0.019259147, 0.27748987, -0.104456015, -0.24190706, -0.06932349, 0.034514233, -0.35891885) * go_5(-1.0, 0.0);
|
|
result += mat4(-0.09559999, -0.048616488, 0.085638076, 0.008076739, 0.0872326, -0.08019889, 0.030777529, 0.019932257, 0.13578339, -0.11825049, 0.025971292, -0.24859837, 0.038768515, -0.18231516, -0.035713304, -0.0077301646) * go_5(-1.0, 1.0);
|
|
result += mat4(0.06128232, 0.080365516, 0.085317336, 0.23043136, -0.0345303, -0.09263342, -0.14098871, 0.065698296, 0.07305724, 0.1363207, 0.4074649, 0.06484066, -0.1677743, -0.07320494, -0.046586398, -0.14663507) * go_5(0.0, -1.0);
|
|
result += mat4(-0.26134238, -0.23036079, -0.13700944, -0.12379771, -0.085245565, 0.11716101, -0.011996683, -0.26328242, 0.76210666, 0.13128199, -0.4613038, -0.056481987, -0.04179439, -0.15293704, -0.031928822, 0.0028633792) * go_5(0.0, 0.0);
|
|
result += mat4(0.0701609, -0.044659905, -0.10519638, -0.02951965, -0.01773976, -0.09793353, -0.02663125, 0.025931468, 0.120253704, 0.107959, -0.2286903, 0.100008205, 0.019919766, -0.09379937, -0.03755325, -0.029165376) * go_5(0.0, 1.0);
|
|
result += mat4(0.12762111, 0.10005725, -0.020744884, 0.2261955, 0.0005694905, 0.023153208, 0.10108641, 0.06778726, -0.24574086, 0.26147386, -0.087716095, -0.35164383, 0.014982804, -0.04352452, 0.01995192, 0.070767686) * go_5(1.0, -1.0);
|
|
result += mat4(0.15459362, 0.0076204417, 0.12653103, 0.02246474, -0.102647394, 0.0890142, -0.07186823, -0.056002736, 0.01860861, 0.39250594, 0.25675145, 0.025204277, -0.20314611, 0.072741225, -0.07994986, -0.12488336) * go_5(1.0, 0.0);
|
|
result += mat4(-0.15671712, 0.12742579, 0.055502348, 0.09266183, -0.0138254035, 0.09349572, -0.0042213756, -0.111673295, -0.0023075854, -0.042950034, 0.22849235, 0.17697562, -0.13718896, 0.1530634, -0.01904453, 0.0029579364) * go_5(1.0, 1.0);
|
|
result += mat4(0.1002453, -0.0038715068, 0.08157385, -0.114144556, -0.10114003, -0.030322842, 0.1687901, 0.08137869, -0.018950412, 0.31931, 0.07726896, -0.01260731, -0.013306181, 0.012990402, 0.023081424, 0.024108054) * go_6(-1.0, -1.0);
|
|
result += mat4(0.016639968, -0.19199537, 0.12305707, 0.13543534, -0.12219802, 0.1590638, 0.093846135, -0.041526478, -0.19725557, 0.042915337, 0.021230828, 0.18341881, -0.07749526, -0.33567867, 0.1510488, -0.24736325) * go_6(-1.0, 0.0);
|
|
result += mat4(0.33647043, 0.043974105, -0.015270659, 0.34443954, 0.20130455, 0.13922754, 0.052082468, 0.04199112, 0.11493087, -0.055187847, -0.011534877, 0.01592477, 0.15338206, 0.08678507, -0.19229794, 0.13954975) * go_6(-1.0, 1.0);
|
|
result += mat4(-0.04917488, 0.011107744, 0.07049515, -0.21489471, -0.17595087, -0.12529567, 0.09190301, 0.11845325, -0.024334827, 0.32111624, 0.0024534697, -0.19983491, 0.16408783, -0.052561633, 0.08617242, 0.042390704) * go_6(0.0, -1.0);
|
|
result += mat4(0.028817827, 0.28836212, -0.048137162, 0.12320664, -0.097087085, -0.2842122, 0.00085189304, 0.06633536, -0.24821767, 0.045060735, 0.035565082, 0.16810042, -0.13840207, -0.04403226, -0.25070003, -0.4041356) * go_6(0.0, 0.0);
|
|
result += mat4(-0.22197938, -0.08768923, 0.045177262, -0.078506745, 0.08253066, 0.016144753, 0.1645656, -0.028598493, -0.07849487, -0.07094212, 0.057455402, 0.00037928123, 0.0972565, -0.10698883, 0.013749269, 0.24829234) * go_6(0.0, 1.0);
|
|
result += mat4(0.052576844, 0.08776649, -0.17621052, 0.08209505, -0.11818109, -0.19763248, 0.20851502, 0.23726037, -0.04153201, 0.14402445, 0.14808771, -0.26490554, 0.023291918, -0.012744647, 0.01284057, 0.057120457) * go_6(1.0, -1.0);
|
|
result += mat4(-0.03312023, 0.18762802, -0.065782025, 0.37418395, 0.03296075, -0.13471349, -0.000604518, -0.11046129, -0.040362366, -0.05119359, -0.060928266, 0.0076234927, 0.004223431, -0.2519941, -0.03538203, 0.26457635) * go_6(1.0, 0.0);
|
|
result += mat4(-0.09241529, -0.16896167, -0.26097003, -0.03554997, -0.07486264, 0.12789203, -0.022967441, 0.037033424, 0.01006943, -0.041292597, 0.048790745, -0.02055147, -0.07281084, 0.10865022, -0.08581465, -0.11227524) * go_6(1.0, 1.0);
|
|
result += mat4(-0.10940675, -0.19411772, 0.055769432, 0.024340319, -0.00645665, 0.056368824, 0.043865785, 0.020037498, -0.16133311, 0.01766112, -0.08227002, 0.14941923, -0.021099616, -0.18266949, 0.09612128, -0.14281271) * go_7(-1.0, -1.0);
|
|
result += mat4(0.03217922, 0.05612644, -0.033255585, -0.056363396, 0.024762414, 0.21498744, -0.0072923806, -0.0851579, -0.02493222, 0.18570428, -0.001326312, -0.080563165, -0.1915287, -0.0854206, 0.21276848, -0.19071062) * go_7(-1.0, 0.0);
|
|
result += mat4(-0.008697236, -0.05907871, -0.03935557, -0.12401368, -0.28379413, 0.088884436, 0.10571658, 0.10813083, -0.0816413, 0.14360937, -0.056890983, 0.066707395, 0.09237749, -0.03639047, 0.0149323, -0.08099579) * go_7(-1.0, 1.0);
|
|
result += mat4(0.14562428, -0.41132495, -0.09468721, 0.12390293, -0.35304794, -0.0978397, 0.10259785, -0.059098184, -0.18376185, -0.11395008, 0.06149591, -0.061300837, 0.030855265, -0.029505031, -0.08134364, 0.052349824) * go_7(0.0, -1.0);
|
|
result += mat4(-0.054168303, 0.14281495, -0.1929224, 0.06413072, -0.25336048, 0.0947037, 0.08503807, -0.2678951, -0.0956869, -0.0028941594, 0.12420388, 0.09337278, -0.22638662, 0.20074275, 0.27849185, -0.10343632) * go_7(0.0, 0.0);
|
|
result += mat4(-0.10784557, -0.09003896, -0.046144225, 0.04472689, -0.048930172, -0.042827412, 0.02361569, 0.048961647, -0.12720263, -0.19882552, 0.032855414, 0.018087896, -0.006664184, 0.061284702, 0.040077087, 0.06483349) * go_7(0.0, 1.0);
|
|
result += mat4(-0.09102824, 0.19297811, 0.079428986, -0.1140786, 0.08065769, 0.11470058, -0.05182968, -0.0031918169, 0.057114378, -0.07034676, 0.05162736, -0.13989258, -0.0007428154, 0.14386162, -0.22555909, 0.031960685) * go_7(1.0, -1.0);
|
|
result += mat4(-0.060471173, 0.009634131, 0.03902269, 0.09661466, -0.24774061, -0.05557977, 0.012585905, -0.02392872, 0.114676595, -0.017493265, 0.110723615, -0.09117071, 0.1765386, -0.099044226, 0.08444831, 0.1444548) * go_7(1.0, 0.0);
|
|
result += mat4(0.06494709, 0.038754467, -0.0029358356, -0.14191265, 0.0057709096, -0.17836918, 0.0835745, -0.13418244, 0.006400464, 0.12102691, 0.015754992, -0.082292266, 0.013177254, -0.15339093, -0.03636538, 0.009245474) * go_7(1.0, 1.0);
|
|
result += mat4(0.12107869, 0.005942261, 0.053359907, -0.04101948, 0.13175036, 0.076938406, -0.080700554, -0.09937644, -0.059118178, 0.01999205, -0.12440703, -0.17912516, 0.099387065, 0.12858933, -0.13126332, -0.07864274) * go_8(-1.0, -1.0);
|
|
result += mat4(0.015471563, -0.093275815, -0.07918882, 0.015113541, 0.034789484, 0.005147553, -0.035894252, 0.012473097, 0.17425276, -0.06431719, 0.053038493, 0.07075733, -0.13703232, -0.108021386, 0.08097401, -0.09084637) * go_8(-1.0, 0.0);
|
|
result += mat4(0.22216305, 0.06436357, 0.04725549, -0.009216946, 0.12172688, 0.13367362, 0.17289402, -0.027260972, 0.0316388, 0.047867503, 0.044632692, 0.13161063, 0.01681034, -0.117173694, -0.11198718, -0.090385385) * go_8(-1.0, 1.0);
|
|
result += mat4(-0.04448494, -0.09054891, 0.10193784, 0.10481165, 0.09505045, 0.09442895, 0.059165824, -0.017999176, 0.19332564, -0.13344298, 0.043347962, -0.009198223, -0.077678666, 0.07262827, -0.054718617, 0.2462452) * go_8(0.0, -1.0);
|
|
result += mat4(-0.14460659, 0.19911581, -0.011829462, -0.24477552, 0.10222534, 0.17500538, -0.088302314, -0.03723031, 0.22934242, 0.033233006, 0.076508425, 0.086021885, 0.076261, -0.02892584, -0.1842937, 0.28159407) * go_8(0.0, 0.0);
|
|
result += mat4(-0.05750402, 0.08285725, -0.20076582, 0.017502094, -0.111210905, -0.20192915, 0.027090786, 0.13547169, 0.034292024, -0.009578894, 0.09613332, -0.012890754, -0.24042566, 0.11162173, 0.061244607, 0.106738865) * go_8(0.0, 1.0);
|
|
result += mat4(-0.0056016557, -0.07016059, 0.015586803, 0.113896616, 0.036264896, -0.07797885, -0.10836503, -0.008504698, 0.09010728, 0.008030681, -0.14481634, 0.094113514, -0.11525783, -0.16482571, 0.16644086, 0.18656185) * go_8(1.0, -1.0);
|
|
result += mat4(-0.15490383, -0.010732233, 0.15570381, 0.013117034, -0.023504725, -0.08264894, 0.05413935, 0.02167481, 0.02526282, 0.07887943, -0.18842192, 0.046029042, -0.035524786, -0.0850923, 0.058897875, -0.015918015) * go_8(1.0, 0.0);
|
|
result += mat4(0.020360103, -0.012570338, 0.08877764, 0.02096158, 0.04831387, 0.096580565, -0.059062235, 0.027416367, 0.16610818, -0.048174858, 0.014525945, 0.10096015, 0.11185447, -0.1518419, 0.013404751, -0.023205053) * go_8(1.0, 1.0);
|
|
result += mat4(-0.04306929, -0.073872276, -0.017753715, -0.009508062, -0.06119793, 0.10653636, -0.13039438, -0.24057238, -0.010483553, 0.016872346, 0.056444157, 0.03830218, 0.0059971744, -0.034371436, 0.036614515, 0.08423129) * go_9(-1.0, -1.0);
|
|
result += mat4(0.09289988, -0.06163418, 0.17578109, -0.091560215, -0.1247038, 0.09502665, -0.1327171, -0.27483323, -0.036985267, -0.056237724, -0.02098289, 0.103276916, -0.12641357, -0.007150088, 0.07125758, -0.01968212) * go_9(-1.0, 0.0);
|
|
result += mat4(0.04571787, 0.09795907, -0.050483674, -0.011451801, -0.10090189, 0.17867349, 0.06240289, 0.03660141, 0.09306018, 0.0099239815, -0.10751435, -0.13398375, 0.0018341575, 0.076876044, 0.013059743, -0.001757958) * go_9(-1.0, 1.0);
|
|
result += mat4(0.03580767, -0.0920832, -0.048678134, -0.08585588, -0.25861412, -0.34989825, 0.13219722, -0.23836084, -0.031598125, -0.1980442, -0.10422264, 0.13378029, -0.06057577, -0.02566017, 0.07589835, -0.06603067) * go_9(0.0, -1.0);
|
|
result += mat4(-0.038895957, 0.10479996, -0.021055168, 0.002985772, -0.020986749, 0.19991115, 0.3909512, -0.18155256, 0.11361141, 0.1263755, -0.1411, 0.23717235, 0.04549265, -0.047232505, 0.0017680351, 0.034420468) * go_9(0.0, 0.0);
|
|
result += mat4(-0.06257207, -0.097900964, -0.050873708, -0.116532296, -0.45115742, -0.37410742, 0.004776952, -0.012661815, -0.03602844, -0.13416661, 0.06795347, -0.2639946, -0.043392774, -0.013479449, -0.018292706, 0.06350002) * go_9(0.0, 1.0);
|
|
result += mat4(0.029981725, -0.14732479, -0.08568945, -0.05040381, 0.05038456, -0.21006814, -0.06465483, 0.2622558, -0.14217721, -0.07141784, 0.10449286, -0.06247594, -0.008926917, 0.066042386, 0.024682269, 0.0019684169) * go_9(1.0, -1.0);
|
|
result += mat4(0.06684293, -0.06025172, -0.017142097, 0.019198751, -0.16248102, 0.07748216, 0.1356666, 0.10687109, 0.020113792, 0.16917363, -0.13187894, 0.16092238, -0.037741035, -0.11543223, 0.008387134, -0.1788102) * go_9(1.0, 0.0);
|
|
result += mat4(-0.0641759, 0.0035762053, 0.006215076, -0.048748907, -0.05194134, -0.09104838, -0.13861741, 0.069660455, 0.14160399, -0.1259376, 0.26030827, 0.057737302, 0.07375596, -0.08941705, 0.09028937, -0.13736711) * go_9(1.0, 1.0);
|
|
result += mat4(-0.2132701, -0.02094667, -0.10508215, 0.15088913, 0.01673081, -0.07022761, 0.04353132, -0.060586076, 0.013688303, -0.053508937, 0.091935135, -0.12722084, 0.20991062, 0.34238532, 0.073321, -0.13415793) * go_10(-1.0, -1.0);
|
|
result += mat4(-0.42283273, -0.20882814, 0.0746904, 0.030884372, -0.046567556, -0.09601958, 0.019217268, 0.020614645, 0.023532817, 0.16495451, -0.061495263, 0.17093019, -0.015031176, -0.10596483, -0.35751313, -0.036069453) * go_10(-1.0, 0.0);
|
|
result += mat4(0.09802603, 0.05243237, -0.011705317, 0.24476443, -0.033207234, -0.035959207, 0.031047646, -0.23115188, 0.016027762, 0.79442054, 0.4044869, -0.11494329, -0.006273987, 0.004718425, -0.11209608, -0.008015948) * go_10(-1.0, 1.0);
|
|
result += mat4(-0.16346502, -0.17156897, -0.11642438, -0.024952129, 0.031115294, 0.08774017, 0.00598107, 0.05092626, 0.113979645, -0.052892536, -0.013108269, 0.0571676, -0.022390213, 0.2335813, 0.14485772, -0.30527407) * go_10(0.0, -1.0);
|
|
result += mat4(-0.32269135, 0.023324538, 0.17180206, 0.09219933, -0.016700493, -0.03755764, 0.045262657, -0.14225388, 0.053342134, 0.21138674, -0.044557836, 0.037281107, -0.043544468, -0.20836818, 0.13546935, 0.03176496) * go_10(0.0, 0.0);
|
|
result += mat4(0.022647953, 0.008730454, -0.15616144, -0.08256037, 0.072356544, -0.021719307, -0.15201953, -0.016114464, -0.21912077, -0.0851361, 0.51460695, -0.6446934, -0.010587294, -0.07769936, 0.0050584907, -0.05872306) * go_10(0.0, 1.0);
|
|
result += mat4(-0.02132089, -0.13096721, 0.038064517, -0.00060747104, 0.0062361676, 0.067216225, 0.09402394, -0.06513655, 0.01862414, 0.037082087, -0.021554682, 0.045969013, -0.0039607184, 0.15375406, -0.14449036, 0.07655889) * go_10(1.0, -1.0);
|
|
result += mat4(0.07068288, 0.001961099, 0.09929328, -0.028476834, 0.031980775, 0.09211007, 0.054330252, 0.052927166, 0.08970436, 0.00015303591, -0.13828777, -0.07198454, -0.15016508, 0.026365617, 0.18633242, -0.025553932) * go_10(1.0, 0.0);
|
|
result += mat4(-0.10826819, -0.1304685, -0.03685067, -0.12489227, 0.005607342, 0.09233144, -0.014122842, -0.046526186, -0.17548485, 0.026248131, 0.1621087, -0.20665328, -0.09381958, 0.036105122, -0.08728352, 0.03987857) * go_10(1.0, 1.0);
|
|
result += mat4(0.077677496, -0.13329592, 0.17164698, 0.0019113998, -0.025696686, 0.0672842, 0.036873437, -0.11686353, -0.097731896, -0.0028006139, 0.021490095, 0.15943187, 0.07889494, 0.3629766, -0.18132637, 0.15385807) * go_11(-1.0, -1.0);
|
|
result += mat4(0.044238772, 0.1567383, 0.12640673, -0.052630864, -0.007302675, -0.10967158, -0.107756294, 0.17859331, 0.07136489, -0.04341069, 0.024249079, -0.05897967, 0.111258015, -0.17078657, 0.036048226, 0.16152963) * go_11(-1.0, 0.0);
|
|
result += mat4(0.07384503, 0.06284907, -0.014108331, -0.017090164, 0.121260636, 0.008501252, -0.06885781, -0.021639979, -0.041774526, 0.08451698, 0.000121687364, -0.03919082, 0.0052454737, 0.06350427, 0.12008924, -0.055543303) * go_11(-1.0, 1.0);
|
|
result += mat4(-0.064878955, -0.0719878, 0.08265773, -0.1688665, 0.048050933, 0.11382349, 0.071546555, -0.21108189, -0.012830082, 0.11217351, -0.018128209, -0.061462913, 0.23882945, 0.649829, 0.12733355, 0.11227615) * go_11(0.0, -1.0);
|
|
result += mat4(0.041163422, 0.03651781, 0.16549642, 0.017468395, 0.09350432, -0.23474495, -0.23380195, 0.11907154, -0.12089363, -0.044256873, 0.1877988, -0.049312383, 0.21568891, -0.07808991, 0.007451335, 0.018319923) * go_11(0.0, 0.0);
|
|
result += mat4(-0.12518145, 0.11612238, 0.006161161, -0.06755221, -0.029740417, -0.069201775, -0.055142555, -0.12959711, -0.04151932, -0.13112305, 0.027883865, -0.14688236, 0.11637084, 0.03143717, 0.019010155, 0.10953431) * go_11(0.0, 1.0);
|
|
result += mat4(0.04209335, 0.068751834, -0.0061649308, -0.16101876, -0.0722853, 0.024952479, -0.3132622, 0.08744035, 0.073933974, -0.051336445, 0.032455105, 0.13063438, 0.059895504, 0.29420298, 0.038490206, -0.12442902) * go_11(1.0, -1.0);
|
|
result += mat4(-0.07200042, -0.023259655, 0.012635364, 0.12218508, -0.032365907, 0.43177593, 0.16525982, -0.08950363, -0.054844007, -0.03696446, -0.08850468, -0.1255118, 0.031016335, 0.04766782, -0.078383796, 0.01441548) * go_11(1.0, 0.0);
|
|
result += mat4(0.11503451, -0.044968586, 0.06326391, -0.071147904, -0.16879457, 0.07397432, 0.018188922, 0.10572427, -0.034960777, -0.07943137, -0.0036348181, 0.058225635, 0.069235794, -0.051237226, -0.1377284, 0.08924826) * go_11(1.0, 1.0);
|
|
result += vec4(-0.051804453, -0.0035980425, 0.04082406, -0.033362225);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x48
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_tf
|
|
//!BIND conv2d_tf1
|
|
//!BIND conv2d_tf2
|
|
//!BIND conv2d_tf3
|
|
//!BIND conv2d_tf4
|
|
//!BIND conv2d_tf5
|
|
//!SAVE conv2d_1_tf
|
|
//!WIDTH conv2d_tf.w
|
|
//!HEIGHT conv2d_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv2d_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv2d_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max((conv2d_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv2d_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv2d_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv2d_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_8(x_off, y_off) (max(-(conv2d_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_9(x_off, y_off) (max(-(conv2d_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_10(x_off, y_off) (max(-(conv2d_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_11(x_off, y_off) (max(-(conv2d_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.10686424, 0.17431372, -0.18661575, 0.010713689, 0.03379707, -0.09569068, 0.2034078, 0.10498479, 0.011634523, 0.050713755, 0.032565415, -0.080337286, -0.09969752, -0.055666827, 0.035421696, -0.0867718) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.073666155, -0.06493011, -0.026273629, 0.22499932, 0.08139263, -0.11249932, 0.28837353, 0.17552267, -0.021960992, -0.028706687, 0.05090913, -0.15623435, 0.03769752, -0.15579492, 0.09105939, 0.07497639) * go_0(-1.0, 0.0);
|
|
result += mat4(0.048357245, 0.053886283, 0.13461725, -0.11071112, -0.077213906, -0.052245375, -0.04013169, 0.062037695, -0.13215369, -0.09174701, -0.114625834, 0.051914312, 0.01612896, 0.053970147, 0.04973606, -0.07729732) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.078420036, -0.13297887, -0.052783236, -0.10189405, 0.11061531, -0.09680305, 0.005810091, 0.07245157, -0.1038221, 0.25642323, -0.12693721, -0.20040022, 0.04993069, -0.0991663, -0.069509506, 0.05367051) * go_0(0.0, -1.0);
|
|
result += mat4(-0.019883003, 0.008554149, -0.06069851, -0.06600372, 0.15867192, 0.14257845, -0.060953278, 0.11745147, -0.18195617, -0.0049814377, 0.0869189, 0.108226046, -0.15425956, -0.103610225, -0.026791094, 0.101708464) * go_0(0.0, 0.0);
|
|
result += mat4(0.024521135, 0.113311276, -0.033070467, -0.094435304, -0.04944495, 0.044213716, -0.032835033, -0.032649312, -0.025082994, 0.0075755576, -0.00039931637, -0.051290717, 0.11232367, -0.028651753, -0.02722451, -0.11874975) * go_0(0.0, 1.0);
|
|
result += mat4(0.038403023, 0.01434569, 0.05527001, -0.009426801, 0.11922298, 0.15881695, 0.010242657, 0.0150002055, -0.08634809, 0.18841596, -0.06529487, -0.022850564, -0.014353311, -0.018264877, 0.010582817, 0.05675244) * go_0(1.0, -1.0);
|
|
result += mat4(-0.038173348, -0.04938816, -0.034626633, 0.115011, -0.17997329, -0.024382714, 0.018238366, 0.0795699, 0.11787341, -0.03350269, 0.06319287, 0.010102462, -0.01196875, 0.07582537, 0.055843, -0.08944427) * go_0(1.0, 0.0);
|
|
result += mat4(0.020445071, -0.062003933, 0.025338916, -0.111742504, 0.018534176, -0.019231565, -0.009523114, -0.09424414, 0.105761416, 0.029941276, -0.01992244, -0.13365352, -0.06464694, 0.04955974, -0.06972657, 0.031168776) * go_0(1.0, 1.0);
|
|
result += mat4(0.048598338, -0.15457329, 0.23040074, -0.17382176, -0.07893832, -0.20589326, -0.1024789, -0.036393065, 0.16289537, -0.043633476, -0.08692494, 0.06635826, -0.037026048, 0.19121586, 0.04192811, 0.08617132) * go_1(-1.0, -1.0);
|
|
result += mat4(0.06431465, -0.04477714, 0.1393434, -0.14326997, -0.009671985, 0.07842364, -0.04966627, 0.010917152, -0.07983255, 0.03677405, 0.03150012, 0.06264113, -0.055912133, -0.15776533, 0.19988042, 0.32305804) * go_1(-1.0, 0.0);
|
|
result += mat4(-0.11813575, -0.12848048, 0.09815029, -0.084332794, -0.045466557, 0.024617787, 0.094612665, -0.10983498, 0.01281462, -0.07084845, 0.08365987, 0.02980482, 0.20680314, 0.19660185, 0.090160295, -0.024230592) * go_1(-1.0, 1.0);
|
|
result += mat4(0.22242945, 0.042977955, -0.1950584, 0.114693254, 0.10080756, -0.2195417, 0.07318277, 0.017024588, 0.084581, -0.06843593, -0.12843226, 0.3261798, 0.13944952, 0.13179941, 0.008821559, -0.087943) * go_1(0.0, -1.0);
|
|
result += mat4(0.006668788, 0.038560845, 0.12404563, -0.05769671, -0.015818367, -0.13033059, -0.25943246, 0.072956696, 0.21427058, 0.10687695, 0.25362974, 0.030753143, -0.20489524, 0.03688324, -0.056671564, -0.15081882) * go_1(0.0, 0.0);
|
|
result += mat4(-0.016237376, 0.06530418, 0.0008575612, 0.0024773555, -0.08457907, 0.124187596, -0.017193364, 0.020395733, 0.041882973, 0.0939689, -0.041423228, 0.11850349, -0.053418733, 0.018237034, 0.15922968, -0.028196482) * go_1(0.0, 1.0);
|
|
result += mat4(0.00617314, 0.028988088, -0.12129224, -0.013645742, 0.041919876, 0.09312565, -0.011853595, -0.039161764, -0.0018104025, 0.030794937, -0.027200973, -0.01889041, -0.061270796, -0.020167446, -0.022094764, -0.06321879) * go_1(1.0, -1.0);
|
|
result += mat4(0.23553117, 0.011681662, 0.09088071, -0.08406735, -0.11986371, -0.07598161, 0.10916216, 0.03042131, -0.050459344, 0.048346892, -0.03265152, -0.041599296, 0.017753642, 0.02199675, -0.12781127, 0.053903423) * go_1(1.0, 0.0);
|
|
result += mat4(0.08247833, -0.053099908, 0.10497532, 0.0009267122, -0.048440482, -0.030394204, 0.09059801, 0.05765988, 0.07783196, 0.081616424, 0.120132275, 0.017684443, -0.023979973, -0.055363264, -0.0023568745, -0.06474386) * go_1(1.0, 1.0);
|
|
result += mat4(0.03935864, 0.13646065, -0.0980335, -0.09464908, -0.14030007, 0.10547609, -0.05503995, -0.026297066, -0.19069989, -0.11692969, 0.033806093, -0.110443994, 0.06024984, -0.022988832, 0.07912321, -0.23436208) * go_2(-1.0, -1.0);
|
|
result += mat4(0.03736314, 0.09950635, -0.035241336, 0.35002565, 0.088414624, 0.10096662, -0.17172632, 0.15142097, 0.049536142, -0.09132737, 0.0081931185, -0.13172668, -0.09466351, -0.08956953, -0.16681527, -0.2851225) * go_2(-1.0, 0.0);
|
|
result += mat4(0.044081934, 0.18403912, -0.028386973, 0.048505448, -0.053118926, -0.08533175, 0.115222245, -0.096146524, 0.007817108, 0.179298, 0.1150954, -0.020710714, 0.03293392, 0.037513856, -0.039692983, -0.04825996) * go_2(-1.0, 1.0);
|
|
result += mat4(-0.059859905, -0.09073711, -0.111966245, 0.081563674, 0.04086593, 0.14733186, 0.05190138, -0.12694141, -0.13941759, 0.06996519, -0.068747684, -0.20645827, -0.09175273, 0.12211811, -0.093354166, -0.04851858) * go_2(0.0, -1.0);
|
|
result += mat4(-0.039201275, -0.12566729, -0.15083213, 0.06934724, 0.00907371, 0.25165445, -0.03215991, -0.12954757, -0.04468517, 0.008889168, 0.0066400254, 0.10167141, -0.04695212, 0.064692214, 0.18480566, 0.19480804) * go_2(0.0, 0.0);
|
|
result += mat4(-0.014581287, -0.06898704, -0.0051806406, -0.10608466, 0.1262722, -0.04060088, -0.16856684, 0.032435227, 0.026973879, -0.0026733307, 0.045268867, -0.13237081, 0.16020067, -0.021973023, -0.19009824, 0.15028222) * go_2(0.0, 1.0);
|
|
result += mat4(0.18460129, 0.1333479, 0.03837729, -0.058306176, 0.07040987, -0.014847655, -0.01068034, -0.03538366, 0.03560099, -0.07245003, 0.05421727, 0.054558117, 0.12696071, 0.110505275, -0.0001801124, 0.10988035) * go_2(1.0, -1.0);
|
|
result += mat4(0.02687717, 0.026820526, 0.00013342683, -0.024742479, 0.010069058, -0.035168402, 0.043235146, -0.0005362559, 0.07407034, 0.21309346, -0.06483402, 0.071147814, -0.033207595, -0.10294866, -0.036925662, -0.027010951) * go_2(1.0, 0.0);
|
|
result += mat4(0.12488478, 0.098401785, -0.025045905, -0.014792015, -0.034646317, -0.027978942, -0.12320188, -0.024810791, 0.016550582, 0.13471514, 0.10670648, -0.05094192, -0.055596545, -0.1049561, -0.09986287, -0.0023964173) * go_2(1.0, 1.0);
|
|
result += mat4(-0.080887415, 0.006002427, 0.014467008, 0.0073124142, 0.129575, -0.106121704, 0.0053149317, 0.09235564, 0.11186122, 0.032131296, -0.076612376, 0.06624548, 0.08596849, 0.011764685, 0.14384155, 0.021837883) * go_3(-1.0, -1.0);
|
|
result += mat4(0.06103023, -0.031309135, 0.13279384, -0.08082667, 0.052683856, -0.031909406, 0.11510065, 0.10554583, 0.06680798, 0.029968834, -0.06693931, 0.16237023, -0.08490032, -0.12100683, -0.026126593, 0.016325515) * go_3(-1.0, 0.0);
|
|
result += mat4(0.060680456, -0.009623815, 0.08332933, -0.055023734, -0.08690529, -0.07147011, 0.011002754, 0.0018552957, 0.061229635, 0.088315226, -0.20416659, 0.24169642, 0.050275456, -0.06378886, -0.11931172, -0.02514527) * go_3(-1.0, 1.0);
|
|
result += mat4(-0.02761119, 0.08644608, 0.088277236, -0.018450672, -0.0039901347, -0.068680376, 0.020421231, -0.04279749, 0.06106539, 0.007899028, 0.006244339, 0.0038284787, 0.01852972, 0.0907674, -0.030920882, -0.026493091) * go_3(0.0, -1.0);
|
|
result += mat4(-0.1279502, -0.10258929, -0.08419827, 0.20507072, -0.09553339, 0.05191081, 0.07021672, -0.07435205, 0.22677262, 0.09975214, -0.020335881, -0.04577811, 0.0077291103, 0.10471583, 0.17636743, 0.11087656) * go_3(0.0, 0.0);
|
|
result += mat4(0.075052544, 0.0092922645, -0.08448927, 0.041604668, 0.026037812, 0.0860355, -0.015922202, 0.019066084, 0.027546916, -0.027568692, -0.26731342, -0.023392681, 0.051625036, -0.0934867, 0.01855649, 0.13799979) * go_3(0.0, 1.0);
|
|
result += mat4(-0.06296666, -0.1098412, -0.008336122, -0.1683294, -0.0039476524, 0.06753397, -0.055691563, -0.03172386, -0.028133264, 0.09248862, -0.057005152, -0.08819879, 0.00033600588, -0.040332403, 0.021726275, 0.026756682) * go_3(1.0, -1.0);
|
|
result += mat4(-0.18335228, 0.055761904, 0.18097118, 0.14507161, 0.0068749846, -0.012521843, 0.023245614, -0.026463345, 0.043985046, -0.2165717, 0.0774852, -0.02483345, 0.08675624, 0.05628849, -0.009224984, -0.050731745) * go_3(1.0, 0.0);
|
|
result += mat4(-0.1567382, 0.08874605, -0.0032084028, 0.08684666, 0.07949444, 0.007671013, 0.0040961164, -0.1017389, 0.018606596, 0.009996349, -0.103171706, 0.03754502, 0.04512539, 0.07232536, -0.12089054, 0.01449721) * go_3(1.0, 1.0);
|
|
result += mat4(0.043988064, -0.2168024, 0.10836671, -0.044771742, 0.055952765, 0.005712055, -0.11988445, 0.06644813, -0.13616242, 0.04415895, 0.120261654, -0.16818422, -0.15581395, 0.0015744499, -0.14568093, -0.05753751) * go_4(-1.0, -1.0);
|
|
result += mat4(-0.021522403, -0.07986922, 0.062384382, -0.13140142, 0.034894954, 0.08006326, -0.07651594, -0.036141198, -0.06851456, -0.0834359, 0.0752904, 0.21887264, 0.0061549665, -0.06516249, 0.18681414, 0.0365946) * go_4(-1.0, 0.0);
|
|
result += mat4(0.10052518, -0.10670847, -0.003079081, -0.09498389, -0.07520011, 0.08290768, -0.084294625, -0.01131368, -0.099579826, -0.06137724, -0.11067449, 0.009704116, 0.040147323, -0.08841677, 0.06690092, 0.03778933) * go_4(-1.0, 1.0);
|
|
result += mat4(0.10545755, 0.13839878, -0.03984289, 0.10025751, 0.009478087, -0.14025608, 0.053947553, 0.18398194, -0.05149111, 0.050120454, 0.013956731, -0.043310497, -0.019726504, 0.118855774, 0.0013074268, -0.053335477) * go_4(0.0, -1.0);
|
|
result += mat4(-0.23760495, 0.08390418, -0.049581543, 0.10635951, -0.05460877, -0.04543479, 0.16504921, -0.036034804, 0.09784669, -0.06739755, 0.1291667, -0.039256845, 0.07527601, -0.070993215, -0.19017631, -0.031153971) * go_4(0.0, 0.0);
|
|
result += mat4(0.040954154, -0.09255729, -0.08177323, -0.07543496, 0.015799338, -0.1570934, 0.15411973, 0.09213898, -0.010481805, 0.05641228, -0.118413515, -0.09061437, -0.08796755, -0.007553788, -0.10498269, 0.12313105) * go_4(0.0, 1.0);
|
|
result += mat4(0.06398932, 0.13469447, -0.011273027, -0.044646043, -0.04710218, 0.09578059, -0.029808268, -0.027448278, -0.0009713295, 0.058415554, 0.06080652, 0.08606312, -0.104948185, -0.0096215615, 0.07537734, -0.010545255) * go_4(1.0, -1.0);
|
|
result += mat4(-0.1279408, -0.19020812, -0.0943298, 0.032013718, -0.14963102, 0.047066286, -0.104419105, -0.014193013, -0.065125234, -0.065608494, -0.095970854, -0.0014514026, 0.011343235, 0.10566982, -0.089031704, 0.06812633) * go_4(1.0, 0.0);
|
|
result += mat4(-0.018788658, -0.06289463, -0.15440673, -0.13007106, -0.03818653, -0.019451238, -0.15964429, 0.020377161, -0.0080730105, 0.000705676, -0.06964132, 0.024361277, -0.13875677, -0.052965797, 0.095339194, 0.06888489) * go_4(1.0, 1.0);
|
|
result += mat4(-0.019789973, -0.12040434, 0.04240305, -0.024595534, -0.05556233, 0.029707985, -0.168925, 0.049333967, -0.00080379954, -0.10835547, -0.15086678, -0.06383391, -0.16054042, 0.06484674, -0.19530065, 0.10922658) * go_5(-1.0, -1.0);
|
|
result += mat4(-0.05953651, -0.03141437, 0.11094798, 0.08243985, 0.028865665, 0.08213878, 0.04258892, 0.0680956, -0.047587804, -0.12693568, 0.07055364, -0.11214787, 0.08969217, 0.1419136, -0.13514246, 0.13407274) * go_5(-1.0, 0.0);
|
|
result += mat4(-0.050891425, 0.020388588, -0.06745435, 0.017085094, -0.1045077, 0.022298822, -0.097081736, 0.08203017, -0.027630981, -0.13675974, -0.10134547, -0.1281878, 0.07093644, 0.12771745, 0.13011754, 0.057423916) * go_5(-1.0, 1.0);
|
|
result += mat4(-0.037570868, 0.07060522, -0.0051040407, -0.0025844222, -0.11711207, -0.0673309, -0.048931435, 0.0147821205, 0.07795294, -0.13408278, -0.19637404, 0.10269599, -0.11200572, 0.09499086, 0.06428558, 0.06680813) * go_5(0.0, -1.0);
|
|
result += mat4(0.024472006, -0.2130565, -0.015151474, 0.16437468, -0.15263173, 0.0901281, 0.14322212, -0.01657089, 0.046343457, 0.115670264, 0.460088, -0.11364276, 0.07643118, -0.14651597, 0.18278573, -0.12530184) * go_5(0.0, 0.0);
|
|
result += mat4(0.060754742, -0.001678119, 0.030816441, 0.06681249, -0.09796916, -0.11359681, -0.09244883, 0.018559854, 0.01096573, -0.094277434, 0.08694235, -0.0823104, -0.0488883, -0.093095176, 0.14834714, -0.1352162) * go_5(0.0, 1.0);
|
|
result += mat4(-0.12880152, -0.19384775, -0.037801757, 0.06656008, 0.007076701, 0.018130813, 0.19761431, 0.059055846, 0.14532924, 0.10376109, 0.04665052, -0.023133863, -0.010181634, 0.0017168559, 0.013745001, -0.007121095) * go_5(1.0, -1.0);
|
|
result += mat4(0.16919339, -0.027795903, -0.03306036, 0.0019032159, 0.039146144, 0.0497634, -0.0764362, -0.07226232, 0.05425214, -0.10504981, -0.04627003, 0.022908883, 0.079698324, -0.038020927, 0.08061228, -0.10370709) * go_5(1.0, 0.0);
|
|
result += mat4(-0.015387303, 0.005504668, 0.052100983, -0.15418914, -0.022040624, 0.052186437, 0.09509722, -0.002403473, 0.19483614, 0.003452582, -0.06495632, -0.23240727, 0.032974433, 0.0007399171, 0.06560719, -0.0033740813) * go_5(1.0, 1.0);
|
|
result += mat4(0.023054665, -0.26043692, 0.18474972, -0.09608795, -0.020994432, 0.0119039025, -0.21327825, -0.24308199, -0.088114575, 0.0031395438, -0.041250248, 0.112322785, 0.07924635, -0.043412726, 0.0422074, -0.010226289) * go_6(-1.0, -1.0);
|
|
result += mat4(-0.02912112, -0.069595225, 0.10448175, -0.51250935, -0.13847098, 0.1607622, -0.3267751, -0.1770978, 0.01824646, 0.028984351, -0.030345665, 0.13081262, 0.063996404, 0.08793573, -0.13965712, 0.067263685) * go_6(-1.0, 0.0);
|
|
result += mat4(-0.03841053, 0.045040864, -0.18179531, 0.0718325, 0.022482697, -0.013581522, 0.032139305, -0.22102495, 0.09908346, 0.051011063, 0.11530665, -0.055368867, -0.07484559, -0.066463865, 0.004535346, 0.016886283) * go_6(-1.0, 1.0);
|
|
result += mat4(0.15519743, 0.17356728, 0.03410276, 0.0871071, -0.1195365, 0.124625124, -0.0097680325, -0.091822244, 0.0344685, -0.19980973, 0.18815377, 0.31003565, -0.098318, 0.109376736, -0.08224549, -0.017187273) * go_6(0.0, -1.0);
|
|
result += mat4(-0.0375595, -0.034162704, 0.092746235, 0.12421092, -0.1849872, -0.11413569, 0.04921203, -0.10434121, 0.14085439, -0.011802199, -0.078255296, -0.22816189, 0.10738017, 0.083183795, 0.13766633, -0.14097023) * go_6(0.0, 0.0);
|
|
result += mat4(-0.017320648, -0.18156715, -0.08577414, 0.24383464, 0.06509076, 0.0149711, -0.0074050296, 0.062410038, 0.12266333, 0.016462294, -0.0064600827, 0.005678038, -0.043331582, 0.26797196, -0.012759982, 0.3209115) * go_6(0.0, 1.0);
|
|
result += mat4(-0.052863203, -0.029584473, -0.07951153, 0.09404685, -0.13191116, -0.17476398, 0.0052808016, -0.05577381, 0.09763811, -0.19072057, 0.012749096, 0.036612183, 0.14015351, 0.0064597945, 0.0593276, -0.09717058) * go_6(1.0, -1.0);
|
|
result += mat4(-0.10637754, 0.111114345, -0.015331149, 0.0011310631, 0.110100284, 0.09273301, 0.023341045, -0.02656039, -0.035890426, 0.019883053, -0.053340383, -0.015699102, -0.020341745, -0.023196017, -0.06532072, 0.18366042) * go_6(1.0, 0.0);
|
|
result += mat4(0.11235973, 0.07786757, 0.08447728, 0.1318013, -0.004949982, 0.0066092457, 0.0054766103, 0.09077229, -0.07902109, -0.04088357, 0.010520631, 0.13553512, 0.09034912, -0.03018093, -0.00064445287, -0.021193689) * go_6(1.0, 1.0);
|
|
result += mat4(-0.058018472, 0.15444, -0.2730127, 0.15408863, 0.061455347, 0.19193874, 0.060909115, 0.06997937, -0.1524897, 0.036673836, 0.11732512, -0.11441547, 0.046872787, -0.24626993, -0.048007865, -0.11882765) * go_7(-1.0, -1.0);
|
|
result += mat4(-0.055945333, -0.010893111, -0.18102671, 0.042816866, 0.003581595, 0.048463646, -0.0031799963, 0.030418187, 0.104345225, -0.050032612, 0.036984675, -0.1646202, -0.018429128, 0.07671132, -0.25055778, -0.29552183) * go_7(-1.0, 0.0);
|
|
result += mat4(0.15023926, 0.1888685, -0.115618594, 0.12794076, 0.07876464, 0.003425595, -0.09080821, 0.12327033, -0.058617253, 0.049882554, -0.05286994, -0.08793353, -0.13901326, -0.18175364, -0.08278234, 0.018242812) * go_7(-1.0, 1.0);
|
|
result += mat4(-0.11970521, 0.0109240925, 0.15971556, -0.016531104, -0.08862921, 0.21342862, -0.094590165, -0.020616282, 0.063016824, 0.17087449, 0.06806956, -0.07862834, 0.013708585, -0.107840285, -0.08096036, 0.18210368) * go_7(0.0, -1.0);
|
|
result += mat4(0.043659575, 0.058439042, -0.21725631, 0.3063619, 0.10015616, 0.059022572, 0.26627064, -0.08099214, -0.0693483, -0.203277, -0.11010789, 0.19852851, 0.15775175, -0.015777366, 0.057439, 0.08526342) * go_7(0.0, 0.0);
|
|
result += mat4(0.068086825, -0.023258585, 0.00538327, 0.05472357, 0.07754322, -0.11910729, 0.02382697, 0.024495512, -0.017562684, -0.08236683, 0.058229536, 0.000869808, 0.011609774, -0.054304227, -0.15151061, -0.044502378) * go_7(0.0, 1.0);
|
|
result += mat4(-0.08821152, -0.0072133946, 0.090214185, 0.0037864884, -0.048583377, -0.08793112, 0.042103123, 0.06350086, -0.009068224, -0.017177878, 0.0071224193, -0.02983354, 0.054105606, 0.033948, 0.00030873172, 0.10865935) * go_7(1.0, -1.0);
|
|
result += mat4(-0.3452554, 0.037840936, -0.007285266, 0.11886663, 0.15714768, 0.06662496, -0.114754274, -0.014947248, -0.078791104, -0.06114595, 0.063372605, -0.027558187, 0.085218295, -0.029446336, 0.04893082, -0.011406112) * go_7(1.0, 0.0);
|
|
result += mat4(-0.13480014, 0.071332626, -0.15875989, 0.026054379, 0.086463004, -0.0016177339, -0.083243676, -0.09716422, -0.06963665, -0.07523067, -0.17068437, -0.0626138, 0.056925334, 0.04893756, 0.02281016, 0.09532202) * go_7(1.0, 1.0);
|
|
result += mat4(-0.00580583, -0.116883956, 0.07345766, 0.15274666, 0.13362356, -0.07467188, 0.03301032, 0.054128814, 0.20493697, -0.009065066, 0.03155883, 0.068317086, -0.12386136, -0.060517445, -0.094406374, 0.15583418) * go_8(-1.0, -1.0);
|
|
result += mat4(-0.067004405, -0.1223459, 0.014435977, -0.34603095, -0.06600234, -0.15530656, 0.20689431, -0.1507668, -0.06292093, 0.07223332, 0.037690062, 0.1659377, 0.069394544, 0.17641555, 0.22508276, 0.40012553) * go_8(-1.0, 0.0);
|
|
result += mat4(-0.057700165, -0.16616186, 0.03591516, -0.054088213, 0.038716026, 0.12711482, -0.10458551, 0.1125439, -0.044289824, -0.14246644, -0.06925245, -0.00500973, -0.037970725, -0.023939952, -0.0022134574, 0.10433797) * go_8(-1.0, 1.0);
|
|
result += mat4(-0.023385774, 0.051519156, 0.11095403, -0.064071044, -0.06364762, -0.1941555, -0.01814799, 0.1607568, 0.20177782, -0.10239079, -0.0037873993, 0.19179249, 0.010512392, -0.2618042, 0.1551496, 0.004129357) * go_8(0.0, -1.0);
|
|
result += mat4(0.029080873, 0.15882342, 0.14680782, -0.115972534, -0.020144446, -0.18171366, 0.023180518, 0.12387274, 0.15716453, 0.1004543, -0.08157793, -0.022577325, -0.16624399, -0.01949063, -0.156747, -0.1183951) * go_8(0.0, 0.0);
|
|
result += mat4(0.029425338, 0.10182775, 0.029069873, 0.1457661, -0.09023257, -0.04825933, 0.15506612, -0.05441011, -0.06894328, 0.026150472, -0.0692689, 0.12830935, -0.22601965, -0.13350666, 0.14609747, -0.22600585) * go_8(0.0, 1.0);
|
|
result += mat4(-0.1822958, -0.1374016, -0.024359208, 0.04622839, -0.058350354, -0.015429165, 0.026171437, 0.027515156, -0.02666974, 0.0408178, -0.044889677, -0.06293887, -0.08987106, -0.1803648, 0.0025046086, -0.18609668) * go_8(1.0, -1.0);
|
|
result += mat4(0.07113637, -0.052501757, -0.005966466, 0.021243786, -0.040465984, 0.024959967, -0.046451308, 0.050900366, -0.083510816, -0.16574752, 0.06293483, -0.044002667, 0.024361992, 0.01216542, 0.024794284, -0.011461988) * go_8(1.0, 0.0);
|
|
result += mat4(-0.09203169, -0.0773609, 0.022937218, 0.008477238, -0.011718419, 0.06316311, 0.11751391, -0.00072982407, -0.06734584, -0.13928872, -0.087741435, 0.046288103, 0.11467566, 0.0955026, 0.05442099, 0.03606524) * go_8(1.0, 1.0);
|
|
result += mat4(0.066713035, -0.056815878, 0.0051200944, -0.022335608, -0.08874631, -0.026212879, -0.051457, -0.15262195, -0.05677955, 0.019131938, 0.1172796, -0.11290694, -0.087470956, 0.02609456, -0.11995271, -0.017296867) * go_9(-1.0, -1.0);
|
|
result += mat4(-0.057716526, -0.033147354, -0.11464092, 0.033304136, -0.058800284, 0.098373234, -0.2343978, 0.040536474, 0.074285746, -0.15139699, 0.015304646, 0.054167286, 0.10495344, 0.08671543, 0.013625649, -0.03144798) * go_9(-1.0, 0.0);
|
|
result += mat4(-0.055753563, 0.057411764, -0.05698671, 0.03903764, -0.0011426503, 0.08076997, -0.022009375, 0.12755805, -0.013749879, -0.04526649, 0.22823834, -0.21281727, -0.078900084, 0.037843198, 0.12148038, 0.06278242) * go_9(-1.0, 1.0);
|
|
result += mat4(0.0648249, -0.029065508, -0.0733263, 0.08143834, -0.0642625, -0.019431729, -0.0019107187, -0.06899837, -0.036123455, 0.00792085, -0.011136172, 0.0058131563, 0.031796213, -0.06951667, 0.020033136, -0.017202968) * go_9(0.0, -1.0);
|
|
result += mat4(0.12123958, 0.082002886, 0.04433242, 0.028000468, 0.1115246, 0.16115043, -0.08767815, 0.07984247, -0.1753498, -0.21725565, 0.05224423, 0.019737821, -0.012286999, -0.08404926, -0.18290538, -0.13047068) * go_9(0.0, 0.0);
|
|
result += mat4(-0.04384017, 0.07876759, 0.1204954, 0.073350765, 0.11264102, -0.31410536, -0.028699053, -0.21884131, -0.06513864, -0.06959321, 0.43219337, -0.056171507, -0.0838037, 0.09533199, -0.010290981, -0.1426525) * go_9(0.0, 1.0);
|
|
result += mat4(0.02638746, 0.008636295, 0.0150156785, 0.08042486, 0.083437935, -0.24499232, 0.16740417, 0.01219645, 0.08793918, -0.12893206, 0.13098167, 0.027247185, -0.0036501656, 0.07329918, 0.0073491456, -0.033073287) * go_9(1.0, -1.0);
|
|
result += mat4(0.09405967, 0.026855662, -0.13746545, -0.061156027, -0.038379412, -0.0137223415, -0.15750524, 0.17561466, 0.100840956, 0.0526472, -0.14593539, 0.099029206, -0.039230358, -0.08693771, 0.007550366, 0.057815127) * go_9(1.0, 0.0);
|
|
result += mat4(0.0008552412, 0.011796726, 0.04206752, -0.07443022, -0.05121393, -0.015579494, 0.0936274, 0.07172191, 0.13676073, -0.055043112, 0.061686534, -0.18834415, 0.0056741014, -0.07822123, 0.12692335, -0.028575832) * go_9(1.0, 1.0);
|
|
result += mat4(-0.05620452, 0.18353955, -0.12347911, 0.1558272, -0.0323301, 0.0044377907, 0.097321495, -0.123012446, 0.18182632, -0.07185004, -0.12557943, 0.12776685, 0.063844234, 0.009731627, 0.116832525, 0.11924382) * go_10(-1.0, -1.0);
|
|
result += mat4(0.060059544, 0.18936205, 0.005780116, 0.21269107, -0.01993401, -0.1257078, 0.044587992, 0.0008904994, 0.19075485, 0.11275744, -0.20653817, 0.024912447, -0.004930327, 0.02786522, -0.26489633, -0.03896719) * go_10(-1.0, 0.0);
|
|
result += mat4(-0.15483911, 0.11604669, -0.016097784, 0.14344187, 0.050392877, -0.061352212, 0.03421763, 0.057112053, 0.040450297, -0.06485967, 0.111791894, -0.10726333, -0.047403432, 0.07291982, -0.085813165, 0.011386364) * go_10(-1.0, 1.0);
|
|
result += mat4(-0.120280884, -0.14197855, 0.13524817, -0.1927468, 0.02986725, 0.09090211, -0.020236133, -0.16360934, 0.043086752, -0.12888601, -0.055306554, -0.039812587, -0.093283705, -0.23473693, 0.03516732, -0.058886416) * go_10(0.0, -1.0);
|
|
result += mat4(0.22835518, -0.1693695, 0.10143327, -0.09706419, 0.14542878, 0.101218365, 0.030917853, 0.2589894, -0.049807068, -0.25961533, -0.019762227, 0.15363556, -0.10908177, 0.08649178, 0.07406465, 0.054726418) * go_10(0.0, 0.0);
|
|
result += mat4(-0.17548855, 0.10596023, 0.13520734, 0.21358284, 0.014748046, 0.13572593, -0.094107375, -0.074447066, 0.015977554, 0.16161968, 0.18651322, 0.27234894, 0.023692988, -0.00052937213, 0.15524314, -0.08561304) * go_10(0.0, 1.0);
|
|
result += mat4(-0.0069411434, -0.16977951, -0.0025205691, 0.096223235, 0.01954326, -0.098077014, 0.060268197, 0.03468932, 0.013128788, -0.08288448, -0.07245345, -0.08579109, 0.063582815, 0.044692673, -0.043460656, 0.027466977) * go_10(1.0, -1.0);
|
|
result += mat4(0.18266056, 0.10570967, 0.1065224, -0.06571987, 0.0588245, -0.020463474, 0.018139174, -0.023622356, 0.13198042, 0.10686564, 0.13415007, 0.016261699, 0.024000479, -0.19857375, 0.032733236, -0.089835346) * go_10(1.0, 0.0);
|
|
result += mat4(0.019865446, 0.07939105, 0.15199763, 0.113943405, -0.007186911, 0.021517705, 0.094783835, -0.023958188, -0.13181072, -0.02059204, 0.097103454, -0.08745583, 0.04598183, 0.0125174, -0.094161086, -0.049809787) * go_10(1.0, 1.0);
|
|
result += mat4(0.046524428, 0.09606215, -0.04960027, -0.045853227, 0.043391764, 0.0016825196, 0.072846, -0.029426513, 0.06837817, 0.13657811, 0.12026235, 0.070922196, 0.19066632, 0.02301806, 0.1939276, -0.043247785) * go_11(-1.0, -1.0);
|
|
result += mat4(0.050196134, 0.11171356, -0.10474605, 0.011690834, -0.024688404, -0.10231831, -0.05199224, -0.089429624, -0.019335374, -0.0873271, -0.0105612185, 0.008547704, 0.014377572, -0.1257108, 0.16229153, -0.06752219) * go_11(-1.0, 0.0);
|
|
result += mat4(0.042335458, -0.061531194, 0.072609514, -0.006675558, 0.100401826, -0.032614395, -0.060348473, -0.0010197527, 0.036294524, 0.06301108, 0.1402905, 0.041858584, -0.049982782, -0.10324423, -0.18818372, -0.07914816) * go_11(-1.0, 1.0);
|
|
result += mat4(-0.01339124, -0.064637, 0.035361387, 0.0003324328, -0.021101808, 0.054733098, 0.20074409, -0.1310269, -0.18548606, 0.1400309, 0.058043867, -0.18299271, -0.045036677, -0.06547029, -0.08705725, 0.01699538) * go_11(0.0, -1.0);
|
|
result += mat4(0.006868026, 0.24515495, 0.028768666, -0.03339759, 0.08764873, -0.23418264, 0.08228583, 0.20179187, -0.031938568, -0.001807705, -0.04719375, 0.19206795, -0.034323156, 0.068426535, -0.12825035, -0.073537245) * go_11(0.0, 0.0);
|
|
result += mat4(-0.09739696, 0.07366681, 0.016242491, 0.011574537, 0.028878966, 0.013488491, 0.24392383, -0.015881758, -0.021183312, 0.015750054, -0.09222381, 0.018132376, 0.052933175, 0.08646255, -0.10245898, 0.09809934) * go_11(0.0, 1.0);
|
|
result += mat4(0.029205635, 0.17448728, 0.02220749, -0.05995982, 0.017231317, -0.0021115101, -0.19925344, -0.03924282, -0.13346197, -0.06553784, 0.020060113, 0.09325606, -0.068962246, 0.024640976, -0.054738607, 0.034826275) * go_11(1.0, -1.0);
|
|
result += mat4(-0.16056268, 0.04765503, 0.0023608136, 0.020386778, -0.21249089, 0.0918553, 0.13921294, 0.10349125, -0.122601956, 0.07615465, -0.05087544, -0.08154602, -0.09930794, 0.038940545, -0.04482969, 0.030320697) * go_11(1.0, 0.0);
|
|
result += mat4(-0.021777244, -0.026121575, -0.098968945, 0.11856233, -0.06619722, -0.04391681, -0.104664125, 0.054231886, -0.048003394, 0.016370691, 0.07524773, 0.11176989, -0.010953224, -0.023690404, -0.089470014, 0.0042499765) * go_11(1.0, 1.0);
|
|
result += vec4(-0.011046071, 0.028069533, -0.02290214, 0.012731334);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x64
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_tf
|
|
//!BIND conv2d_tf1
|
|
//!BIND conv2d_tf2
|
|
//!BIND conv2d_tf3
|
|
//!BIND conv2d_tf4
|
|
//!BIND conv2d_tf5
|
|
//!BIND conv2d_2_tf
|
|
//!BIND conv2d_1_tf
|
|
//!SAVE conv2d_3_tf
|
|
//!WIDTH conv2d_tf.w
|
|
//!HEIGHT conv2d_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_tf_tex(conv2d_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_tf1_tex(conv2d_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_tf2_tex(conv2d_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_tf3_tex(conv2d_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_tf4_tex(conv2d_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_tf5_tex(conv2d_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_tf_tex(conv2d_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_tf1_tex(conv2d_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_tf2_tex(conv2d_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_tf3_tex(conv2d_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_tf4_tex(conv2d_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_tf5_tex(conv2d_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.11662476, 0.30973792, 0.21844758, 0.19193952, 0.10547289, -0.28103492, 0.153185, 0.22902022, 0.14545941, -0.36453786, 0.27674347, 0.082761206, 0.018604625, -0.15195464, -0.014881725, -0.3170343) * g_0;
|
|
result += mat4(-0.09369265, 0.0030548668, 0.123169556, 0.29990658, 0.0059669684, -0.30507565, 0.22437601, 0.26314184, 0.055285115, 0.08910655, -0.07781467, 0.34908244, 0.12883523, -0.1218909, 0.46330363, -0.00058599625) * g_1;
|
|
result += mat4(-0.13166216, -0.11733475, 0.3777369, -0.11452789, -0.012198889, 0.019259788, 0.19055355, 0.14045803, 0.2352836, 0.18440361, -0.119568326, 0.15006012, 0.12928642, 0.2181605, -0.1755796, -0.1481423) * g_2;
|
|
result += mat4(0.20824851, 0.1454897, 0.016380647, 0.08601717, -0.0287675, -0.17842998, 0.24576826, 0.024758099, -0.06907304, -0.33883977, -0.18469703, -0.11530369, -0.13971063, 0.09056448, 0.10467011, 0.087848045) * g_3;
|
|
result += mat4(0.47120807, -0.15463045, 0.03930625, 0.18975684, 0.17118797, 0.077672035, 0.029735595, -0.0064234287, 0.35503763, 0.23442392, 0.09259758, 0.06642276, 0.16423592, 0.16245009, 0.043012362, -0.16605885) * g_4;
|
|
result += mat4(0.14847134, -0.41317105, 0.21329704, -0.115592465, -0.04099491, 0.22865698, -0.011546307, 0.124923006, 0.02029704, 0.014588208, -0.0032878371, 0.09777601, 0.27264157, 0.26693115, -0.083503485, -0.11275104) * g_5;
|
|
result += mat4(0.0073214495, -0.30733636, -0.28372166, -0.23081271, -0.24020568, 0.17335413, -0.08835816, -0.1407258, 0.043210473, 0.29907116, -0.15998003, -0.10616064, -0.19272846, 0.07347569, 0.065403186, 0.21924807) * g_6;
|
|
result += mat4(0.1390639, 0.07071387, -0.10704547, -0.22267987, 0.14110383, 0.31690794, -0.14299001, -0.2633626, -0.37578335, -0.11325702, -0.012588563, 0.05235386, -0.05790653, 0.29747054, -0.11362069, -0.034965772) * g_7;
|
|
result += mat4(0.334025, 0.06966542, -0.30425888, -0.049219113, 0.05522049, -0.064109504, -0.19639532, -0.06540687, -0.3323081, -0.11462512, 0.12793858, -0.044268914, -0.13001205, -0.4268851, 0.09755515, 0.22260398) * g_8;
|
|
result += mat4(-0.070916615, -0.032426283, -0.031039508, 0.113172114, -0.083208784, 0.09998266, -0.057585325, -0.017305639, 0.07392591, 0.11129369, -0.12461519, -0.13633083, 0.11811745, -0.049483757, -0.16540588, -0.19690844) * g_9;
|
|
result += mat4(-0.0761509, 0.06887501, -0.17220098, -0.2689129, -0.15664133, 0.014503109, 0.013423933, 0.07106888, 0.08206795, -0.26531503, -0.19532347, -0.09172804, -0.0701496, 0.029842263, -0.15747191, 0.03876475) * g_10;
|
|
result += mat4(0.05873964, 0.21549611, -0.15765984, 0.11783242, 0.09904579, -0.1505368, 0.009470319, 0.11437343, 0.07330138, -0.12074719, 0.046029083, 0.07719378, -0.14860357, 0.012415384, -0.15716434, 0.096243195) * g_11;
|
|
result += mat4(0.38489017, 0.10751408, 0.28326878, 0.10983613, -0.08363852, 0.060594987, -0.1407845, -0.2330205, -0.0033884577, -0.025575818, -0.21328409, -0.013343768, 0.37102774, -0.018506272, 0.15474491, 0.20658477) * g_12;
|
|
result += mat4(-0.21097998, 0.11116577, 0.0066421195, -0.053172227, 0.041547738, -0.115422554, 0.18638755, 0.15930174, -0.11901881, -0.14221598, 0.113654196, -0.035343777, 0.0037377405, 0.0054536746, -0.16508429, -0.112160645) * g_13;
|
|
result += mat4(-0.168217, 0.33982185, -0.14226285, -0.061567828, 0.38622376, 0.16323963, 0.009866034, 0.24718387, 0.15684012, 0.16934262, -0.07659216, -0.27921352, 0.31008887, -0.117847964, 0.033022024, -0.0028089648) * g_14;
|
|
result += mat4(0.13425586, -0.1403824, -0.14900951, 0.044306386, -0.39742225, -0.086779915, 0.023442117, -0.015157307, -0.33325103, 0.07626949, -0.14105129, 0.3872729, -0.09532729, 0.21603268, 0.08987563, -0.048167326) * g_15;
|
|
result += vec4(-0.045520097, -0.028044129, 0.01954312, -0.04157413);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x64
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_tf
|
|
//!BIND conv2d_tf1
|
|
//!BIND conv2d_tf2
|
|
//!BIND conv2d_tf3
|
|
//!BIND conv2d_tf4
|
|
//!BIND conv2d_tf5
|
|
//!BIND conv2d_2_tf
|
|
//!BIND conv2d_1_tf
|
|
//!SAVE conv2d_3_tf1
|
|
//!WIDTH conv2d_tf.w
|
|
//!HEIGHT conv2d_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_tf_tex(conv2d_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_tf1_tex(conv2d_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_tf2_tex(conv2d_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_tf3_tex(conv2d_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_tf4_tex(conv2d_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_tf5_tex(conv2d_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_tf_tex(conv2d_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_tf1_tex(conv2d_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_tf2_tex(conv2d_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_tf3_tex(conv2d_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_tf4_tex(conv2d_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_tf5_tex(conv2d_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.045708127, 0.042588994, 0.20735477, -0.051771507, 0.09030856, -0.018859424, 0.070019834, -0.12951517, -0.09864889, 0.0039071254, -0.2471996, -0.4045421, -0.13531524, 0.3199352, 0.18798132, -0.05220945) * g_0;
|
|
result += mat4(-0.01900776, 0.14814821, -0.011676551, 0.05281246, -0.31253627, 0.07759687, 0.14841238, 0.15767692, 0.022344964, 0.03369595, 0.11200526, 0.24555564, 0.32339647, -0.08221667, 0.369651, 0.07480396) * g_1;
|
|
result += mat4(0.15557157, -0.2438033, 0.2904723, 0.37869072, 0.031437404, -0.32791093, -0.30852196, 0.032672517, -0.29223853, 0.14301808, -0.13372968, -0.17571832, -0.24015012, -0.062435087, -0.5865883, 0.025141397) * g_2;
|
|
result += mat4(0.018575411, -0.05546697, 0.0722868, -0.27057, -0.010986958, -0.1824116, 0.066343606, 0.1160373, 0.019109331, 0.1384729, -0.27752632, -0.09579411, 0.05585664, -0.16496943, -0.22690243, -0.035963364) * g_3;
|
|
result += mat4(-0.24451451, 0.008807087, -0.050169405, -0.02992327, -0.029381998, 0.10529693, 0.3212115, 0.047833674, 0.19737382, -0.064389326, 0.07481576, 0.04658625, 0.16120902, 0.38747096, -0.017129492, 0.036965623) * g_4;
|
|
result += mat4(0.024272425, 0.33644682, 0.57385606, 0.06969318, -0.18557239, 0.03263415, -0.098865986, -0.010410991, -0.27383336, 0.12643056, 0.13473713, -0.0072413897, 0.19951838, -0.26192865, -0.32222465, -0.03310627) * g_5;
|
|
result += mat4(0.19670399, 0.21887897, -0.14813757, 0.13861343, -0.21291518, 0.11673954, -0.09706275, 0.1927499, 0.26426026, 0.15662387, -0.0998039, 0.20456441, 0.082849964, -0.3486019, 0.042286832, 0.111299105) * g_6;
|
|
result += mat4(-0.17601213, 0.10744524, -0.13022378, -0.08145177, 0.17951357, -0.031804252, -0.11589841, -0.2375892, -0.17614031, -0.03204455, -0.3600058, -0.03791698, -0.18281102, -0.029681103, -0.5616249, -0.19369541) * g_7;
|
|
result += mat4(-0.15129189, 0.062397495, -0.26206407, -0.35008666, 0.05224934, 0.32542625, 0.1367121, -0.06498142, 0.03794349, 0.10062078, 0.24966402, 0.16598183, 0.14065337, 0.021026433, 0.4124626, -0.04739923) * g_8;
|
|
result += mat4(-0.42675805, -0.08062075, 0.24400486, 0.24982014, 0.013383713, -0.030127892, 0.21306989, -0.420491, 0.27569297, 0.1844745, 0.18380351, -0.007122975, 0.02176471, 0.11719434, 0.20086622, 0.09863608) * g_9;
|
|
result += mat4(0.15059754, -0.060954567, -0.048324715, 0.06281138, -0.035452355, -0.105307326, -0.2821464, -0.17947711, -0.21891887, 0.31264433, 0.08331072, -0.23028368, -0.07125341, -0.25531566, -0.034880344, -0.10972097) * g_10;
|
|
result += mat4(-0.26111153, -0.21509336, -0.40953597, -0.22704326, -0.06265872, -0.0076560513, 0.3454225, 0.036587927, -0.25836223, -0.017044103, -0.39408937, -0.04515616, -0.013889385, 0.21049121, -0.05811886, 0.11039355) * g_11;
|
|
result += mat4(-0.5012236, -0.3288161, 0.76283616, -0.22785094, 0.15983264, 0.17595172, -0.19039781, -0.017620942, 0.088379174, -0.2810294, 0.14195396, -0.10567756, -0.26113996, -0.59151506, 0.064743236, 0.089407794) * g_12;
|
|
result += mat4(0.09782677, 0.15405431, -0.38398, 0.025821349, -0.11564193, -0.2344232, 0.048547853, -0.0013135487, -0.021783575, -0.14494252, 0.10181801, 0.15313332, 0.22384043, 0.08691754, -0.18728645, 0.058859203) * g_13;
|
|
result += mat4(0.30570078, 0.34977347, -0.2548985, 0.2440776, -0.12693292, 0.42302638, -0.2579403, -0.12731943, 0.02704416, -0.028827233, -0.103797026, 0.16991018, 0.18460067, -0.1430559, -0.40419313, -0.046166003) * g_14;
|
|
result += mat4(-0.24799332, -0.4023106, 0.20775889, -0.1347491, 0.22718747, -0.5363376, -0.0045881635, -0.08498401, 0.12643133, -0.18700986, -0.031182116, 0.10537964, -0.12853408, 0.1540884, 0.14051637, 0.14159201) * g_15;
|
|
result += vec4(-0.0549599, -0.005265513, 0.033013426, -0.018428912);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x64
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_tf
|
|
//!BIND conv2d_tf1
|
|
//!BIND conv2d_tf2
|
|
//!BIND conv2d_tf3
|
|
//!BIND conv2d_tf4
|
|
//!BIND conv2d_tf5
|
|
//!BIND conv2d_2_tf
|
|
//!BIND conv2d_1_tf
|
|
//!SAVE conv2d_3_tf2
|
|
//!WIDTH conv2d_tf.w
|
|
//!HEIGHT conv2d_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_tf_tex(conv2d_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_tf1_tex(conv2d_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_tf2_tex(conv2d_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_tf3_tex(conv2d_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_tf4_tex(conv2d_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_tf5_tex(conv2d_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_tf_tex(conv2d_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_tf1_tex(conv2d_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_tf2_tex(conv2d_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_tf3_tex(conv2d_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_tf4_tex(conv2d_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_tf5_tex(conv2d_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.17167501, -0.20074758, -0.091966644, 0.17859644, 0.118206196, 0.34780696, -0.13851282, -0.15981564, -0.076300435, 0.15581897, 0.14410381, -0.15348436, -0.15534315, -0.2340937, -0.11868538, 0.0851946) * g_0;
|
|
result += mat4(0.054577276, -0.2794922, -0.11732257, 0.120796256, -0.1978545, -0.051208086, -0.07047726, 0.15230909, -0.26737535, -0.0122873, 0.026735889, -0.13376889, -0.15112357, 0.07320343, 0.31711194, -0.2877825) * g_1;
|
|
result += mat4(-0.20589454, -0.13458282, -0.014493836, -0.007392441, -0.083313756, 0.0069659096, -0.0074436525, -0.02603582, 0.02844895, -0.03466271, -0.15414406, 0.0131968865, -0.023258701, -0.0410315, 0.16994998, 0.11258594) * g_2;
|
|
result += mat4(0.26200938, 0.086695306, -0.115744606, 0.06443161, -0.2161834, -0.08266891, 0.1765909, -0.20307815, 0.025309294, 0.33511654, -0.0001637002, -0.059903737, 0.101451375, -0.013754625, -0.11448642, -0.09510312) * g_3;
|
|
result += mat4(-0.18455864, 0.036392804, 0.15850407, 0.4627119, 0.022083975, 0.15103343, 0.19111873, -0.06110459, 0.29009378, -0.089215584, 0.0095581515, -0.08869528, 0.15069005, -0.17065643, 0.26667884, -0.14760415) * g_4;
|
|
result += mat4(0.047154248, -0.004531016, -0.15437222, -0.31048393, 0.09027498, 0.08990544, 0.2252978, 0.36424273, 0.15726654, -0.56078666, -0.08649826, -0.22744723, 0.16684572, 0.12967846, 0.12568599, -0.104463704) * g_5;
|
|
result += mat4(0.3277519, 0.05652085, 0.22621375, 0.28361705, -0.19233695, -0.14974803, 0.18974204, 0.2078392, 0.07101538, 0.14084798, 0.11973675, 0.20132545, 0.07275875, 0.093166135, 0.07810121, 0.14855048) * g_6;
|
|
result += mat4(-0.066067055, 0.07116497, 0.16419168, -0.042009585, 0.048940875, -0.14183162, 0.106968045, -0.18822758, 0.16543157, -0.06218013, -0.15914337, 0.13385944, 0.12195849, -0.17245843, -0.11288994, 0.06605676) * g_7;
|
|
result += mat4(0.033830874, 0.27364245, -0.13338806, -0.12021034, 0.0624405, -0.10521141, 0.028734906, -0.06998827, 0.088741004, 0.16279134, 0.26099658, -0.046972543, -0.23423652, 0.15810764, 0.0008583185, -0.29681998) * g_8;
|
|
result += mat4(0.10305078, -0.17637174, -0.07091048, -0.00831249, 0.40148687, 0.20420474, 0.05468663, 0.20745115, -0.12189844, -0.16298126, -0.41976577, 0.018498925, -0.19579916, 0.097037986, 0.110560134, 0.024746) * g_9;
|
|
result += mat4(-0.31636187, -0.06314442, -0.1491463, -0.36367223, 0.13375707, -0.46219668, -0.08560705, 0.00979978, -0.33054784, -0.048843995, -0.5661279, 0.2450401, 0.049516775, 0.05733291, 0.008123728, 0.13401002) * g_10;
|
|
result += mat4(-0.09406586, -0.1038661, 0.18738243, 0.4952333, 0.124727175, -0.1438255, -0.12731665, -0.19241591, -0.29327804, 0.1374427, -0.15773357, -0.21447569, 0.0020323892, -0.032879442, 0.019189913, 0.022784567) * g_11;
|
|
result += mat4(0.27434522, 0.12163328, 0.2289956, -0.12183031, -0.000272515, -0.023530856, 0.099465564, 0.121231996, 0.3175001, 0.124576926, -0.090265624, -0.1386641, -0.20303635, 0.23467141, 0.0842663, 0.42639464) * g_12;
|
|
result += mat4(0.111336865, -0.10426442, -0.22704108, -0.08042834, -0.13705374, -0.06750703, 0.005238288, -0.020887226, 0.04180084, -0.10919923, -0.2624013, 0.017800566, -0.03857038, 0.21999447, 0.028879922, -0.12443005) * g_13;
|
|
result += mat4(-0.021032276, 0.25167516, 0.18236992, 0.021120392, -0.14439242, -0.3752765, -0.4087792, 0.12474052, -0.07753308, 0.24097584, 0.01818881, 0.25023264, 0.3096247, -0.21351217, -0.31819695, 0.01839186) * g_14;
|
|
result += mat4(-0.04455319, -0.33904293, -0.1072782, -0.07438099, 0.21500371, 0.2610481, 0.11105567, -0.07383555, -0.18360671, -0.02730343, -0.19995123, -0.3209995, 0.008217429, -0.1731404, 0.00079199206, 0.058588315) * g_15;
|
|
result += vec4(-0.05414109, -0.03095426, 0.058985617, 0.012448636);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x64
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_tf
|
|
//!BIND conv2d_tf1
|
|
//!BIND conv2d_tf2
|
|
//!BIND conv2d_tf3
|
|
//!BIND conv2d_tf4
|
|
//!BIND conv2d_tf5
|
|
//!BIND conv2d_2_tf
|
|
//!BIND conv2d_1_tf
|
|
//!SAVE conv2d_3_tf3
|
|
//!WIDTH conv2d_tf.w
|
|
//!HEIGHT conv2d_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_tf_tex(conv2d_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_tf1_tex(conv2d_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_tf2_tex(conv2d_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_tf3_tex(conv2d_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_tf4_tex(conv2d_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_tf5_tex(conv2d_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_tf_tex(conv2d_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_tf1_tex(conv2d_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_tf2_tex(conv2d_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_tf3_tex(conv2d_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_tf4_tex(conv2d_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_tf5_tex(conv2d_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.15813187, 0.15032968, -0.358124, 0.054663192, -0.25664124, -0.047136743, 0.024661854, 0.29019728, -0.1586862, -0.12748682, 0.40721273, 0.02187444, 0.011839724, -0.41867453, -0.2442098, -0.24595131) * g_0;
|
|
result += mat4(-0.15485683, 0.31738782, -0.3137046, 0.082112595, 0.0737305, 0.11812223, 0.19734107, -0.18905711, 0.088300474, -0.16933976, 0.15907732, -0.11422951, -0.056749936, -0.373262, -0.06974283, -0.2820898) * g_1;
|
|
result += mat4(-0.26680642, 0.19024834, 0.002037017, -0.064218, -0.15495898, 0.2750016, 0.23787461, -0.17998067, -0.012667507, 0.27450457, 0.24563935, 0.21562263, -0.0075859334, -0.08958551, -0.093937464, -0.078713246) * g_2;
|
|
result += mat4(-0.17318735, -0.008759622, 0.15150657, 0.2992114, 0.022198962, -0.07318335, -0.14881803, 0.13562077, -0.0022031132, -0.19316684, 0.2535826, -0.05084298, -0.32218117, 0.1267631, -0.042296994, 0.036732808) * g_3;
|
|
result += mat4(0.25161934, -0.09492602, 0.13423127, 0.032517985, -0.06686973, -0.061583497, -0.1828305, 0.122823365, -0.21438296, -0.30841893, 0.1731841, -0.29667705, -0.29025105, 0.13186353, -0.043046407, -0.34681532) * g_4;
|
|
result += mat4(-0.14662783, -0.11100817, 0.073842436, -0.14357355, 0.24532394, 0.061293274, 0.037153088, -0.08022293, 0.11296792, 0.25762567, 0.1803339, 0.24524696, -0.06480696, 0.06504735, 0.04941994, -0.20177524) * g_5;
|
|
result += mat4(-0.06278919, -0.25327423, 0.08713618, -0.11191733, 0.33828825, 0.058243927, 0.05450901, -0.37079945, 0.08136556, 0.24741262, -0.27361023, -0.068275, 0.050629843, 0.21304448, 0.2734626, -0.16750076) * g_6;
|
|
result += mat4(0.11121274, -0.115385205, 0.22477418, -0.06725809, -0.15530252, -0.031487826, -0.17961866, 0.025540952, 0.08094816, 0.22538602, -0.1449456, 0.033616643, 0.11810663, 0.1127742, 0.17407128, 0.059245285) * g_7;
|
|
result += mat4(0.43453342, -0.12170353, 0.09817627, 0.14755897, 0.17435667, -0.22251855, -0.32671428, 0.107192695, 0.26639727, -0.2892611, -0.1413853, -0.082134426, 0.016464738, 0.08648902, 0.06256596, -0.023842275) * g_8;
|
|
result += mat4(0.3739318, 0.118386924, -0.10602344, 0.051698774, 0.116221406, -0.34542432, -0.13280031, -0.53044075, -0.19284041, 0.14490364, -0.2050812, 0.12533414, 0.22506653, -0.07526672, 0.035203286, 0.026242174) * g_9;
|
|
result += mat4(-0.5327144, 0.1649795, -0.11507187, -0.234499, 0.061057597, 0.06764596, 0.20559542, -0.07742593, 0.2165637, -0.1549744, 0.026953368, 0.3037089, 0.110090226, -0.1258564, 0.13759027, 0.16844687) * g_10;
|
|
result += mat4(0.24411613, -0.004854083, -0.009286953, -0.00086425553, -0.22064768, 0.0014907656, -0.08684952, 0.029716417, -0.241052, -0.13597979, -0.10451872, -0.26793602, -0.08911106, 0.024757262, 0.17348441, 0.29419208) * g_11;
|
|
result += mat4(-0.07577307, 0.030659143, 0.97284687, -0.09018963, 0.059575, 0.09799077, 0.065673314, 0.22537662, -0.0015259798, 0.24301144, -0.09336371, -0.14226802, -0.33286256, 0.027389184, -0.5026264, -0.15279126) * g_12;
|
|
result += mat4(0.14727022, -0.10878168, -0.1100343, 0.12144918, -0.03657926, -0.029442519, -0.0017414992, -0.2532462, 0.18112376, -0.058077507, 0.35388008, 0.32712713, 0.17805058, 0.13992003, 0.17930086, 0.39848652) * g_13;
|
|
result += mat4(-0.25576255, 0.18205768, 0.08984218, 0.10292959, -0.15820667, -0.090718776, 0.1579229, 0.43783715, 0.078025974, 0.21724561, -0.25238967, -0.23599494, -0.08510723, 0.17738545, 0.13962658, 0.16159406) * g_14;
|
|
result += mat4(-0.11219203, 0.075433955, -0.11129301, -0.09385265, 0.22908452, 0.051752828, -0.0993372, -0.2636262, 0.04221882, -0.37118244, -0.1460174, 0.11764387, 0.22468969, -0.197521, -0.13387764, 0.30982286) * g_15;
|
|
result += vec4(0.0379655, 0.052258957, -0.017226165, -0.0132343555);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x64
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_tf
|
|
//!BIND conv2d_tf1
|
|
//!BIND conv2d_tf2
|
|
//!BIND conv2d_tf3
|
|
//!BIND conv2d_tf4
|
|
//!BIND conv2d_tf5
|
|
//!BIND conv2d_2_tf
|
|
//!BIND conv2d_1_tf
|
|
//!SAVE conv2d_3_tf4
|
|
//!WIDTH conv2d_tf.w
|
|
//!HEIGHT conv2d_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_tf_tex(conv2d_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_tf1_tex(conv2d_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_tf2_tex(conv2d_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_tf3_tex(conv2d_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_tf4_tex(conv2d_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_tf5_tex(conv2d_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_tf_tex(conv2d_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_tf1_tex(conv2d_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_tf2_tex(conv2d_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_tf3_tex(conv2d_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_tf4_tex(conv2d_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_tf5_tex(conv2d_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.113150194, -0.012228015, -0.10810589, 0.18282048, -0.14255662, 0.37686804, -0.34455574, -0.17653705, -0.10299696, 0.17156567, 0.06475307, 0.21704634, 0.05987743, -0.20447443, -0.22365163, 0.26045614) * g_0;
|
|
result += mat4(0.25273082, 0.28410602, 0.13341063, 0.15524255, -0.038504723, -0.2987473, 0.5113095, -0.041018266, 0.15720472, -0.07154719, -0.104476094, -0.36850104, -0.09235334, -0.02460906, 0.1918179, 0.108431995) * g_1;
|
|
result += mat4(-0.16259582, -0.14792964, 0.01875614, 0.19722176, 0.30285388, 0.17894153, 0.02760128, -0.1352214, 0.28634933, -0.0074598296, -0.09348916, 0.12859564, -0.08578008, -0.30871972, -0.19463369, 0.029592479) * g_2;
|
|
result += mat4(0.41718173, -0.08798418, -0.12914781, -0.016728701, -0.004022609, -0.36890173, 0.009880859, -0.1725598, -0.1853788, 0.06624611, 0.010526983, 0.11285315, 0.22359152, 0.04253032, -0.28357792, -0.106521696) * g_3;
|
|
result += mat4(0.23125984, 0.063943766, -0.1724623, -0.17019297, 0.08842359, 0.18506196, 0.20219392, -0.07514321, -0.152088, 0.40809697, 0.22866395, 0.29942676, -0.10514515, 0.14835912, 0.255409, 0.005298396) * g_4;
|
|
result += mat4(0.118000366, 0.040876955, -0.15260358, -0.34197953, 0.16392517, 0.037801206, 0.26511702, -0.16595386, -0.3013676, 0.032535754, 0.2059592, 0.20713131, -0.074489266, -0.0827021, -0.0930588, 0.12812042) * g_5;
|
|
result += mat4(0.12129869, -0.19799119, -0.42776105, -0.15996172, 0.19189952, -0.48698276, 0.14109898, 0.033108126, -0.06918676, -0.28060475, 0.067065634, -0.117751226, 0.07274701, 0.016352981, 0.11877358, -0.30382705) * g_6;
|
|
result += mat4(-0.037769582, -0.0039873547, -0.27957156, -0.027259788, -0.005021477, 0.20690842, -0.43643278, 0.12125521, 0.095314205, 0.13150905, -0.1545535, 0.5004901, 0.078181274, 0.1480264, -0.037564073, -0.07784829) * g_7;
|
|
result += mat4(0.03755771, 0.22955105, -0.03231175, -0.16500925, -0.2564081, -0.13914458, -0.031046085, 0.10951839, -0.14864902, -0.068928115, 0.0909355, -0.14147623, -0.1901003, 0.35303396, 0.07698175, -0.09974956) * g_8;
|
|
result += mat4(-0.050013836, 0.21334587, 0.107435666, 0.22424911, -0.20007136, 0.5500792, -0.40816012, 0.25101343, 0.19421935, 0.035117567, 0.20783037, 0.17410451, -0.28405052, 0.06190316, 0.38027903, 0.051337413) * g_9;
|
|
result += mat4(-0.46978363, -0.11272793, 0.12973092, 0.021777695, -0.020381203, -0.1912334, -0.16367903, 0.32833096, 0.08339247, 0.008160841, 0.37062842, -0.014087529, 0.094892465, -0.012870317, -0.010378546, 0.015417017) * g_10;
|
|
result += mat4(-0.030511223, -0.08355093, 0.08717814, 0.32149768, 0.19554101, 0.2929336, -0.07563172, 0.2604295, 0.2978335, -0.20227137, 0.1991364, 0.04514103, 0.12003651, -0.12325602, 0.10554548, -0.012967588) * g_11;
|
|
result += mat4(0.20080462, -0.0441012, -0.12478753, 0.072197564, -0.11796578, 0.1803613, 0.16319636, 0.05116462, -0.025635032, 0.18309167, 0.016345788, 0.19902118, -0.27134508, -0.24213642, -0.12992004, 0.42813647) * g_12;
|
|
result += mat4(0.11977094, 0.010334066, 0.100837916, 0.1320789, 0.1863875, -0.31015033, -0.0759456, 0.033703748, 0.11986626, -0.28383213, 0.26054385, 0.09489738, -0.0829573, 0.05104106, -0.103039704, -0.3475618) * g_13;
|
|
result += mat4(-0.3418708, 0.095728405, -0.046365432, -0.15324275, -0.15171754, 0.12827595, 0.061078403, 0.12247848, -0.32564154, 0.27075362, -0.03819952, -0.41804206, -0.22586496, -0.06467655, 0.055885177, 0.104513146) * g_14;
|
|
result += mat4(0.025562786, -0.12636441, -0.12522306, -0.1816289, -0.21966882, 0.075359344, 0.095027685, -0.27646592, 0.12653323, -0.08085943, 0.09971742, 0.24018568, 0.053527232, -0.0054027676, 0.07405578, -0.14746837) * g_15;
|
|
result += vec4(0.0619906, -0.042231698, -0.01461747, 0.016205417);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x64
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_tf
|
|
//!BIND conv2d_tf1
|
|
//!BIND conv2d_tf2
|
|
//!BIND conv2d_tf3
|
|
//!BIND conv2d_tf4
|
|
//!BIND conv2d_tf5
|
|
//!BIND conv2d_2_tf
|
|
//!BIND conv2d_1_tf
|
|
//!SAVE conv2d_3_tf5
|
|
//!WIDTH conv2d_tf.w
|
|
//!HEIGHT conv2d_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_tf_tex(conv2d_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_tf1_tex(conv2d_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_tf2_tex(conv2d_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_tf3_tex(conv2d_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_tf4_tex(conv2d_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_tf5_tex(conv2d_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_tf_tex(conv2d_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_tf1_tex(conv2d_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_tf2_tex(conv2d_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_tf3_tex(conv2d_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_tf4_tex(conv2d_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_tf5_tex(conv2d_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.056609534, -0.072912574, -0.08224053, -0.27446464, 0.06299807, 0.17494963, 0.02013175, -0.3135523, -0.20414291, -0.002206245, -0.19089301, -0.035810925, -0.15909109, 0.23343667, 0.043236874, -0.05090461) * g_0;
|
|
result += mat4(0.071143255, 0.2344495, -0.08178796, 0.19529581, -0.15652603, -0.08692345, 0.15054622, -0.24628481, 0.13293579, 0.099183284, -0.14319651, -0.21706218, 0.18046993, -0.046167973, -0.2622163, 0.14739317) * g_1;
|
|
result += mat4(0.028098702, 0.16937847, -0.31955224, -0.13086726, 0.035734467, -0.12136727, -0.05286461, 0.13372248, -0.012013819, -0.013996318, 0.09585827, -0.0980455, -0.18155457, 0.058416523, 0.05363468, 0.2844176) * g_2;
|
|
result += mat4(-0.040509474, -0.040644035, -0.14309056, 0.109604076, -0.089917555, -0.05080418, -0.06218365, 0.08950535, -0.13581185, 0.30530998, 0.35584477, 0.25160718, 0.11817752, -0.15588048, -0.18560979, -0.021720303) * g_3;
|
|
result += mat4(0.19979374, -0.24442586, 0.06666042, -0.12413865, 0.0723267, -0.08070183, -0.050162878, 0.053533528, -0.23414859, 0.14660425, 0.0535612, 0.1824936, -0.06853291, 0.028537972, 0.08894496, -0.3005856) * g_4;
|
|
result += mat4(0.053230897, -0.14692295, -0.010351058, -0.03423785, -0.34997204, 0.17045908, -0.20471387, -0.05596227, 0.37312284, -0.166506, 0.027370568, -0.19885068, 0.22860329, -0.34381005, 0.13689034, 0.100899346) * g_5;
|
|
result += mat4(0.100836754, 0.172524, 0.14670734, 0.19648418, -0.22542813, -0.14784352, 0.16542062, 0.31592578, 0.09034929, 0.029557507, 0.016295122, 0.06270892, 0.119690046, -0.039440215, 0.1076754, 0.055114914) * g_6;
|
|
result += mat4(0.22560626, -0.19063824, 0.2289656, -0.12238879, 0.062091034, -0.17536564, -0.1097042, 0.18370546, 0.054991204, -0.16073585, 0.24551688, 0.29919684, -0.33145493, 0.06585065, 0.15001276, -0.12141834) * g_7;
|
|
result += mat4(0.0072760796, -0.33641306, 0.27806035, -0.0012592864, -0.031354345, 0.14530547, 0.026439384, -0.08998722, 0.16388611, 0.008192195, -0.031645425, 0.23180926, -0.106261194, -0.21588798, -0.01746241, -0.35864678) * g_8;
|
|
result += mat4(0.11795532, 0.24395278, 0.06954797, 0.05902286, 0.002836295, 0.13273323, 0.17765377, -0.09331522, 0.13427891, -0.12334423, -0.2206351, -0.11630769, -0.19114569, 0.1635797, 0.17295037, 0.012300116) * g_9;
|
|
result += mat4(-0.16389936, 0.104410745, -0.046638153, -0.08462526, -0.05850656, 0.07821304, 0.12509613, -0.08973294, 0.2538881, 0.013903494, -0.18470205, 0.01099874, -0.10122345, -0.2053046, -0.15341048, 0.19987997) * g_10;
|
|
result += mat4(-0.10358656, 0.29928508, 0.07767035, -0.065468244, 0.33847088, -0.010010049, -0.18632844, -0.022442589, -0.20640668, 0.12077326, 0.17598887, -0.036393534, 0.057061106, 0.32527304, -0.17863084, -0.08244848) * g_11;
|
|
result += mat4(-0.019896565, 0.18471427, -0.23525807, -0.090934336, -0.22715406, 0.025219338, 0.08826347, -0.11013379, 0.053721644, 0.020721693, -0.14894027, 0.017000167, -0.077067815, 0.005117918, -0.60429895, -0.46772584) * g_12;
|
|
result += mat4(0.27064618, 0.124304846, 0.17178236, 0.0067777717, 0.20274666, -0.0066843866, -0.10537028, 0.07832309, -0.100172564, -0.084412105, -0.029130317, 0.04364024, 0.08182053, -0.100823514, -0.0935743, -0.029079227) * g_13;
|
|
result += mat4(-0.26241225, -0.05721237, 0.101424344, -0.34958288, 0.31858712, -0.076861545, -0.46517807, 0.30126542, 0.086722255, -0.13480917, 0.11960615, 0.4943688, -0.32738853, -0.19455571, 0.026463214, 0.07926301) * g_14;
|
|
result += mat4(0.16170315, 0.13929573, 0.059762456, 0.23802169, -0.3277194, 0.24683446, 0.112627044, -0.1602516, 0.08662639, 0.1476813, 0.1104441, -0.3317887, 0.16108729, 0.11565731, -0.18657148, 0.01665966) * g_15;
|
|
result += vec4(-0.11646883, -0.009549349, 0.02843715, 0.004513963);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x48
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_3_tf
|
|
//!BIND conv2d_3_tf1
|
|
//!BIND conv2d_3_tf2
|
|
//!BIND conv2d_3_tf3
|
|
//!BIND conv2d_3_tf4
|
|
//!BIND conv2d_3_tf5
|
|
//!SAVE conv2d_5_tf
|
|
//!WIDTH conv2d_3_tf.w
|
|
//!HEIGHT conv2d_3_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv2d_3_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_3_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv2d_3_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max((conv2d_3_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv2d_3_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv2d_3_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv2d_3_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv2d_3_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_8(x_off, y_off) (max(-(conv2d_3_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_9(x_off, y_off) (max(-(conv2d_3_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_10(x_off, y_off) (max(-(conv2d_3_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_11(x_off, y_off) (max(-(conv2d_3_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.014753134, -0.04786919, 0.11870752, 0.062323157, 0.012823349, -0.18270767, 0.05781849, 0.009605695, -0.11679257, -0.031872023, 0.06138625, 0.035083354, 0.0090230685, -0.226682, 0.06104293, -0.27476013) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.057164494, 0.031943344, -0.026907986, 0.1625164, 0.063061535, -0.05563398, -0.050311144, 0.052950714, -0.13305314, 0.095417894, -0.019991228, -0.10098878, -0.04697902, -0.095713176, 0.15546167, -0.029640567) * go_0(-1.0, 0.0);
|
|
result += mat4(0.070663795, 0.10422805, 0.014885193, 0.045137066, 0.0693627, -0.08800005, -0.110621534, -0.16098051, 0.03345156, -0.13288338, 0.052109558, 0.08176279, -0.0874141, -0.085414626, -0.026397523, -0.061462812) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.016594352, 0.15287156, 0.074731305, 0.0964361, -0.08787371, -0.13661076, 0.2141366, -0.028111434, 0.1326143, -0.20716804, -0.08138669, -0.099190034, 0.06144844, -0.110713564, -0.014771929, -0.14836042) * go_0(0.0, -1.0);
|
|
result += mat4(0.09738207, -0.14664938, -0.1250703, -0.038655713, 0.05584081, 0.03942745, 0.073783375, 0.056581516, -0.15187903, 0.08551972, 0.022938624, 0.15554221, 0.028497955, 0.095256545, 0.06512413, 0.028258305) * go_0(0.0, 0.0);
|
|
result += mat4(-0.15085734, 0.17242025, -0.034663428, 0.07946447, -0.023244603, 0.009506006, 0.017019462, 0.037655763, -0.03177796, -0.1733154, 0.12542902, -0.08050667, -0.07999971, -0.018520301, -0.034357913, -0.13834344) * go_0(0.0, 1.0);
|
|
result += mat4(0.03910769, -0.05480014, 0.10282842, 0.11273193, -0.117832065, -0.03342582, 0.024672383, 0.01922069, 0.052449033, -0.07383957, -0.06616735, -0.07622469, 0.07522412, -0.011379491, -0.10019852, -0.09873271) * go_0(1.0, -1.0);
|
|
result += mat4(0.13609584, 0.03403247, -0.080141336, 0.077994175, -0.117510326, -0.09721173, 0.11609589, -0.011041011, 0.08279879, 0.034463685, -0.029874083, -0.09348013, -0.012873403, 0.023173302, 0.13702866, -0.016699987) * go_0(1.0, 0.0);
|
|
result += mat4(0.012070883, 0.020341417, -0.017083466, 0.036868714, -0.04590393, -0.0042756707, 0.034706842, 0.10106157, 0.020871256, 0.07026538, -0.008456792, -0.031980522, -0.037377477, 0.0024875633, -0.048794776, 0.054988988) * go_0(1.0, 1.0);
|
|
result += mat4(-0.10563537, 0.11606471, 0.18385051, 0.037006877, 0.10408082, -0.041231528, -0.15187787, -0.09085941, 0.08950542, 0.06414686, -0.22425447, -0.27310994, -0.02024463, -0.025200754, 0.11368761, 0.10785044) * go_1(-1.0, -1.0);
|
|
result += mat4(-0.030225338, -0.10834746, -0.10231699, -0.03254886, 0.11373231, -0.054429933, 0.026529413, -0.07203562, 0.020784596, -0.08582458, 0.011069094, -0.16185156, -0.1382461, 0.024487281, -0.120093465, -0.29875785) * go_1(-1.0, 0.0);
|
|
result += mat4(-0.008845826, -0.11932165, 0.07947179, 0.19418922, 0.00601994, 0.08698007, 0.0070720594, -0.12667209, 0.077381305, -0.05648546, 0.058756344, 0.118710436, -0.15738462, -0.113216214, -0.18746306, -0.16013232) * go_1(-1.0, 1.0);
|
|
result += mat4(-0.11823833, -0.10346257, 0.16498324, 0.017223012, 0.16676189, -0.03270543, 0.08681522, -0.019200213, 0.27930862, -0.39976546, -0.08013078, -0.07730102, 0.1775448, -0.23172536, 0.3080911, 0.066501014) * go_1(0.0, -1.0);
|
|
result += mat4(-0.13012904, 0.05373303, -0.04057597, 0.098716326, -0.012068175, 0.007822063, -0.10612095, 0.10029054, -0.03896638, 0.092982456, 0.44525465, 0.105101556, -0.01651052, 0.12284007, -0.29234242, -0.016989872) * go_1(0.0, 0.0);
|
|
result += mat4(0.03517081, -0.15103249, -0.024740495, 0.11605604, -0.0063804537, 0.0851682, -0.074134536, -0.0820308, -0.051267844, 0.026468761, 0.12227241, -0.023516016, -0.036753807, 0.009863132, -0.18385997, -0.006226107) * go_1(0.0, 1.0);
|
|
result += mat4(0.042300962, 0.0612368, 0.04273769, -0.009331085, 0.024928207, 0.036657955, -0.026505891, -0.0995487, 0.040830083, -0.05794873, -0.2301118, -0.25562578, 0.15100408, -0.11114937, 0.12458043, -0.031075275) * go_1(1.0, -1.0);
|
|
result += mat4(-0.12209181, -0.159118, -0.044463716, 0.12174668, 0.080834165, -0.030461645, -0.21788771, 0.15906425, -0.08619984, -0.2559847, -0.111772224, 0.089261115, 0.03629327, 0.031571757, -0.19015229, -0.13537124) * go_1(1.0, 0.0);
|
|
result += mat4(-0.05894997, 0.036665007, -0.057672605, -0.043688748, 0.010406858, -0.025670307, -0.17934126, -0.028273577, -0.027246438, -0.12550274, -0.13044403, 0.18990144, -0.06271228, -0.09306704, -0.14787146, -0.037143167) * go_1(1.0, 1.0);
|
|
result += mat4(0.24538438, 0.07817913, -0.03810617, -0.0063618342, -0.034510795, -0.09723374, 0.0042433045, 0.02840398, -0.008296004, 0.03182418, -0.020445613, 0.040570706, 0.06958669, -0.074645676, -0.045477536, -0.31765696) * go_2(-1.0, -1.0);
|
|
result += mat4(-0.07984125, 0.060450725, 0.047792103, 0.008377732, -0.20518395, 0.05043399, -0.01679626, -0.071454376, 0.22970293, -0.014139528, -0.011059268, -0.066941515, 0.07590278, 0.06008143, 0.110568896, 0.051596068) * go_2(-1.0, 0.0);
|
|
result += mat4(-0.043445505, 0.07130074, -0.110674106, 0.1135976, -0.17528361, 0.027846763, -0.17418873, 0.062023338, 0.022821834, 0.05296679, 0.10935556, 0.12795413, 0.042655166, 0.0106115835, 0.2004836, -0.081612624) * go_2(-1.0, 1.0);
|
|
result += mat4(0.0065808836, 0.07898094, 0.03718763, -0.025817946, -0.1892885, 0.17788704, -0.01939055, 0.0058550234, 0.09937207, -0.051095694, -0.05730913, 0.059234787, 0.28931195, -0.09421872, -0.37408957, -0.20798929) * go_2(0.0, -1.0);
|
|
result += mat4(-0.16620718, -0.14868094, -0.12021037, -0.057172157, 0.10535018, -0.0759594, -0.14075747, -0.02022368, -0.18982969, 0.14067341, -0.05750312, 0.08877888, 0.10700357, -0.026717503, -0.033623595, 0.12195265) * go_2(0.0, 0.0);
|
|
result += mat4(0.17748521, -0.03286829, 0.0053956825, 0.07372289, 0.055121407, -0.10435926, 0.014667389, 0.0427475, 0.18460171, 0.08454504, -0.08122923, -0.06552034, 0.10567158, 0.1778359, 0.17437135, 0.05902918) * go_2(0.0, 1.0);
|
|
result += mat4(-0.08628083, 0.04757524, 0.013566496, 0.058866933, 0.028604174, 0.022337232, 0.036754955, 0.14828879, -0.12659909, -0.010767183, 0.02895015, 0.07494568, -0.02031085, -0.18338795, 0.06491627, 0.18581006) * go_2(1.0, -1.0);
|
|
result += mat4(0.086914204, 0.17564085, 0.20865819, 0.003970879, -0.065245375, 0.0719146, 0.0036821382, -0.0005362681, 0.17954963, -0.044090744, -0.0004970521, -0.08508769, -0.0038966718, 0.12987554, 0.10152699, -0.07551662) * go_2(1.0, 0.0);
|
|
result += mat4(-0.12458449, 0.046369124, -0.21519043, -0.14829193, 0.0010138899, 0.035694696, 0.038200002, -0.042452868, -0.10323941, 0.12175021, -0.03257118, 0.03198656, 0.014596667, -0.050239712, 0.06553759, -0.0055009895) * go_2(1.0, 1.0);
|
|
result += mat4(0.042482298, -0.08873179, 0.09256576, 0.075650096, 0.08212508, -0.027149782, -0.13923948, -0.029412258, -0.046472896, -0.10929789, 0.11386972, 0.09277685, -0.03398996, -0.03957954, -0.08847087, -0.079389304) * go_3(-1.0, -1.0);
|
|
result += mat4(0.10738428, -0.060133323, 0.058830995, 0.053890802, 0.05381688, -0.017617341, 0.09074316, -0.14257678, -0.04499134, 0.027924139, 0.1744376, 0.11245277, -0.021527067, -0.0448567, 0.019239385, 0.036269695) * go_3(-1.0, 0.0);
|
|
result += mat4(0.022881636, 0.08740093, 0.03667878, -0.022591162, -0.027113255, -0.058345437, 0.07440467, 0.07153011, -0.076189674, -0.0150532955, 0.023971885, -0.033418965, -0.09023294, -0.038390294, -0.09872095, 0.042008042) * go_3(-1.0, 1.0);
|
|
result += mat4(-0.016122708, 0.10938718, 0.011049308, -0.026979597, -0.09640132, 0.027440734, 0.059382755, -0.16636404, 0.06228894, -0.06278199, -0.029541656, 0.07371035, 0.15832236, -0.110187896, 0.04382764, 0.0028967306) * go_3(0.0, -1.0);
|
|
result += mat4(-0.059453584, -0.14479995, -0.07264137, 0.051669978, -0.04175092, 0.0438449, -0.16053757, -0.3129702, -0.044897456, 0.13238364, -0.16941388, -0.0010662815, -0.058727518, -0.009789796, 0.056073397, 0.24528863) * go_3(0.0, 0.0);
|
|
result += mat4(-0.042534802, -0.031428255, -0.13127099, 0.03545817, -0.12471701, -0.11506875, -0.04119249, 0.09132754, -0.1016195, -0.03640248, 0.007980519, 0.052966777, -0.023626154, -0.1328367, -0.10114847, 0.03886791) * go_3(0.0, 1.0);
|
|
result += mat4(0.09101958, -0.0018387871, 0.012616483, -0.17484885, 0.011751878, -0.089530915, 0.051097844, -0.04996934, -0.01005944, -0.020370236, -0.24793504, -0.012510409, 0.00786229, 0.04249317, -0.008741537, -0.016400656) * go_3(1.0, -1.0);
|
|
result += mat4(0.09523166, -0.042383313, -0.054711856, -0.04637368, 0.102178566, 0.2631821, 0.01233508, -0.010458087, 0.30316606, -0.22986925, -0.5806165, 0.23202705, -0.008722518, -0.010904748, -0.043592352, -0.05686299) * go_3(1.0, 0.0);
|
|
result += mat4(0.033423536, 0.098218225, 0.14418946, 0.02657937, 0.03015286, -0.0767474, 0.042458575, 0.1935135, 0.18014516, -0.11874242, -0.1996855, 0.08370151, 0.0690025, 0.07693498, 0.052911133, -0.116886765) * go_3(1.0, 1.0);
|
|
result += mat4(-0.08134629, -0.017970117, -0.018347586, -0.02937847, 0.0003775313, 0.19711903, -0.08546992, -0.021621648, 0.08250089, -0.01672797, -0.032528374, -0.038942847, 0.049553294, 0.04604846, 0.14648306, 0.013710108) * go_4(-1.0, -1.0);
|
|
result += mat4(-0.15212478, 0.06189338, 0.06345135, 0.124090515, 0.053533733, -0.04025595, -0.020564085, -0.28515917, 0.19415195, -0.015337308, -0.018422237, -0.15629065, 0.18082593, -0.011574442, -0.14429837, -0.05707318) * go_4(-1.0, 0.0);
|
|
result += mat4(0.0925495, -0.037113782, 0.065900736, 0.008590338, -0.051698808, 0.10596262, 0.2240978, -0.07484259, -0.03791268, -0.10214985, -0.113221854, 0.021240849, -0.086688854, 0.020506943, -0.006777104, -0.016338166) * go_4(-1.0, 1.0);
|
|
result += mat4(-0.24208999, 0.0559375, -0.08700456, 0.079334885, 0.046569377, -0.12452623, -0.07567508, 0.11901736, 0.058025084, -0.10933379, 0.01499338, -0.059329115, 0.07900936, -0.0967382, 0.14649267, -0.21533011) * go_4(0.0, -1.0);
|
|
result += mat4(0.051437758, -0.056239348, 0.10826396, 0.0103973355, -0.11036472, 0.089677304, -0.13641821, -0.008562795, -0.0915165, 0.080974646, -0.066158704, 0.08619487, -0.14883414, 0.27063388, 0.26023057, -0.10478266) * go_4(0.0, 0.0);
|
|
result += mat4(0.013550296, 0.11880657, 0.10764064, 0.0048602303, -0.053477768, -0.012384154, -0.051058087, -0.21776162, 0.026556205, -0.14465022, 0.029675877, 0.024327768, -0.0044619385, -0.06656158, -0.3113407, 0.078604944) * go_4(0.0, 1.0);
|
|
result += mat4(-0.051143095, 0.040067013, 0.0048092115, -0.030791068, 0.005094653, 0.050343107, -0.035564423, -0.13350213, -0.09505067, -0.032024544, 0.046505388, -0.012083068, -0.061293676, -0.018872263, -0.088480964, 0.09508143) * go_4(1.0, -1.0);
|
|
result += mat4(-0.014669387, -0.03827568, 0.009706187, 0.091904245, 0.10861065, 0.024155458, 0.027196333, -0.0537285, -0.13822891, 0.08269879, 0.112572595, -0.07349772, -0.07239221, 0.07875581, 0.15151146, -0.08660275) * go_4(1.0, 0.0);
|
|
result += mat4(-0.08294598, 0.12766667, 0.118720144, -0.018032918, -0.1013107, -0.013210103, -0.030159824, -0.1633461, 0.16121638, -0.11505265, 0.05771879, 0.17782801, -0.009709625, 0.009048779, 0.0643717, -0.04127436) * go_4(1.0, 1.0);
|
|
result += mat4(-0.08944967, 0.10843843, 0.03210341, 0.07035867, 0.00338879, -0.007892554, 0.044288695, -0.039942343, -0.030615557, 0.09317879, 0.0762409, 0.18437877, -0.1321277, 0.05252213, 0.026333284, 0.06269435) * go_5(-1.0, -1.0);
|
|
result += mat4(-0.04965776, -0.032139134, -0.09895266, 0.2961244, 0.06335117, -0.16791527, -0.059079025, -0.082506865, -0.056972325, 0.1104244, -0.07652271, -0.07872344, -0.056179147, -0.14230897, 0.039492704, 0.14285105) * go_5(-1.0, 0.0);
|
|
result += mat4(0.15735546, -0.060425457, -0.058934245, 0.05505039, -0.097881585, 0.1263457, -0.045253854, 0.09278876, -0.041899607, 0.11877196, 0.002355081, -0.059991844, 0.022999011, -0.0561775, 0.010565752, 0.069077805) * go_5(-1.0, 1.0);
|
|
result += mat4(-0.11142972, -0.07061307, -0.11946659, -0.099400096, 0.03367043, -0.013575439, -0.043519527, -0.16127248, -0.032205965, -0.105285004, 0.0021813486, 0.23383193, -0.088821694, 0.11629688, -0.031751737, 0.091282874) * go_5(0.0, -1.0);
|
|
result += mat4(-0.19746882, 0.15382765, -0.067304626, 0.22248238, 0.089283146, -0.060740154, 0.12944831, 0.0401885, -0.07014485, 0.015746152, -0.05599315, -0.31444058, -0.123802215, -0.1703309, -0.057243284, -0.0058260057) * go_5(0.0, 0.0);
|
|
result += mat4(0.033563264, -0.10897218, -0.014746295, -0.06774955, -0.036188614, 0.10475296, 0.044433076, -0.07463308, 0.008685612, -0.017900765, 0.037735194, 0.14636718, 0.0055965157, 0.008190972, -0.012111877, 0.10777833) * go_5(0.0, 1.0);
|
|
result += mat4(-0.22119878, -0.00934439, -0.024470452, -0.021684358, 0.049842075, -0.15857697, -0.070558004, -0.0033294354, -0.26865304, -0.0141610075, 0.021627605, 0.04901091, 0.030171307, -0.047846876, -0.021054259, 0.03347177) * go_5(1.0, -1.0);
|
|
result += mat4(-0.06303298, -0.1380914, 0.13821393, -0.12413124, 0.07129274, 0.085286, 0.0061419164, 0.087412804, 0.033100057, -0.23397031, 0.032436803, 0.042869877, -0.107296675, 0.042882215, -0.012395404, -0.0022080743) * go_5(1.0, 0.0);
|
|
result += mat4(0.008780741, -0.09572746, 0.235107, -0.005934799, -0.031246934, -0.022992684, 0.06114156, -0.07160206, 0.06099364, -0.08785622, 0.14756297, 0.01614596, -0.22117889, 0.071189515, 0.15055332, 0.08069156) * go_5(1.0, 1.0);
|
|
result += mat4(0.15729329, 0.036501955, 0.074508026, 0.014924277, 0.024376784, 0.11048761, -0.0662262, 0.0018295659, 0.09283897, 0.027042102, 0.05291126, -0.06471004, -0.30125985, 0.10795915, 0.06779594, 0.31680325) * go_6(-1.0, -1.0);
|
|
result += mat4(0.11615968, -0.04447013, 0.10447689, 0.1350562, -0.11144621, 0.03709077, 0.032952994, 0.096276626, 0.06868203, -0.16554776, 0.18624458, 0.049578857, -0.013442014, 0.070959665, -0.15082222, 0.26545084) * go_6(-1.0, 0.0);
|
|
result += mat4(-0.024599882, -0.07956594, -0.13679305, -0.14679682, -0.05684212, 0.03376889, -0.04935937, 0.09255551, -0.04888347, -0.03642756, -0.012279385, 0.0029056766, 0.08576277, 0.061712924, 0.025902992, -0.11700455) * go_6(-1.0, 1.0);
|
|
result += mat4(0.35002708, -0.014724336, -0.17723122, 0.11554662, 0.20964158, 0.070235215, -0.15499143, 0.20215057, -0.05240247, 0.100447476, -0.22313856, -0.15757738, -0.17158219, 0.070982456, 0.17847545, 0.0545739) * go_6(0.0, -1.0);
|
|
result += mat4(-0.18775995, 0.24853617, 0.31312263, 0.041823838, 0.11542879, -0.079676114, 0.016512455, 0.014672186, 0.10925544, -0.18216388, 0.13738453, 0.02856321, 0.01878391, -0.10745682, -0.16716598, -0.18430677) * go_6(0.0, 0.0);
|
|
result += mat4(0.12586334, -0.13059859, -0.032940686, -0.12445521, 0.08744824, -0.024449022, 0.07755207, -0.011887521, -0.044642143, 0.15666896, 0.009933376, 0.21113835, 0.018695675, 0.008285816, 0.23940869, 0.05274216) * go_6(0.0, 1.0);
|
|
result += mat4(-0.14385052, -0.013701985, -0.18334188, -0.13801612, 0.06973971, 0.020687139, -0.15838577, 0.0682283, 0.17290114, 0.021822037, -0.1593011, 0.12368296, -0.051909417, 0.099816486, 0.18414661, -0.00997897) * go_6(1.0, -1.0);
|
|
result += mat4(-0.098671384, -0.11953922, 0.0187697, -0.08119316, 0.08544758, 0.0026141745, -0.11786651, 0.0861657, 0.05167917, -0.07486402, 0.17135052, 0.045870405, 0.17885911, 0.06896784, -0.22618207, -0.09696675) * go_6(1.0, 0.0);
|
|
result += mat4(-0.030892538, -0.040262762, -0.033995286, -0.19412598, -0.0058172327, -0.10667594, 0.045098327, 0.08596532, -0.14027297, -0.13492948, 0.09068293, -0.012210107, 0.049472895, -0.046960693, 0.041833356, -0.036665313) * go_6(1.0, 1.0);
|
|
result += mat4(0.11448471, -0.05200127, 0.10448566, 0.06749669, -0.046686202, 0.028539846, -0.071284495, -0.013776608, 0.009059756, 0.005694205, 0.107392795, 0.16345471, -0.040614177, -0.011328381, -0.12204681, 0.016511405) * go_7(-1.0, -1.0);
|
|
result += mat4(-0.17095669, -0.076325886, -0.081076495, 0.0766774, 0.06282146, 0.09396067, -0.099288605, -0.2057644, -0.06705021, 0.08401648, -0.006124241, 0.1259643, -0.13008131, -0.14129867, 0.15516123, 0.083607264) * go_7(-1.0, 0.0);
|
|
result += mat4(-0.0022957388, 0.05856265, 0.004291894, -0.13992007, 0.051110834, -0.06343282, -0.19713216, -0.009634957, -0.07137837, 0.0568723, -0.031844866, -0.14029147, 0.10511341, -0.03694283, -0.039790563, 0.12079957) * go_7(-1.0, 1.0);
|
|
result += mat4(0.116678536, 0.017967895, -0.084222384, -0.18979242, -0.16373818, -0.051625438, -0.007469872, 0.07698895, -0.08559179, 0.22747229, 0.06252753, 0.17239036, -0.1672435, 0.19882563, 0.05094709, 0.15420969) * go_7(0.0, -1.0);
|
|
result += mat4(-0.021038907, -0.15289949, -0.1812001, -0.06270831, 0.05773661, -0.09890353, -0.22504179, 0.28661346, 0.030380948, -0.047244404, 0.028095953, -0.16042343, 0.10631722, -0.28756708, 0.19875197, 0.0046880767) * go_7(0.0, 0.0);
|
|
result += mat4(0.017992627, 0.09583775, -0.16261324, -0.10037523, 0.15027897, 0.008308924, -0.12523991, -0.09218689, -0.04166017, 0.04481005, -0.07018378, 0.04660488, 0.012251093, -0.02155709, 0.07439554, 0.16595757) * go_7(0.0, 1.0);
|
|
result += mat4(-0.10128157, 0.05230012, 0.010505274, -0.0045971354, -0.04436229, 0.0686891, -0.06143502, -0.06329947, -0.037828725, 0.06929396, 0.014732045, 0.019532068, -0.20194429, 0.094608404, -0.09255989, 0.0006712487) * go_7(1.0, -1.0);
|
|
result += mat4(0.13456346, 0.19428526, 0.03124889, 0.09431909, -0.057245445, -0.19396421, 0.021673629, 0.26870468, -0.0748189, 0.18683752, -0.041134145, 0.058044426, -0.11280808, -0.069663584, 0.11809443, 0.10898257) * go_7(1.0, 0.0);
|
|
result += mat4(0.032437522, -0.020943642, -0.0012967433, -0.040504962, -0.0055941883, 0.05663316, -0.17987259, -0.09858358, -0.022033866, 0.017183136, -0.00373911, -0.10786088, 0.04599657, -0.010730183, -0.015808778, -0.073432535) * go_7(1.0, 1.0);
|
|
result += mat4(-0.027450806, -0.07123867, -0.115826175, -0.20558152, 0.015793063, 0.00917592, -0.047437448, -0.10743293, -0.08270229, -0.03460581, -0.22865953, -0.09833294, 0.058562107, 0.066225894, 0.09546966, 0.039175145) * go_8(-1.0, -1.0);
|
|
result += mat4(0.0062890495, -0.14731838, 0.013251237, -0.05258336, 0.07339424, -0.09859438, -0.007957546, -0.09032201, 0.01912405, 0.10851486, 0.14476706, -0.045722447, -0.009007182, -0.04607908, 0.11694388, -0.1312195) * go_8(-1.0, 0.0);
|
|
result += mat4(0.08320868, 0.021944063, -0.0063242465, 0.11779457, 0.043611903, -0.009892264, 0.031338774, -0.0071105906, 0.17312275, 0.06534067, -0.13700318, -0.15632129, -0.032851465, 0.07614353, -0.0068492275, -0.007339044) * go_8(-1.0, 1.0);
|
|
result += mat4(0.1567212, -0.028788604, 0.014872978, 0.023775656, 0.1888344, -0.18292429, 0.0036885971, 0.059944462, 0.019628597, 0.12139034, 0.03521284, 0.07654702, 0.09544245, -0.01730226, 0.11372192, 0.08958013) * go_8(0.0, -1.0);
|
|
result += mat4(-0.18358994, 0.008457774, 0.066629425, 0.031368256, -0.16939671, 0.116705574, 0.15289108, 0.09006569, 0.057086732, 0.03173233, 0.1337826, 0.20374574, -0.20242977, 0.11535693, -0.04644542, 0.12053215) * go_8(0.0, 0.0);
|
|
result += mat4(-0.025165526, 0.0986568, -0.0019998797, -0.081331715, -0.08333373, -0.028121378, -0.10888794, 0.05499222, 0.065238185, 0.17770849, -0.00065088284, -0.014400954, 0.025441216, -0.089684874, -0.011330411, -0.037265968) * go_8(0.0, 1.0);
|
|
result += mat4(0.07548163, -0.032338325, 0.05066688, 0.047633644, -0.04150886, 0.020289602, 0.15300341, -0.12956989, 0.12961324, -0.068314, 0.08058171, 0.0086898785, -0.05619691, -0.10243323, 0.047004003, -0.0047387057) * go_8(1.0, -1.0);
|
|
result += mat4(-0.060505453, -0.08456763, -0.050554518, 0.03934322, -0.009900384, -0.016025173, 0.15428478, -0.08673094, 0.06779942, -0.052596506, -0.01919229, 0.06718782, -0.055366307, 0.040410925, -0.17166302, 0.04139781) * go_8(1.0, 0.0);
|
|
result += mat4(-0.0054792594, -0.04857173, -0.10938263, -0.002808973, 0.11411507, 0.06460528, 0.125212, 0.052846473, -0.0045314883, -0.09431864, -0.053420343, 0.076576754, -0.051726155, 0.047666553, -0.038724992, 0.12973335) * go_8(1.0, 1.0);
|
|
result += mat4(-0.32793117, 0.10536563, -0.121571936, 0.0819257, -0.02026979, 0.045693934, -0.03842899, 0.047471542, -0.06476304, 0.020106113, -0.014928283, -0.040539287, 0.13236661, -0.04688991, 0.12435977, 0.047430243) * go_9(-1.0, -1.0);
|
|
result += mat4(-0.15486266, -0.15256862, -0.034016702, -0.074529134, -0.06449022, 0.09587099, -0.083922915, 0.14717162, -0.06547674, -0.12714347, -0.23995708, -0.18052177, 0.070112504, 0.15591848, -0.32457027, -0.19917747) * go_9(-1.0, 0.0);
|
|
result += mat4(0.12048215, -0.013003214, -0.113487795, 0.029351957, -0.014786703, 0.03716927, -0.08821999, -0.008626208, 0.018643484, 0.013666749, -0.043723207, -0.012135213, -0.08323913, -0.04146574, -0.22227862, -0.055937964) * go_9(-1.0, 1.0);
|
|
result += mat4(0.044348344, 0.045776278, 0.021677578, 0.017165996, -0.034954507, 0.08561954, -0.14646047, -0.13231587, -0.04729133, -0.08174899, -0.11179197, -0.11426391, -0.024943672, 0.04607219, -0.23119277, -0.07512565) * go_9(0.0, -1.0);
|
|
result += mat4(0.11036188, 0.15960318, -0.03556543, -0.06765656, -0.2021666, 0.19273448, -0.10892626, -0.09404772, -0.076368466, 0.1813536, 0.032177098, 0.0842, 0.19333756, 0.053526193, -0.009715162, -0.14322306) * go_9(0.0, 0.0);
|
|
result += mat4(0.030871768, -0.0074464646, -0.1635315, -0.0031961869, -0.075362965, 0.104896225, -0.021082822, -0.2416909, -0.22069727, 0.020561663, 0.028545292, 0.052814715, 0.19980742, 0.2074361, 0.11841944, 0.05509825) * go_9(0.0, 1.0);
|
|
result += mat4(-0.013732159, 0.1374818, 0.07453946, 0.1636285, 0.07283316, 0.22762041, 0.21240574, 0.019950854, 0.15626834, -0.060864933, -0.07968664, 0.03479737, 0.10357597, -0.08328792, -0.0006691867, -0.0381467) * go_9(1.0, -1.0);
|
|
result += mat4(-0.1819537, 0.044216722, -0.023299925, 0.05007542, 0.17286481, 0.09262543, 0.2994342, -0.10637366, 0.04639522, 0.06452959, 0.15362616, 0.067861795, 0.021456653, 0.15361351, 0.261385, 0.04604455) * go_9(1.0, 0.0);
|
|
result += mat4(0.009122387, 0.048340186, -0.07658522, -0.19766617, -0.051280595, 0.003623177, 0.042376805, -0.04431547, 0.065149754, 0.034897484, 0.02154426, 0.07047, -0.08721426, 0.07704638, 0.0060646655, -0.024416646) * go_9(1.0, 1.0);
|
|
result += mat4(0.044220358, -0.12177787, -0.06103336, -0.08130916, 0.022953589, -0.08504309, 0.039640404, -0.042649914, -0.11253562, 0.05210924, -0.03506059, -0.016069679, -0.078641035, 0.0039112084, -0.0062618195, -0.17446917) * go_10(-1.0, -1.0);
|
|
result += mat4(-0.01247942, 0.023309292, -0.10943914, 0.062411055, -0.075556256, 0.030011179, 0.068354815, -0.050935294, -0.078005195, -0.031145953, -0.081349626, 0.12883238, -0.121446736, -0.03411904, 0.003731427, 0.13872771) * go_10(-1.0, 0.0);
|
|
result += mat4(-0.1397899, -0.030694358, -0.13986057, -0.01456527, 0.13519372, 0.009538593, 0.039709106, -0.03508142, 0.034425747, 0.102543324, -0.092791595, -0.012264085, 0.05396018, -0.11684392, -0.10459425, -0.19696747) * go_10(-1.0, 1.0);
|
|
result += mat4(0.24276726, -0.21673095, -0.10106586, -0.051018015, -0.02559439, 0.049109787, -0.026405439, -0.06197655, -0.17754024, 0.15494283, 0.15298724, 0.17503484, -0.13531163, 0.14061542, 0.02137645, 0.08091585) * go_10(0.0, -1.0);
|
|
result += mat4(0.017142862, 0.016195927, -0.32190144, 0.11874316, 0.037051585, -0.039087534, 0.015433603, 0.015701048, 0.04637381, -0.11968243, 0.06242134, 0.04560534, 0.12370247, -0.11292332, 0.09618765, 0.0023660306) * go_10(0.0, 0.0);
|
|
result += mat4(0.19133906, -0.11650241, -0.011775885, -0.009825516, -0.054749526, 0.06524658, -0.013433133, -0.060871173, -0.11068996, 0.050650746, 0.0019352552, 0.08599543, 0.16217573, 0.013373967, -0.16456692, 0.099531464) * go_10(0.0, 1.0);
|
|
result += mat4(0.11285318, 0.00018417467, -0.20670767, -0.065584615, 0.011944516, 7.744912e-05, -0.037524782, 0.056939438, 0.031899396, -0.0038092835, 0.016791284, 0.0506775, 0.046540234, -0.048709188, 0.03119377, -0.0712156) * go_10(1.0, -1.0);
|
|
result += mat4(-0.027347967, 0.08333226, 0.06065502, -0.09395132, -0.13586216, -0.08702288, -0.099219136, 0.12588762, 0.08082661, -0.005074681, 0.12843885, 0.06986843, -0.0053627244, 0.056996074, -0.022097634, -0.15663457) * go_10(1.0, 0.0);
|
|
result += mat4(0.069395415, 0.0043090186, -0.1853728, -0.05153937, 0.062754065, 0.03969911, -0.029014869, 0.11187697, -0.1032801, 0.07209643, 0.1677695, -0.13300064, 0.083935894, -0.046223458, -0.033849694, 0.1742876) * go_10(1.0, 1.0);
|
|
result += mat4(-0.041404765, -0.15952879, -0.055672616, -0.14790176, -0.013831066, -0.047978397, -0.28346768, -0.08638548, -0.21872658, -0.020834675, 0.058469106, -0.021048449, 0.06864195, -0.06668591, -0.084808566, 0.07891877) * go_11(-1.0, -1.0);
|
|
result += mat4(0.060619947, 0.1009842, -0.17300764, -0.26239192, 0.1340643, 0.20667392, -0.14698872, -0.35110018, -0.37209937, -0.07078585, -0.05318964, 0.033973537, -0.17849341, -0.03924582, -0.09075869, -0.1777723) * go_11(-1.0, 0.0);
|
|
result += mat4(-0.23023579, 0.13480036, -0.22323267, 0.018318858, 0.10835291, -0.13343185, 0.013547803, -0.12702204, -0.008225446, -0.014552931, 0.15907833, 0.040752955, 0.013315338, 0.07751878, 0.150926, -0.11256944) * go_11(-1.0, 1.0);
|
|
result += mat4(-0.09436202, 0.04043043, -0.10118068, -0.110989, 0.09390222, 0.110257804, 0.09612221, 0.005879994, 0.032777414, 0.12892056, -0.06661622, 0.078207776, 0.025562935, -0.041329056, 0.036348246, -0.055320274) * go_11(0.0, -1.0);
|
|
result += mat4(0.04770027, 0.13019262, -0.06838029, -0.061760966, -0.06446806, -0.07964198, -0.016272204, -0.08714364, -0.14706036, 0.07334957, 0.015852954, -0.07909504, 0.3089915, 0.109102525, -0.015825126, -0.27486005) * go_11(0.0, 0.0);
|
|
result += mat4(-0.10764013, 0.19844711, -0.09302359, 0.0054327343, 0.5287512, -0.15161927, 0.024464406, -0.089903906, -0.19313338, -0.07728969, 0.18436882, -0.026266089, 0.0842011, -0.024945607, -0.0038182868, -0.18219624) * go_11(0.0, 1.0);
|
|
result += mat4(0.09759823, -0.071663424, 0.065186486, -0.023156485, -0.025800427, 0.16197275, 0.050794635, -0.042893115, 0.023938533, 0.012962341, 0.0795926, 0.0003265065, -0.0220062, 0.10227259, -0.0033829797, -0.103184715) * go_11(1.0, -1.0);
|
|
result += mat4(-0.020551044, 0.078421816, 0.01739726, 0.19147848, 0.25223428, -0.21913454, -0.17867994, 0.018781869, -0.054134224, 0.06478987, 0.1793624, -0.08970641, 0.049855165, 0.0020986055, 0.06884598, 0.089142375) * go_11(1.0, 0.0);
|
|
result += mat4(0.026820185, -0.04953101, 0.09645142, 0.1821389, -0.2354278, 0.05535592, -0.14191186, 0.20774509, -0.13335133, 0.034332983, 0.40410507, 0.1728577, 0.13332304, -0.022786276, 0.0019173969, -0.0044472194) * go_11(1.0, 1.0);
|
|
result += vec4(0.060646188, -0.0038556247, -0.10473039, -0.021283383);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x48
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_3_tf
|
|
//!BIND conv2d_3_tf1
|
|
//!BIND conv2d_3_tf2
|
|
//!BIND conv2d_3_tf3
|
|
//!BIND conv2d_3_tf4
|
|
//!BIND conv2d_3_tf5
|
|
//!SAVE conv2d_4_tf
|
|
//!WIDTH conv2d_3_tf.w
|
|
//!HEIGHT conv2d_3_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv2d_3_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_3_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv2d_3_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max((conv2d_3_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv2d_3_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv2d_3_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv2d_3_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv2d_3_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_8(x_off, y_off) (max(-(conv2d_3_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_9(x_off, y_off) (max(-(conv2d_3_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_10(x_off, y_off) (max(-(conv2d_3_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_11(x_off, y_off) (max(-(conv2d_3_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.16133928, -0.006756952, 0.13545449, 0.07060866, -0.16981398, -0.106657766, 0.022805378, -0.0035351648, 0.038761076, 0.058264326, 0.16199178, -0.06511896, -0.17973545, -0.09506077, 0.02306629, 0.08721258) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.100562446, -0.05475565, 0.01873388, -0.013671649, 0.14916395, -0.067826256, 0.032623593, -0.060436044, -0.0122893145, 0.09967451, 0.120976925, 0.10229753, 0.13948052, 0.17415452, -0.011262652, -0.037956428) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.16161971, 0.02982422, 0.049742486, 0.015267549, -0.055522446, -0.009517889, 0.10921511, -0.08333722, 0.059517074, -0.023159515, 0.13170207, 0.015733222, 0.013808399, -0.011851306, -0.024589658, -0.050633222) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.00227671, 0.30201057, 0.11319067, 0.1133962, -0.04852214, -0.19454744, -0.07127992, -0.11690175, 0.12344371, -0.0811454, -0.031156603, 0.04270805, -0.06546707, -0.023155082, -0.06664943, 0.19928366) * go_0(0.0, -1.0);
|
|
result += mat4(0.11345815, 0.12714691, 0.071744405, 0.103484415, 0.0023571255, -0.06398675, 0.30560458, 0.30617425, -0.0005386149, -0.041429702, 0.13761137, -0.14517422, 0.13975474, -0.026216023, 0.08931679, -0.07163053) * go_0(0.0, 0.0);
|
|
result += mat4(-0.11686376, 0.070224725, 0.10019609, -0.109919794, 0.04557366, 0.023907041, 0.00767809, 0.0013940547, 0.015182983, -0.029614698, 0.076304965, -0.0011633933, -0.13530292, 0.00056007045, -0.057679377, -0.13049605) * go_0(0.0, 1.0);
|
|
result += mat4(0.038706653, -0.12585612, -0.0590175, 0.07387271, -0.20598301, -0.039461385, 0.018922692, 0.090926535, 0.007763573, 0.038042054, -0.020345435, 0.016759971, 0.033337165, -0.091677584, -0.06344887, 0.05610023) * go_0(1.0, -1.0);
|
|
result += mat4(0.17988396, 0.093451336, -0.018993216, -0.05381074, -0.02964974, -0.1913282, 0.06552725, -0.050367884, -0.015466344, 0.033029303, -0.0096563175, 0.05186194, 0.0033302843, -0.15092133, 0.064511806, -0.04485651) * go_0(1.0, 0.0);
|
|
result += mat4(-0.024405021, 0.038516898, 0.015061607, -0.04192331, -0.015869368, 0.017929645, 0.07922887, -0.054948222, -0.013361282, 0.0033160122, -0.12909667, -0.012857738, -0.0068476, -0.012239811, 0.0029081944, -0.08033987) * go_0(1.0, 1.0);
|
|
result += mat4(-0.055734444, 0.0094752135, 0.10845729, -0.10329405, 0.17336772, 0.07117447, -0.049073327, -0.10629648, 0.1611813, 0.027324779, -0.16710818, 0.07097851, -0.017817533, -0.15294223, -0.06685321, 0.023941878) * go_1(-1.0, -1.0);
|
|
result += mat4(-0.04015555, -0.057957835, -0.04012829, 0.11909982, -0.06483754, -0.09342866, 0.020691587, -0.0051632426, 0.10992608, 0.0037598521, 0.20579205, 0.013045941, -0.016678521, 0.06126397, -0.16735047, 0.053845536) * go_1(-1.0, 0.0);
|
|
result += mat4(-0.046297137, 0.100343026, 0.0724331, 0.05753326, 0.025728337, 0.07448563, -0.017905511, -0.05812705, -0.05747221, 0.05252139, -0.0022827995, 0.009535698, 0.27295315, -0.026006082, -0.12689655, 0.04623798) * go_1(-1.0, 1.0);
|
|
result += mat4(-0.11685835, -0.015142521, -0.13885486, 0.019486092, -0.20875208, -0.34251136, -0.0700515, 0.02718998, 0.1638258, -0.16402523, -0.42462748, 0.17106175, 0.19568646, -0.052654434, -0.024262564, 0.37246057) * go_1(0.0, -1.0);
|
|
result += mat4(0.07555664, 0.18153746, -0.003098694, 0.014292224, -0.12814312, 0.4459735, 0.041419946, 0.17212822, -0.06420285, -0.06265219, 0.17119808, -0.030034862, -0.14114997, 0.123509236, -0.105649926, -0.111933716) * go_1(0.0, 0.0);
|
|
result += mat4(0.0019030712, -0.02515307, 0.19928412, -0.004469821, 0.017613214, 0.015647614, 0.08936756, -0.08414862, -0.036098205, -0.022081148, 0.08306485, -0.008411014, 0.02704273, -0.13972263, 0.095762834, -0.09297345) * go_1(0.0, 1.0);
|
|
result += mat4(0.025891948, -0.17626308, -0.061084367, -0.04712799, -0.0472, -0.26856974, -0.06539752, 0.013616317, -0.059423175, -0.098188885, 0.025495678, 0.0031581502, -0.03285922, -0.022789126, -0.045184094, 0.14847386) * go_1(1.0, -1.0);
|
|
result += mat4(-0.011830537, -0.12030199, -0.053715575, 0.09420908, -0.016697582, -0.101909086, 0.0052315956, -0.038581654, -0.013728641, 0.14887422, -0.20061015, 0.12874006, 0.035768256, 0.18918842, -0.11919466, -0.12912689) * go_1(1.0, 0.0);
|
|
result += mat4(-0.050202396, 0.03138417, -0.050705705, 0.02818433, 0.080382414, 0.036221508, -0.0042167716, -0.052568164, 0.08052105, 0.103576005, -0.028431175, -0.007257336, -0.079250015, 0.043258842, 0.020142734, -0.10986943) * go_1(1.0, 1.0);
|
|
result += mat4(0.06272645, 0.015670467, 0.14403056, 0.017797878, -0.08169692, 0.040103715, -0.095533915, -0.059653286, 0.07473774, -0.17296436, -0.019161535, -0.041325334, -0.038807016, -0.043070696, 0.06584265, 0.22001688) * go_2(-1.0, -1.0);
|
|
result += mat4(-0.018589705, 0.02944848, 0.14810379, 0.06810516, -0.032104094, 0.007841817, -0.055268675, 0.059648626, 0.08636726, 0.12378364, -0.008725567, -0.002871493, 0.19164857, -0.032345578, -0.023310618, 0.04684608) * go_2(-1.0, 0.0);
|
|
result += mat4(0.07348036, -0.004544571, -0.14452362, 0.16110179, 0.13347302, 0.04389134, -0.029372944, -0.007604985, 0.029121475, -0.025094448, 0.03175599, 0.06217274, 0.07115858, 0.13647805, 0.10111285, 0.0034638855) * go_2(-1.0, 1.0);
|
|
result += mat4(0.05997947, 0.024786323, -0.08678267, -0.012526823, -0.0220639, 0.023112366, 0.07861742, -0.19187176, 0.03293625, 0.10128404, 0.09530748, 0.06404156, 0.19316022, 0.21244249, 0.02258886, -0.1616932) * go_2(0.0, -1.0);
|
|
result += mat4(0.15327139, -0.069000825, 0.15589428, 0.14515664, 0.12859896, 0.14179786, 0.060607996, 0.21198936, -0.2507868, -0.022061916, -0.038542237, -0.1808869, 0.031881858, -0.19330673, -0.037499044, 0.13342386) * go_2(0.0, 0.0);
|
|
result += mat4(-0.05988526, -0.09544103, -0.016432738, -0.017414998, 0.0046385103, -0.20584446, 0.09174897, -0.12748675, 0.024459438, -0.07905607, 0.06139659, 0.075841114, -0.025305571, -0.07030918, 0.023217013, 0.08051247) * go_2(0.0, 1.0);
|
|
result += mat4(-0.037737433, 0.027603755, 0.05098685, 0.042382807, -0.011197322, 0.06492134, -0.0906253, -0.053419977, -0.045706257, 0.079379134, 0.16454495, 0.040260073, 0.015778258, 0.21647462, 0.08369584, 0.060196582) * go_2(1.0, -1.0);
|
|
result += mat4(0.013863368, 0.101593465, -0.049138572, 0.049191948, 0.12123321, 0.06259525, 0.09837069, 0.045398068, -0.021721708, 0.17811406, -0.31950596, -0.14456001, 0.04377062, -0.056147244, -0.13187714, 0.13418218) * go_2(1.0, 0.0);
|
|
result += mat4(-0.074299, 0.087283604, 0.049188152, -0.04601051, 0.043187305, 0.105247594, 0.067160025, -0.10978978, -0.021780532, 0.16378258, -0.04006729, 0.041094404, 0.12237769, 0.01013395, -0.046020973, 0.058959812) * go_2(1.0, 1.0);
|
|
result += mat4(0.10759802, -0.05844557, -0.16433835, 0.02379762, 0.027131278, -0.020398108, -0.03034064, -0.07654222, -0.030525263, -0.071624376, -0.038216878, -0.14220032, -0.015000659, 0.024406437, -0.118754864, -0.019906608) * go_3(-1.0, -1.0);
|
|
result += mat4(-0.05946246, -0.037770055, 0.05371964, -0.04762644, -0.023789868, 0.15548596, -0.0022103225, -0.08290816, 0.059680905, -0.06700105, -0.3027294, 0.05302431, 0.060560275, 0.119091325, 0.011910897, -0.0611307) * go_3(-1.0, 0.0);
|
|
result += mat4(-0.048199076, -0.005808951, -0.050281305, 0.010793577, 0.052124035, -0.027270628, 0.09903184, 0.083696134, 0.10440056, 0.02289494, -0.07162003, -0.0062849876, 0.1393764, 0.007761962, -0.08147549, -0.120649576) * go_3(-1.0, 1.0);
|
|
result += mat4(-0.06300759, -0.03393544, 0.074379005, 0.09672255, -0.065820985, -0.15880246, 0.06331057, 0.09052317, -0.17283176, -0.05706484, 0.055020954, -0.17695414, -0.017047746, -0.09395422, 0.11524346, 0.091663584) * go_3(0.0, -1.0);
|
|
result += mat4(-0.12924798, -0.06557826, 0.005698939, 0.05151969, 0.023980606, -0.031310424, 0.0983691, 0.027031474, 0.22763366, 0.13239998, -0.069468655, -0.01557182, 0.062858954, 0.21231271, -0.030290892, 0.17677142) * go_3(0.0, 0.0);
|
|
result += mat4(-0.081439696, 0.020450905, -0.012162494, 0.08146154, 0.01614436, 0.04890599, 0.11159027, 0.17375018, 0.04622331, -0.110857576, 0.025216697, -0.060947504, 0.0678939, -0.095830016, 0.099071994, -0.02898622) * go_3(0.0, 1.0);
|
|
result += mat4(-0.028128562, -0.023531286, -0.0008795096, 0.0704722, -0.10301007, 0.029321423, -0.021746516, 0.09696239, 0.09645322, -0.040263638, 0.06301727, -0.08709368, 0.09035671, 0.13559014, -0.07670181, -0.03276494) * go_3(1.0, -1.0);
|
|
result += mat4(0.055680234, 0.07293633, -0.022003002, -0.044560425, -0.0373804, 0.15495904, 0.13096857, -0.025550859, 0.023868699, -0.023058083, -0.1235014, -0.10734169, 0.010809003, -0.25039196, -0.014217269, 0.07412059) * go_3(1.0, 0.0);
|
|
result += mat4(-0.03694641, 0.051798698, -0.07326607, 0.053899962, 0.02812039, 0.022284172, 0.0029374901, -0.07449402, -0.16211948, 0.026257169, -0.0037779722, 0.15171492, -0.052307416, 0.0024355229, 0.0063564116, 0.0046692565) * go_3(1.0, 1.0);
|
|
result += mat4(-0.019450054, 0.017427495, 0.14512521, 0.04938662, 0.006202705, -0.08233491, 0.22789595, 0.09831528, 0.0404036, -0.016220046, -0.009567857, -0.10365957, -0.05455351, -0.082637355, -0.18112423, -0.18289614) * go_4(-1.0, -1.0);
|
|
result += mat4(-0.019659022, -0.057440203, 0.038178887, -0.024574915, 0.09476514, 0.16418602, 0.096884474, -0.008543215, -0.1006523, 0.1330037, 0.013882872, -0.0050533605, -0.09158922, 0.030192483, 0.13139597, 0.27340072) * go_4(-1.0, 0.0);
|
|
result += mat4(-0.014864847, -0.058110245, -0.04089836, -0.027095364, 0.15525354, -0.04222943, 0.114998884, -0.0074308664, 0.02298135, -0.08942385, 0.07597391, -0.07266409, -0.1486214, 0.12592529, 0.008856135, -0.03815847) * go_4(-1.0, 1.0);
|
|
result += mat4(-0.016115177, -0.05787365, 0.14374281, -0.065732814, -0.026940078, -0.090105265, 0.09092125, -0.067427695, 0.06799277, 0.046577964, -0.12558952, 0.2282373, -0.050858285, -0.005724691, -0.14264332, 0.0725394) * go_4(0.0, -1.0);
|
|
result += mat4(-0.14321874, -0.17630744, -0.030244285, -0.11968165, 0.0214558, 0.08285664, 0.16521458, 0.20328104, 0.07671273, -0.30493468, 0.021776592, 0.011971024, 0.023633704, -0.2776264, -0.10879595, -0.07339406) * go_4(0.0, 0.0);
|
|
result += mat4(-0.05762395, 0.11391274, 0.07526661, 0.08930487, -0.050805196, -0.033572827, -0.0138379475, -0.0027166037, 0.051784392, -0.06812382, -0.06657226, -0.029933205, 0.037111796, 0.12770545, -0.19708967, -0.017368592) * go_4(0.0, 1.0);
|
|
result += mat4(-0.034721598, 0.07238717, 0.021580521, 0.0032361194, 0.02682915, 0.11429618, 0.006246969, -0.011384502, -0.10198539, 0.044490647, 0.026510842, -0.08242405, 0.10116388, 0.06562081, 0.107485555, -0.0012590926) * go_4(1.0, -1.0);
|
|
result += mat4(0.030852526, 0.047721054, -0.13123205, 0.10543791, -0.05943997, -0.046062008, -0.060958795, -0.009572606, 0.10642023, -0.044935644, 0.017086817, 0.17646314, -0.00961127, -0.41264644, 0.018992305, -0.07547571) * go_4(1.0, 0.0);
|
|
result += mat4(0.045347903, -0.038964048, 0.056273893, 0.12708911, -0.03469611, 0.10069531, -0.22192168, -0.022682197, 0.043401085, 0.018264271, 0.076982856, 0.011487361, 0.027886251, -0.12259783, -0.099470966, -0.039430864) * go_4(1.0, 1.0);
|
|
result += mat4(0.08624949, 0.012376808, 0.0077479514, -0.1170666, 0.0716742, -0.11046843, -0.077850066, -0.044300415, 0.053915314, 0.09339476, -0.069813095, -0.06957861, -0.001374164, 0.14245875, -0.06634346, -0.103644006) * go_5(-1.0, -1.0);
|
|
result += mat4(-0.024505014, -0.041000646, -0.037310645, -0.19960494, -0.11286237, -0.039952476, -0.014555522, 0.094842575, -0.077469945, 0.09608264, -0.075717196, 0.057115197, 0.16915609, -0.014995497, -0.13742553, -0.004681802) * go_5(-1.0, 0.0);
|
|
result += mat4(0.0549783, 0.030727496, -0.04337882, -0.06925114, -0.019843027, 0.059288803, -0.079616524, 0.01963306, 0.02820184, 0.052798875, 0.046409376, -0.04965568, -0.19409747, -0.004536743, -0.16434522, -0.008230561) * go_5(-1.0, 1.0);
|
|
result += mat4(-0.1839738, 0.042379227, -0.16860627, -0.061752677, -0.01604508, 0.030754698, -0.074875444, 0.084691316, 0.038282342, 0.30632535, 0.05114634, 0.121252306, 0.07699079, 0.3056959, -0.10636499, -0.110272214) * go_5(0.0, -1.0);
|
|
result += mat4(-0.08497261, -0.061560262, -0.044905245, -0.054917242, -0.08900476, -0.031761087, 0.011166559, -0.07907292, 0.076665536, -0.14452234, -0.18915282, 0.18507777, -0.108493246, -0.31385952, 0.27914372, 0.33188236) * go_5(0.0, 0.0);
|
|
result += mat4(0.09645311, 0.07250647, 0.115785874, 0.09124687, -0.056559183, 0.05863247, -0.08140737, -0.05012514, -0.1059255, 0.034764946, 0.097291306, -0.0025682407, -0.009076726, 0.013445683, -0.065667965, 0.12148862) * go_5(0.0, 1.0);
|
|
result += mat4(-0.0034297407, 0.0011929716, -0.025974274, -0.122696795, -0.16790242, -0.026815463, 0.02342119, 0.08819499, 0.049951926, 0.0009924982, 0.05151504, -0.09561283, 0.08813568, -0.09092365, -0.10566983, -0.09292515) * go_5(1.0, -1.0);
|
|
result += mat4(-0.12156009, -0.011645673, -0.07497513, 0.07160764, 0.033775024, -0.007643766, 0.12486011, -0.0766719, -0.022502638, -0.12700734, 0.056804404, 0.2373573, -0.052466217, 0.041492254, 0.010128061, -0.03906922) * go_5(1.0, 0.0);
|
|
result += mat4(-0.06947017, 0.039409123, -0.09709905, -0.035098486, -0.04671096, -0.025924092, -0.10862489, 0.014876228, -0.004171268, -0.055684786, -0.0430162, -0.015479635, -0.07883754, 0.028366983, -0.07044784, 0.026371619) * go_5(1.0, 1.0);
|
|
result += mat4(0.12491029, -0.01923031, 0.06077587, -0.11972133, 0.09019155, 0.07630519, 0.0030505152, 0.059707895, -0.033507288, 0.004496867, -0.11517756, 0.12770605, 0.094082855, 0.074296735, -0.1412585, -0.1442703) * go_6(-1.0, -1.0);
|
|
result += mat4(0.1385727, 0.038624324, -0.046046253, 0.05311024, -0.06940295, 0.04701938, 0.11245861, -0.005019864, -0.014386482, -0.012019259, 0.14635965, -0.06122487, -0.06906494, -0.16240194, 0.082200415, 0.048237212) * go_6(-1.0, 0.0);
|
|
result += mat4(0.14468831, -0.056279324, -0.046586104, -0.018987626, 0.052040957, -0.011430102, -0.035632648, 0.014202148, -0.11370422, 0.08197359, -0.16257696, -0.034705233, -0.06485444, -0.019303367, -0.09146792, 0.010801243) * go_6(-1.0, 1.0);
|
|
result += mat4(0.043830894, -0.2320351, 0.3333112, 0.2630448, 0.07373748, 0.33049798, 0.001642668, 0.22351044, 0.017811265, 0.23345731, -0.08962462, -0.1396011, 0.09703513, -0.01986389, -0.09969773, -0.14018197) * go_6(0.0, -1.0);
|
|
result += mat4(-0.12336034, -0.123443455, 0.0593038, -0.081452504, 0.04679253, -0.0040808073, -0.12084844, -0.20217294, -0.037490703, 0.19642612, 0.24421008, 0.5276441, -0.16672747, 0.014775753, 0.0105408225, 0.10049115) * go_6(0.0, 0.0);
|
|
result += mat4(0.089774966, -0.047527924, -0.0007001913, 0.071103655, -0.03167252, -0.06652405, 0.021832626, -0.0027828882, -0.14941277, 0.13698508, -0.05485965, 0.0018984928, 0.05728955, 0.05286551, -0.042861003, 0.1204859) * go_6(0.0, 1.0);
|
|
result += mat4(0.04797686, 0.017278861, 0.09963163, -0.07403156, 0.16224588, -0.00022055063, -0.035451055, -0.054200813, 0.0075777066, 0.032946784, 0.054119565, 0.013952389, -0.03471897, 0.119187325, 0.103756696, -0.16748244) * go_6(1.0, -1.0);
|
|
result += mat4(-0.12169368, -0.09832273, -0.07356938, 0.012601864, 0.0033501373, 0.06226625, -0.05481353, 0.057701286, 0.0074527394, 0.04647796, -0.01752196, -0.009819254, -0.055218786, 0.2523621, 0.0018503782, 0.013713094) * go_6(1.0, 0.0);
|
|
result += mat4(-0.07547788, 0.019841697, -0.063743204, 0.0016271871, -0.011909185, 0.025960762, -0.032695234, 0.05598399, 0.0324628, -0.032277346, 0.06817223, 0.094046466, -0.026146894, 0.04707096, -0.015286299, 0.021633716) * go_6(1.0, 1.0);
|
|
result += mat4(0.06242534, -0.0050779823, -0.120014794, 0.12003254, -0.07670613, -0.020087022, 0.052733466, 0.05739494, -0.06948649, -0.086232655, 0.044364158, -0.025977671, 0.00048737816, 0.10551334, -0.012772333, 0.0695593) * go_7(-1.0, -1.0);
|
|
result += mat4(0.021200884, 0.04894996, -0.066838525, -0.18435371, 0.042426147, 0.020211088, 0.055953514, -0.051933434, -0.10550434, -0.0026846863, -0.13971733, -0.02184495, 0.0014545146, -0.0915335, -0.027734866, -0.038728945) * go_7(-1.0, 0.0);
|
|
result += mat4(0.10364436, -0.08102991, 0.008440821, -0.09785022, -0.013573327, -0.071765065, 0.025664581, -0.03018756, 0.06772861, -0.036794353, -0.047585115, -0.051343437, -0.2573073, 0.0023996837, -0.008496379, -0.10749119) * go_7(-1.0, 1.0);
|
|
result += mat4(0.12116202, 0.035012618, 0.06828631, -0.011810479, 0.15149537, 0.2697212, -0.0818064, -0.12058153, 0.007521522, 0.1254704, 0.13602273, -0.042921092, -0.19474955, 0.08889511, 0.11905765, -0.48354828) * go_7(0.0, -1.0);
|
|
result += mat4(-0.06622801, -0.24205731, 0.00039195677, -0.018191213, 0.1418333, -0.23763578, 0.1262838, 0.3101213, 0.10095308, 0.092712864, 0.035186313, -0.05094548, 0.18132727, -0.11579797, 0.12947337, 0.17984942) * go_7(0.0, 0.0);
|
|
result += mat4(-0.024080344, 0.030900456, -0.07827444, -0.03047019, -0.07694487, -0.033968464, -0.09684677, 0.01864093, 0.08061825, 0.028564071, -0.06351325, 0.045664158, -0.02435513, 0.07335545, -0.15416555, 0.033914436) * go_7(0.0, 1.0);
|
|
result += mat4(-0.0066844383, 0.18998615, 0.08110769, 0.06075703, -0.00035976124, 0.17410082, -0.016190415, -0.072515815, 0.06237005, 0.039860904, -0.07000151, -0.044377264, -0.0135860015, 0.09124136, 0.07817149, -0.13900073) * go_7(1.0, -1.0);
|
|
result += mat4(-0.027519895, 0.11568574, 0.0938243, -0.054063454, 0.032663487, 0.0032921168, 0.12618391, -0.002021597, 0.051823083, -0.16533224, 0.028921695, -0.078465916, -0.058265906, -0.19176663, -0.04167813, -0.018580772) * go_7(1.0, 0.0);
|
|
result += mat4(0.09653387, -0.06955171, -0.0032987394, -0.0822022, -0.110497184, 0.027078046, -0.16925058, 0.022800285, -0.065462455, -0.06652677, 0.041567896, -0.03914663, 0.08393093, -0.027193561, 0.029169211, 0.026189756) * go_7(1.0, 1.0);
|
|
result += mat4(-0.028530449, -0.030343069, -0.094984, 0.0457086, 0.030453794, -0.10934838, 0.026118102, 0.05388074, 0.01141028, 0.17053983, 0.025053402, 0.10237525, -0.018245628, 0.0466102, 0.10027888, 0.007031101) * go_8(-1.0, -1.0);
|
|
result += mat4(0.031947598, 0.0142047815, 0.1008171, -0.021267543, 0.028890727, 0.015997184, 0.00904217, -0.07394312, -0.075407095, -0.123822875, 0.053960808, 0.03218678, -0.078903474, -0.0074488954, 0.006436021, -0.019293945) * go_8(-1.0, 0.0);
|
|
result += mat4(-0.093168706, 0.008948909, 0.04137674, -0.0897038, -0.020926308, -0.09558734, -0.022406321, 0.002949651, -0.011116838, 0.023297548, 0.15090843, -0.083772644, -0.07124868, -0.091127455, -0.046792395, -0.031992402) * go_8(-1.0, 1.0);
|
|
result += mat4(-0.110468656, -0.03484454, 0.053979196, 0.13552794, -0.04660422, -0.14299203, -0.10245069, 0.15799181, 0.052099496, -0.05660036, 0.09624473, -0.059447583, -0.19582441, -0.19371855, 0.029592248, 0.15151422) * go_8(0.0, -1.0);
|
|
result += mat4(-0.081927694, 0.010878782, 0.05471361, -0.038445257, -0.10004111, -0.00742982, -0.121207744, -0.07186629, 0.19857378, -0.12072702, 0.16502617, 0.3030395, 0.02941075, 0.16125154, 0.036315985, -0.12341535) * go_8(0.0, 0.0);
|
|
result += mat4(0.076093376, 0.108250566, -0.04474227, 0.0005430772, -0.056557942, 0.12507966, 0.043558195, 0.13094783, -0.009826428, -0.030642144, 0.044561736, -0.01616312, 0.124570616, 0.032103647, 0.00094704446, -0.062467944) * go_8(0.0, 1.0);
|
|
result += mat4(0.05288774, -0.04173261, -0.094127834, -0.048326064, -0.051140305, -0.09304907, 0.07285711, 0.10539822, 0.0757148, -0.10271482, -0.05926938, -0.011032404, 0.04824878, -0.13786948, -0.044193707, -0.06005154) * go_8(1.0, -1.0);
|
|
result += mat4(-0.029262906, -0.04053909, -0.10859774, -0.024688296, -0.07468686, 0.02183861, -0.05050053, -0.036748923, -0.04600484, 0.13406211, 0.3144956, 0.03387907, 0.030911079, 0.03854964, 0.040388837, -0.051211257) * go_8(1.0, 0.0);
|
|
result += mat4(0.04581977, -0.050508924, -0.09192806, 0.045895346, -0.042796656, -0.075065635, 0.06755441, 0.1621575, 0.07225555, -0.021305092, 0.07891141, 0.062734276, 0.032362953, -0.01723129, 0.056368362, -0.095162146) * go_8(1.0, 1.0);
|
|
result += mat4(-0.1290508, 0.09830274, 0.19029498, -0.13119996, 0.061265036, 0.023812773, -0.03416971, -0.027166106, 0.1472619, 0.110970646, -0.13354625, 0.115644634, -0.09297424, -0.045373987, -0.07155728, -0.02823285) * go_9(-1.0, -1.0);
|
|
result += mat4(0.29414526, 0.031436007, 0.13467501, 0.23785688, 0.020552235, -0.17962979, -0.011401214, 0.07844186, 0.0020100463, 0.033093207, 0.21094067, -0.006131698, 0.036331773, -0.056775156, 0.28799078, 0.21105652) * go_9(-1.0, 0.0);
|
|
result += mat4(0.05108093, 0.062294826, 0.0753641, 0.061110258, -0.07275481, 0.034971233, -0.19592805, 0.010506673, -0.07471706, 0.010695946, -0.058127686, -0.013674127, -0.11572427, 0.0047275554, 0.07725011, 0.077781096) * go_9(-1.0, 1.0);
|
|
result += mat4(0.021191953, -0.16302282, 0.031195858, -0.016690757, -0.042332754, 0.12576906, 0.028911225, -0.042581353, 0.14656056, -0.002111526, -0.054867882, 0.053384244, -0.00054000184, 0.2865656, 0.08568847, -0.005297186) * go_9(0.0, -1.0);
|
|
result += mat4(0.24459156, -0.0040446254, -0.011034847, 0.020034194, -0.13969189, 0.026051244, 0.010284825, 0.052832644, -0.3302616, -0.1641068, 0.05866752, 0.049114868, -0.19706532, -0.038541116, 0.15689386, -0.014460528) * go_9(0.0, 0.0);
|
|
result += mat4(0.20088449, -0.18249178, -0.19120571, -0.021813335, -0.02567551, -0.10124292, -0.2129278, -0.15769608, -0.100296415, 0.12818226, -0.18814573, 0.057463627, -0.2173712, 0.14296606, -0.19845422, 0.04402624) * go_9(0.0, 1.0);
|
|
result += mat4(-0.04501396, -0.016134484, -0.048776157, -0.027523788, 0.14263803, -0.033841856, 0.14165118, 0.11231477, -0.117087275, 0.071836635, 0.033528548, 0.025089972, -0.11626535, -0.059059534, 0.039012797, 0.056363076) * go_9(1.0, -1.0);
|
|
result += mat4(-0.019880112, -0.10156109, 0.14758001, 0.12805681, 0.096986346, -0.047886547, 0.007990481, 0.2734917, -0.03103439, 0.07075354, 0.074489154, 0.048702024, 0.024555484, 0.28999108, 0.06102981, -0.10981428) * go_9(1.0, 0.0);
|
|
result += mat4(-0.074777, 0.001804593, 0.07410528, -0.08746074, -0.039508138, 0.015179453, 0.032183602, 0.12169698, 0.05552145, -0.10485944, 0.05223517, -0.083807155, 0.1067679, -0.040424254, -0.051757596, 0.03411554) * go_9(1.0, 1.0);
|
|
result += mat4(0.08332494, -0.017157076, -0.15541728, -0.02507669, 0.09043872, 0.053027406, -0.098478906, 0.014016389, 0.07899013, 0.09959897, 0.13936171, 0.16692483, 0.017292997, 0.13855843, 0.0750788, 0.14084084) * go_10(-1.0, -1.0);
|
|
result += mat4(0.06163187, 0.050483577, 0.17532788, 0.12694873, 0.036072567, -0.12612706, -0.068937264, 0.0208678, 0.0955886, -0.21836248, 0.05693701, 0.11552043, 0.05373496, -0.0076306504, -0.1134099, -0.23140456) * go_10(-1.0, 0.0);
|
|
result += mat4(-0.02418352, 0.07047251, -0.08015661, -0.020395076, -0.12786765, 0.06069527, 0.035371967, 0.045634307, -0.1251301, 0.17768264, -0.09586097, 0.10744777, 0.06199948, -0.06666097, -0.031270064, -0.029521335) * go_10(-1.0, 1.0);
|
|
result += mat4(0.08700529, 0.0521275, 0.0134138055, 0.12139678, 0.06302291, 0.021202987, -0.07977008, 0.048815608, 0.15826204, -0.09358012, -0.02154612, -0.24544328, -0.013697682, 0.0016321354, 0.13801077, -0.06325918) * go_10(0.0, -1.0);
|
|
result += mat4(0.20855603, 0.13971342, 0.20750982, 0.054931514, -0.0072197737, -0.18407024, -0.05493873, -0.12714154, -0.030079355, 0.118419215, -0.10421147, 0.036947545, 0.0629553, 0.14460443, 0.06846684, 0.0016486015) * go_10(0.0, 0.0);
|
|
result += mat4(0.0019238774, -0.06716329, -0.036974065, -0.025171692, 0.003145538, 0.009222313, -0.08951116, -0.028844675, 0.0019689503, 0.0038089454, 0.049644902, 0.015088383, -0.08523328, -0.057811886, 0.13893504, 0.084998205) * go_10(0.0, 1.0);
|
|
result += mat4(0.017735925, -0.027136771, -0.018788278, 0.0014902869, -0.039537203, -0.0032515842, 0.010640472, -0.048517723, 0.14024682, -0.026336543, 0.051186156, 0.03411434, -0.12304973, -0.018773645, -0.07901994, -0.014950501) * go_10(1.0, -1.0);
|
|
result += mat4(0.04492738, -0.09235136, 0.016306276, -0.07114585, 0.021729728, -0.00079245685, 0.025323827, -0.0053302613, -0.10879124, -0.13935542, 0.058140572, -0.030897664, 0.017131852, 0.2910438, -0.05578602, 0.1226322) * go_10(1.0, 0.0);
|
|
result += mat4(0.064604685, 0.0016290275, -0.05219982, -0.046904758, 0.055705804, -0.09864041, 0.0959681, 0.01864796, -0.11455475, -0.09758585, -0.022786105, -0.038040295, -0.0051123835, 0.13658151, 0.07356666, -0.05481127) * go_10(1.0, 1.0);
|
|
result += mat4(-0.099208795, -0.057029903, -0.16799642, -0.0044347527, -0.06552306, 0.048165623, 0.045094546, -0.039906844, -0.0046389205, -0.02457306, 0.015797745, 0.058697045, -0.054800622, -0.12494134, 0.07049534, 0.037583154) * go_11(-1.0, -1.0);
|
|
result += mat4(-0.009378128, 0.035244588, -0.09924745, 0.18942085, 0.0014096628, 0.11226739, 0.0072757765, -0.055776034, 0.082616255, -0.11925312, -0.06925827, 0.14569838, -0.19810294, 0.06581726, 0.09252449, 0.0068915454) * go_11(-1.0, 0.0);
|
|
result += mat4(-0.064408444, -0.061193526, -0.038778774, 0.053977504, 0.039270118, -0.10278301, 0.086721204, -0.113875344, 0.06850686, -0.012360228, 0.015361166, 0.046675045, 0.13093628, 0.0005417212, 0.13471904, 0.06485523) * go_11(-1.0, 1.0);
|
|
result += mat4(0.07989225, -0.100406826, -0.10944563, 0.07256156, 0.10232373, 0.009566911, -0.0461756, -0.16797575, 0.039543778, -0.15199925, 0.031132417, -0.092911355, -0.09814002, -0.31025404, 0.02272795, 0.2248659) * go_11(0.0, -1.0);
|
|
result += mat4(0.08360824, -0.0737838, -0.14736836, 0.15890516, 0.13234118, 0.08391826, -0.076949224, 0.34322366, -0.115592755, 0.049026012, 0.020826623, 0.17741196, 0.16721897, 0.26695272, -0.34930348, -0.14795424) * go_11(0.0, 0.0);
|
|
result += mat4(-0.06995868, 0.0056425664, 0.00419832, -0.10647465, 0.0044470876, -0.09307231, 0.30857167, 0.10302482, 0.19641803, 0.0001864599, 0.16174625, 0.12199131, -0.044310175, 0.0552523, 0.09890855, -0.10056144) * go_11(0.0, 1.0);
|
|
result += mat4(0.0007076519, -0.022538826, -0.013704813, 0.12702727, 0.061103735, 0.05082559, 0.08556586, -0.062643535, -0.021830598, 0.026547015, 0.002573239, -0.037739865, -0.07985882, 0.15111215, 0.0019819294, 0.014503066) * go_11(1.0, -1.0);
|
|
result += mat4(0.07269095, 0.030431513, 0.12673184, -0.015513133, 0.12458577, 0.04736781, 0.25453326, -0.016506296, 0.018488389, 0.06741469, -0.1681027, -0.060571954, 0.041646067, -0.034232, -0.09514311, 0.06477151) * go_11(1.0, 0.0);
|
|
result += mat4(-0.02164016, -0.081735596, 0.18272854, -0.00049256656, 0.048891954, 0.075129755, 0.064598955, 0.027568849, 0.06284424, 0.05611894, 0.15823774, 0.10164623, 0.08859664, 0.00096352655, 0.05039276, 0.059170373) * go_11(1.0, 1.0);
|
|
result += vec4(0.0307871, 0.026051836, -0.027859464, -0.064916685);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x72
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_3_tf
|
|
//!BIND conv2d_3_tf1
|
|
//!BIND conv2d_3_tf2
|
|
//!BIND conv2d_3_tf3
|
|
//!BIND conv2d_3_tf4
|
|
//!BIND conv2d_3_tf5
|
|
//!BIND conv2d_5_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!SAVE conv2d_6_tf
|
|
//!WIDTH conv2d_3_tf.w
|
|
//!HEIGHT conv2d_3_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_3_tf1_tex(conv2d_3_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_3_tf2_tex(conv2d_3_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_3_tf3_tex(conv2d_3_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_3_tf4_tex(conv2d_3_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_3_tf5_tex(conv2d_3_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_3_tf1_tex(conv2d_3_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_3_tf2_tex(conv2d_3_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_3_tf3_tex(conv2d_3_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_3_tf4_tex(conv2d_3_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_3_tf5_tex(conv2d_3_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.2814602, 0.2277187, 0.29435065, 0.2408478, 0.105000384, -0.27356383, 0.036709026, -0.082270764, -0.051774833, -0.30756906, 0.22812237, -0.1716299, 0.066388845, 0.071013935, -0.17304003, 0.36941883) * g_0;
|
|
result += mat4(0.010861255, 0.035956513, 0.15827346, -0.1573738, 0.28040013, -0.14285654, -0.1002935, -0.17466334, 0.23483588, -0.4468472, -0.083240435, -0.28713223, 0.20002778, -0.22584511, -0.017660992, 0.15582836) * g_1;
|
|
result += mat4(-0.26468986, 0.0936422, -0.043597784, -0.18019813, 0.12215305, 0.30424714, 0.41272894, 0.2958579, -0.1279559, -0.1711416, -0.1494349, -0.15574773, -0.20571063, 0.33361194, 0.31610423, 0.07864312) * g_2;
|
|
result += mat4(0.16455007, 0.23325196, -0.31887302, -0.02492541, -0.55856234, -0.0031886266, -0.11389042, -0.16259733, -0.25545537, 0.4201699, 0.13217591, 0.07380258, 0.030272568, 0.06883875, -0.16177692, 0.23754956) * g_3;
|
|
result += mat4(-0.35823125, 0.26168248, 0.06723545, -0.25340518, -0.12674278, 0.16228193, -0.12574689, -0.018757205, 0.11605118, -0.2045155, 0.0029288447, -0.030387532, -0.25938132, -0.22786854, 0.19045345, -0.13012685) * g_4;
|
|
result += mat4(-0.065970175, 0.0951907, 0.035318363, 0.13688375, 0.059882894, -0.11809705, -0.05243897, -0.352783, 0.39302433, 0.01651681, -0.25153002, 0.08879433, -0.20241016, 0.044586238, -0.41407117, 0.25752586) * g_5;
|
|
result += mat4(-0.20024903, -0.029611953, -0.28356886, -0.025313022, 0.089501604, -0.033136155, -0.1373444, -0.044254545, 0.039401148, 0.18670277, -0.31939486, 0.21125056, 0.26854888, 0.02871854, 0.19365928, -0.18145144) * g_6;
|
|
result += mat4(-0.14600311, -0.08483165, 0.018047078, 0.035864647, -0.20588812, 0.2844857, 0.14752424, 0.21875894, -0.30613014, 0.3414608, 0.30383223, 0.2768457, -0.0075907917, 0.40889844, 0.16538632, 0.32830665) * g_7;
|
|
result += mat4(0.38021183, -0.12041459, 0.14818075, 0.19251712, -0.091613315, -0.27928743, -0.24842967, -0.23841564, -0.11372076, 0.09261184, 0.31207904, 0.16299677, 0.15786624, -0.03707239, -0.052265193, -0.21610543) * g_8;
|
|
result += mat4(-0.043928284, -0.07245048, 0.17044666, 0.18489574, -0.02868591, 0.06388082, -0.21634308, 0.2171092, -0.25383195, -0.13655554, 0.050747488, 0.11323931, 0.14448066, 0.10746246, 0.021201093, -0.05081431) * g_9;
|
|
result += mat4(0.010971268, -0.31695822, 0.06632742, 0.2854791, -0.056062803, -0.026609302, -0.011950665, -0.10058546, -0.18215255, 0.081689365, 0.19777119, 0.34793538, 0.30169576, 0.004764223, -0.076669544, 0.044626463) * g_10;
|
|
result += mat4(0.18681169, 0.210494, 0.19781908, -0.08093209, -0.21912567, 0.11352498, 0.013049184, -0.21621475, 0.03843136, 0.26926485, 0.09463884, 0.23498456, 0.23216794, -0.13159363, 0.16778943, -0.025485182) * g_11;
|
|
result += mat4(0.19025959, 0.58493006, 0.056999333, 0.05119183, 0.1487993, -0.38447016, -0.17310664, -0.39204964, -0.064214475, 0.08697591, 0.25842324, 0.04074829, 0.078874275, -0.24143232, -0.22189601, 0.024380466) * g_12;
|
|
result += mat4(-0.10456438, -0.19316635, -0.092004195, -0.10626127, -0.18705751, 0.122325554, 0.07493597, 0.14279996, 0.31013626, 0.060707815, -0.14635678, -0.044795312, 0.006639313, 0.13290113, 0.3026528, -0.033154637) * g_13;
|
|
result += mat4(0.16083871, 0.036329053, 0.12857045, -0.20901158, 0.071605735, 0.029462824, -0.022499103, -0.2286325, -0.53524, 0.04800241, 0.021400047, -0.39015284, -0.07230238, 0.18508849, -0.032816987, -0.21694009) * g_14;
|
|
result += mat4(0.1175502, 0.2037501, -0.13257551, 0.101748504, 0.10230803, -0.12004787, -0.20809744, -0.17061722, -0.020457663, -0.3528951, 0.21511243, -0.07210097, 0.107290834, -0.30615744, 0.1965365, 0.18667313) * g_15;
|
|
result += mat4(0.003279607, -0.13956092, 0.03445401, -0.0033504022, -0.095258705, -0.010740883, 0.014021217, 0.05173165, -0.053114057, -0.03752222, -0.05321192, 0.19231808, 0.11545275, -0.37370005, -0.2259635, 0.096631624) * g_16;
|
|
result += mat4(0.11959142, 0.08352709, -0.059375286, -0.14197232, 0.04815708, 0.04520147, -0.112980366, 0.14088671, 0.01989498, -0.034033295, -0.08994673, -0.10527029, 0.17595868, -0.03632629, 0.28482202, 0.01762533) * g_17;
|
|
result += vec4(0.066603035, 0.016885368, 0.04719387, 0.013140797);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x72
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_3_tf
|
|
//!BIND conv2d_3_tf1
|
|
//!BIND conv2d_3_tf2
|
|
//!BIND conv2d_3_tf3
|
|
//!BIND conv2d_3_tf4
|
|
//!BIND conv2d_3_tf5
|
|
//!BIND conv2d_5_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!SAVE conv2d_6_tf1
|
|
//!WIDTH conv2d_3_tf.w
|
|
//!HEIGHT conv2d_3_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_3_tf1_tex(conv2d_3_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_3_tf2_tex(conv2d_3_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_3_tf3_tex(conv2d_3_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_3_tf4_tex(conv2d_3_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_3_tf5_tex(conv2d_3_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_3_tf1_tex(conv2d_3_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_3_tf2_tex(conv2d_3_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_3_tf3_tex(conv2d_3_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_3_tf4_tex(conv2d_3_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_3_tf5_tex(conv2d_3_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.028307766, 0.35418066, -0.08265425, 0.0524958, -0.052733433, -0.23152119, 0.060992382, 0.13296764, 0.20385887, 0.20722593, -0.18456522, -0.06654151, 0.073012725, 0.1738478, -0.081442595, -0.09303688) * g_0;
|
|
result += mat4(-0.0879442, 0.117100604, -0.2022827, 0.2498845, -0.13747723, 0.012266356, 0.07140362, -0.17850813, -0.15422471, 0.06091594, -0.25272366, 0.06035512, -0.043132532, 0.14852233, -0.07621397, 0.15171692) * g_1;
|
|
result += mat4(-0.020322306, -0.045558915, -0.04046774, 0.12558004, -0.36567464, -0.2146117, -0.014710619, 0.06968004, -0.18818662, -0.07847737, -0.03947554, -0.082270905, -0.1513966, -0.3303706, 0.15264171, -0.22679567) * g_2;
|
|
result += mat4(-0.08894719, 0.12672763, 0.21034755, 0.07608016, 0.164807, 0.2194763, -0.0050431606, 0.2508391, 0.21810757, -0.12751459, 0.33856523, 0.119690664, 0.16341431, -0.11109964, -0.27633113, 0.017533202) * g_3;
|
|
result += mat4(-0.06003009, -0.21883024, 0.1129707, 0.18688855, -0.25084695, -0.123959206, -0.044746067, 0.05043674, -0.20955594, -0.016574647, 0.2791325, 0.07776435, -0.23383816, -0.13642253, -0.1239683, -0.06908085) * g_4;
|
|
result += mat4(0.065739244, 0.33356935, 0.046213064, -0.5236776, 0.13756007, 0.24683417, 0.20376736, 0.18232968, -0.044425983, 0.18467174, 0.33787662, 0.30031878, -0.07485783, 0.004371367, -0.06572547, -0.032950997) * g_5;
|
|
result += mat4(0.29744133, -0.12391908, -0.22200936, -0.12863474, -0.121608935, -0.04758852, -0.12311768, -0.12681226, -0.2310094, -0.39655608, 0.19449705, 0.16235611, 0.21368645, -0.19411276, 0.124115534, 0.016622102) * g_6;
|
|
result += mat4(0.11676303, 0.02057063, 0.25251, 0.009276932, 0.32482183, -0.040129874, -0.1519303, -0.10388706, -0.028108373, -0.102412194, 0.23188083, 0.18341891, 0.03013491, -0.048286173, 0.0058329282, -0.34457833) * g_7;
|
|
result += mat4(-0.22898167, -0.117408544, -0.017038332, -0.15345758, 0.046906043, 0.19235781, 0.04426378, -0.19599624, -0.017836578, 0.15131067, 0.041776728, 0.14426501, 0.17741966, 0.22128138, -0.20428863, 0.20178981) * g_8;
|
|
result += mat4(-0.004315044, -0.31666014, -0.29125935, -0.12128216, 0.050062098, -0.28783244, 0.20843488, 0.061466597, 0.0057525453, 0.20799558, -0.0835697, -0.004084688, -0.27317607, 0.04916592, -0.078759655, 0.19164392) * g_9;
|
|
result += mat4(0.099757336, -0.11831386, -0.2699008, -0.30549145, 0.118077554, 0.25497273, 0.13997836, 0.075740926, 0.049060423, 0.06831763, -0.3817807, -0.006211132, -0.11377098, -0.09531877, 0.08467258, -0.14856833) * g_10;
|
|
result += mat4(0.052639242, -0.18830816, -0.13748348, 0.28691578, 0.07127495, -0.5680293, 0.12841675, -0.39588076, -0.097284764, 0.36028334, -0.11519626, -0.2415703, 0.11885911, 0.046078153, 0.042018026, 0.03702952) * g_11;
|
|
result += mat4(0.24275999, -0.22876017, 0.032914363, 0.1260231, 0.32194653, 0.0028965252, 0.17534332, 0.0040270244, 0.03671861, -0.2601385, -0.062798336, -0.13836406, -0.25233975, 0.09016869, 0.10884071, -0.1415055) * g_12;
|
|
result += mat4(-0.101087205, -0.043435648, 0.08795096, -0.16750972, -0.30129662, -0.10044177, 0.03310268, 0.08606169, 0.03684131, 0.048794735, 0.08225686, 0.15893319, 0.28447697, -0.09976657, -0.1304865, 0.21622008) * g_13;
|
|
result += mat4(0.0010363923, 0.25213385, 0.20465605, 0.22295177, 0.24521509, -0.2710824, -0.20280603, -0.12543409, -0.18289496, -0.06373974, -0.18411794, 0.061445527, -0.060365368, -0.08516493, 0.08249083, 0.07828689) * g_14;
|
|
result += mat4(-0.060793873, -0.09924079, -0.09869246, -0.4285292, -0.37705702, 0.3411712, 0.22729903, 0.23361796, -0.2354948, 0.21899778, 0.059090182, -0.067654245, 0.16081595, -0.12565234, -0.19271798, -0.09305432) * g_15;
|
|
result += mat4(0.12694947, 0.03796598, 0.032361817, 0.10044351, 0.04519685, -0.13140874, 0.024121989, 0.04257511, 0.07970886, 0.041310467, 0.022053141, -0.19843316, -0.08216455, -0.05973446, -0.12435201, -0.13035697) * g_16;
|
|
result += mat4(-0.048266474, -0.12415696, 0.06391087, -0.15999964, 0.016235331, 0.09552785, 0.12677793, -0.14847611, -0.36091015, 0.027757538, -0.029300604, 0.09124694, 0.4466633, 0.0061744438, -0.055607114, -0.21320932) * g_17;
|
|
result += vec4(-0.0014512301, -0.027619217, -0.016000178, 0.0588223);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x72
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_3_tf
|
|
//!BIND conv2d_3_tf1
|
|
//!BIND conv2d_3_tf2
|
|
//!BIND conv2d_3_tf3
|
|
//!BIND conv2d_3_tf4
|
|
//!BIND conv2d_3_tf5
|
|
//!BIND conv2d_5_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!SAVE conv2d_6_tf2
|
|
//!WIDTH conv2d_3_tf.w
|
|
//!HEIGHT conv2d_3_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_3_tf1_tex(conv2d_3_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_3_tf2_tex(conv2d_3_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_3_tf3_tex(conv2d_3_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_3_tf4_tex(conv2d_3_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_3_tf5_tex(conv2d_3_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_3_tf1_tex(conv2d_3_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_3_tf2_tex(conv2d_3_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_3_tf3_tex(conv2d_3_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_3_tf4_tex(conv2d_3_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_3_tf5_tex(conv2d_3_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.2198397, 0.07474122, 0.25085604, -0.16841322, -0.018095493, -0.100231275, 0.12683615, -0.12938105, 0.16326998, -0.34271434, -0.0143025955, -0.10391288, -0.09107246, 0.13806722, -0.011419862, 0.19981647) * g_0;
|
|
result += mat4(-0.0316539, -0.25519773, -0.1209305, -0.06143041, 0.05174701, -0.19147594, 0.11087807, -0.06532573, -0.2013948, -0.14687414, 0.0901586, 0.27443606, -0.14269981, 0.22332881, -0.23509043, 0.2060809) * g_1;
|
|
result += mat4(0.109063365, 0.052561738, 0.08149706, 0.019311855, 0.089754134, -0.044553958, -0.1007105, 0.0009892394, -0.09903347, -0.28857565, 0.30435443, 0.0015787942, -0.41297057, -0.22761044, -0.01780215, -0.062698446) * g_2;
|
|
result += mat4(-0.01552362, 0.2901384, 0.1680081, -0.17513134, -0.06897878, 0.17592743, -0.43503913, -0.04596621, 0.012619745, -0.21403605, -0.16948934, -0.06996391, -0.29766196, 0.12116802, -0.048980057, 0.22243607) * g_3;
|
|
result += mat4(0.24363546, 0.3689805, -0.21884279, 0.3818604, -0.16839428, -0.0556417, -0.12723716, 0.1746213, -0.19730906, 0.1479734, 0.11733126, 0.018830176, 0.049721003, -0.0035500277, -0.17519367, -0.2499017) * g_4;
|
|
result += mat4(0.041031633, -0.24796546, 0.09606645, 0.0395995, 0.42594504, 0.067137666, -0.14129956, -0.05022722, 0.25581697, 0.08863704, 0.16423233, -0.33918852, -0.19086458, 0.15642363, -0.0023126223, -0.2951177) * g_5;
|
|
result += mat4(-0.23185489, -0.08386336, -0.07150133, 0.13777092, -0.14072278, 0.02838937, -0.042908818, 0.025783628, -0.11648161, 0.19068946, -0.07160502, 0.09172534, 0.24410047, -0.060724117, -0.17257373, -0.1972248) * g_6;
|
|
result += mat4(-0.0072582318, -0.011030204, 0.048395652, 0.10914101, -0.15400207, 0.20606099, -0.11960791, 0.24877293, 0.17356429, -0.082197405, -0.010170127, -0.031832773, -0.033288233, -0.20086886, 0.27148035, -0.012432371) * g_7;
|
|
result += mat4(-0.29836038, 0.0151038375, 0.21195093, 0.13568489, -0.14903903, -0.086146735, 0.021210156, 0.18356802, 0.19766386, 0.32297, -0.14609253, 0.04741111, 0.15015276, -0.24872275, 0.10544547, 0.079276256) * g_8;
|
|
result += mat4(-0.4609224, 0.00049777416, -0.1300821, 0.10355109, 0.1587039, -0.007964796, -0.053031847, -0.08619027, 0.071805984, 0.29670206, -0.03566753, -0.2677423, 0.0313238, 0.09650806, 0.12557615, -0.41598156) * g_9;
|
|
result += mat4(-0.28125992, -0.21541679, 0.25341314, -0.08868869, 0.16403335, 0.31890368, 0.1563854, -0.2924655, 0.31608266, 0.11475146, -0.14041825, 0.08089581, 0.22312473, 0.09776039, 0.21496448, 0.09443975) * g_10;
|
|
result += mat4(0.39393064, 0.29192236, -0.3070681, -0.25582662, -0.34292933, 0.3159496, -0.27226242, 0.08320266, -0.06314073, 0.10564044, -0.13292909, 0.18393274, 0.18127939, 0.22060028, 0.1666197, -0.043861568) * g_11;
|
|
result += mat4(0.25017107, -0.026370317, 0.13043208, -0.18787016, -0.2924086, -0.38265043, 0.07511309, -0.035600156, 0.05386576, -0.10529828, -0.1958516, -0.0059428713, -0.117195666, 0.050320167, 0.127351, 0.028612586) * g_12;
|
|
result += mat4(-0.45573857, -0.20206647, -0.30226526, -0.21770813, 0.063414164, 0.25145012, 0.012881708, -0.2445157, 0.022737922, -0.1239582, 0.009450774, -0.17895594, -0.064821586, 0.0061988737, -0.13174036, 0.045387045) * g_13;
|
|
result += mat4(0.16634953, 0.30238214, -0.14754951, -0.007021737, -0.26485208, 0.19425714, -0.01118022, -0.1616703, -0.011515406, 0.123444855, -0.15848742, -0.124876305, 0.067033015, 0.031733245, -0.24944969, -0.19156238) * g_14;
|
|
result += mat4(-0.25266653, -0.019663328, 0.2661182, -0.015626933, -0.012707616, -0.118515946, 0.14260185, 0.0751291, 0.23328146, 0.15651625, 0.34605113, 0.07489629, -0.16263823, 0.017182954, 0.5533502, 0.13305502) * g_15;
|
|
result += mat4(-0.097454436, 0.030718658, 0.14785567, -0.097030275, -0.013122067, -0.083220206, -0.050912652, -0.023857877, 0.080882534, 0.37543672, -0.01784633, -0.16073057, -0.26875043, -0.22118908, 0.1596688, 0.09931549) * g_16;
|
|
result += mat4(-0.0035172352, -0.094074495, -0.18603468, 0.051569406, 0.113153726, -0.24173748, 0.00024355631, -0.13451214, 0.09677065, -0.24573214, 0.117040165, 0.20340551, -0.49295896, 0.32970372, -0.07180111, 0.13000454) * g_17;
|
|
result += vec4(0.05127727, -0.027001878, 0.0080799395, 0.050219692);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x72
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_3_tf
|
|
//!BIND conv2d_3_tf1
|
|
//!BIND conv2d_3_tf2
|
|
//!BIND conv2d_3_tf3
|
|
//!BIND conv2d_3_tf4
|
|
//!BIND conv2d_3_tf5
|
|
//!BIND conv2d_5_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!SAVE conv2d_6_tf3
|
|
//!WIDTH conv2d_3_tf.w
|
|
//!HEIGHT conv2d_3_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_3_tf1_tex(conv2d_3_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_3_tf2_tex(conv2d_3_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_3_tf3_tex(conv2d_3_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_3_tf4_tex(conv2d_3_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_3_tf5_tex(conv2d_3_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_3_tf1_tex(conv2d_3_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_3_tf2_tex(conv2d_3_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_3_tf3_tex(conv2d_3_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_3_tf4_tex(conv2d_3_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_3_tf5_tex(conv2d_3_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.0947985, 0.2332559, -0.024840387, -0.12695168, -0.011602261, -0.14465079, 0.08024385, -0.22528623, 0.1340458, -0.07059673, -0.3695891, 0.12334664, 0.20933141, -0.09326808, -0.2975661, 0.061081678) * g_0;
|
|
result += mat4(-0.11507307, 0.35812494, -0.17707227, -0.014434964, -0.15823618, 0.13134694, -0.18273474, -0.14312805, 0.12061932, 0.1496361, -0.03527865, 0.08025679, 0.21869129, 0.07058963, -0.16300866, 0.047147434) * g_1;
|
|
result += mat4(-0.044750545, -0.009959345, -0.099832825, 0.05492685, -0.08516999, -0.05746863, -0.15037218, -0.12047596, 0.027117934, 0.08349217, -0.064510226, 0.19004482, 0.016504517, -0.19758373, -0.029387178, 0.024999566) * g_2;
|
|
result += mat4(-0.19270788, -0.15476836, 0.24117126, -0.0379194, 0.3743418, -0.103265874, 0.13830991, -0.036348045, 0.0559878, -0.10660704, 0.13829483, -0.16407472, -0.11997183, 0.01790227, 0.14605843, -0.07279059) * g_3;
|
|
result += mat4(0.28092733, -0.16125645, -0.2748912, 0.26881403, 0.059113085, -0.054873332, -0.021884039, 0.089765035, -0.1258933, -0.039875403, 0.08049244, 0.14648421, 0.15913528, 0.11868216, 0.26197466, 0.20166811) * g_4;
|
|
result += mat4(0.15582782, 0.404659, 0.0015323871, 0.042285357, 0.03543343, 0.28058854, 0.09269268, -0.1961485, -0.050092928, 0.23627135, 0.18665306, -0.2269804, 0.019387577, -0.27056855, -0.032678973, -0.1313305) * g_5;
|
|
result += mat4(0.041672353, -0.11869399, -0.10265229, -0.08001758, -0.083409294, 0.27257153, 0.029960267, 0.009504049, -0.25293326, -0.028966684, -0.26568112, 0.07192321, -0.45549354, 0.00988489, 0.2838676, -0.15658323) * g_6;
|
|
result += mat4(-0.0969234, -0.44853622, 0.1312735, 0.36762837, 0.29700848, -0.055008043, -0.107015595, 0.26205721, -0.025227455, -0.26865402, 0.037786532, 0.14742893, -0.21797921, -0.09365055, 0.1648379, 0.11523759) * g_7;
|
|
result += mat4(-0.08800255, -0.22999708, 0.15386356, -0.15094003, -0.1857585, 0.11688115, 0.23875357, 0.19499353, 0.0412525, -0.024864528, 0.22446378, -0.2659101, 0.08516812, 0.45923305, 0.10732433, -0.09354394) * g_8;
|
|
result += mat4(0.20697595, -0.20005412, -0.035901353, -0.13551861, -0.025914649, -0.28284183, -0.11218443, -0.10993567, -0.07797817, 0.1730173, -0.09316322, 0.03815029, 0.10571366, -0.038362827, -0.1914281, -0.09927578) * g_9;
|
|
result += mat4(-0.14568554, -0.11636077, 0.19675533, -0.041014023, -0.25883666, -0.12882718, 0.31183702, -0.0011882539, 0.14754722, 0.024993556, 0.0168953, 0.067850605, -0.19463025, 0.034864627, 0.041240662, -0.03222681) * g_10;
|
|
result += mat4(-0.1426807, 0.15183157, 0.15200667, -0.14715526, -0.17436193, -0.2790302, 0.092628404, 0.17627066, 0.08689362, -0.12282142, -0.22965756, 0.0715357, -0.06378668, -0.038817883, 0.006680897, -0.16652597) * g_11;
|
|
result += mat4(-0.112664886, 0.16732118, -0.082690485, -0.36430246, 0.1043046, -0.20746218, -0.26694834, 0.118057035, -0.005464113, 0.16917925, -0.007820917, 0.0140616475, -0.074033186, -0.21199086, 0.03959589, -0.024746282) * g_12;
|
|
result += mat4(0.11506031, 0.23876894, -0.08834736, 0.21521813, -0.074349664, 0.13053001, -0.11863015, 0.0024896788, 0.031616643, -0.24681048, 0.1621546, 0.038487136, -0.001199782, 0.14914162, 0.013806334, 0.01951855) * g_13;
|
|
result += mat4(-0.008453833, 0.26529935, -0.11500479, -0.44277295, 0.043010518, -0.15156142, -0.17212024, -0.13284442, 0.14113069, 0.076676466, -0.120249875, -0.10003942, 0.36022985, 0.35055906, -0.021890117, 0.13908324) * g_14;
|
|
result += mat4(0.074958876, 0.18787664, 0.11494537, 0.3821255, 0.07704636, 0.175412, 0.024792312, 0.111158736, -0.060063202, -0.08937286, 0.21284722, 0.09321436, 0.050422233, -0.10608569, 0.13923599, 0.11934222) * g_15;
|
|
result += mat4(-0.07895042, -0.019823313, -0.042007383, -0.044339843, 0.050560612, -0.13500823, -0.1591223, 0.2070823, 0.3217226, 0.0050152694, -0.08454321, 0.15309334, 0.1487958, 0.23113962, -0.037693724, -0.011872479) * g_16;
|
|
result += mat4(-0.08302536, 0.12064725, 0.015102583, 0.019917564, -0.15781376, -0.03290087, -0.365194, -0.010774219, -0.15353476, 0.0021079888, 0.14096913, 0.015317738, -0.21820316, -0.18941125, -0.07205566, 0.16917731) * g_17;
|
|
result += vec4(-0.05091759, 0.03221878, 0.05122183, -0.009628421);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x72
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_3_tf
|
|
//!BIND conv2d_3_tf1
|
|
//!BIND conv2d_3_tf2
|
|
//!BIND conv2d_3_tf3
|
|
//!BIND conv2d_3_tf4
|
|
//!BIND conv2d_3_tf5
|
|
//!BIND conv2d_5_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!SAVE conv2d_6_tf4
|
|
//!WIDTH conv2d_3_tf.w
|
|
//!HEIGHT conv2d_3_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_3_tf1_tex(conv2d_3_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_3_tf2_tex(conv2d_3_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_3_tf3_tex(conv2d_3_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_3_tf4_tex(conv2d_3_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_3_tf5_tex(conv2d_3_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_3_tf1_tex(conv2d_3_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_3_tf2_tex(conv2d_3_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_3_tf3_tex(conv2d_3_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_3_tf4_tex(conv2d_3_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_3_tf5_tex(conv2d_3_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.21972683, 0.075138226, 0.10989088, 0.15510671, -0.1459443, -0.0016620584, 0.061098658, 0.31031737, 0.066652276, -0.028504146, -0.2547878, 0.05934589, -0.097173244, -0.02434052, 0.00775221, -0.1422285) * g_0;
|
|
result += mat4(0.107364714, -0.04124382, 0.15790261, -0.06481956, 0.17907274, -0.060845222, 0.12766309, -0.00051298866, -0.102316536, -0.15852973, -0.08159873, -0.044251855, 0.27320522, -0.058971684, 0.10957703, 0.11716146) * g_1;
|
|
result += mat4(-0.013670836, 0.24698958, -0.22751978, -0.0073335706, 0.056770742, -0.030483782, 0.02582211, 0.08631351, 0.037981253, -0.19984269, -0.0027441583, -0.0624548, -0.0073825894, 0.19920917, 0.025273615, 0.08608597) * g_2;
|
|
result += mat4(-0.0662924, -0.07036538, 0.18532504, -0.2299518, -0.17168434, 0.10680291, -0.32843417, 0.18283479, -0.014981234, -0.3074193, 0.25829783, 0.13314934, -0.29796004, -0.24784647, 0.107523575, -0.06354826) * g_3;
|
|
result += mat4(-0.27304897, 0.021216365, 0.19145995, -0.08837303, 0.002489904, -0.14517735, -0.11758484, 0.017706083, 0.11964576, 0.07262963, -0.02875841, 0.058490552, 0.36016595, -0.17619327, -0.14238013, -0.06569956) * g_4;
|
|
result += mat4(-0.17569791, 0.018018663, -0.06937724, -0.19693184, 0.005096431, 0.24887225, -0.26054552, -0.08146536, 0.31367835, 0.3301311, 0.32667178, 0.28089377, 0.1244409, -0.031515893, 0.036075663, 0.19611663) * g_5;
|
|
result += mat4(0.17254318, 0.2789707, -0.023289531, 0.0384691, 0.056068007, -0.21530272, -0.12280407, -0.27022615, 0.0869075, -0.005402115, 0.31068063, -0.28706273, -0.055334765, 0.08997763, 0.16977838, -0.050881755) * g_6;
|
|
result += mat4(0.038418837, -0.016408218, 0.08852962, -0.014304706, -0.12245269, 0.32564455, 0.008428901, -0.12942936, 0.014469481, 0.19589558, 0.05143627, 0.015018481, -0.18424125, 0.31541458, 0.15289177, -0.015950657) * g_7;
|
|
result += mat4(-0.24448341, -0.12913765, 0.14086853, 0.23801136, 0.053969346, -0.00888275, -0.16412334, 0.12726937, -0.16968949, 0.23890501, 0.00017258813, -0.009174681, 0.16712539, -0.24415763, 0.15660262, -0.065232545) * g_8;
|
|
result += mat4(-0.050856017, 0.202047, -0.18741634, -0.046839286, 0.10381434, -0.18508428, 0.2024435, -0.058891546, -0.06494971, -0.13396326, -0.0043475446, 0.080295786, -0.03888818, 0.20266065, -0.11657034, -0.044489022) * g_9;
|
|
result += mat4(-0.072022684, 0.03736022, -0.18028143, 0.084992565, 0.071270995, 0.17529677, 0.21173926, -0.04662527, -0.114107236, -0.0499027, -0.023457017, -0.14902714, -0.16848294, 0.29582912, -0.031783022, -0.21024497) * g_10;
|
|
result += mat4(0.12895544, 0.031505328, 0.07695562, 0.345239, -0.23573573, -0.35058022, 0.16588537, -0.37892917, -0.25666252, 0.04829329, 0.015923034, -0.06639003, -0.19299003, 0.19805184, 0.062723555, -0.16471659) * g_11;
|
|
result += mat4(-0.0048171217, -0.3616856, 0.10861591, -0.112293005, 0.22894251, 0.007305623, -0.15964155, -0.11533153, -0.04575267, -0.054644916, 0.102498904, -0.10909718, 0.06384877, 0.03547178, 0.036990482, 0.11729651) * g_12;
|
|
result += mat4(0.12198726, 0.049392004, 0.030775595, -0.0439167, 0.05127687, 0.006836142, 0.25043175, 0.41561976, 0.18109778, 0.036204416, -0.18115522, -0.11104906, -0.13888827, -0.030574424, -0.15439117, -0.023217283) * g_13;
|
|
result += mat4(0.037748005, 0.115257904, 0.0013052573, -0.08927453, 0.15113032, 0.0036705493, -0.036586095, 0.082375705, -0.14908089, 0.19808415, 0.10144146, -0.13911691, 0.18034998, -0.09426868, -0.28695896, -0.07120951) * g_14;
|
|
result += mat4(-0.15097517, -0.23736724, -0.011011207, 0.15136749, -0.1099934, -0.054979928, 0.19652224, 0.18154691, -0.104135856, 0.14703101, 0.10374482, -0.14010042, -0.08321475, -0.15499261, 0.12135948, -0.09310376) * g_15;
|
|
result += mat4(0.1298599, 0.09743068, -0.13728131, 0.15002461, 0.16739184, 0.1680788, -0.13828343, -0.0080054095, 0.10013758, -0.123607814, 0.045337323, -0.09940934, -0.13998291, -0.012435486, -0.2050455, 0.40441212) * g_16;
|
|
result += mat4(-0.4145493, -0.041918173, -0.029234748, -0.04663795, 0.068999134, -0.13911937, -0.10113266, -0.004217848, 0.049335115, 0.26279005, -0.1096574, -0.009956439, -0.18413721, 0.25698513, 0.03403163, 0.050992493) * g_17;
|
|
result += vec4(-0.03271656, -0.03322799, 0.033719946, -0.039838646);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x72
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_3_tf
|
|
//!BIND conv2d_3_tf1
|
|
//!BIND conv2d_3_tf2
|
|
//!BIND conv2d_3_tf3
|
|
//!BIND conv2d_3_tf4
|
|
//!BIND conv2d_3_tf5
|
|
//!BIND conv2d_5_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!SAVE conv2d_6_tf5
|
|
//!WIDTH conv2d_3_tf.w
|
|
//!HEIGHT conv2d_3_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_3_tf1_tex(conv2d_3_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_3_tf2_tex(conv2d_3_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_3_tf3_tex(conv2d_3_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_3_tf4_tex(conv2d_3_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_3_tf5_tex(conv2d_3_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_3_tf1_tex(conv2d_3_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_3_tf2_tex(conv2d_3_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_3_tf3_tex(conv2d_3_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_3_tf4_tex(conv2d_3_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_3_tf5_tex(conv2d_3_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.3184051, -0.13755248, -0.23732315, -0.023162326, 0.01720298, -0.13192378, 0.016757166, -0.11769522, -0.09113053, 0.045006696, 0.11998161, 0.22151577, -0.09237514, 0.25612727, 0.031724155, 0.03275836) * g_0;
|
|
result += mat4(0.16658157, 0.09904747, 0.12178111, -0.21332578, -0.084959686, 0.25737628, -0.07269974, -0.0044502337, -0.16059934, 0.14796074, -0.2408073, -0.283023, -0.02290089, -0.12150798, 0.122527674, 0.33295074) * g_1;
|
|
result += mat4(-0.13768205, -0.032166574, 0.10757663, -0.19916943, 0.22137393, 0.097398534, -0.028636161, 0.057976738, 0.021234423, 0.16993561, -0.006663144, 0.056026485, -0.17463136, 0.011491455, -0.34180948, -0.052859932) * g_2;
|
|
result += mat4(0.2173205, -0.025248244, -0.24675395, -0.23414998, -0.062658116, 0.18439959, -0.050601244, -0.11459134, -0.22184677, -0.18934494, 0.20033342, -0.028426873, -0.12788561, 0.09256763, 0.04540186, -0.041159313) * g_3;
|
|
result += mat4(-0.0993446, -0.04936769, -0.092339985, -0.36057615, -0.07563136, 0.16411334, 0.18075173, 0.06588899, 0.020508798, 0.06469463, 0.070499524, -0.032993205, 0.02209328, -0.03959476, 0.2591428, -0.31618914) * g_4;
|
|
result += mat4(0.18500368, -0.27579078, 0.15843801, -0.19448781, 0.066866614, 0.00010545493, 0.15846692, 0.15597339, 0.2097692, 0.047041208, -0.16916004, -0.112265535, -0.31957072, -0.039543174, 0.27903298, 0.238342) * g_5;
|
|
result += mat4(-0.24176823, 0.004759584, 0.30377442, -0.28161818, -0.01639163, 0.28049424, 0.15209472, -0.13002338, -0.034997053, 0.14607708, -0.16109394, -0.3709857, 0.06600745, -0.06402065, 0.09106263, -0.08173308) * g_6;
|
|
result += mat4(0.00085082283, -0.1385803, -0.096698835, -0.018731076, -0.13685198, -0.066617444, -0.021327814, 0.047615487, -0.0067158537, -0.305055, -0.030938676, 0.103631414, -0.10505161, 0.1377772, -0.21578938, -0.08955101) * g_7;
|
|
result += mat4(-0.012543417, 0.14635363, -0.34157932, 0.13002996, -0.08412303, -0.035678063, -0.018591393, -0.07879708, 0.052513346, -0.2033995, -0.2095011, 0.09329585, -0.10069142, 0.06845934, 0.34163034, 0.08352417) * g_8;
|
|
result += mat4(-0.22950074, -0.028784348, 0.19254303, -0.08938541, 0.15025762, -0.28843135, 0.032744445, 0.31275362, 0.013827366, -0.0037322342, -0.20390843, 0.18030973, 0.014234129, 0.12213843, -0.021821825, 0.04274312) * g_9;
|
|
result += mat4(0.14702202, 0.14780809, -0.050316352, 0.008637546, -0.018341271, -0.18107755, -0.034195397, -0.016785527, 0.01823875, -0.04468439, 0.11064914, -0.05889276, -0.052540354, 0.072073415, -0.2706125, 0.21487243) * g_10;
|
|
result += mat4(0.5024447, 0.058864042, -0.257565, 0.1780413, -0.065261215, 0.03483217, 0.46696317, -0.055783324, 0.13675097, -0.0388672, 0.22358736, -0.019960344, 0.11402829, 0.040916674, 0.042867694, -0.19926277) * g_11;
|
|
result += mat4(0.00014269089, 0.03286679, -0.024311759, -0.10549739, -0.21425818, 0.06221074, 0.040516183, -0.107838914, 0.14727353, 0.17660016, -0.20832092, -0.23476245, -0.09223368, 0.09435899, -0.06876976, -0.032683436) * g_12;
|
|
result += mat4(-0.061027218, 0.0023568163, 0.03251149, 0.120799825, 0.18775438, -0.022180539, -0.23275055, -0.10154802, -0.078680724, -0.23514764, 0.15737699, 0.1601879, 0.124354616, 0.038517214, 0.14103456, 0.0208124) * g_13;
|
|
result += mat4(0.22970279, 0.021356303, -0.11624362, -0.20197557, -0.12733872, 0.20742093, 0.35425633, -0.1574453, 0.045965664, -0.23022245, 0.16394545, -0.15241143, 0.24514204, 0.22437558, 0.113987625, -0.0011856258) * g_14;
|
|
result += mat4(-0.35714933, -0.31235123, 0.12664467, 0.15167892, 0.16453564, -0.010062876, -0.0831791, 0.19339912, -0.1188241, -0.056378998, -0.22127298, -0.15548877, -0.24432793, -0.034023006, 0.041227486, -0.2873007) * g_15;
|
|
result += mat4(-0.032629743, -0.27882102, 0.1215572, -0.017597208, 0.116811305, 0.14217746, 0.015951436, -0.5205457, -0.038023748, -0.14943328, -0.15468231, 0.074514836, 0.16636418, -0.062607236, -0.032341167, -0.11533553) * g_16;
|
|
result += mat4(-0.08205011, 0.16940303, 0.18777788, 0.16565365, 0.1837101, 0.18085457, 0.018884834, 0.3717715, 0.083659224, 0.25785285, -0.21427527, -0.057258263, 0.07784925, 0.29109064, 0.23607136, 0.21052702) * g_17;
|
|
result += vec4(-0.04224999, -0.02424048, 0.054364916, -0.013123425);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x48
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_6_tf
|
|
//!BIND conv2d_6_tf1
|
|
//!BIND conv2d_6_tf2
|
|
//!BIND conv2d_6_tf3
|
|
//!BIND conv2d_6_tf4
|
|
//!BIND conv2d_6_tf5
|
|
//!SAVE conv2d_8_tf
|
|
//!WIDTH conv2d_6_tf.w
|
|
//!HEIGHT conv2d_6_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv2d_6_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_6_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv2d_6_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max((conv2d_6_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv2d_6_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv2d_6_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv2d_6_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv2d_6_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_8(x_off, y_off) (max(-(conv2d_6_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_9(x_off, y_off) (max(-(conv2d_6_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_10(x_off, y_off) (max(-(conv2d_6_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_11(x_off, y_off) (max(-(conv2d_6_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.017245982, -0.10205182, 0.06592613, 0.10119294, 0.16497745, -0.09849219, -0.25274593, 0.008262675, -0.08324075, 0.0012232156, 0.13190362, -0.06990613, -0.10311924, 0.084054045, 0.18017255, 0.0015689692) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.086738944, 0.05683929, 0.02077085, -0.08947913, -0.14034756, -0.20852928, -0.013736887, 0.2779769, 0.3373044, -0.13216746, -0.016907953, -0.12594625, -0.10783071, 0.03808162, 0.24408895, 0.20189719) * go_0(-1.0, 0.0);
|
|
result += mat4(0.011089735, 0.051879622, -0.009382909, -0.061490677, -0.15404041, 0.10668794, -0.12992448, 0.023808947, 0.04725236, -0.007854223, 0.018729774, 0.0069361436, -0.13436957, -0.104874924, 0.12281142, -0.037680827) * go_0(-1.0, 1.0);
|
|
result += mat4(0.10235808, 0.009209343, -0.07005798, 0.10155561, -0.12590079, -0.13827644, 0.19028322, 0.07556906, -0.002828972, -0.120726846, 0.0629339, 0.052100886, -0.17681666, -0.023424415, 0.13374582, 0.09863593) * go_0(0.0, -1.0);
|
|
result += mat4(-0.039348856, -0.3029951, 0.04409393, 0.14203669, 0.0696304, 0.12359778, 0.042248026, 0.0104241725, 0.13959405, -0.10698982, -0.057147264, 0.12518157, 0.19059546, 0.41067636, -0.1983108, 0.18840271) * go_0(0.0, 0.0);
|
|
result += mat4(-0.15870674, -0.0701884, 0.08489569, -0.02654819, 0.0033299036, -0.060902737, -0.04983705, -0.35470948, -0.084136516, -0.14726189, -0.072878584, 0.07187844, 0.20252506, 0.009699822, -0.073386565, 0.106467165) * go_0(0.0, 1.0);
|
|
result += mat4(0.2179163, 0.19806448, -0.15892337, -0.07720002, 0.05189642, 0.09778843, 0.019355027, 0.001972146, -0.13311687, 0.11688048, 0.21982704, -0.020337472, 0.14858794, 0.051447146, -0.2608639, -0.07317878) * go_0(1.0, -1.0);
|
|
result += mat4(0.22658373, 0.4676125, 0.12164402, 0.1053381, -0.077884555, -0.2299649, -0.077929124, -0.023255048, 0.086657956, 0.16235548, 0.11172628, -0.1735993, 0.08308437, 0.07557913, -0.12573138, 0.027871478) * go_0(1.0, 0.0);
|
|
result += mat4(0.052426986, 0.042996544, -0.0065641096, -0.13619404, 0.0937742, -0.06937073, 0.025181042, -0.009622155, 0.06362213, 0.122430645, 0.16642696, 0.0073900563, 0.028088724, -0.15745147, -0.04368355, -0.219305) * go_0(1.0, 1.0);
|
|
result += mat4(-0.06745488, 0.065858796, 0.12368586, 0.0427822, -0.06909228, 0.08118366, 0.1765519, 0.10772472, -0.06532271, -0.045426063, 0.016137455, 0.020064423, 0.014287055, -0.054321405, 0.042286996, 0.10099062) * go_1(-1.0, -1.0);
|
|
result += mat4(-0.057029862, 0.0362498, -0.037312467, -0.14639975, 0.034470584, -0.009491449, -0.10235259, -0.16240342, -0.18365304, 0.03781435, 0.06301943, 0.060023054, -0.09714585, 0.031318884, 0.06972318, 0.018246962) * go_1(-1.0, 0.0);
|
|
result += mat4(0.13726738, -0.16109414, 0.07628339, 0.12009387, 0.039631862, -0.09495948, 0.00029953572, 0.08877397, -0.044539213, -0.034805167, 0.0068849795, -0.04260509, -0.06018224, -0.05168526, -0.023669146, -0.30695686) * go_1(-1.0, 1.0);
|
|
result += mat4(-0.120535225, -0.0070700655, 0.16954692, 0.07605776, -0.05912706, 0.003126789, 0.041797232, -0.06152968, 0.117091924, 0.1430996, 0.03245857, 0.05414445, -0.03527794, 0.00017621276, 0.09934673, 0.014325701) * go_1(0.0, -1.0);
|
|
result += mat4(-0.07887054, -0.08962667, 0.026777597, -0.10685796, -0.09769213, -0.040339533, -0.05416594, -0.07396728, 0.1480623, 0.1829144, 0.13414545, 0.077383295, 0.2445133, -0.08650768, -0.21591617, 0.019430999) * go_1(0.0, 0.0);
|
|
result += mat4(0.11418274, 0.0809287, -0.048047103, 0.26749784, 0.026034137, -0.035213873, -0.049213536, 0.010558167, 0.040018234, 0.0735889, -0.06628688, -0.03411808, -0.035016537, -0.09873343, -0.18022732, -0.22504263) * go_1(0.0, 1.0);
|
|
result += mat4(-0.007387419, 0.078416035, -0.0059123817, -0.059462387, 0.16282924, 0.028098159, -0.03884464, 0.08384578, -0.03217295, -0.11172753, -0.041089218, -0.08262653, -0.12797798, -0.09257405, -0.0060008634, 0.054310728) * go_1(1.0, -1.0);
|
|
result += mat4(-0.107547924, -0.136527, 0.11917758, -0.08163186, 0.16521084, 0.20436095, 0.13264002, -0.038182408, -0.049320918, 0.01033383, -0.057830308, -0.026969533, 0.047547635, -0.2403957, -0.19596279, -0.12783392) * go_1(1.0, 0.0);
|
|
result += mat4(-0.09732307, -0.0189351, -0.16634326, 0.17837308, -0.028240273, 0.132171, 0.025601666, 0.080066584, 0.09691263, 0.010431896, 0.05836809, -0.12634112, 0.15672882, -0.1375993, 0.06891336, 0.09314768) * go_1(1.0, 1.0);
|
|
result += mat4(-0.1063821, -0.037122764, 0.08435907, 0.07673827, -0.21610612, 0.1227755, 0.030571682, 0.2720798, -0.09842632, 0.029424794, -0.031963848, -0.027386528, -0.29708394, -0.051083524, -0.006008752, -0.34883302) * go_2(-1.0, -1.0);
|
|
result += mat4(-0.09593852, 0.005276368, 0.067957945, 0.0027987815, -0.066867955, -0.010717861, 0.042687785, 0.10830141, 0.09585637, -0.018631198, 0.10223601, -0.025948746, -0.19886921, 0.09382708, 0.05066887, -0.054366365) * go_2(-1.0, 0.0);
|
|
result += mat4(-0.0833738, 0.039265625, 0.129632, -0.028127648, -0.024209471, 0.051543966, -0.0767235, -0.1821821, 0.11022975, -0.067617096, -0.04115153, 0.019660803, -0.06796924, -0.009942689, 0.04878736, -0.14860383) * go_2(-1.0, 1.0);
|
|
result += mat4(-0.18358909, -0.017043322, -0.016188553, 0.09052155, 0.19360738, 0.10710942, -0.0044090515, -0.05904112, -0.083967276, 0.14215608, 0.063859425, -0.008474255, -0.12804742, 0.25150838, 0.038639195, 0.20586789) * go_2(0.0, -1.0);
|
|
result += mat4(-0.099301375, -0.048908107, -0.17589024, -0.025980422, 0.023207828, -0.002401527, -0.2398759, 0.11362655, 0.18235138, 0.267622, -0.22997108, -0.07030057, -0.28071132, 0.306005, -0.08022259, 0.060407158) * go_2(0.0, 0.0);
|
|
result += mat4(-0.06965637, -0.2937255, -0.10762846, -0.49147597, -0.014420681, -0.10146582, 0.025570659, -0.21252447, 0.08464411, 0.18697253, -0.1025335, -0.10293646, -0.07276314, -0.03569437, 0.30038935, -0.0024725774) * go_2(0.0, 1.0);
|
|
result += mat4(0.06364948, -0.014395104, 0.0605291, 0.10106749, 0.090445906, -0.051150694, -0.12005607, -0.01985712, -0.06967436, 0.1545472, -0.08905129, 0.15250902, 0.09013615, 0.248247, -0.35433382, 0.018879067) * go_2(1.0, -1.0);
|
|
result += mat4(0.2215353, -0.08770339, -0.07041561, -0.13033846, -0.019137396, -0.27794796, -0.072156884, -0.122439586, -0.04561034, 0.20950459, -0.29372254, -0.26654056, 0.07440635, -0.015196107, -0.5248822, 0.08875214) * go_2(1.0, 0.0);
|
|
result += mat4(0.17983232, 0.090477616, 0.094162986, -0.08806475, 0.005367457, -0.0132736135, 0.01606031, 0.05123799, 0.11693163, 0.053036988, -0.021136556, -0.05958482, 0.012477222, 0.32991868, -0.0811718, 0.06638447) * go_2(1.0, 1.0);
|
|
result += mat4(0.11219015, -0.09929138, -0.1525805, -0.12684448, 0.067464076, -0.03947617, -0.101565175, 0.06832013, 0.058220826, 0.0012256311, -0.024047976, -0.01354069, -0.09702756, -0.046101037, -0.01889354, 0.11200347) * go_3(-1.0, -1.0);
|
|
result += mat4(-0.057377364, 0.044251055, -0.021257406, 0.05768678, 0.0648225, 0.13525979, -0.0029373185, 0.13319606, -0.14027396, -0.096002735, 0.09139668, 0.23646317, 0.0293897, -0.13363723, 0.016895983, 0.058510184) * go_3(-1.0, 0.0);
|
|
result += mat4(-0.002693573, -0.13944106, 0.002239104, -0.21911725, -0.032995626, 0.075961664, 0.11178981, -0.0015659783, -0.11075517, 0.00930531, -0.04727037, 0.021806953, 0.004676998, 0.07955546, -0.029060522, 0.18123037) * go_3(-1.0, 1.0);
|
|
result += mat4(-0.086647436, -0.130716, 0.20161074, -0.08644982, 0.0792844, -0.018883388, -0.075795844, 0.10265765, 0.1811673, 0.1480598, -0.055835947, -0.022307266, -0.14606982, -0.0522134, 0.0076986584, 0.015665498) * go_3(0.0, -1.0);
|
|
result += mat4(0.0057296897, 0.16327685, -0.21133316, 0.11627887, 0.014946105, -0.10489582, -0.06623814, -0.06350826, 0.13182184, 0.12519948, 0.05139343, -0.02916212, -0.21002972, 0.017330766, -0.13252927, 0.050922133) * go_3(0.0, 0.0);
|
|
result += mat4(-0.04871255, -0.012975798, -0.11613283, -0.08855554, -0.032249227, 0.041257735, -0.16926566, -0.08250032, -0.08623899, 0.051378645, -0.035023782, -0.06256876, 0.11318346, -0.00012973868, -0.11205067, 0.13570346) * go_3(0.0, 1.0);
|
|
result += mat4(-0.105051674, -0.03766071, -0.015085921, 0.00305451, 0.0139633585, 0.014744175, -0.18820298, 0.09955764, -0.12837513, -0.07531542, 0.04601651, -0.029123126, 0.022442687, 0.13972595, -0.031776607, -0.052655537) * go_3(1.0, -1.0);
|
|
result += mat4(0.10682988, -0.106846526, 0.013064614, 0.12246749, 0.08142642, -0.094309695, -0.058649402, 0.0031743639, 0.08193218, -0.02287295, -0.16673462, 0.07789598, 0.07504035, 0.086432226, -0.059183855, -0.056013927) * go_3(1.0, 0.0);
|
|
result += mat4(-0.010878195, -0.11379422, -0.043786187, -0.13089088, -0.08522914, -0.020528818, -0.010563557, -0.044002954, 0.035698216, 0.001955673, 0.10179879, -0.0014214314, 0.007915656, -0.064626254, -0.04294849, -0.008088115) * go_3(1.0, 1.0);
|
|
result += mat4(-0.15029684, 0.060637783, 0.29926464, -0.007052848, 0.02827067, -0.0088146385, -0.052661847, -0.02205749, 0.027865848, -0.01038015, -0.12030614, 0.02273277, -0.18796863, 0.013519721, 0.06671391, -0.05697902) * go_4(-1.0, -1.0);
|
|
result += mat4(-0.20264873, 0.22058693, 0.43826097, -0.015237768, 0.032960944, 0.003309377, 0.10062095, -0.012863805, 0.030783176, -0.08200156, -0.039331485, 0.051835436, 0.19984727, -0.039266717, -0.17781837, -0.14248152) * go_4(-1.0, 0.0);
|
|
result += mat4(0.093978226, 0.011119174, 0.1061507, 0.04869649, -0.02820912, -0.02570852, -0.036345243, -0.030146461, 0.031859435, 0.018717006, -0.08010048, 0.0091279335, 0.004021007, 0.0063101063, 0.117809206, 0.07310967) * go_4(-1.0, 1.0);
|
|
result += mat4(-0.07775973, 0.12602952, 0.23379913, 0.15826301, -0.059838798, 0.0007843091, -0.0913573, -0.03798942, -0.13421534, -0.204582, -0.037016068, 0.08723744, -0.13195333, -0.03467855, 0.10278616, -0.011215369) * go_4(0.0, -1.0);
|
|
result += mat4(0.069957554, 0.081326, 0.0687901, 0.22582065, 0.101900525, -0.15870668, -0.0866743, 0.08454413, -0.09145879, 0.047340065, 0.11407844, 0.05103302, -0.09618353, 0.1580393, -0.021783678, -0.1947357) * go_4(0.0, 0.0);
|
|
result += mat4(0.011162823, -0.17127505, -0.23388927, -0.1544722, -0.026168894, 0.034256976, -0.027069887, -0.0070482744, 0.07260682, -0.0052216426, -0.07489467, 0.09012186, 0.22308883, 0.01749106, 0.042926382, 0.029785568) * go_4(0.0, 1.0);
|
|
result += mat4(0.015555597, -0.07857198, -0.12415407, 0.18139744, 0.04146236, -0.035874225, 0.028046906, 0.100426674, 0.018644337, 0.22935158, 0.15857206, -0.19486287, -0.1677264, 0.032254037, 0.15205738, -0.11749586) * go_4(1.0, -1.0);
|
|
result += mat4(-0.1303965, 0.015590829, -0.14921655, 0.07449558, -0.027212782, -0.032357175, -0.17829119, 0.06439825, 0.22947344, 0.26642513, 0.11972044, 0.059891608, -0.29125953, -0.028353378, 0.12136306, 0.15963335) * go_4(1.0, 0.0);
|
|
result += mat4(0.15112482, 0.08952805, -0.04212809, -0.04549198, -0.03481351, 0.048324164, 0.13253081, 0.08421476, -0.027360281, 0.041903887, -0.075338595, 0.07666827, -0.048728418, -0.06499062, 0.04338423, 0.032147698) * go_4(1.0, 1.0);
|
|
result += mat4(0.058887824, 0.07778715, -0.045073804, 0.011780557, -0.033801872, -0.07547611, -0.05476811, 0.09507769, -0.12553574, -0.042107146, 0.04695164, 0.017746076, 0.13864599, -0.050091684, -0.14447159, -0.08917469) * go_5(-1.0, -1.0);
|
|
result += mat4(-0.18243507, -0.14782558, 0.260054, 0.042238675, 0.07606748, 0.060196955, 0.04794181, -0.1946959, 0.0869163, 0.12090887, -0.10886212, 0.1414272, 0.14358684, -0.040078808, 0.083214276, 0.08483279) * go_5(-1.0, 0.0);
|
|
result += mat4(-0.04397986, -0.062930815, 0.07331044, 0.13039033, 0.09692625, -0.15316631, 0.16941437, 0.064028315, 0.14605011, 0.023272032, -0.022688555, 0.028461212, 0.040201195, -0.071363926, -0.017676292, 0.028348247) * go_5(-1.0, 1.0);
|
|
result += mat4(0.087781355, 0.05187866, 0.0940777, -0.18600285, 0.17623809, 0.074097976, -0.019378444, -0.0034571593, -0.08056692, -0.073923014, 0.20213082, 0.0726364, 0.13580574, -0.043443684, 0.069961116, 0.051125742) * go_5(0.0, -1.0);
|
|
result += mat4(-0.050924864, 0.21507788, 0.14330234, -0.08247252, -0.2728361, -0.23545425, -0.15436237, -0.13535537, -0.061899453, -0.19918258, -0.2585995, 0.012241068, 0.08689229, -0.09280902, -0.13026375, 0.1064315) * go_5(0.0, 0.0);
|
|
result += mat4(-0.07371564, 0.14122753, 0.1949825, 0.1524377, -0.122869365, 0.107369035, 0.014713882, 0.096095756, -0.02859108, 0.08568842, 0.123431474, 0.21742304, 0.020948796, -0.004655902, -0.18085332, -0.11183853) * go_5(0.0, 1.0);
|
|
result += mat4(0.054337885, -0.076172344, -0.02629655, -0.06944734, 0.15252593, 0.009500494, -0.25464016, -0.03494791, -0.006746579, 0.031879753, 0.11213761, 0.045518827, -0.09891111, -0.12913223, -0.0033209904, 0.066501915) * go_5(1.0, -1.0);
|
|
result += mat4(-0.07280475, 0.040424235, -0.024204433, -0.04176046, 0.105632, 0.15674141, 0.17077228, -0.01953309, -0.14864175, -0.0689075, -0.10428251, -0.032287225, -0.04775922, 0.089978755, 0.01763968, -0.10860219) * go_5(1.0, 0.0);
|
|
result += mat4(-0.039242428, 0.07174806, -0.23879573, -0.13515966, 0.0754838, 0.13147514, -0.0074810525, 0.07645021, -0.06193158, -0.083100386, 0.024893753, -0.057513595, 0.16797991, -0.039490376, -0.084132925, -0.048575893) * go_5(1.0, 1.0);
|
|
result += mat4(-0.052777596, 0.024444943, 0.21568191, -0.102683686, -0.16802232, 0.15138745, 0.03853586, 0.05203062, -0.06719961, -0.037389573, 0.011536928, 0.08349778, -0.33632314, -0.081108384, 0.4417886, 0.13477933) * go_6(-1.0, -1.0);
|
|
result += mat4(0.01373485, -0.11203034, 0.19779079, -0.08773285, -0.08533576, 0.075271316, -0.088026725, -0.07409357, -0.08100805, 0.057632018, -0.16284414, -0.06444499, 0.009572425, 0.1174776, 0.10302009, 0.1211951) * go_6(-1.0, 0.0);
|
|
result += mat4(-0.03761997, -0.003349971, 0.02041207, 0.0010841731, -0.038151734, -0.09727598, 0.11449757, 0.095479354, -0.035939824, 0.039719943, -0.011112067, -0.06205215, 0.24213329, 0.054236263, -0.09503797, 0.00023313743) * go_6(-1.0, 1.0);
|
|
result += mat4(-0.13187398, -0.09054714, 0.10808027, -0.055575542, -0.1533299, -0.22848558, -0.014494685, 0.059117734, 0.06977451, 0.16421948, -0.115678005, 0.00311709, 0.11054417, 0.17392628, 0.1946382, 0.10684235) * go_6(0.0, -1.0);
|
|
result += mat4(-0.06880819, -0.0076114223, -0.13806044, -0.14489281, -0.17702803, -0.08259098, 0.114658654, -0.16751432, 0.12731177, 0.34103456, -0.10029679, -0.064408354, -0.030143933, -0.24500176, -0.024842618, -0.43650916) * go_6(0.0, 0.0);
|
|
result += mat4(-0.20742895, 0.00029076883, -0.029373998, -0.1976022, -0.041304972, -0.05941005, 0.05199635, 0.1257356, 0.11870329, 0.029613, 0.021134172, 0.020612856, -0.06537667, -0.02532794, -0.07035173, 0.12409319) * go_6(0.0, 1.0);
|
|
result += mat4(0.067771055, -0.0345983, 0.09186677, -0.005295504, 0.09956795, -0.17157736, -0.07697514, 0.012468826, 0.017248223, -0.14458816, -0.071830764, 0.07367817, -0.05593959, 0.051516414, -0.08504839, 0.11843458) * go_6(1.0, -1.0);
|
|
result += mat4(0.15088317, 0.03333129, -0.20923695, -0.094460204, 0.04697295, 0.0062440387, -0.039073814, -0.09161647, 0.1755622, -0.30983236, -0.08556014, 0.11492072, 0.104413815, 0.0842214, -0.037310757, -0.18297379) * go_6(1.0, 0.0);
|
|
result += mat4(0.04779489, 0.018257288, -0.03666126, 0.054610558, -0.011483578, -0.0039002697, -0.18385088, -0.04390974, 0.012142661, -0.10964579, -0.20928559, 0.13421749, -0.04627568, 0.09576614, -0.008722472, 0.13796598) * go_6(1.0, 1.0);
|
|
result += mat4(-0.06591881, 0.0076197684, 0.12158399, -0.097497284, -0.23452066, -0.018180897, 0.025338816, -0.17545624, -0.29609966, -0.010837948, -0.15768765, 0.07977878, -0.06623404, 0.064965844, 0.017700914, -0.061997857) * go_7(-1.0, -1.0);
|
|
result += mat4(0.1110069, -0.08538926, 0.07894421, 0.08410366, -0.1869946, -0.07017986, 0.028143888, 0.19489996, 0.1259548, 0.28679106, -0.21613047, -0.25111556, -0.095854074, 0.001595896, 0.11793541, -0.099937364) * go_7(-1.0, 0.0);
|
|
result += mat4(0.1827612, 0.06100855, -0.047383696, -0.17543076, -0.14235456, 0.0061068106, 0.3388487, -0.063835256, 0.18721531, 0.03568243, -0.4536336, -0.15623139, -0.16966285, 0.15209529, -0.0066732443, 0.021199852) * go_7(-1.0, 1.0);
|
|
result += mat4(0.035830673, -0.07905678, -0.041658383, 0.063586906, -0.18796878, 0.004237473, 0.17260559, 0.116263784, 0.30349797, 0.3485403, 0.2872647, -0.024386367, -0.036046654, 0.055318277, -0.10552266, -0.024163853) * go_7(0.0, -1.0);
|
|
result += mat4(-0.31444365, -0.10924027, 0.24543238, -0.34045509, 0.33606547, 0.35103965, -0.19982044, -0.16294536, 0.20070334, 0.33381364, 0.17881233, 0.012798481, -0.043514375, 0.0887946, -0.053430077, 0.055176634) * go_7(0.0, 0.0);
|
|
result += mat4(0.13308845, -0.18857919, 0.08875917, -0.17240469, -0.18770295, 0.010432233, 0.035033606, -0.22681937, 0.26933533, 0.14998513, 0.2805022, -0.05768719, -0.08279986, 0.0064573316, -0.117615044, -0.45671257) * go_7(0.0, 1.0);
|
|
result += mat4(-0.14296085, 0.10913425, 0.24965948, 0.009046303, -0.245076, -0.041025996, 0.059917103, 0.04249123, -0.17960623, 0.09529717, 0.07669131, -0.0058281897, 0.1177263, 0.041879166, 0.08226649, -0.025740432) * go_7(1.0, -1.0);
|
|
result += mat4(-0.10495348, -0.11917369, 0.015893627, -0.2228629, -0.2752539, -0.1835585, 0.17213026, -0.11332011, 0.026201153, 0.13388038, 0.24420477, 0.11447363, 0.21471767, 0.17166413, -0.035203807, 0.032872755) * go_7(1.0, 0.0);
|
|
result += mat4(-0.10346143, 0.035121717, -0.08986186, -0.184111, -0.04559495, -0.14072795, 0.015853742, 0.03767284, -0.038637567, 0.14072952, 0.15237094, -0.09559783, 0.1335625, -0.0073889513, 0.1717666, 0.0090308655) * go_7(1.0, 1.0);
|
|
result += mat4(0.096459456, -0.0474162, 0.0060114395, -0.052968822, -0.05496484, -0.00087164645, 0.094492346, -0.0019693135, 0.023624701, 0.072964646, -0.083129205, 0.26523897, -0.07437864, -0.050710786, -0.06599285, 0.09146691) * go_8(-1.0, -1.0);
|
|
result += mat4(0.097554885, -0.052623536, 0.036636185, 0.06635031, 0.1315929, -0.112703465, 0.07648501, 0.11837153, 0.07858523, 0.18714102, -0.11343488, 0.07150988, -0.04412874, -0.018561713, -0.12344369, 0.20441462) * go_8(-1.0, 0.0);
|
|
result += mat4(0.042273086, 0.008561595, 0.010489875, 0.08540178, 0.00014577126, -0.056047264, 0.14019163, 0.044617724, -0.007206251, 0.022495534, 0.14835946, -0.08718995, -0.13267758, -0.10678817, 0.20301633, 0.12475036) * go_8(-1.0, 1.0);
|
|
result += mat4(0.08486742, 0.017144045, -0.008667514, 0.010306243, -0.17507908, -0.018475998, -0.033005018, 0.05340659, 0.012580127, 0.09524383, -0.13012315, 0.14825384, -0.061180867, 0.1087231, 0.056302182, -0.062199228) * go_8(0.0, -1.0);
|
|
result += mat4(0.14364035, -0.094965935, -0.13912293, 0.04337174, -0.15593785, -0.032328963, 0.12531888, 0.15084712, 0.03535679, 0.056784865, -0.21915141, -0.20778814, 0.12775493, -0.09705356, 0.021123385, 0.07069102) * go_8(0.0, 0.0);
|
|
result += mat4(-0.034100723, 0.050680146, 0.051500566, -0.045044094, -0.07793916, 0.004949624, 0.03474995, 0.05198082, 0.17187333, -0.13397571, 0.08167277, -0.1837387, 0.020166704, -0.021294702, -0.13651185, -0.0504545) * go_8(0.0, 1.0);
|
|
result += mat4(-0.13135555, -0.03613829, 0.048920892, 0.009269026, 0.048384093, -0.07602838, 0.045073777, -0.01749288, -0.071261175, -0.107101366, -0.09252168, 0.0919695, 0.061589587, -0.0019050876, 0.21261542, 0.10825693) * go_8(1.0, -1.0);
|
|
result += mat4(0.10798724, 0.060792945, 0.0327558, -0.02553919, 0.14311704, 0.10690927, 0.032604862, 0.032016207, -0.24254093, -0.39715725, -0.5095798, -0.15233834, 0.033676617, -0.087679766, -0.11150812, -0.12255275) * go_8(1.0, 0.0);
|
|
result += mat4(-0.006972272, 0.19587488, 0.063339494, -0.033232547, 0.07241594, -0.034235775, -0.09229799, -0.11959815, 0.07213152, -0.117301576, -0.06927173, 0.10017053, 0.051558405, -0.012138675, 0.044149205, -0.051165268) * go_8(1.0, 1.0);
|
|
result += mat4(0.16689911, -0.05290122, -0.090476304, -0.027543254, 0.15805009, 0.01485117, -0.27630076, 0.04914042, 0.14706355, -0.0043476336, -0.056836266, -0.15365787, 0.13169362, 0.09486763, -0.07032269, -0.17109036) * go_9(-1.0, -1.0);
|
|
result += mat4(-0.0879165, -0.02742011, -0.07260916, 0.23435885, -0.059534714, -0.13795383, -0.22126909, 0.029478507, -0.1850924, 0.034090247, 0.11516748, 0.083627865, -0.08308724, -0.026143529, 0.099359915, -0.17231114) * go_9(-1.0, 0.0);
|
|
result += mat4(-0.2324401, 0.14008519, -0.04853353, 0.14712176, -0.089445285, 0.051682536, 0.097105086, 0.3019751, -0.17683853, -0.066201136, 0.026223915, -0.25537798, 0.0717928, -0.024799295, -0.04242034, -0.17082538) * go_9(-1.0, 1.0);
|
|
result += mat4(0.13667317, 0.12493611, -0.045963623, -0.12381997, -0.02945609, 0.005977762, 0.08776535, -0.04474835, 0.008373442, -0.08647785, 0.061561592, -0.22876641, 0.22846603, -0.055262823, 0.045672905, 0.009190219) * go_9(0.0, -1.0);
|
|
result += mat4(-0.03230106, 0.11736059, -0.09767583, -0.0047885617, -0.276748, 0.29780698, 0.0834233, -0.0014491245, 0.03226799, 0.13920638, -0.0930102, 0.040527172, -0.27107877, -0.16784488, -0.0824801, -0.05269829) * go_9(0.0, 0.0);
|
|
result += mat4(0.068900175, -0.034981783, -0.037339307, 0.07443384, 0.14505357, 0.2794023, -0.03021764, 0.33296046, 0.09278462, -0.177695, -0.10216809, -0.108097516, 0.20264505, -0.18635245, -0.036741074, -0.05019796) * go_9(0.0, 1.0);
|
|
result += mat4(0.18423182, 0.04128268, -0.024842285, -0.10551282, 0.0129416, 0.0023859264, -0.04726879, -0.062202208, 0.050515536, 0.013095806, -0.08205111, -0.09578067, -0.012120951, -0.012479608, -0.26131198, 0.011845006) * go_9(1.0, -1.0);
|
|
result += mat4(0.3329799, 0.3382698, 0.34874886, 0.18110363, -0.09871112, 0.08837514, -0.100864924, 0.15809798, 0.003627495, -0.072377, -0.20515633, -0.044428673, 0.2253228, -0.0095191, -0.38272312, -0.1495562) * go_9(1.0, 0.0);
|
|
result += mat4(-0.05687047, 0.22390498, 0.15599313, 0.043056425, -0.076306194, -0.032395355, -0.16278756, -0.05358288, 0.03231372, -0.055404607, 0.030803613, 0.11444513, 0.07843779, 0.11786514, -0.21833785, 0.028968466) * go_9(1.0, 1.0);
|
|
result += mat4(0.18091258, -0.09398672, -0.10072262, 0.07764161, 0.008928652, 0.09788299, -0.0030410262, -0.16502286, 0.2069648, -0.009646885, -0.25890633, -0.26879573, 0.0014857659, 0.048887845, 0.1665308, -0.08568518) * go_10(-1.0, -1.0);
|
|
result += mat4(-0.061691873, -0.057298407, 0.016101327, 0.17865741, 0.00063088175, 0.07714979, -0.13940501, -0.028737228, 0.112828724, -0.046593618, -0.2586368, -0.070985176, 0.13769239, -0.023880849, 0.08157869, -0.21318875) * go_10(-1.0, 0.0);
|
|
result += mat4(0.064085506, -0.046282444, -0.13458945, 0.2041762, 0.0043097665, -0.07247434, 0.16153656, 0.20011272, -0.144374, 0.06421469, -0.13485141, -0.009582684, 0.021680132, -0.016744662, -0.08797212, -0.10993737) * go_10(-1.0, 1.0);
|
|
result += mat4(0.16567862, -0.24858345, -0.08879787, -0.097550206, 0.131603, 0.14494747, 0.24425544, 0.026280167, 0.11479758, 0.013529384, -0.22396456, -0.027191471, -0.1717294, 0.09261371, 0.10951079, -0.0029250293) * go_10(0.0, -1.0);
|
|
result += mat4(-0.113956705, -0.16183569, -0.20851867, 0.04033217, -0.028072925, -0.027780682, 0.046195503, -0.20342818, 0.25894436, -0.017997751, -0.12918301, 0.06894117, -0.14184147, 0.07687556, 0.01899574, -0.014360465) * go_10(0.0, 0.0);
|
|
result += mat4(0.13917083, 0.04136033, -0.04435757, 0.13339959, -0.05415639, 0.011240427, -0.0707635, -0.06411846, 0.16908634, 0.19344515, -0.14574051, 0.08029649, -0.13598117, 0.1415975, 0.05430245, 0.086329356) * go_10(0.0, 1.0);
|
|
result += mat4(0.061676953, -0.036003113, 0.029942466, 0.07344191, 0.06514425, -0.05945252, 0.06351276, -0.22019458, 0.13147828, -0.20903239, -0.04409228, 0.06474624, 0.087710835, -0.015660465, -0.06535584, 0.06592988) * go_10(1.0, -1.0);
|
|
result += mat4(0.06506807, 0.08762542, -0.119794264, 0.060040303, -0.09871854, 0.5173894, -0.27796084, -0.33232987, -0.066507466, -0.24968803, -0.07814351, 0.08942488, 0.16743363, 0.06090165, 0.07346348, 0.086595275) * go_10(1.0, 0.0);
|
|
result += mat4(0.033984214, -0.032870263, -0.31655756, 0.007356567, 0.02470258, 0.11793328, -0.31476265, -0.025818175, 0.0029440362, 0.06394163, -0.04686335, -0.14821026, -0.0027075368, 0.022262698, -0.05804598, 0.155014) * go_10(1.0, 1.0);
|
|
result += mat4(0.009120124, -0.015237681, -0.043807022, -0.0711953, -0.068079054, -0.012320572, 0.24782293, 0.011573899, -0.027630446, -0.18860838, 0.02258647, -0.15933286, -0.034498382, -0.0053321933, -0.077804044, -0.02024832) * go_11(-1.0, -1.0);
|
|
result += mat4(0.22132385, 0.0032678258, -0.087379746, 0.02143723, -0.06377271, 0.12867995, -0.08868175, 0.12999114, 0.09716703, 0.040064458, 0.0024366144, 0.035925932, -0.012723048, 0.016498951, -0.08901055, 0.12232371) * go_11(-1.0, 0.0);
|
|
result += mat4(0.18940546, 0.062207825, -0.024644906, 0.26894554, 0.07815154, 0.08829743, -0.09984981, 0.169054, 0.06281287, 0.0008038808, 0.0883176, 0.110463396, 0.022194333, -0.017194932, -0.0009859964, -0.09963663) * go_11(-1.0, 1.0);
|
|
result += mat4(-0.0111280205, -0.052679054, 0.018186182, -0.027703073, -0.42388725, -0.013980127, 0.30809978, 0.027799122, 0.11319747, -0.21859065, 0.30053356, -0.014290018, -0.19631311, -0.025383497, -0.33384043, 0.028559104) * go_11(0.0, -1.0);
|
|
result += mat4(-0.22090848, -0.080518164, 0.144986, -0.04482788, 0.00898153, -0.028940957, 0.016181607, -0.013890172, 0.08625784, -0.038779926, -0.113443434, 0.02619668, 0.10414516, 0.14818746, -0.07429264, 0.024776932) * go_11(0.0, 0.0);
|
|
result += mat4(-0.0136557305, 0.024230761, 0.10480373, 0.33615452, 0.03225623, 0.14910479, -0.10428884, -0.005287317, 0.007935544, -0.09688089, 0.20835406, 0.25757283, 0.0064705843, -0.11970887, 0.022400223, 0.12394955) * go_11(0.0, 1.0);
|
|
result += mat4(0.026420576, 0.032138087, 0.012947858, -0.017486788, -0.30034852, 0.004137726, 0.1611359, -0.08121221, 0.09796454, -0.16660161, -0.12038514, 0.060717944, 0.24686517, -0.021416627, 0.1359155, -0.15366033) * go_11(1.0, -1.0);
|
|
result += mat4(-0.136011, 0.15370867, 0.1370857, -0.086111896, 0.05216137, -0.2967703, -0.080168664, 0.108866595, 0.09038476, -0.004786737, -0.0075252303, 0.0980951, 0.19746727, -0.05201084, -0.08665835, -0.046598177) * go_11(1.0, 0.0);
|
|
result += mat4(-0.26190412, -0.058528874, -0.08053917, -0.038420703, -0.07296932, 0.0076829675, -0.20618197, 0.12044465, -0.18083239, -0.033412043, -0.18795253, 0.015577539, 0.08889259, -0.04781228, -0.020811897, 0.060611673) * go_11(1.0, 1.0);
|
|
result += vec4(0.06994048, -0.08824913, -0.08147323, -0.0070627527);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x48
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_6_tf
|
|
//!BIND conv2d_6_tf1
|
|
//!BIND conv2d_6_tf2
|
|
//!BIND conv2d_6_tf3
|
|
//!BIND conv2d_6_tf4
|
|
//!BIND conv2d_6_tf5
|
|
//!SAVE conv2d_7_tf
|
|
//!WIDTH conv2d_6_tf.w
|
|
//!HEIGHT conv2d_6_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv2d_6_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_6_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv2d_6_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max((conv2d_6_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv2d_6_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv2d_6_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv2d_6_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv2d_6_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_8(x_off, y_off) (max(-(conv2d_6_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_9(x_off, y_off) (max(-(conv2d_6_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_10(x_off, y_off) (max(-(conv2d_6_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_11(x_off, y_off) (max(-(conv2d_6_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.07359838, 0.0048221336, -0.040639445, 0.04001678, 0.008494685, 0.21019708, 0.014807608, -0.016226511, -0.059752848, 0.18087773, -0.012534122, -0.15764502, 0.06615999, -0.03256825, -0.06795644, -0.021442905) * go_0(-1.0, -1.0);
|
|
result += mat4(0.016055334, 0.07622408, -0.0001455431, -0.03139598, 0.11203619, -0.2570563, 0.007617044, 0.007383613, -0.10321648, 0.22093083, -0.04935336, -0.07423733, 0.13671489, 0.094860844, -0.06145761, -0.017813066) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.08716645, 0.073824115, 0.04826125, 0.028814131, -0.03465732, -0.01949549, 0.009090798, 0.06712222, -0.076673344, -0.020007538, 0.07667753, -0.16171028, 0.038919337, -0.0066915937, 0.0058095986, 0.028863987) * go_0(-1.0, 1.0);
|
|
result += mat4(0.11793172, 0.06426511, 0.006000197, -0.054425187, -0.12848, -0.0608748, -0.051094864, 0.14606045, -0.1104441, -0.1404711, -0.13719143, 0.13667974, -0.006159005, 0.066788755, -0.07132091, 0.05900349) * go_0(0.0, -1.0);
|
|
result += mat4(0.13618062, -0.37675983, -0.06494409, -0.05397071, 0.027210169, 0.136655, 0.15716416, 0.011330184, 0.07604587, 0.099743, 0.045980956, 0.28426284, 0.07673069, -0.03260436, 0.060630165, -0.14515847) * go_0(0.0, 0.0);
|
|
result += mat4(0.12219448, -0.13931584, -0.027208958, -0.10503128, 0.056236677, -0.085218616, 0.031394266, -0.15181276, 0.025313953, -0.035806634, -0.0006563579, -0.07554928, 0.03867624, 0.14335306, 0.044530675, -0.022005653) * go_0(0.0, 1.0);
|
|
result += mat4(0.024567323, 0.06553147, 0.006770668, 9.6952936e-05, -0.12672237, 0.032024473, -0.011734911, -0.062427487, 0.029894682, -0.03434335, 0.07066813, -0.030493205, -0.03221503, -0.12422384, 0.052873474, 0.025424806) * go_0(1.0, -1.0);
|
|
result += mat4(0.050093465, -0.04382771, 0.16808622, 0.08858046, -0.15310244, -0.092868656, 0.05562402, -0.20383194, -0.027970297, -0.032247365, 0.024333706, 0.027794037, 0.0029994757, -0.032618508, 0.052986816, -0.07051566) * go_0(1.0, 0.0);
|
|
result += mat4(0.057821784, 0.0094541, 0.0018741468, -0.048872117, -0.0642184, -0.006474573, 0.07707637, 0.0030539352, 0.04263746, 0.038348354, 0.09410285, -0.016066432, -0.019818943, 0.009179143, -0.022306597, -0.029912496) * go_0(1.0, 1.0);
|
|
result += mat4(0.032464687, -0.035430122, -0.0077309776, 0.07374506, 0.05479834, 0.17101361, -0.098411836, 0.051829364, -0.100434184, -0.008919208, 0.032440282, 0.07075372, -0.08462122, -0.104136884, 0.023972673, 0.045948982) * go_1(-1.0, -1.0);
|
|
result += mat4(-0.067156225, 0.16125347, 0.025350628, 0.009260789, -0.12541614, 0.08216785, 0.035199903, 0.049046412, -0.029106554, -0.090062775, 0.0839282, 0.061120965, 0.14554973, -0.024882669, 0.038602818, -0.052473858) * go_1(-1.0, 0.0);
|
|
result += mat4(-0.041149497, -0.077845365, -0.08205297, 0.020794228, 0.025494045, 0.060137924, 0.0015345984, -0.0048737884, -0.03211192, -0.13592142, 0.09767752, -0.041449215, 0.068079926, -0.027006129, -0.011767691, -0.12913242) * go_1(-1.0, 1.0);
|
|
result += mat4(-0.05188281, -0.020082932, 0.0132960575, -0.08461068, 0.09572519, 0.023254586, -0.04634391, -0.019451028, 0.16498654, 0.044624534, 0.05488934, -0.008432487, -0.026252363, 0.02546324, -0.02972001, -0.073274635) * go_1(0.0, -1.0);
|
|
result += mat4(0.018490778, 0.18419503, -0.122585855, 0.12492852, -0.20044741, -0.009827497, -0.13103181, 0.1326544, 0.027088722, 0.13293652, 0.09424846, 0.07251193, 0.15663116, 0.26125023, 0.049341436, -0.10515004) * go_1(0.0, 0.0);
|
|
result += mat4(-0.008699791, -0.024128422, 0.04278223, 0.105549075, 0.03693647, 0.016402304, -0.004863482, 0.120648175, -0.063555665, 0.07888774, -0.032707915, 0.05824444, 0.14191608, 0.053337123, -0.11951773, -0.37382764) * go_1(0.0, 1.0);
|
|
result += mat4(0.11177489, -0.02670921, 0.11555837, -0.12684737, 0.024419937, -0.015118827, -0.0008005782, -0.105853274, -0.08607303, 0.12075334, -0.056949444, -0.076853655, 0.091813155, 0.037071772, -0.10979848, 0.01065406) * go_1(1.0, -1.0);
|
|
result += mat4(-0.09047862, -0.06557529, 0.07049908, -0.067106545, -0.08394282, -0.13473952, 0.13339087, 0.039728016, -0.007499134, -0.050601263, -0.025493568, -0.030900288, -0.016312996, -0.002753297, -0.16618828, 0.022230327) * go_1(1.0, 0.0);
|
|
result += mat4(0.002934058, 0.062018517, -0.08976419, 0.18184888, -0.041077446, -0.06253426, 0.090875186, -0.006064439, -0.042194657, -0.0014801006, 0.039901752, -0.06946375, 0.06726237, -0.0140753025, -0.06257417, -0.013598103) * go_1(1.0, 1.0);
|
|
result += mat4(-0.023702847, -0.11185578, 0.0058615287, 0.051050022, 0.14678848, 0.07982418, 0.031147825, -0.13127226, -0.05952702, 0.06532979, 0.07037022, -0.0006409232, 0.12434904, -0.014640512, 0.075973995, -0.026218366) * go_2(-1.0, -1.0);
|
|
result += mat4(0.0012428019, 0.10104529, -0.033792414, -0.07105645, -0.098013006, 0.03291607, 0.014571974, -0.071180314, -0.00215348, -0.0510585, -0.03121516, -0.045336474, 0.00082364987, 0.108165845, 0.052797295, 0.09749827) * go_2(-1.0, 0.0);
|
|
result += mat4(0.021668797, 0.024712203, 0.06495889, 0.037722614, -0.017192805, 0.07733001, 0.002521372, -0.022759411, 0.0071119433, -0.17629139, 0.03508143, -0.0382747, -0.10094593, 0.10711114, 0.056075815, 0.09072527) * go_2(-1.0, 1.0);
|
|
result += mat4(0.0072180987, -0.03962597, -0.065127335, -0.04490152, 0.16375813, 0.024301983, 0.10283417, -0.031376716, -0.006127479, -0.11069621, 0.023043143, -0.03634904, 0.007939093, -0.013549114, 0.02821798, 0.093859464) * go_2(0.0, -1.0);
|
|
result += mat4(0.10754736, 0.05461116, -0.077621385, -0.0154484855, -0.13774016, 0.06022657, 0.07704005, -0.13989487, -0.13560918, 0.02476503, 0.06475649, 0.0600394, 0.17934905, 0.10330071, 0.04610976, 0.28083178) * go_2(0.0, 0.0);
|
|
result += mat4(0.18773933, 0.06801831, -0.02580286, -0.07299217, -0.05877647, -0.015686667, 0.038901277, -0.1159596, 0.05252277, -0.059356023, -0.07147861, -0.04657989, -0.033485, -0.06963524, -0.025741044, -0.10464134) * go_2(0.0, 1.0);
|
|
result += mat4(-0.09011337, -0.0065989024, 0.040761005, 0.042849183, 0.088430345, 0.0064418497, 0.13798401, -0.0455525, 0.0117114745, 0.007961572, 0.09180907, -0.06247613, 0.0070053353, -0.014894976, 0.14440143, 0.043360937) * go_2(1.0, -1.0);
|
|
result += mat4(-0.031137852, -0.0920778, -0.00515923, 0.019481698, -0.061445847, 0.028052, -0.014780124, -0.03731724, -0.12892641, 0.06831638, 0.10818646, -0.004656641, -0.0049811844, -0.09475938, 0.15264943, 0.014475395) * go_2(1.0, 0.0);
|
|
result += mat4(-0.0018481857, 0.038514007, -0.034495566, 0.15485272, 0.012409896, 0.04363172, 0.09414112, 0.052210223, 0.13726512, -0.03764596, -0.0623721, -0.019326014, -0.0896548, -0.00039697406, 0.062065333, -0.029678347) * go_2(1.0, 1.0);
|
|
result += mat4(-0.027699407, 0.072317615, -0.075668514, 0.019382665, -0.022578781, -0.097153656, 0.056558866, -0.026797218, -0.055311427, -0.029343406, -0.016251184, 0.0029034857, 0.021295298, -0.060633257, -0.066650696, -0.014176967) * go_3(-1.0, -1.0);
|
|
result += mat4(0.056929894, 0.06296669, 0.058833197, 0.055929754, 0.045206144, 0.124816395, 0.08603162, -0.035438027, 0.05864608, -0.34551346, 0.10686292, -0.09247089, -0.01039598, 0.023945868, 0.04152319, -0.057664245) * go_3(-1.0, 0.0);
|
|
result += mat4(-0.0026985565, -0.04058008, 0.08668019, -0.16165687, -0.0669978, 0.06025125, 0.01061845, -0.07396731, 0.028235765, -0.1974729, 0.054613985, -0.048135094, 0.013870693, 0.07614793, -0.0051118205, -0.011434454) * go_3(-1.0, 1.0);
|
|
result += mat4(-0.08699431, -0.032093093, -0.09039232, 0.043302406, -0.08949961, 0.03943296, 0.12514283, -0.118437536, -0.0475864, 0.040074807, 0.04531421, -0.027959606, 0.0699257, -0.07310232, 0.05926287, -0.09809906) * go_3(0.0, -1.0);
|
|
result += mat4(0.08291639, 0.13337402, -0.033879723, -0.030597739, 0.039960656, 0.11285271, -0.045001507, 0.016323641, 0.06528873, 0.12151602, 0.075652964, 0.16680095, 0.062500365, 0.10238702, -0.002044068, 0.048659943) * go_3(0.0, 0.0);
|
|
result += mat4(-0.041995417, -0.036911324, -0.06104467, -0.00670874, -0.0045435787, -0.0032426668, -0.028409937, -0.09856275, 4.6831577e-05, -0.17680986, 0.047152776, -0.09408474, -0.07286314, 0.10941997, -0.012622276, 0.18222825) * go_3(0.0, 1.0);
|
|
result += mat4(-0.06358313, 0.031067979, -0.066298015, -0.026508985, -0.017822707, -0.0058446256, 0.031380165, -0.03968603, -0.19921921, -0.020262819, -0.14626998, 0.0067074317, -0.032714184, -0.05905669, 0.06676097, -0.08453029) * go_3(1.0, -1.0);
|
|
result += mat4(0.18562973, -0.08391055, -0.13800977, 0.04434315, -0.07014487, -0.029382609, -0.0036599678, -0.07959346, 0.0039499323, -0.046531573, -0.037964027, 0.057833973, -0.0073268986, 0.011971796, -0.071565405, -0.016854756) * go_3(1.0, 0.0);
|
|
result += mat4(0.076238915, -0.010213805, -0.115126036, 0.021867225, -0.03427761, 0.05729687, 0.018639423, 0.032928992, 0.057483274, 0.00863971, 0.11628593, -0.025358021, -0.022380868, 0.019458123, -0.08977346, 0.016999396) * go_3(1.0, 1.0);
|
|
result += mat4(0.06443494, -0.13695966, 0.050837293, 0.11769368, 0.03982583, 0.04365677, 0.0914564, 0.020832872, -0.03561464, -0.048148002, -0.11098798, 0.026730807, 0.032462105, 0.010169203, -0.11176305, 0.11509857) * go_4(-1.0, -1.0);
|
|
result += mat4(0.036339626, 0.043558348, -0.08018678, -0.033343073, 0.09518577, -0.12519091, -0.011036971, -0.011565009, -0.026011402, -0.039948042, 0.021500282, -0.03238243, -0.15157619, -0.0896126, 0.011041428, -0.032589663) * go_4(-1.0, 0.0);
|
|
result += mat4(-0.090026185, 0.17515051, 0.09003863, 0.056024328, -0.014608004, -0.17146449, 0.10497134, -0.033317756, 0.05084175, -0.15683104, 0.004754913, 0.043906096, 0.102966614, 0.119076595, 0.03419918, 0.11162818) * go_4(-1.0, 1.0);
|
|
result += mat4(-0.13725758, 0.054545738, 0.19191852, -0.1507601, -0.07410275, 0.012710437, -0.002995323, -0.02564634, -0.14047655, -0.14178753, -0.02160603, 0.17773011, -0.044396106, 0.11674753, -0.058879152, 0.041881587) * go_4(0.0, -1.0);
|
|
result += mat4(-0.07167683, -0.027865753, -0.062976815, 0.06179039, 0.060428478, 0.02820444, -0.07501178, -0.07479888, 0.016861942, -0.0067050136, 0.07886189, -0.09694589, -0.24936499, -0.13553715, 0.15446334, -0.1596343) * go_4(0.0, 0.0);
|
|
result += mat4(0.12519416, -0.07190433, 0.08571302, -0.088088214, 0.06097779, -0.15112294, -0.07819768, -0.15640157, -0.008882994, -0.05661016, 0.041620906, 0.080777824, 0.14372508, 0.061004147, -0.10059249, -0.05450479) * go_4(0.0, 1.0);
|
|
result += mat4(0.022914229, 0.0050205784, 0.0128762135, 0.018967759, -0.09971158, 0.0007187915, -0.013239407, 0.10027359, -0.012708232, 0.02148632, 0.03629833, 0.06779179, 0.007899347, -0.03402227, -0.05107456, 0.030168017) * go_4(1.0, -1.0);
|
|
result += mat4(-0.101626694, -0.049067173, 0.030896991, -0.038008872, -0.17226134, 0.053923246, -0.23556022, -0.06532403, 0.06541645, -0.013541671, 0.100340165, 0.103228696, -0.034361333, -0.084333315, 0.02723955, -0.02440181) * go_4(1.0, 0.0);
|
|
result += mat4(-0.03704313, 0.060180202, 0.007823015, 0.06390255, 0.08579526, 0.03330991, -0.008390602, -0.014529345, -0.06207606, 0.024333416, 0.15293281, 0.06663681, 0.031263046, -0.002941088, -0.09900946, 0.084799334) * go_4(1.0, 1.0);
|
|
result += mat4(0.09246091, -0.03937664, 0.005960589, -0.045937728, -0.06594935, 0.070527986, 0.059743717, 0.03917748, -0.020996673, 0.0019828002, -0.034309585, -0.03738683, -0.04873964, 0.0014745819, 0.08126733, -0.034479) * go_5(-1.0, -1.0);
|
|
result += mat4(0.07748875, -0.09148518, 0.013219114, 0.018175611, 0.042948097, 0.23374721, -0.0045189774, -0.06718557, 0.018522833, 0.054642767, 0.06698139, -0.17325309, 0.018071271, 0.087139465, 0.017651368, 0.017017378) * go_5(-1.0, 0.0);
|
|
result += mat4(0.014649891, -0.021246951, -0.011709104, -0.030677898, 0.052830815, 0.009715315, -0.022097781, -0.0002496546, 0.031584814, 0.026837287, 0.11443077, -0.027753742, -0.0041543865, 0.058851164, 0.10964704, 0.02103762) * go_5(-1.0, 1.0);
|
|
result += mat4(-0.05369423, -0.032334697, 0.15062103, -0.026983894, 0.017918264, -0.0078846915, 0.019014625, -0.015093337, -0.16124725, -0.059548736, -0.07116923, 0.057306577, 0.00719154, 0.110753864, 0.12377013, -0.065782666) * go_5(0.0, -1.0);
|
|
result += mat4(0.039875932, 0.12362787, -0.013454904, 0.075683616, 0.1302396, -0.04830048, -0.046029154, 0.0064248987, -0.031167233, 0.25245216, -0.11133049, 0.008989724, -0.23661305, -0.16241929, -0.09099623, -0.22794738) * go_5(0.0, 0.0);
|
|
result += mat4(-0.05430553, -0.027592193, 0.055918325, 0.07440643, -0.07768451, -0.16840686, -0.0779583, -0.03912889, -0.0559558, 0.06344966, 0.043207582, 0.101679, -0.07952004, 0.14983815, -0.026701134, 0.12340738) * go_5(0.0, 1.0);
|
|
result += mat4(-0.026840188, -0.019847477, 0.066656925, -0.033919457, -0.03307108, 0.008593069, 0.0014763663, -0.0701509, 0.11177682, 0.043675758, -0.003045438, -0.010472893, 0.21724509, -0.038310688, -0.064877726, 0.004854949) * go_5(1.0, -1.0);
|
|
result += mat4(-0.015254564, -0.025455397, -0.03241339, 0.037043206, 0.05684043, -0.11902418, 0.07518396, 0.00701195, -0.015419543, -0.024986517, -0.03743384, -0.05720803, 0.11705044, 0.015859546, 0.012020071, 0.0531533) * go_5(1.0, 0.0);
|
|
result += mat4(0.08011219, -0.05165056, -0.093091846, -0.036382984, 0.049235564, 0.037434872, -0.034679618, 0.07719339, -0.06549348, 0.01218804, 0.03943118, 0.082384944, 0.016443405, 0.05189687, 0.0077285073, 0.10032839) * go_5(1.0, 1.0);
|
|
result += mat4(-0.09811926, -0.048215948, 0.022598421, 0.009328491, -0.011228176, -0.04722078, 0.03850093, -0.060968023, -0.03111426, -0.07513239, -0.00286793, 0.009694654, 0.01964597, -0.051449805, 0.07004601, 0.055719677) * go_6(-1.0, -1.0);
|
|
result += mat4(0.004332875, -0.14231071, -0.079254255, 0.0465398, -0.06106811, 0.20371613, 0.080673784, 0.022448666, 0.016302604, -0.18337095, -0.03403594, 0.032197136, -0.16751388, -0.018878518, -0.00083395635, 0.017590992) * go_6(-1.0, 0.0);
|
|
result += mat4(-0.05158496, 0.015418104, -0.05616303, 0.06300464, -0.012552025, 0.06700004, 0.026008774, -0.020125628, 0.11119969, -0.002252269, -0.093951225, 0.18426418, -0.12882762, 0.018628476, 0.009146744, 0.029346682) * go_6(-1.0, 1.0);
|
|
result += mat4(-0.08072911, 0.038257066, 0.011962663, -0.03477007, 0.10724061, 0.047330793, 0.09406249, -0.038468212, -0.028449105, 0.080370486, 0.15885979, -0.16750082, 0.14282493, 0.029656053, 0.04090178, -0.11131538) * go_6(0.0, -1.0);
|
|
result += mat4(0.023348637, 0.06667373, 0.033075638, 0.23825766, -0.076276645, -0.057323404, -0.11303136, 0.102379866, 0.00056404545, -0.12161668, -0.05565824, -0.36255562, 0.15493225, 0.14176092, -0.12689851, 0.0861988) * go_6(0.0, 0.0);
|
|
result += mat4(0.05183813, 0.071844034, -0.005951533, 0.073875435, -0.04652535, 0.105300434, 0.051163994, 0.149797, -0.06975654, -0.029562712, 0.07167551, 0.07440629, -0.13939863, -0.084996395, 0.003270202, 0.0020182598) * go_6(0.0, 1.0);
|
|
result += mat4(0.038029913, 0.057545405, -0.12840481, -0.0044743693, 0.087749176, 0.009168238, 0.052323997, 0.08310589, 0.030010838, 0.0015745204, -0.013049759, 0.055351935, -0.03995745, 0.13832898, -0.06969623, 0.011420687) * go_6(1.0, -1.0);
|
|
result += mat4(0.0029858996, 0.0013822165, -0.18071668, -0.0046723257, 0.034825116, 0.0921186, 0.11448634, 0.19567586, 0.12269178, 0.07189283, -0.072001204, -0.03505551, 0.0970906, 0.037129845, -0.11448691, 0.060917735) * go_6(1.0, 0.0);
|
|
result += mat4(-0.03782286, 0.012466319, -0.09582938, 0.041950993, 0.0061008865, 0.0120334625, -0.0029366, 0.09319393, -0.052122094, -0.07502421, -0.14174813, -0.051292155, 0.023894839, 0.012328209, 0.12675953, -0.01036637) * go_6(1.0, 1.0);
|
|
result += mat4(0.03626806, 0.047888283, 0.00073598296, -0.03139694, -0.03943633, -0.13967054, 0.13821344, 0.02789613, -0.054842375, -0.14652891, 0.1297268, -0.17719932, 0.00096252834, 0.03653685, 0.003869557, -0.031079864) * go_7(-1.0, -1.0);
|
|
result += mat4(-0.044692617, 0.022308728, -0.0034757738, -0.11214092, 0.1942302, -0.056665756, -0.13580446, 0.06139267, -0.17323272, 0.22870769, 0.15451086, 0.062325798, -0.06428409, 0.041929293, -0.04482309, 0.115788296) * go_7(-1.0, 0.0);
|
|
result += mat4(-0.037223086, 0.1258252, 0.08688915, -0.09304955, 0.03290727, -0.1793539, -0.02147348, 0.04232672, -0.33211467, 0.3041252, 0.08903881, -0.011478615, -0.05112619, 0.02559543, 0.061504938, 0.16324621) * go_7(-1.0, 1.0);
|
|
result += mat4(-0.013524019, -0.09800075, -0.06595685, 0.13576919, -0.0150520345, 0.041289173, 0.11193854, 0.031947836, 0.18844956, -0.14499632, 0.21209183, -0.09216787, 0.039444353, -0.022743076, 0.008331227, 0.050290193) * go_7(0.0, -1.0);
|
|
result += mat4(0.00845177, -0.062762365, 0.12011158, 0.019268623, -0.25200182, -0.070608236, 0.583657, -0.3979071, 0.202273, -0.27020127, 0.31792235, 0.055522945, 0.049366258, -0.1547968, 0.0094838, 0.037900254) * go_7(0.0, 0.0);
|
|
result += mat4(-0.10912095, 0.018920064, 0.04798278, -0.0601081, 0.1303284, -0.07698929, -0.040227156, -0.12950167, 0.06799319, -0.10708667, 0.15092286, -0.03616455, -0.057483222, 0.09268709, 0.120372415, 0.17823943) * go_7(0.0, 1.0);
|
|
result += mat4(0.07103522, -0.028456224, -0.14123808, 0.036347568, 0.032950565, 0.0076102316, -0.04441095, 0.09832154, -0.04684079, -0.07462429, -0.029697422, 0.0019593944, -0.07063113, 0.017122308, 0.0019443014, 0.024005169) * go_7(1.0, -1.0);
|
|
result += mat4(0.19840677, 0.04053979, -0.28031257, 0.048886195, 0.068136275, 0.11328658, 0.055254918, 0.08998234, 0.04169877, 0.03261371, 0.19996099, -0.018779114, 0.050100785, -0.04240794, 0.14432232, 0.05729528) * go_7(1.0, 0.0);
|
|
result += mat4(-0.027830606, -0.01830684, 0.010035696, -0.06135513, 0.12879516, 0.022098277, -0.19024612, 0.10902761, -0.026191598, 0.038716756, 0.09734628, 0.14136758, -0.019868078, 0.034349605, 0.07440802, 0.020381965) * go_7(1.0, 1.0);
|
|
result += mat4(-0.031464096, 0.001053761, 0.043526858, 0.010412086, -0.17848891, -0.097033575, -0.0012577542, 0.036945686, 0.059248988, -0.021694278, 0.0011480029, -0.013797085, -0.08563894, 0.017658193, 0.0021849705, -0.043733254) * go_8(-1.0, -1.0);
|
|
result += mat4(-0.019144258, -0.06711262, 0.03632702, -0.029826026, 0.006813378, -0.003969824, 0.00019037222, 0.16610803, -0.033035498, -0.019897725, 0.03754764, 0.043584425, 0.14464164, -0.15918401, 0.06232411, -0.06492025) * go_8(-1.0, 0.0);
|
|
result += mat4(-0.059413664, 0.111339584, -0.008430923, -0.014649087, -0.003594872, -0.14574839, 0.02353429, -0.17129546, 0.09336502, 0.12865134, -0.012435833, 0.07241922, -0.04791443, -0.077149846, -0.0021780212, -0.045841258) * go_8(-1.0, 1.0);
|
|
result += mat4(-0.0707728, -0.03313273, 0.057984207, 0.090724744, 0.017171696, -0.0654554, -0.03162526, 0.0073273624, -0.01690497, 0.08393428, -0.04609512, 0.018551271, 0.060470644, -0.07681868, -0.018971717, -0.019600816) * go_8(0.0, -1.0);
|
|
result += mat4(0.1676251, -0.03913703, 0.015949814, -0.050757714, -0.17725573, -0.14712991, -0.14843173, 0.20936011, -0.16364701, 0.28614786, -0.18470874, -0.019684736, 0.106993206, -0.004278966, -0.0320641, -0.10789707) * go_8(0.0, 0.0);
|
|
result += mat4(-0.029283857, 0.020563176, 0.11319419, 0.11170993, 0.14844628, -0.010018965, 0.011065719, -0.08028034, 0.011984268, 0.0010749678, 0.049402744, 0.044593398, 0.13847482, 0.0059888144, 0.027500622, 0.108784206) * go_8(0.0, 1.0);
|
|
result += mat4(0.01205264, 0.021300085, -0.046063945, -0.007999818, -0.13475847, -0.02334875, -0.0025662053, 0.08107595, -0.020613125, -0.042976774, -0.012636618, 0.079694346, -0.031824846, -0.08273052, 0.049622092, -0.03349592) * go_8(1.0, -1.0);
|
|
result += mat4(0.0420867, 0.067662604, 0.027575044, -0.049389694, -0.0076691327, 0.012474314, 0.09792472, 0.117004596, -0.2072003, -0.009180187, -0.39107728, -0.038654536, -0.02036599, 0.058372054, -0.107287474, 0.15442607) * go_8(1.0, 0.0);
|
|
result += mat4(-0.038561203, -0.11485789, 0.035765175, -0.0844404, 0.00036770353, -0.049586706, -0.06881126, -0.14083977, 0.03684274, 0.07132273, -0.060698364, -0.047762398, 0.027802434, 0.023094364, -0.011859859, 0.040085405) * go_8(1.0, 1.0);
|
|
result += mat4(-0.010658981, -0.098260984, 0.03293102, 0.022438409, 0.014365506, 0.13513209, -0.03391689, -0.07402223, 0.02659744, 0.13315997, 0.0051934537, 0.05897754, 0.057116147, 0.09436475, 0.08697818, -0.109584406) * go_9(-1.0, -1.0);
|
|
result += mat4(0.14180045, -0.19213474, -0.0077826353, 0.053888105, 0.03280035, -0.1626862, -0.068114966, 0.19899116, -0.06385297, 0.16440801, 0.0040299953, 0.08551378, -0.108922936, 0.14460269, 0.04250807, -0.0055258097) * go_9(-1.0, 0.0);
|
|
result += mat4(0.009511591, 0.09489334, -0.10438671, 0.118240274, 0.013701259, -0.2260898, -0.033166207, 0.050668016, -0.007743699, -0.0035648027, 0.03792938, -0.02559795, 0.07968182, -0.030887593, 0.01205847, 0.009945605) * go_9(-1.0, 1.0);
|
|
result += mat4(0.003423775, -0.088880695, -0.035691295, -0.0035343976, -0.0045947717, -0.0890295, -0.15527213, 0.06456578, -0.027445925, -0.10123017, -0.061165016, -0.05975515, 0.08943537, 0.018354377, 0.093808636, 0.09058041) * go_9(0.0, -1.0);
|
|
result += mat4(0.19464576, -0.25354752, 0.12025962, 0.0047807707, -0.1806877, -0.0829497, 0.17874265, -0.14859185, -0.022103263, -0.029377054, 0.036780443, -0.25260177, -0.0020576504, 0.16454361, -0.016518762, -0.124516256) * go_9(0.0, 0.0);
|
|
result += mat4(-0.06524309, 0.07720192, 0.06741092, -0.004755482, -0.1567559, -0.038825776, 0.055452358, 0.16807874, 0.08426787, 0.10064341, -0.08048252, 0.12724291, 0.044000335, -0.09514686, 0.071899205, -0.19236842) * go_9(0.0, 1.0);
|
|
result += mat4(-0.054300454, 0.0048882305, 0.032002125, -0.06314737, -0.023635345, 0.015739735, -0.03779951, 0.014911036, -0.018855136, 0.02287149, 0.07404439, 0.020227555, 0.12780152, 0.0249982, 0.09878167, 0.08178305) * go_9(1.0, -1.0);
|
|
result += mat4(0.16953443, 0.035950057, 0.29992104, -0.00664767, -0.0051847943, 0.07840213, 0.0852634, 0.009097623, -0.03488376, 0.060193926, 0.011722527, -0.12336398, -0.065298855, 0.030775972, 0.18955767, 0.033368744) * go_9(1.0, 0.0);
|
|
result += mat4(-0.14526981, 0.010404009, 0.08604749, 0.024556525, 0.06756713, 0.00744896, -0.06230971, -0.051816244, -0.006520683, 0.017338715, -0.011555326, 0.022118622, -0.01212985, -0.025708182, 0.096710615, -0.0880872) * go_9(1.0, 1.0);
|
|
result += mat4(-0.071155414, 0.08430235, -0.04111888, 0.04478505, 0.04678298, 0.091515504, -0.061127644, -0.11651728, 0.084393844, 0.15791681, 0.12303138, -0.09144385, 0.06725453, -0.046441063, 0.08016926, -0.009265325) * go_10(-1.0, -1.0);
|
|
result += mat4(0.0040714527, 0.021631662, 0.07243013, -0.11434065, -0.08418263, 0.05947, 0.050204482, -0.04395534, -0.14678517, 0.1271361, -0.0036898777, 0.007855137, 0.024852144, 0.06963993, -0.015461485, -0.026968528) * go_10(-1.0, 0.0);
|
|
result += mat4(0.04323024, -0.05917676, -0.040343963, -0.06002188, 0.073589, 0.14065376, -0.008597814, 0.118194476, -0.0047777137, 0.066805825, 0.017594682, -0.053775795, -0.11739397, -0.11529746, 0.0037522179, -0.046322566) * go_10(-1.0, 1.0);
|
|
result += mat4(0.053650532, -0.09683151, -0.19496697, 0.07991156, 0.10289539, 0.049044795, -0.026568783, -0.12895629, 0.08041865, 0.05547816, -0.024926053, -0.022836441, -0.026318112, -0.07999866, 0.04849193, -0.063271776) * go_10(0.0, -1.0);
|
|
result += mat4(0.063348986, 0.046536207, 0.09077205, -0.065250814, -0.21213472, 0.22206871, 0.011405871, -0.04594076, -0.08919407, 0.053809587, -0.045071192, 0.04457517, -0.04761967, -0.00063329184, 0.015264811, 0.14230464) * go_10(0.0, 0.0);
|
|
result += mat4(-0.1362619, 0.124562874, 0.013724714, 0.18099883, -0.2285552, 0.3298857, 0.042477757, 0.32406956, -0.13042764, 0.08987494, -0.013166582, -0.12164826, -0.092949785, -0.06596419, 0.028557139, 0.070556834) * go_10(0.0, 1.0);
|
|
result += mat4(-0.004091256, 0.007315117, 0.025926506, -0.05297705, 0.16433445, 0.19016539, 0.05815661, -0.014741991, -0.08531722, -0.025269695, -0.123091884, -0.035526488, 0.06972483, 0.03931621, 0.017806875, -0.011804328) * go_10(1.0, -1.0);
|
|
result += mat4(-0.0018400949, 0.094811164, -0.08969797, 0.04853828, -0.1291663, 0.033400565, 0.297762, 0.048428286, 0.010310113, 0.08309697, -0.15573427, -0.03929204, 0.09878958, -0.0049044066, 0.07033708, 0.031186087) * go_10(1.0, 0.0);
|
|
result += mat4(0.002275256, -0.07784182, -0.027740657, -0.08700791, 0.1641431, -0.06383385, 0.12704122, 0.020721145, -0.0765814, -0.0062846337, -0.008150311, -0.068284586, -0.061724715, -0.028633684, 0.042579137, -0.022366095) * go_10(1.0, 1.0);
|
|
result += mat4(-0.059812613, -0.016397942, 0.050042734, -0.04041396, 0.051270485, -0.05887674, 0.018254071, -0.037738055, 0.018913453, 0.018846627, -0.015349018, 0.026866104, 0.07343702, 0.08884225, -0.0844844, 0.0045987596) * go_11(-1.0, -1.0);
|
|
result += mat4(-0.0074525494, 0.060173932, -0.06734403, -0.03425061, -0.0492153, -0.045201246, -0.072703086, 0.027989397, 0.108851016, 0.09310228, -0.14239624, 0.18670453, 0.14031729, -0.1642711, 0.02309336, 0.121186286) * go_11(-1.0, 0.0);
|
|
result += mat4(0.045983303, 0.013256229, -0.058050074, -0.018363763, -0.046715163, 0.02973069, 0.029274564, -0.015408353, -0.030378167, 0.037977114, -0.1334022, -0.022535136, 0.01828963, 0.031857423, -0.0433168, -0.015471418) * go_11(-1.0, 1.0);
|
|
result += mat4(0.08072113, 0.16231881, -0.022066744, -0.0425335, -0.16478068, -0.10143745, 0.03046289, 0.026629625, -0.06359632, 0.052836478, -0.0205083, 0.052351423, 0.04804752, 0.13968943, -0.057593778, -0.040696245) * go_11(0.0, -1.0);
|
|
result += mat4(-0.25542274, 0.016683673, -0.013760742, 0.11911277, -0.010073981, -0.010102792, -0.043357737, 0.054598674, 0.24294889, -0.21047808, 0.048339482, -0.013847841, -0.32398117, 0.036752395, 0.067258835, -0.15109102) * go_11(0.0, 0.0);
|
|
result += mat4(-0.18871623, 0.066637784, 0.01826965, 0.17650007, -0.09132555, 0.13290621, 0.092009716, -0.004178901, -0.024332194, 0.08828939, 0.1560296, 0.031010568, 0.08010207, -0.05232434, 0.017636376, -0.108063385) * go_11(0.0, 1.0);
|
|
result += mat4(0.05803196, -0.007804538, 0.0034517671, -0.021505883, -0.016582713, -0.01859502, -0.11752609, 0.07442376, 0.0664939, 0.044025224, 0.04226822, -0.02521637, 0.039057795, 0.039176814, 0.11136323, 0.007489425) * go_11(1.0, -1.0);
|
|
result += mat4(0.013457528, 0.109780364, -0.011453208, -0.0030823683, 0.11443531, 0.098637, -0.0709403, 0.043292217, 0.11829258, -0.06922662, 0.086047046, 0.016868966, -0.08024213, -0.030579101, 0.07813338, 0.111994706) * go_11(1.0, 0.0);
|
|
result += mat4(-0.03376252, 0.017642021, -0.022758378, 0.02791364, -0.11893667, -0.034309436, -0.011839066, -0.109537624, 0.10653171, 0.004103466, -0.08914791, 0.015449584, 0.0061790585, -0.08180187, 0.0812421, -0.10002259) * go_11(1.0, 1.0);
|
|
result += vec4(-0.082898155, 0.010079553, 0.06613919, 0.016312698);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x80
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_6_tf
|
|
//!BIND conv2d_6_tf1
|
|
//!BIND conv2d_6_tf2
|
|
//!BIND conv2d_6_tf3
|
|
//!BIND conv2d_6_tf4
|
|
//!BIND conv2d_6_tf5
|
|
//!BIND conv2d_8_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!SAVE conv2d_9_tf
|
|
//!WIDTH conv2d_6_tf.w
|
|
//!HEIGHT conv2d_6_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_6_tf1_tex(conv2d_6_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_6_tf2_tex(conv2d_6_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_6_tf3_tex(conv2d_6_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_6_tf4_tex(conv2d_6_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_6_tf5_tex(conv2d_6_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_6_tf1_tex(conv2d_6_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_6_tf2_tex(conv2d_6_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_6_tf3_tex(conv2d_6_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_6_tf4_tex(conv2d_6_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_6_tf5_tex(conv2d_6_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.069604576, 0.02780287, 0.10479145, 0.0598677, -0.15447794, 0.014002432, 0.15952754, -0.16364509, -0.17146967, 0.27360946, -0.06118358, 0.06562993, -0.0034575097, 0.27649418, 0.025365477, -0.081556045) * g_0;
|
|
result += mat4(0.098523565, -0.014438212, -0.17889059, -0.08759605, -0.097737536, 0.27787977, 0.016156938, -0.11134956, 0.10582375, -0.20247018, 0.08988277, 0.17063816, -0.072689526, -0.1143116, 0.30750987, 0.09236675) * g_1;
|
|
result += mat4(-0.28383443, -0.15268843, 0.42559057, 0.3357241, 0.012547255, -0.09958958, 0.04154182, -0.06517361, 0.08784381, 0.03416716, -0.036624804, -0.034195926, -0.009735854, -0.037226725, 0.044228237, 0.098523915) * g_2;
|
|
result += mat4(0.13222544, 0.1690658, -0.10114831, 0.0418428, -0.03539878, 0.06732558, 0.044486526, 0.18264133, 0.09283543, -0.0875049, -0.27786124, 0.31696528, 0.13372223, 0.06539235, -0.07225442, -0.053972196) * g_3;
|
|
result += mat4(0.10303975, -0.027461063, 0.12720948, 0.11982775, 0.010745893, -0.258443, -0.038602423, -0.031108906, 0.03577269, 0.06814439, -0.30761826, 0.18308763, 0.030638998, 0.00069125916, 0.041647576, -0.037805513) * g_4;
|
|
result += mat4(0.28049946, -0.19036528, -0.20298155, -0.20855707, -0.012317928, 0.08052685, -0.2087141, 0.22641854, 0.10379512, -0.19354534, 0.038190875, -0.31573087, -0.08755006, 0.10582216, -0.103582926, -0.051279992) * g_5;
|
|
result += mat4(-0.019805856, 0.32306147, -0.10066396, 0.1077401, -0.08169178, -0.20293216, 0.015578836, -0.030745748, 0.091820225, -0.13066763, 0.022633377, 0.011552452, -0.123327985, 0.25311312, 0.22652766, 0.011176362) * g_6;
|
|
result += mat4(-0.16592886, -0.003341361, 0.05655243, -0.04907018, -0.14266169, -0.07653183, 0.39557743, -0.044829868, 0.035589613, -0.23692629, 0.02729001, 0.23751497, -0.074999005, 0.06162688, 0.06201382, 0.15069327) * g_7;
|
|
result += mat4(-0.12884079, 0.037352398, -0.12884715, 0.15350881, -0.089926146, -0.1700947, -0.10188416, -0.029826047, -0.031419244, -0.15877514, 0.074799135, -0.123011, -0.007537871, -0.24274765, 0.10594629, -0.042308845) * g_8;
|
|
result += mat4(0.028796997, 0.009780028, 0.08393684, 0.08876159, 0.2958322, 0.13797538, -0.23441544, -0.064725965, 0.13806176, -0.015037291, 0.060964797, -0.30482304, -0.041055765, -0.15156971, 0.20623018, 0.10922641) * g_9;
|
|
result += mat4(-0.0057864957, -0.18726483, 0.037883427, 0.14638895, -0.10522743, 0.09113031, 0.11673609, -0.21051702, 0.028723987, -0.062990315, 0.002952929, 0.01469057, 0.034846026, 0.19609974, -0.1934369, -0.18243392) * g_10;
|
|
result += mat4(0.118073694, 0.119863555, -0.30531943, -0.205375, -0.22113605, -0.28978834, -0.23192821, 0.28978485, -0.021390624, -0.18431179, -0.15690218, -0.14960553, -0.15185611, 0.0028554697, -0.02074978, 0.056506403) * g_11;
|
|
result += mat4(0.31187654, -0.2761366, 0.020066198, 0.031995732, -0.1848675, 0.08065148, 0.14539121, -0.23896545, 0.0257927, -0.054032624, -0.07259492, 0.18765905, -0.17117564, -0.33104083, -0.0332479, 0.15349889) * g_12;
|
|
result += mat4(-0.18720639, 0.19843848, 0.3385621, -0.19166066, 0.21356635, 0.21394755, 0.15651105, 0.037805296, -0.16349375, -0.13504027, 0.19122715, 0.120806016, 0.16379046, -0.0026540656, 0.04739934, -0.07981541) * g_13;
|
|
result += mat4(-0.28539544, 0.21816348, -0.15019035, 0.23157135, 0.121298485, 0.2268759, -0.24653979, -0.025725443, -0.055981506, 0.10309359, 0.12415594, 0.010752708, 0.15175724, -0.12113609, -0.04674751, 0.1452768) * g_14;
|
|
result += mat4(0.084147684, -0.32716796, -0.3735181, -0.06994641, -0.17994325, -0.14905843, -0.06946874, 0.35039115, -0.05100555, -0.08730691, -0.23854558, -0.1746263, -0.011508492, 0.10305763, 0.13472022, -0.28137568) * g_15;
|
|
result += mat4(0.10937542, -0.038041312, -0.0995303, 0.14773457, 0.15991186, 0.22984092, -0.20170724, -0.3805271, 0.11831765, -0.07383792, 0.14768845, -0.311674, -0.019428516, 0.18180147, 0.056651186, -0.10447611) * g_16;
|
|
result += mat4(0.04605112, 0.046965037, -0.08334886, 0.037097372, 0.18561974, 0.3021062, 0.1629304, -0.090214364, -0.005229353, 0.18200208, -0.07720685, 0.25807604, 0.2524869, -0.16809419, -0.4000575, -0.3306678) * g_17;
|
|
result += mat4(0.09674466, 0.07551325, 0.016270272, -0.22326164, -0.1256328, -0.08318501, 0.24199782, 0.008043517, -0.3336808, -0.019305306, -0.18930039, 0.3224243, -0.020935204, -0.21364902, 0.029509636, -0.1468745) * g_18;
|
|
result += mat4(-0.22094682, -0.27292994, -0.1963563, -0.37204334, 0.13046952, 0.2838346, -0.15947977, 0.07602889, -0.023213187, -0.06235404, -0.09553055, 0.03893353, 0.28796852, 0.09727489, 0.13416602, 0.34785405) * g_19;
|
|
result += vec4(0.063622594, 0.0041231937, 0.015656473, -0.044245835);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x80
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_6_tf
|
|
//!BIND conv2d_6_tf1
|
|
//!BIND conv2d_6_tf2
|
|
//!BIND conv2d_6_tf3
|
|
//!BIND conv2d_6_tf4
|
|
//!BIND conv2d_6_tf5
|
|
//!BIND conv2d_8_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!SAVE conv2d_9_tf1
|
|
//!WIDTH conv2d_6_tf.w
|
|
//!HEIGHT conv2d_6_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_6_tf1_tex(conv2d_6_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_6_tf2_tex(conv2d_6_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_6_tf3_tex(conv2d_6_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_6_tf4_tex(conv2d_6_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_6_tf5_tex(conv2d_6_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_6_tf1_tex(conv2d_6_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_6_tf2_tex(conv2d_6_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_6_tf3_tex(conv2d_6_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_6_tf4_tex(conv2d_6_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_6_tf5_tex(conv2d_6_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.029247807, 0.43012354, -0.07769897, 0.15838203, -0.13324478, 0.017804278, 0.21924987, -0.024039736, -0.20728067, 0.044956654, 0.03079796, -0.23534241, -0.0500509, -0.18794334, 0.27260718, 0.24131943) * g_0;
|
|
result += mat4(0.1303224, -0.32837823, -0.09135343, 0.05029881, 0.29270905, -0.042230245, 0.13552578, -0.022074893, -0.22813024, 0.16917036, -0.19837584, -0.025336651, -0.017484624, -0.07434934, -0.022696782, 0.14180793) * g_1;
|
|
result += mat4(-0.17257185, 0.016180463, -0.16395493, -0.12969042, -0.17320508, -0.17256051, 0.124869406, -0.041106623, -0.29951182, -0.062248964, 0.14418627, 0.113648884, 0.19480251, -0.14825127, -0.30102882, 0.2543297) * g_2;
|
|
result += mat4(-0.17920358, -0.056560468, -0.05815734, -0.094284005, 0.074466944, -0.1708937, 0.05045378, 0.22309071, 0.07125439, 0.1243207, 0.0996307, 0.11177492, -0.20849244, -0.016035903, 0.066763505, -0.03865284) * g_3;
|
|
result += mat4(0.10919598, -0.05991637, 0.22679056, 0.07574283, 0.11607126, -0.12619832, -0.11305337, 0.09875149, -0.093926236, -0.31168574, 0.12892371, 0.03084246, -0.025373377, -0.18546598, -0.10146844, -0.06607364) * g_4;
|
|
result += mat4(-0.0284226, -0.13437645, -0.01047342, -0.0643442, -0.112065926, 0.28130296, -0.028859612, 0.20614125, -0.104703404, -0.25221863, 0.06305746, 0.008987997, -0.06367191, -0.039423067, 0.55190355, 0.1131621) * g_5;
|
|
result += mat4(0.017900897, 0.19151299, -0.012729769, -0.3720392, -0.043568056, 0.021792412, -0.14938483, -0.04563565, 0.13666408, 0.15488137, -0.058843106, 0.026964363, 0.2275412, -0.051935695, -0.3025488, 0.032634325) * g_6;
|
|
result += mat4(0.080183186, 0.49439004, 0.09187155, 0.058713455, -0.14579555, -0.16108377, -0.074885435, 0.16271885, -0.02726071, 0.3746404, -0.07175874, 0.12927002, 0.048367534, 0.0068023684, -0.01004529, -0.10857275) * g_7;
|
|
result += mat4(0.30240306, -0.05872737, 0.09092156, -0.044823427, 0.13460608, 0.27104214, -0.21677399, -0.078722954, 0.21395817, -0.27020204, 0.03407373, -0.27704158, -0.14948608, 0.045992948, 0.5086244, -0.14568712) * g_8;
|
|
result += mat4(0.04736869, -0.012021483, -0.23633002, -0.09218725, 0.049316257, 0.031919852, 0.109669484, 0.028117038, -0.05681596, -0.19797502, 0.066302285, -0.16133904, -0.11359791, 0.047595903, -0.15282372, 0.14841823) * g_9;
|
|
result += mat4(0.025813673, 0.18983132, -0.32590774, -0.017710522, 0.20602965, -0.06116333, 0.2023164, -0.38438424, 0.06915477, 0.077189915, 0.14604315, 0.21469697, 0.2905641, 0.099070854, -0.15827921, 0.09761589) * g_10;
|
|
result += mat4(-0.045127008, 0.18940306, -0.08118834, 0.02602074, 0.0945136, -0.07572827, 0.058015335, -0.054117456, 0.13638207, -0.06921914, -0.018934516, -0.21474637, 0.072837576, 0.38855672, -0.2214727, -0.07032989) * g_11;
|
|
result += mat4(-0.14499478, -0.103144266, -0.06795675, 0.097279154, -0.15780063, -0.00092860113, -0.06560443, 0.046918143, 0.116832, -0.041867204, -0.04294921, -0.16297981, 0.0017979478, -0.14739467, 0.06300005, -0.018958041) * g_12;
|
|
result += mat4(-0.023155538, 0.013861143, 0.10273995, -0.23301847, -0.06355406, 0.23065268, 0.0100112315, 0.12967634, -0.015230428, 0.00040594305, 0.09417989, 0.24173634, 0.055267353, 0.0818368, -0.07358038, 0.11633795) * g_13;
|
|
result += mat4(-0.033157397, -0.060810838, 6.0726292e-05, -0.07492996, -0.08209274, 0.036523078, 0.037038907, -0.0371525, 0.008616722, -0.25722533, 0.11118201, 0.00083808816, -0.16973083, -0.049985297, 0.016049283, 0.04555759) * g_14;
|
|
result += mat4(-0.02391044, -0.12006143, -0.0040827403, -0.045583934, 0.005460344, 0.0015913033, -0.0840245, 0.06921067, 0.13523246, 0.25881252, 0.06931116, 0.12808272, -0.08047311, -0.0036380326, 0.029610094, -0.1336764) * g_15;
|
|
result += mat4(0.07438417, 0.057508536, 0.34985167, 0.11944369, -0.21246617, -0.16596083, -0.31279483, -0.24151649, -0.090715386, -0.007790705, -0.10482516, 0.10915042, -0.08405226, 0.09904896, -0.08101267, -0.36275923) * g_16;
|
|
result += mat4(0.032126356, 0.011326541, -0.2710429, -0.018045785, -0.024174925, 0.10995586, 0.32196537, -0.16372478, 0.005468728, -0.1943689, -0.111603215, -0.08804184, 0.039886538, 0.15763853, -0.011543824, -0.32507792) * g_17;
|
|
result += mat4(0.02271385, 0.06408109, 0.02209524, 0.061272632, -0.12502407, -0.21633519, -0.34524658, 0.018734034, -0.2399288, 0.08478751, 0.1332156, -0.15286094, -0.10991463, -0.41120422, -0.3367541, -0.015484429) * g_18;
|
|
result += mat4(0.109604605, -0.13112773, 0.034937084, -0.3441579, -0.22917384, 0.13396077, 0.13513319, 0.013879127, 0.09909886, -0.2781385, 0.10821879, 0.0012182732, 0.141571, -0.039386883, 0.2155932, -0.039853897) * g_19;
|
|
result += vec4(0.011448396, 0.020379832, -0.0022957225, 0.013202214);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x80
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_6_tf
|
|
//!BIND conv2d_6_tf1
|
|
//!BIND conv2d_6_tf2
|
|
//!BIND conv2d_6_tf3
|
|
//!BIND conv2d_6_tf4
|
|
//!BIND conv2d_6_tf5
|
|
//!BIND conv2d_8_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!SAVE conv2d_9_tf2
|
|
//!WIDTH conv2d_6_tf.w
|
|
//!HEIGHT conv2d_6_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_6_tf1_tex(conv2d_6_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_6_tf2_tex(conv2d_6_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_6_tf3_tex(conv2d_6_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_6_tf4_tex(conv2d_6_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_6_tf5_tex(conv2d_6_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_6_tf1_tex(conv2d_6_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_6_tf2_tex(conv2d_6_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_6_tf3_tex(conv2d_6_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_6_tf4_tex(conv2d_6_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_6_tf5_tex(conv2d_6_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.16280368, -0.3007647, -0.40942207, 0.030815337, 0.07405667, -0.2774033, -0.17283231, 0.29439998, 0.3699874, -0.3105887, -0.14847368, -0.19395609, 0.0452973, -0.007050749, -0.1077042, 0.09585097) * g_0;
|
|
result += mat4(0.18247014, 0.009975951, 0.22485235, 0.027747832, -0.23668393, 0.4114013, -0.051324457, -0.1639705, -0.05903238, -0.23907724, 0.028307369, 0.26740846, 0.15824945, -0.45980626, -0.2874741, -0.08889109) * g_1;
|
|
result += mat4(0.10361935, -0.3442958, -0.14365837, -0.099617116, -0.032554094, -0.14120267, -0.03342406, 0.05498335, -0.055517945, 0.17825112, 0.07104187, -0.06683212, 0.057972897, 0.118643604, -0.16706169, 0.054418873) * g_2;
|
|
result += mat4(0.011006017, 0.07820084, -0.13500318, 0.1641914, -0.009132727, -0.16969028, 0.10708101, 0.1584649, 0.06537785, 0.012797735, 0.33862048, 0.11651383, 0.013557928, 0.2422241, 0.1017567, 0.062895164) * g_3;
|
|
result += mat4(-0.051137764, 0.21534863, 0.028179698, -0.43167275, -0.033175964, -0.31094325, 0.117865756, 0.14298838, 0.2600347, 0.06622512, 0.23248197, 0.05236919, 0.057206035, 0.31706086, 0.35474834, -0.08026979) * g_4;
|
|
result += mat4(0.3341866, 0.061472543, 0.08820765, 0.18130043, -0.23067175, 0.020398427, 0.2055998, -0.043249145, 0.059176553, 0.15833625, -0.038501732, -0.19359344, 0.013098893, -0.113447286, -0.14451598, -0.07114495) * g_5;
|
|
result += mat4(-0.14045192, -0.035960864, 0.1683667, -0.057710778, -0.12191498, 0.30514076, 0.25296882, 0.05210337, -0.30406678, 0.32372236, -0.08775911, 0.05305385, -0.09910785, 0.08077384, -0.030429823, -0.23029453) * g_6;
|
|
result += mat4(-0.06477132, 0.051194742, 0.054058783, -0.08651901, -0.11611027, -0.1414096, 0.017515467, 0.08065079, 0.160593, 0.053242017, 0.16833569, 0.2509967, -0.08866564, -0.027160924, 0.18210976, -0.018735442) * g_7;
|
|
result += mat4(-0.07765899, -0.08653451, 0.018404264, 0.037747417, 0.29692903, -0.21028307, -0.1398246, -0.18331608, -0.14643049, -0.062120195, -0.026070742, -0.016461093, 0.13776016, 0.16835451, 0.19926657, 0.009491423) * g_8;
|
|
result += mat4(0.22430605, 0.13225609, 0.11127026, 0.11934834, 0.11773516, 0.38065204, 0.029911561, 0.02016507, -0.04952572, -0.03617535, -0.13657878, 0.27129802, -0.1468153, -0.15232307, 0.29422712, 0.21878105) * g_9;
|
|
result += mat4(0.1451605, -0.1307874, 0.15195362, 0.37169486, -0.3883121, 0.1892302, -0.011653311, -0.117176816, -0.058879364, 0.006502772, 0.0759263, -0.09286256, 0.022827929, 0.07008768, -0.042277794, -0.087980986) * g_10;
|
|
result += mat4(-0.20223801, 0.63388115, 0.2666767, -0.16103297, -0.24565355, -0.0149277, 0.12688118, 0.010536548, 0.2465687, 0.11190481, 0.049540646, -0.17695107, -0.2384947, 0.060365606, 0.17545441, 0.07588929) * g_11;
|
|
result += mat4(0.09111966, -0.11593248, 0.08454782, 0.288044, -0.07772475, -0.01816507, -5.096444e-05, -0.3003771, -0.03312577, 0.06330272, -0.06429025, 0.2540652, 0.112343386, 0.0268587, -0.3007914, 0.14403644) * g_12;
|
|
result += mat4(-0.028090911, -0.10009091, 0.03360372, -0.41311288, -0.14364164, 0.033205803, 0.028351944, -0.36008695, 0.08499348, -0.08054039, 0.0008087064, -0.29299152, -0.12959489, -0.041748602, -0.02607873, -0.002198112) * g_13;
|
|
result += mat4(-0.08168162, -0.18030183, -0.14979859, -0.0023758279, 0.11401735, 0.1793914, -0.019655662, 0.13919011, 0.04981195, -0.1512701, -0.2777071, -0.092032805, -0.0956048, -0.2193873, -0.22983249, -0.051276267) * g_14;
|
|
result += mat4(0.036644854, -0.23420666, -0.4380995, 0.026250768, -0.1633289, -0.124186166, 0.092637315, -0.027536578, -0.24723285, 0.10599731, -0.16287865, -0.14084546, -0.054123025, 0.10922608, -0.06295828, 0.11139063) * g_15;
|
|
result += mat4(-0.0057521244, -0.17863722, -0.28339812, 0.12678196, -0.008798941, 0.25797576, 0.14833443, -0.06494317, -0.10480434, 0.22954331, -0.15336959, -0.0017664762, -0.155693, -0.23341124, -0.10721382, -0.18765664) * g_16;
|
|
result += mat4(0.1479779, 0.026514363, 0.150549, 0.043383703, 0.060286276, -0.012992416, 0.11384509, -0.04252127, 0.08395568, -0.086466804, -0.044825606, 0.0600901, 0.36257893, 0.10778409, 0.32519555, -0.17719778) * g_17;
|
|
result += mat4(0.019650197, -0.2552763, 0.111707225, -0.028414596, -0.18420072, 0.24862765, -0.27289316, 0.15587737, 0.10823723, 0.18660492, -0.17082447, 0.6391233, -0.11903236, 0.20687774, -0.120824836, -0.103811845) * g_18;
|
|
result += mat4(-0.25654075, 0.11822941, 0.002077498, -0.18428631, -0.13948499, 0.22262993, 0.07610168, -0.041798126, -0.08393731, -0.05455519, 0.017154181, 0.40815148, 0.019547334, -0.19381055, -0.09170064, 0.092561185) * g_19;
|
|
result += vec4(-0.0025385008, -0.009322316, 0.023430334, 0.03963271);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x80
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_6_tf
|
|
//!BIND conv2d_6_tf1
|
|
//!BIND conv2d_6_tf2
|
|
//!BIND conv2d_6_tf3
|
|
//!BIND conv2d_6_tf4
|
|
//!BIND conv2d_6_tf5
|
|
//!BIND conv2d_8_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!SAVE conv2d_9_tf3
|
|
//!WIDTH conv2d_6_tf.w
|
|
//!HEIGHT conv2d_6_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_6_tf1_tex(conv2d_6_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_6_tf2_tex(conv2d_6_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_6_tf3_tex(conv2d_6_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_6_tf4_tex(conv2d_6_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_6_tf5_tex(conv2d_6_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_6_tf1_tex(conv2d_6_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_6_tf2_tex(conv2d_6_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_6_tf3_tex(conv2d_6_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_6_tf4_tex(conv2d_6_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_6_tf5_tex(conv2d_6_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.12601118, -0.021590643, 0.22313827, 0.12338326, -0.3594248, 0.08779226, -0.104447536, 0.0015953421, -0.041181516, -0.059177034, -0.03233909, 0.08123608, -0.06653031, 0.2396167, -0.04595078, -0.27699965) * g_0;
|
|
result += mat4(0.21760523, -0.07761304, 0.10619168, 0.21848077, 0.043161202, -0.18573365, 0.18635494, 0.0596456, 0.00958352, 0.06870374, -0.22098882, -0.19535597, -0.01699866, -0.060843382, 0.020773342, -0.28626204) * g_1;
|
|
result += mat4(-0.054788332, 0.43804136, -0.018370852, -0.11884852, -0.08396486, -0.02463395, -0.07859437, 0.04820491, 0.20736758, -0.05558528, 0.30823594, -0.11240249, 0.3560334, -0.16470565, -0.037384707, -0.26869738) * g_2;
|
|
result += mat4(0.035860125, -0.19114108, -0.014263808, -0.2760586, -0.10599815, 0.24764514, -0.015626451, 0.06531905, 0.03168761, -0.06332368, -0.31058973, -0.04061597, -0.27505493, -0.1417053, -0.1537728, -0.0269434) * g_3;
|
|
result += mat4(0.122250065, 0.014169642, 0.0028120647, 0.29171073, 0.03466068, -0.21740533, 0.017244201, 0.10237153, 0.2732552, 0.08788669, -0.18837062, -0.08003779, -0.16058928, 0.16513692, 0.3796974, 0.14405341) * g_4;
|
|
result += mat4(0.07627521, 0.3994723, -0.2915726, -0.26149854, -0.17089921, 0.10311443, 0.118035555, 0.018972598, 0.060590137, 0.061291203, -0.08347645, 0.07799144, -0.2275661, -0.20265573, 0.008838914, -0.033791874) * g_5;
|
|
result += mat4(-0.26082832, -0.20043238, -0.12740612, 0.022172654, -0.19137274, 0.16447131, -0.12194309, 0.11332352, 0.09688869, -0.11694857, -0.014670798, 0.029100897, 0.27688727, -0.095532894, -0.046852726, 0.15528652) * g_6;
|
|
result += mat4(0.0843288, 0.2599002, 0.054038078, 0.030031947, -0.16868956, 0.47877824, -0.107127056, -0.19649811, 0.1452435, -0.061140474, -0.3746812, -0.1712981, 0.10090316, 0.003146686, 0.042054128, 0.2036839) * g_7;
|
|
result += mat4(0.062476937, 0.109727405, 0.006085406, -0.09609198, 0.08157408, 0.26440763, -0.010807875, 0.4100666, -0.29008973, -0.29712662, 0.1449313, 0.2999071, -0.10133186, 0.14511426, 0.15570813, 0.1363124) * g_8;
|
|
result += mat4(0.24777307, -0.018936818, -0.17767051, -0.2930885, -0.31651247, -0.21320899, 0.024395507, -0.14392355, -0.039903793, -0.028844833, 0.089801095, -0.16740274, 0.076601304, 0.12653774, -0.14753589, -0.076225005) * g_9;
|
|
result += mat4(-0.18826364, 0.011248587, -0.021409662, -0.5352774, -0.08067719, -0.054373614, -0.16357093, 0.06124252, 0.033611584, 0.042493146, 0.05371003, 0.11711034, 0.11154937, -0.12328775, -0.06294046, 0.18647408) * g_10;
|
|
result += mat4(0.0024605107, -0.056066483, 0.2467666, 0.11369053, 0.08489671, 0.0037346834, -0.013299427, 3.808174e-05, 0.11409715, 0.109892204, -0.06361007, -0.22800997, 0.18311475, 0.042961217, 0.06740135, -0.16150832) * g_11;
|
|
result += mat4(-0.18291046, 0.026666109, -0.30111808, 0.17123716, 0.112474516, -0.26450562, -0.090437375, -0.14988331, -0.18449861, 0.007934273, -0.027180828, -0.43781853, 0.0977631, 0.27554545, -0.11660859, -0.23798843) * g_12;
|
|
result += mat4(0.10251913, -0.18264107, -0.06369484, 0.05854778, -0.00926676, -0.29635468, -0.11716115, 0.011359037, 0.08007137, -0.049567226, 0.09789246, 0.36260337, -0.15627296, 0.22855914, 0.015385757, 0.083044454) * g_13;
|
|
result += mat4(0.1003519, 0.024577776, -0.108722664, 0.011721353, -0.10047615, -0.17745872, 0.10435663, -0.08427653, 0.0010758807, 0.14079982, -0.3041788, 0.15151088, 0.008969225, 0.076604255, -0.06943796, 0.044038422) * g_14;
|
|
result += mat4(0.05734037, 0.21680962, -0.11893755, -0.07738818, 0.13322085, -0.04214932, -0.3577641, 0.17797415, -0.07373375, 0.06449437, 0.065212585, 0.28000146, 0.13637395, 0.0667443, 0.040316172, -0.02156067) * g_15;
|
|
result += mat4(0.20441194, 0.23352884, -0.0139005985, -0.16409983, -0.38869008, 0.061168108, 0.01810069, 0.2682549, -0.07966706, 0.08529747, -0.093861535, 0.06709627, -0.23922135, 0.25731438, 0.0763321, -0.1010017) * g_16;
|
|
result += mat4(0.0023142244, -0.22895189, 0.07123541, -0.033806246, -0.49307954, 0.16494593, 0.011563014, 0.040604062, -0.18492593, -0.2750776, -0.13165577, 0.05981473, 0.03329094, -0.125094, -0.03672828, -0.019734263) * g_17;
|
|
result += mat4(-0.049260493, 0.1662821, -0.18388951, 0.23048894, 0.2072809, 0.06807784, -0.29648736, -0.10056884, -0.03960093, 0.46342513, -0.057403132, -0.00022476891, -0.0005029868, 0.43624368, -0.19841333, -0.18943238) * g_18;
|
|
result += mat4(-0.06875925, 0.19902602, 0.039521616, -0.025893142, 0.091499686, 0.020004159, 0.07892145, 0.12688632, 0.060283042, -0.11150475, 0.07054853, -0.1520924, -0.19681256, 0.07284978, 0.029370772, 0.22104816) * g_19;
|
|
result += vec4(-0.0796562, -0.0549894, 0.3559776, 0.19150664);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x80
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_6_tf
|
|
//!BIND conv2d_6_tf1
|
|
//!BIND conv2d_6_tf2
|
|
//!BIND conv2d_6_tf3
|
|
//!BIND conv2d_6_tf4
|
|
//!BIND conv2d_6_tf5
|
|
//!BIND conv2d_8_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!SAVE conv2d_9_tf4
|
|
//!WIDTH conv2d_6_tf.w
|
|
//!HEIGHT conv2d_6_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_6_tf1_tex(conv2d_6_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_6_tf2_tex(conv2d_6_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_6_tf3_tex(conv2d_6_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_6_tf4_tex(conv2d_6_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_6_tf5_tex(conv2d_6_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_6_tf1_tex(conv2d_6_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_6_tf2_tex(conv2d_6_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_6_tf3_tex(conv2d_6_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_6_tf4_tex(conv2d_6_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_6_tf5_tex(conv2d_6_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.09465223, -0.10873596, -0.35955498, -0.17102978, -0.07865758, 0.03300757, -0.040852863, 0.20757945, -0.0925244, -0.12299689, 0.0736371, -0.09471192, -0.3779846, 0.009169354, 0.11503113, -0.20957986) * g_0;
|
|
result += mat4(-0.058279574, -0.22219251, -0.020915214, 0.0945366, 0.025918057, 0.057270855, -0.09852459, 0.14113797, -0.10049611, 0.03105915, 0.072065726, -0.056170464, 0.07183245, 0.24152692, 0.0058397814, -0.03508323) * g_1;
|
|
result += mat4(0.15363896, 0.4238941, 0.123930104, -0.09307702, -0.1192144, -0.16101883, 0.005986172, -0.058577128, -0.19313446, -0.10295509, 0.20574117, 0.06833371, -0.0012903785, 0.29995304, -0.13213697, -0.1254232) * g_2;
|
|
result += mat4(-0.2903937, 0.124987245, -0.024089197, -0.052240573, -0.024258995, 0.030661397, -0.010137248, -0.1609303, -0.10407328, -0.10629749, 0.04671163, -0.02009596, -0.07435262, -0.14072737, 0.2149428, 0.018486146) * g_3;
|
|
result += mat4(-0.21417011, 0.2847672, -0.029020585, -0.10139499, -0.07400215, 0.10372491, 0.15485775, 0.12855476, 0.12904498, -0.08895321, -0.05515003, -0.20980029, 0.062432468, -0.038182955, -0.1816266, 0.355782) * g_4;
|
|
result += mat4(-0.027595734, 0.12219175, -0.19319062, 0.035706658, -0.022891225, -0.085733496, -0.036004573, 0.051092744, -0.054424077, -0.030906882, -0.024611901, 0.08716703, 0.22153278, 0.13969363, -0.09846757, 0.016469453) * g_5;
|
|
result += mat4(0.09095948, -0.03645167, 0.27152961, -1.7102455e-05, -0.007632466, -0.15666215, -0.26401493, -0.1549594, 0.050031006, 0.06181179, 0.07006888, -0.04870327, 0.3641525, -0.008073426, 0.16188, -0.091207646) * g_6;
|
|
result += mat4(0.11283634, -0.005790793, -0.013517275, -0.16165686, -0.08701689, 0.033309393, 0.0010972739, 0.1642712, 0.04757619, -0.21329707, -0.04592619, 0.08010882, -0.10787384, 0.059010185, 0.05669982, 0.05839971) * g_7;
|
|
result += mat4(-0.0017897426, 0.096831605, -0.10264635, -0.0007392807, 0.042224903, -0.07351851, 0.16442567, -0.10968471, 0.056543402, 0.38061613, -0.3234678, 0.22569597, -0.077230684, -0.3087383, 0.081054784, 0.087633185) * g_8;
|
|
result += mat4(0.080605924, 0.06986007, 0.28359544, -0.3324396, 0.032405134, 0.011231502, 0.10453376, 0.15081415, 0.23304632, 0.01282744, -0.110539354, 0.119230196, -0.08274707, 0.79631245, -0.0049962257, -0.06853797) * g_9;
|
|
result += mat4(0.24957526, -0.35100362, 0.14683032, 0.11050717, -0.08336315, 0.04131765, -0.19087222, -0.101899385, 0.122537844, -0.059581943, 0.11842144, -0.17657922, -0.017872468, -0.20183705, -0.08783171, -0.0649328) * g_10;
|
|
result += mat4(0.1166889, -0.23226629, 0.12511998, -0.15160328, -0.035666835, -0.091406055, 0.064867236, 0.04495807, 0.014363706, 0.13465384, 0.012661851, -0.007246858, -0.08463122, -0.1826089, 0.008594106, 0.05406961) * g_11;
|
|
result += mat4(-0.044576548, 0.03944883, 0.02922514, 0.04857608, 0.07982457, 0.28547665, -0.2580222, 0.27174193, -0.009301607, -0.15731618, 0.27248174, 0.111558996, 0.016642686, -0.070072554, -0.25297874, -0.13660255) * g_12;
|
|
result += mat4(0.0619904, 0.027571948, -0.20821859, -0.075592734, -0.047970783, -0.16417085, -0.23739098, -0.43939596, 0.028930046, 0.0899, -0.24729219, -0.18904929, 0.04907895, 0.13355176, -0.032109547, -0.029098922) * g_13;
|
|
result += mat4(-0.075305015, -0.004550873, 0.079111785, 0.0367624, -0.28268716, 0.034016214, 0.061273348, -0.29881823, 0.346599, 0.10867586, 0.1497806, 0.092778146, -0.26263794, 0.061326664, 0.15384254, 0.13936105) * g_14;
|
|
result += mat4(0.2143571, 0.04833282, 0.018522646, -0.12657177, 0.2562043, 0.19504175, 0.07278834, -0.05239313, -0.46725237, -0.117593594, 0.021978024, -0.2434228, 0.25235966, -0.06409148, 0.0025807568, 0.06643222) * g_15;
|
|
result += mat4(-0.38482606, 0.0037258423, -0.024128545, 0.050342213, -0.17996104, -0.12157712, 0.028484367, -0.11472539, 0.17927656, 0.043731786, 0.08844086, -0.013330732, 0.05990761, 0.2168297, 0.09100677, -0.0008136453) * g_16;
|
|
result += mat4(0.50347346, 0.1341378, 0.023524579, -0.1837871, 0.145017, -0.06573727, 0.02377743, -0.03617753, -0.07013405, -0.21561088, 0.1574615, 0.17621611, -0.000903247, -0.19177268, -0.013945821, 0.0014927404) * g_17;
|
|
result += mat4(0.024711724, 0.3515622, 0.47648275, 0.07185405, 0.20586282, 0.17289369, 0.042327203, 0.34730917, 0.03348624, 0.008369107, 0.24884492, -0.019298946, 0.02819896, -0.087031476, -0.002446221, -0.18767828) * g_18;
|
|
result += mat4(-0.0786536, 0.13503742, 0.3140287, -0.21691471, -0.1240609, 0.106962465, 0.039765242, -0.09525154, -0.11635654, -0.025509981, -0.09417984, 0.27709702, -0.050951984, 0.012091699, 0.0031243872, 0.17191774) * g_19;
|
|
result += vec4(0.009157748, 0.0064318995, 0.070232585, 0.055942155);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x80
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_6_tf
|
|
//!BIND conv2d_6_tf1
|
|
//!BIND conv2d_6_tf2
|
|
//!BIND conv2d_6_tf3
|
|
//!BIND conv2d_6_tf4
|
|
//!BIND conv2d_6_tf5
|
|
//!BIND conv2d_8_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!SAVE conv2d_9_tf5
|
|
//!WIDTH conv2d_6_tf.w
|
|
//!HEIGHT conv2d_6_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_6_tf1_tex(conv2d_6_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_6_tf2_tex(conv2d_6_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_6_tf3_tex(conv2d_6_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_6_tf4_tex(conv2d_6_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_6_tf5_tex(conv2d_6_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_6_tf1_tex(conv2d_6_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_6_tf2_tex(conv2d_6_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_6_tf3_tex(conv2d_6_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_6_tf4_tex(conv2d_6_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_6_tf5_tex(conv2d_6_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.1922669, 0.08802744, -0.028858658, 0.0018137145, 0.049583502, 0.054931905, 0.06461622, -0.1545738, -0.24787578, -0.3030694, -0.43755215, -0.08891142, -0.0072859223, 0.33978176, -0.08431318, -0.074049324) * g_0;
|
|
result += mat4(0.12638506, -0.1162002, -0.13160661, -0.07876044, 0.0991572, 0.15431085, -0.014509431, -0.021629302, -0.03953747, -0.121313706, 0.11476493, -0.21827452, -0.055972893, -0.21574646, 0.013953077, 0.008131167) * g_1;
|
|
result += mat4(0.22515556, -0.38520855, 0.08868661, 0.072899625, -0.0066298717, 0.17697194, 0.16426025, -0.047008827, 0.0667103, -0.20082757, -0.022680001, -0.13906951, -0.11068086, -0.18871038, -0.14856437, -0.22906394) * g_2;
|
|
result += mat4(0.06496998, 0.33180842, 0.035600964, 0.008669803, -0.21089098, 0.024426313, 0.097489424, 0.19989817, 0.09799698, -0.19460952, 0.31317624, -0.054178897, 0.06745894, 0.24180534, -0.18725993, -0.09876676) * g_3;
|
|
result += mat4(-0.14159264, -0.09821653, 0.111369886, -0.13888422, 0.19065087, -0.052074507, 0.25994346, -0.09896752, 0.009669414, 0.3327987, -0.03835561, 0.1502805, 0.06749692, -0.25075352, 0.1176795, 0.2861322) * g_4;
|
|
result += mat4(0.08663468, -0.09579272, 0.15255743, 0.11586089, 0.096744135, -0.106523454, -0.23779331, -0.039372843, -0.044640735, -0.073639855, -0.09300802, -0.016469873, -0.017932354, -0.15118197, 0.07342249, 0.08470412) * g_5;
|
|
result += mat4(-0.22996324, 0.2121147, -0.042765424, 0.29991713, -0.1105575, -0.22186373, -0.099884614, 0.28284577, 0.019985273, 0.18109971, 0.067379884, -0.05751364, -0.14203605, -0.1606955, -0.04072121, 0.14415282) * g_6;
|
|
result += mat4(-0.010768784, 0.013500415, -0.05128568, -0.20169108, 0.21437442, -0.2470299, 0.0067167566, 0.3354006, 0.29098728, 0.3001768, 0.11471926, -0.34384128, 0.013220707, -0.21317835, -0.007173589, 0.056399934) * g_7;
|
|
result += mat4(-0.25603592, 0.008419834, 0.035636842, -0.07926287, 0.05415962, -0.24778326, -0.24242976, 0.20616682, 0.13446097, -0.26829332, -0.043394912, -0.15304199, 0.26440972, -0.28728306, 0.0017775068, -0.031716976) * g_8;
|
|
result += mat4(-0.2344917, -0.061300833, 0.40446028, 0.42343828, -0.2158991, 0.39550748, 0.13935845, -0.15041998, 0.13921916, 0.18082108, 0.04385846, 0.142258, -0.21331908, -0.26960972, 0.031336915, 0.23779747) * g_9;
|
|
result += mat4(0.06346781, 0.07501524, -0.20003422, -0.115085386, -0.027196221, -0.027326047, 0.0592106, -0.23421998, -0.003150606, -0.31265986, 0.088709556, -0.10167917, -0.14837898, 0.37943587, 0.1447625, 0.080040015) * g_10;
|
|
result += mat4(-0.15046267, 0.265076, -0.19776449, -0.20232256, 0.06413749, 0.26056677, 0.079985835, -0.23233825, -0.24333598, -0.18887608, -0.16819565, 0.047695916, 0.010287012, 0.3019047, 0.148884, -0.10863938) * g_11;
|
|
result += mat4(-0.0018880082, -0.2375455, 0.41955757, 0.01565566, 0.0898848, 0.028822318, -0.1900471, 0.15390472, -0.07475509, 0.028788034, 0.14377898, -0.018586636, 0.15499766, -0.0181846, -0.1712958, 0.26694313) * g_12;
|
|
result += mat4(-0.019247968, -0.22267476, -0.20527479, -0.05516891, -0.10443534, 0.0013541149, -0.35172266, 0.08538575, 0.033067722, -0.18152483, -0.23448412, -0.02623179, -0.13003229, 0.13998169, 0.0376709, -0.19369106) * g_13;
|
|
result += mat4(0.3118797, 0.082491405, -0.34785077, -0.22611658, -0.07956514, 0.11574769, 0.16532372, -0.2226821, 0.06791281, -0.098187685, -0.08020048, 0.12613155, -0.2472526, -0.27066618, -0.139881, -0.18741405) * g_14;
|
|
result += mat4(-0.12976451, 0.14284736, 0.19006614, 0.07724795, 0.062145814, -0.36040485, -0.25726667, -0.04952468, 0.02644045, 0.044718564, 0.27806777, -0.048151493, -0.06354555, -0.0005565615, 0.14224754, 0.17653286) * g_15;
|
|
result += mat4(-0.17252563, 0.023060834, 0.02491499, 0.19027406, -0.212846, -0.01613939, -0.068693444, -0.14507875, -0.08602362, 0.02112319, 0.19688891, 0.28616062, 0.12502767, -0.16866814, 0.096094206, -0.087079056) * g_16;
|
|
result += mat4(-0.0105957305, -0.00042306812, -0.073753655, 0.2258738, 0.015042403, 0.26525986, 0.09652541, 0.33078325, -0.054301977, -0.14386192, -0.09737477, -0.1822451, -0.07917178, 0.012320757, -0.1526825, -0.08518065) * g_17;
|
|
result += mat4(-0.053449947, -0.26979092, 0.21039961, 0.0002728565, 0.1097202, -0.004250707, -0.038437147, 0.27996743, -0.046362147, -0.021696959, 0.077650055, -0.07844942, -0.10120125, 0.08145741, 0.10650856, 0.0026023765) * g_18;
|
|
result += mat4(0.24465938, -0.095935315, -0.21770145, -0.24916768, 0.13544445, -0.013464758, 0.13948593, -0.123387456, 0.14965056, -0.027013663, 0.3156395, -0.06620409, 0.07764431, -0.14184502, -0.23861314, 0.11016456) * g_19;
|
|
result += vec4(0.05315733, 0.009354445, 0.074799225, 0.048262358);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x48
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_9_tf
|
|
//!BIND conv2d_9_tf1
|
|
//!BIND conv2d_9_tf2
|
|
//!BIND conv2d_9_tf3
|
|
//!BIND conv2d_9_tf4
|
|
//!BIND conv2d_9_tf5
|
|
//!SAVE conv2d_11_tf
|
|
//!WIDTH conv2d_9_tf.w
|
|
//!HEIGHT conv2d_9_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv2d_9_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_9_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv2d_9_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max((conv2d_9_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv2d_9_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv2d_9_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv2d_9_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv2d_9_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_8(x_off, y_off) (max(-(conv2d_9_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_9(x_off, y_off) (max(-(conv2d_9_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_10(x_off, y_off) (max(-(conv2d_9_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_11(x_off, y_off) (max(-(conv2d_9_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.11065729, -0.033565044, -0.2329061, 0.0078558875, -0.07121535, 0.13447808, -0.48046845, 0.1651893, -0.021583451, 0.09004625, 0.30772808, 0.046850167, -0.12196115, 0.20660469, -0.06685862, -0.084653415) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.1721154, -0.017597089, -0.16192035, 0.15263753, -0.26492825, 0.009456457, 0.037399817, 0.23390785, -0.049550038, -0.026080197, 0.14206415, 0.008774876, 0.063705266, 0.051765062, 0.24875836, 0.099421404) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.047302574, -0.016512489, 0.06810586, -0.06868577, 0.025998915, 0.058887336, 0.001597515, -0.12256784, 0.08268936, 0.03727418, 0.18887138, 0.06894959, 0.3205655, -0.018711518, -0.044558458, -0.057956032) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.1517841, -0.23244041, -0.17393516, -0.23926319, -0.4361466, -0.30781198, -0.18288358, -0.020540912, 0.06586069, -0.21133885, 0.043229107, -0.027916892, -0.048755284, -0.05953157, -0.19556823, -0.07165948) * go_0(0.0, -1.0);
|
|
result += mat4(-0.1174694, 0.054337397, 0.12835175, 0.09959543, 0.033005662, 0.18233524, -0.256386, -0.048866775, -0.14466491, -0.13285607, -0.03937386, -0.019240126, -0.10373259, -0.1657274, -0.24291772, 0.075199485) * go_0(0.0, 0.0);
|
|
result += mat4(0.08207701, 0.0069850767, 0.16064502, -0.14246464, -0.17855522, -0.006616863, -0.20864315, 0.028733289, -0.12688828, -0.2265197, -0.12573537, 0.096166134, 0.1005094, -0.025901344, -0.01940587, -0.00094570883) * go_0(0.0, 1.0);
|
|
result += mat4(0.14291742, -0.36148882, -0.015547496, 0.20172058, -0.34360975, -0.25096804, -0.028675647, -0.16680753, 0.083879635, -0.07020056, -0.014250424, -0.032770164, 0.10160873, 0.061744668, 0.13513815, 0.13051409) * go_0(1.0, -1.0);
|
|
result += mat4(-0.34734267, -0.05261325, 0.34533986, 0.015022912, -0.3798942, 0.052754287, -0.044300254, 0.0026329095, -0.05218254, -0.051167574, -0.18714808, 0.03277871, -0.13485578, -0.07783909, 0.23404102, -0.06266696) * go_0(1.0, 0.0);
|
|
result += mat4(0.08901671, 0.03258588, 0.19680169, -0.10170613, -0.25134686, -0.03096738, 0.08763064, 0.15013361, -0.054004118, 0.029791253, -0.14162092, -0.0421743, -0.039308522, -0.03239244, 0.0026326722, -0.045754924) * go_0(1.0, 1.0);
|
|
result += mat4(0.08676345, -0.35174674, -0.11236161, 0.05293886, -0.07480023, -0.101317465, -0.12046224, 0.039460886, 0.07051205, 0.059597883, -0.028280778, 0.03134286, 0.15486175, -0.031330753, 0.15584795, -0.102045245) * go_1(-1.0, -1.0);
|
|
result += mat4(0.1252375, 0.091515355, -0.08060989, 0.07655616, -0.031962767, -0.015003918, -0.019061645, -0.038605515, 0.041674748, 0.019495333, -0.074719995, 0.111798435, 0.35053942, -0.21865605, -0.035492726, -0.19251086) * go_1(-1.0, 0.0);
|
|
result += mat4(-0.2521477, 0.035690635, -0.1748867, 0.16958003, 0.082237944, 0.037905395, -0.20225619, -0.01181544, -0.0730941, 0.08402793, -0.004251873, 0.15961078, 0.24414352, -0.07390854, 0.11883077, -0.11432912) * go_1(-1.0, 1.0);
|
|
result += mat4(-0.09039999, 0.08458838, -0.17640921, 0.22679248, -0.09973631, -0.10150884, -0.12132154, -0.063188024, -0.06142147, -0.044643465, 0.07774642, 0.10063658, 0.012656136, -0.07811268, -0.11025514, -0.03877614) * go_1(0.0, -1.0);
|
|
result += mat4(-0.3758025, 0.39612144, -0.38509527, 0.065648146, 0.18610518, 0.24517001, -0.082178675, 0.0054388554, 0.091793224, -0.006966941, 0.023598287, 0.09363874, 0.02030536, -0.1162773, -0.1702807, -0.10238526) * go_1(0.0, 0.0);
|
|
result += mat4(0.06522886, 0.01968204, 0.013276272, 0.06622485, 0.0966013, 0.04298673, 0.06357989, 0.0686297, 0.036044475, 0.09697355, 0.0923304, -0.027402518, 0.23022865, 0.009975208, 0.09505576, -0.06265446) * go_1(0.0, 1.0);
|
|
result += mat4(-0.07985259, -0.067997314, 0.11987299, 0.0835397, -0.12091872, 0.030830579, 0.031313404, 0.06652082, -0.07365764, 0.022173064, 0.038719, -0.16344336, 0.07253899, 0.022317031, 0.1831806, -0.052748464) * go_1(1.0, -1.0);
|
|
result += mat4(-0.0634643, 0.050153147, 0.1089263, 0.16260117, -0.19715269, 0.04525501, 0.2851316, -0.14279072, 0.08007492, 0.14796089, -0.13729408, -0.11116092, -0.17260908, -0.019579785, -0.025702966, 0.15135053) * go_1(1.0, 0.0);
|
|
result += mat4(0.045409318, 0.22306903, -0.23696704, 0.30549112, 0.016529143, 0.09789025, 0.046990365, -0.087783515, 0.116460465, 0.04390236, -0.056050096, -0.026875896, 0.22284238, 0.014261535, -0.13459139, -0.052002028) * go_1(1.0, 1.0);
|
|
result += mat4(0.033934735, 0.03744048, -0.14255948, 0.1060668, 0.17200193, 0.032943442, 0.15052855, 0.0703971, 0.11046219, -0.063354306, -0.19214186, -0.14163889, 0.2878844, -0.06460431, -0.021372154, 0.19077174) * go_2(-1.0, -1.0);
|
|
result += mat4(-0.008314957, -0.078829214, 0.036322586, 0.1370874, -0.09932989, 0.08450153, 0.05382594, 0.10578927, -0.06620096, -0.03751784, 0.0685656, 0.0146967, -0.17852665, -0.09221525, 0.163109, 0.39510122) * go_2(-1.0, 0.0);
|
|
result += mat4(0.21959463, -0.0673742, -0.05068107, -0.14604324, 0.032997485, -0.036264967, 0.0025804765, -0.0032351657, -0.055149194, -0.010604908, -0.01948609, 0.11715798, -0.007900997, 0.012781306, -0.102708206, -0.18385006) * go_2(-1.0, 1.0);
|
|
result += mat4(0.16189429, 0.2974257, 0.028685816, -0.041304193, 0.104191594, -0.10642667, -0.1165585, -0.06683831, -0.030429205, -0.10225779, 0.06759207, 0.1287473, 0.08969416, 0.024031915, 0.08996185, 0.021237956) * go_2(0.0, -1.0);
|
|
result += mat4(-0.067058615, -0.06869974, 0.28236046, 0.14531423, 0.11858161, -0.01654489, 0.12848209, -0.003918965, -0.17918663, -0.15143135, -0.19069745, 0.023554064, 0.024598364, 0.1321118, 0.48159206, -0.09269644) * go_2(0.0, 0.0);
|
|
result += mat4(0.115231544, -0.0032554602, 0.0041012196, -0.0046674996, 0.14599484, 0.032397192, 0.08553145, -0.026185688, -0.21801896, -0.22803733, 0.22832747, 0.03817061, -0.069230415, 0.0324615, -0.245797, -0.19035016) * go_2(0.0, 1.0);
|
|
result += mat4(-0.16802694, 0.19597448, 0.049715098, 0.018987939, 0.1563443, -0.09048181, 0.06861489, 0.029435834, -0.14661247, 0.17823257, -0.015096998, -0.18206248, -0.1122397, -0.0024176831, -0.02847615, -0.17265147) * go_2(1.0, -1.0);
|
|
result += mat4(0.06423479, -0.0048467508, 0.026251012, -0.0871601, 0.010739662, 0.1324091, 0.10091656, -0.06778729, -0.061860725, 0.14850748, 0.18788461, -0.22935927, -0.04521556, 0.22395493, 0.050345525, -0.08274999) * go_2(1.0, 0.0);
|
|
result += mat4(0.048296567, 0.111412406, 0.01575327, -0.08608332, 0.051853668, 0.06310964, 0.056300834, -0.167152, -0.05985545, 0.077944554, 0.30849454, -0.24084799, 0.013268605, 0.055026837, -0.20886575, -0.030484412) * go_2(1.0, 1.0);
|
|
result += mat4(-0.22162361, -0.00891929, 0.22843885, 0.014100439, -0.019914588, -0.10437051, -0.0046799625, 0.06363446, 0.053681366, 0.07912179, 0.16156994, -0.06831938, 0.14298461, -0.012671532, 0.12209479, -0.15130728) * go_3(-1.0, -1.0);
|
|
result += mat4(0.034879692, 0.1260956, 0.031183518, -0.010902104, 0.05384002, -0.20230055, -0.16981775, -0.04562737, 0.06405703, 0.15144739, -0.03652416, 0.08995075, -0.010406152, 0.023800947, -0.02023546, -0.11532134) * go_3(-1.0, 0.0);
|
|
result += mat4(-0.0051507168, -0.0848511, 0.22892833, 0.042418208, -0.06470052, 0.0319561, -0.069816284, 0.061622996, -0.068940066, 0.046081185, 0.17252927, 0.04726007, 0.05160559, 0.019490944, -0.029676115, 0.035894085) * go_3(-1.0, 1.0);
|
|
result += mat4(-0.12114952, -0.098223485, -0.1576559, -0.11341766, -0.053012382, 0.05975512, -0.02405694, -0.075539865, 0.02712277, 0.045053054, -0.042407285, -0.19864829, -0.06831715, 0.027572775, -0.055474814, -0.05826217) * go_3(0.0, -1.0);
|
|
result += mat4(0.009547709, 0.11492732, 0.14621596, -0.022977749, -0.08215322, -0.068181336, 0.21877459, 0.16448551, -0.08262295, 0.06695922, -0.05052619, 0.08218141, 0.09815865, -0.017209277, -0.11029214, 0.10387785) * go_3(0.0, 0.0);
|
|
result += mat4(0.021276599, -0.1396185, 0.15547532, -0.09525875, -0.017380727, -0.174434, 0.1908772, 0.05106546, 0.048898213, -0.18481675, -0.024676675, 0.020476716, 0.003939256, 0.012242363, -0.1052081, 0.114367664) * go_3(0.0, 1.0);
|
|
result += mat4(-0.17372851, -0.1424865, -0.05486458, 0.2676285, 0.0035624248, 0.08725484, -0.007900028, -0.1005391, -0.20805833, 0.061351843, -0.089120075, 0.088012055, 0.030445773, 0.10641649, 0.018887872, 0.05093269) * go_3(1.0, -1.0);
|
|
result += mat4(-0.07776571, -0.13671526, -0.11086421, 0.11034073, 0.020306246, -0.028728647, -0.12545891, -0.16932821, 0.15411533, -0.19357502, -0.06345341, 0.03926335, 0.13200106, 0.060615014, 0.014046291, 0.18093176) * go_3(1.0, 0.0);
|
|
result += mat4(-0.01706402, -0.10313435, 0.00445817, 0.0032045625, 0.015698014, -0.070094734, -0.10885296, 0.08759509, 0.03067324, -0.18111154, -0.0539245, 0.013589464, -0.024326503, 0.047287695, -0.037094206, -0.034841713) * go_3(1.0, 1.0);
|
|
result += mat4(0.22197281, -0.022347828, 0.02685888, -0.10240367, -0.1926851, -0.11706298, -0.06704851, -0.017859183, 0.00025039204, -0.04612332, 0.08610041, 0.15679866, 0.063804425, -0.1016019, 0.02813499, -0.038362153) * go_4(-1.0, -1.0);
|
|
result += mat4(0.14892037, -0.024246952, -0.21368289, 0.03536149, -0.08644949, -0.13224818, -0.0521787, -0.09096727, -0.3271048, -0.065186724, -0.002157824, 0.08384631, 0.055492498, 0.03269878, 0.0067793853, 0.029622784) * go_4(-1.0, 0.0);
|
|
result += mat4(-0.00528388, 0.0063680154, 0.026256558, 0.05468057, -0.20092459, -0.03719278, -0.043252084, 0.057888906, -0.009566334, -0.11301503, 0.019822683, 0.052704863, 0.055489272, 0.07455167, -0.09751699, 0.005783364) * go_4(-1.0, 1.0);
|
|
result += mat4(0.107178226, -0.13112251, -0.035829626, -0.10725111, 0.023242824, 0.07523588, 0.07845659, -0.011750167, 0.0466798, -0.24150136, 0.2681371, 0.002484224, -0.26805767, 0.15951233, -0.058928348, 0.07894071) * go_4(0.0, -1.0);
|
|
result += mat4(0.117843606, -0.3197398, 0.22887307, 0.11072152, 0.11311824, -0.29953524, 0.045007616, 0.047428284, -0.14508507, -0.16023712, 0.14998578, -0.045239456, -0.13850681, -0.06758438, -0.20843203, -0.12846175) * go_4(0.0, 0.0);
|
|
result += mat4(0.2089775, 0.15191884, 0.19236302, -0.12852545, -0.017758507, 0.054735895, 0.2057903, 0.01578931, 0.06712026, 0.11611963, 0.041994072, -0.2348366, -0.09687036, 0.05122309, -0.13020395, 0.12760021) * go_4(0.0, 1.0);
|
|
result += mat4(0.1674606, -0.23622335, 0.21831974, -0.19162895, -0.0653262, -0.19253829, -0.025073627, -0.031931855, 0.09056663, 0.009096665, -0.07437006, -0.20607735, -0.035784222, -0.13755737, 0.105823584, 0.021616982) * go_4(1.0, -1.0);
|
|
result += mat4(-0.12060124, -0.05081354, 0.019493153, -0.17280865, -0.09652722, -0.22406265, 0.055743024, -0.064455345, 0.020935146, -0.05912329, -0.023218567, 0.08459226, -0.27066386, -0.009149911, 0.031394698, -0.09333024) * go_4(1.0, 0.0);
|
|
result += mat4(0.07529214, 0.18329029, -0.053039473, -0.15814133, -0.056002066, 0.049465064, 0.122380644, -0.095161386, -0.01707029, -0.021291345, -0.064365804, 0.042289734, 0.0096676815, 0.16314495, 0.061155442, -0.0072070844) * go_4(1.0, 1.0);
|
|
result += mat4(-0.18325166, -0.045254577, -0.07755575, -0.015819173, -0.053942695, -0.1564633, 0.24598272, -0.01649073, -0.11030772, -0.3956073, 0.0067733866, 0.08979125, -0.087877646, 0.111440755, -0.031384, 0.0041654776) * go_5(-1.0, -1.0);
|
|
result += mat4(-0.08632575, 0.01247107, 0.073227346, -0.02861831, -0.06667062, 0.00631046, 0.014473328, -0.14449167, -0.23806049, 0.06853407, 0.044759657, 0.13089806, -0.06534994, 0.09364583, 0.25784552, -0.04829764) * go_5(-1.0, 0.0);
|
|
result += mat4(0.055283614, 0.095919676, -0.17018771, -0.10706522, -0.060850658, -0.15489587, 0.096590616, -0.15492146, -0.117981836, 0.0031413063, 0.20087089, 0.0842084, 0.044810157, -0.12295185, -0.04900455, 0.022688968) * go_5(-1.0, 1.0);
|
|
result += mat4(-0.04983315, -0.018766034, 0.110484764, 0.06876715, -0.040869314, -0.21283215, 0.12169796, -0.08138329, -0.05879556, -0.4355045, 0.18808807, 0.15669084, 0.051187377, 0.17142825, -0.07497983, 0.00198669) * go_5(0.0, -1.0);
|
|
result += mat4(-0.061976284, 0.13500537, -0.10203683, -0.016636437, -0.02491998, -0.01352495, -0.019896744, -0.10472221, -0.34705746, -0.16710368, 0.1022697, -0.07555259, 0.07735059, -0.06643135, -0.1400189, -0.00091027044) * go_5(0.0, 0.0);
|
|
result += mat4(-0.02308153, 0.03587171, -0.06439805, -0.03391213, -0.13628857, 0.01694368, 0.05886299, -0.16476311, -0.005419486, -0.06331514, 0.11643934, -0.16962259, -0.16336058, -0.08988242, 0.15452544, 0.089317046) * go_5(0.0, 1.0);
|
|
result += mat4(-0.1820998, -0.08794822, -0.121190175, 0.122091204, 0.012820464, 0.09933649, 0.2141602, -0.08854414, -0.05771915, 0.18643157, 0.08712915, 0.06973249, -0.12666526, 0.024907013, 0.109394126, 0.04836077) * go_5(1.0, -1.0);
|
|
result += mat4(-0.17639092, -0.04720988, -0.0038245695, 0.16056724, 0.12734261, 0.055577323, 0.15901293, 0.05271541, 0.04766261, 0.12878492, -0.0549527, 0.04790089, -0.091121376, -0.0013024703, 0.37799272, -0.08539876) * go_5(1.0, 0.0);
|
|
result += mat4(0.106956095, -0.1319375, -0.126656, 0.0709718, 0.10223421, 0.01119111, 0.09486624, 0.03244709, -0.02933061, -0.19111432, -0.24627611, 0.0672316, 0.0025987737, 0.013657685, 0.09979212, -0.050996147) * go_5(1.0, 1.0);
|
|
result += mat4(0.08628728, 0.100198254, 0.022478774, -0.056689125, -0.14032082, 0.036446873, -0.008617598, -0.013536469, 0.011264824, -0.026743524, 0.047261734, -0.03531947, -0.28368023, 0.013742331, -0.2491621, 0.10458443) * go_6(-1.0, -1.0);
|
|
result += mat4(0.0151652815, 0.10615742, 0.028310398, -0.050413925, -0.014452144, 0.07141453, -0.0051745498, -0.040412616, 0.0024879081, -0.028745392, 0.028668849, -0.05288013, -0.26013553, 0.1665632, 0.092639334, 0.392492) * go_6(-1.0, 0.0);
|
|
result += mat4(0.07644084, 0.06848576, 0.0021437998, 0.161489, -0.023799606, -0.0639256, -0.07002663, 0.089794315, -0.16638722, 0.028898913, -0.10682576, 0.037343755, -0.17456193, 0.020488204, -0.086536296, 0.21236399) * go_6(-1.0, 1.0);
|
|
result += mat4(-0.029148629, -0.16979113, 0.18869588, 0.17955571, -0.114676945, -0.048160102, 0.035702094, -0.0605213, 0.04062305, 0.078081146, 0.12024688, 0.1189308, -0.1789993, -0.025458511, 0.21930633, 0.2965206) * go_6(0.0, -1.0);
|
|
result += mat4(0.058818035, 0.09351513, -0.038147923, -0.05888233, 0.09451917, -0.061343953, -0.07387799, -0.042226378, 0.15697896, -0.045863792, 0.20019881, 0.01643532, -0.09655159, -0.026225686, -0.03686413, 0.049890447) * go_6(0.0, 0.0);
|
|
result += mat4(0.09177433, 0.015848925, 0.12088713, -0.07016451, 0.0844307, 0.05633303, 0.01984136, -0.083530255, -0.20395234, 0.033483133, 0.22520478, -0.0579029, -0.43986732, 0.046070777, -0.100227945, 0.13268784) * go_6(0.0, 1.0);
|
|
result += mat4(0.02913666, 0.05129688, 0.07668126, 0.016638732, 0.04686301, -0.28033668, -0.108468704, -0.038995452, 0.07362143, -0.012212255, 0.028646851, 0.026969483, 0.008973289, -0.15830874, -0.041757222, 0.028859485) * go_6(1.0, -1.0);
|
|
result += mat4(0.07564748, 0.0009427685, -0.17376253, 0.036964092, 0.075341046, -0.08996638, -0.18005392, 0.046783317, -0.015427522, -0.021566419, -0.199109, -0.16471949, -0.23009992, 0.14298266, -0.072921954, 0.030295564) * go_6(1.0, 0.0);
|
|
result += mat4(0.09034083, 0.04216589, 0.058569096, 0.0037025113, -0.016154546, 0.08337012, -0.10922749, -0.068538666, -0.029674552, 0.12578458, -0.25101903, -0.090225205, -0.202105, 0.14358751, 0.093851075, -0.15241112) * go_6(1.0, 1.0);
|
|
result += mat4(0.03903056, 0.08233857, -0.0022924484, 0.024079934, -0.052842163, -0.00267007, -0.051180284, 0.05539778, -0.002714199, 0.2102458, -0.04460931, 0.16837116, -0.00573023, 0.27364895, 0.11105974, -0.09026963) * go_7(-1.0, -1.0);
|
|
result += mat4(0.028595762, -0.008292653, 0.14336695, -0.12696268, -0.06808028, 0.042020004, -0.083854616, 0.116240636, 0.11918143, -0.042880658, 0.23967804, 0.043822538, 0.14557965, 0.26447278, 0.0029160809, -0.13183881) * go_7(-1.0, 0.0);
|
|
result += mat4(0.042178478, 0.018002568, -0.011068556, 0.044884045, -0.013640079, 0.0053881723, 0.11135908, -0.14666013, 0.13981058, 0.054596525, -0.042387255, -0.11482148, 0.13896775, -0.034096025, -0.041575328, 0.05449477) * go_7(-1.0, 1.0);
|
|
result += mat4(0.09525556, 0.19851151, 0.076055124, 0.29026586, -0.09419472, 0.09027977, 0.013685423, -0.047983777, -0.08716191, -0.14222652, -0.008388892, 0.040783685, -0.031232696, 0.16742894, -0.11569261, -0.04626501) * go_7(0.0, -1.0);
|
|
result += mat4(0.05320514, 0.08081462, -0.05580297, -0.026681425, 0.14519057, -0.037435655, 0.026225844, -0.043423664, -0.023708133, -0.045244463, -0.10369245, -0.13514094, 0.18076439, 0.10073657, -0.10712064, 0.12635425) * go_7(0.0, 0.0);
|
|
result += mat4(0.005628486, 0.04270436, 0.1267877, 0.114542395, -0.13839991, 0.07906997, -0.06957138, -0.16683838, 0.03349326, 0.044977278, -0.1685757, -0.00046340175, 0.18370599, -0.05940734, 0.020395162, -0.031567227) * go_7(0.0, 1.0);
|
|
result += mat4(0.13681708, 0.2346991, 0.051812045, 0.065648906, 0.13176957, -0.084621936, -0.07531807, -0.07156236, 0.058895696, 0.032378554, -0.07771784, -0.10980397, -0.015169023, -0.05950244, -0.09908113, 0.0977379) * go_7(1.0, -1.0);
|
|
result += mat4(0.09326806, 0.1694491, 0.037888683, -0.08149546, -0.023769435, -0.07241216, -0.049574904, -0.23729254, -0.024154654, 0.018140024, -0.10478698, -0.01710802, 0.009432474, -0.116787165, -0.056661345, 0.07300504) * go_7(1.0, 0.0);
|
|
result += mat4(0.018172484, -0.037209284, 0.16821837, -0.16321209, -0.0874226, -0.04208038, -0.1303155, 0.048981696, 0.042598773, 0.040467937, 0.08786169, -0.02833674, -0.044636574, -0.13285205, -0.08014891, 0.25360805) * go_7(1.0, 1.0);
|
|
result += mat4(0.10933973, -0.0032548686, -0.019452592, -0.095842555, 0.13893707, -0.12526812, 0.117852844, -0.06800425, 0.08026704, 0.044144094, 0.25443858, 0.07538359, 0.00042005768, -0.30907953, 0.13097566, 0.101204425) * go_8(-1.0, -1.0);
|
|
result += mat4(0.07118185, 0.046251785, -0.11115541, 0.06618316, 0.097866945, -0.12117605, 0.05519998, -0.11781476, 0.0131052835, 0.037423946, 0.10627396, -0.05248695, -0.21301521, -0.33259806, -0.026187347, 0.038396128) * go_8(-1.0, 0.0);
|
|
result += mat4(0.026669113, 0.041641407, 0.020903202, 0.053846374, 0.13740797, -0.043149393, 0.05964187, 0.012248991, 0.1220929, -0.12675147, 0.059511486, -0.033113457, 0.01857414, -0.14271703, -0.029177962, -0.13853773) * go_8(-1.0, 1.0);
|
|
result += mat4(-0.16650377, -0.061009903, -0.0116681615, 0.021638295, 0.08936193, -0.091372, -0.02595066, -0.118770435, 0.107785866, -0.019163927, 0.08443175, 0.0060082804, 0.05759393, -0.16037661, 0.038759813, -0.11965112) * go_8(0.0, -1.0);
|
|
result += mat4(-0.11998213, 0.1299257, -0.06063202, -0.04071398, -0.059972808, -0.1754111, -0.08677251, -0.12859741, -0.037563637, 0.040877208, -0.00066555466, -0.1451174, -0.06102044, 0.04763369, -0.064800896, -0.11749359) * go_8(0.0, 0.0);
|
|
result += mat4(0.06892601, -0.013343659, -0.06664622, -0.10424136, 0.014268141, -0.0743836, -0.13929653, 0.08718578, 0.13424881, 0.06185525, 0.008922743, 0.00093043817, -0.031792898, 0.04942929, -0.05875928, -0.049445245) * go_8(0.0, 1.0);
|
|
result += mat4(0.019740785, 0.09442904, 0.12441261, 0.03690517, -0.026445461, -0.031393915, -0.10382604, -0.04448678, 0.0010918716, -0.1002765, -0.012112531, -0.039969843, 0.17159916, -0.14891349, 0.100035064, 0.00356809) * go_8(1.0, -1.0);
|
|
result += mat4(0.0028581363, 0.038335063, -0.0135393385, 0.097922534, -0.13352284, -0.09617056, -0.2743824, 0.2561331, 0.018691247, 0.0049708723, -0.01765825, 0.013614692, -0.100520216, -0.035933983, -0.027674714, -0.14564691) * go_8(1.0, 0.0);
|
|
result += mat4(-0.013070652, 0.009267284, -0.06481995, 0.010907154, 0.07727713, -0.002514513, 0.010518841, 0.121947624, -0.012668399, -0.084990434, 0.044394404, 0.013988978, -0.19375595, 0.0736716, -0.013150686, 0.034933046) * go_8(1.0, 1.0);
|
|
result += mat4(0.00017506549, -0.093001924, -0.01140557, 0.067514114, 0.051357955, 0.20735298, 0.12061287, -0.12530309, 0.053370517, -0.066189565, -0.004119448, -0.03953937, 0.12940274, -0.06179815, -0.0006715626, -0.17041935) * go_9(-1.0, -1.0);
|
|
result += mat4(-0.20064962, -0.13465798, -0.084945045, 0.073212095, -0.055083826, 0.112764575, -0.10380709, 0.212213, 0.11308925, 0.08607191, 0.046215612, -0.101910956, 0.24054714, 0.01284398, 0.10666277, -0.08254704) * go_9(-1.0, 0.0);
|
|
result += mat4(-0.06792304, 0.041912746, -0.06322764, -0.03739367, -0.07455351, -0.08081343, 0.2102248, 0.05270946, 0.023480184, 0.11673393, -0.070016764, 0.00019222782, -0.06066527, -0.021409666, -0.09777047, -0.037106793) * go_9(-1.0, 1.0);
|
|
result += mat4(-0.026638977, 0.13438208, -0.023500128, 0.020013195, -0.16550663, -0.013727345, -0.06990482, -0.052536458, 0.033496615, 0.028325712, -0.0032830911, -0.06454679, -0.016127445, -0.14684649, -0.046623666, -0.24764042) * go_9(0.0, -1.0);
|
|
result += mat4(-0.21883924, -0.13308778, -0.048338667, -0.08265835, 0.24946426, 0.18212394, 0.019211015, 0.13364634, -0.10991381, -0.019370334, 0.15257736, 0.13871881, -0.1110173, 0.18393286, 0.015172226, 0.0051538306) * go_9(0.0, 0.0);
|
|
result += mat4(-0.12665296, 0.13529027, -0.18374407, 0.09875144, -0.046080288, 0.1889393, 0.14302395, -0.052254733, 0.051794406, 0.099289164, 0.030776545, 0.01048426, -0.0593129, 0.0062865666, 0.10174894, 0.16441645) * go_9(0.0, 1.0);
|
|
result += mat4(0.1589877, -0.022210853, -0.14241305, 0.11298627, -0.02681587, 0.08178478, -0.05506923, 0.09792888, 0.112094805, 0.062720545, 0.16026846, 0.11110019, 0.050593503, -0.15869561, -0.011608442, 0.005309321) * go_9(1.0, -1.0);
|
|
result += mat4(0.038660828, 0.0040659993, -0.04615147, 0.03727298, 0.12809865, -0.06620531, -0.04623908, 0.1651001, 0.00331658, 0.038558148, 0.13506873, 0.074754685, -0.034107883, -0.08382398, 0.060850997, 0.1771665) * go_9(1.0, 0.0);
|
|
result += mat4(-0.14337118, 0.0552299, -0.066887826, 0.099065475, -0.016262418, 0.04759774, 0.24753757, -0.03123554, 0.09182721, 0.17971586, -0.06117159, -0.0742355, -0.03980454, -0.001462572, 0.20734145, 0.07312291) * go_9(1.0, 1.0);
|
|
result += mat4(0.0037743847, 0.047717955, -0.05605929, -0.0110108415, 0.17611906, 0.13866882, -0.2671504, 0.01773803, -0.062665716, -0.1823834, 0.13348061, 0.0065978607, -0.0032421015, 0.037357293, -0.18376032, -0.0390248) * go_10(-1.0, -1.0);
|
|
result += mat4(-0.027092014, 0.06426986, 0.14074403, 0.03519113, 0.042043176, -0.0018395231, 0.052804247, 0.09773806, 0.12982424, -0.11521071, -0.11479088, -0.11415672, 0.04768845, 0.13309143, -0.17632663, 0.07915859) * go_10(-1.0, 0.0);
|
|
result += mat4(0.09758767, 0.016426437, -0.045750786, 0.04952797, -0.14555432, -4.0141083e-05, 0.066697456, -0.11730303, 0.15418921, 0.025473896, 0.10456666, -0.11348149, -0.14738463, 0.06857866, 0.015933055, 0.06989261) * go_10(-1.0, 1.0);
|
|
result += mat4(-0.03398511, 0.24917306, -0.005333344, -0.110437125, 0.002186906, 0.06386028, -0.023896119, -0.0057897726, 0.087479964, -0.10608851, 0.02553874, -0.01517839, 0.06322433, 0.038509168, -0.07753538, 0.033689067) * go_10(0.0, -1.0);
|
|
result += mat4(0.06666877, -0.011693419, 0.33397517, -0.120043576, 0.17064095, 0.31786022, 0.24715607, 0.3584479, 0.34158623, 0.16421784, -0.17331788, 0.11301629, -0.04178234, 0.17584772, -0.084835954, 0.086139195) * go_10(0.0, 0.0);
|
|
result += mat4(-0.067508556, -0.11236808, 0.14758013, -0.036627058, -0.18279777, 0.05054534, 0.2753345, -0.14180623, 0.100521535, 0.058264427, 0.14143865, -0.035776544, -0.024100186, 0.06573756, 0.05588152, 0.008912967) * go_10(0.0, 1.0);
|
|
result += mat4(0.103603594, 0.028021824, 0.10007325, -0.0003912227, -0.0026444877, 0.04181134, 0.015060132, 0.16411744, 0.09541948, -0.09381105, 0.039745413, -0.085353576, -0.013665464, 0.3164363, -0.093714885, -0.07786629) * go_10(1.0, -1.0);
|
|
result += mat4(-0.14825682, 0.044950075, 0.2981831, -0.15679139, -0.0005948877, -0.208417, 0.0043193726, -0.074210644, 0.17549054, 0.09871733, -0.11623323, -0.07340507, -0.043644957, 0.18736348, 0.22011474, -0.10750292) * go_10(1.0, 0.0);
|
|
result += mat4(0.07765534, 0.08700387, -0.09271718, -0.020416219, -0.20477301, 0.11704565, -0.13559847, -0.16744848, 0.032700196, -0.032000866, 0.11412862, 0.011316682, 0.00068161794, 0.034111973, 0.14950407, -0.16327216) * go_10(1.0, 1.0);
|
|
result += mat4(-0.21414798, -0.012332198, 0.19258069, 0.15928881, 0.2062907, 0.14934476, -0.041829843, -0.0063276347, 0.22888815, 0.058699585, 0.13062388, -0.0032300283, 0.03636567, 0.049611546, 0.09329335, -0.10945905) * go_11(-1.0, -1.0);
|
|
result += mat4(-0.14186053, -0.09123882, 0.115746394, -0.2150315, 0.022147365, -0.013454767, -0.038911335, 0.07363767, -0.09786827, -0.071230784, -0.15443157, 0.02213909, 0.18729436, -0.05482962, -0.17132843, -0.026424143) * go_11(-1.0, 0.0);
|
|
result += mat4(0.109661706, 0.02474746, 0.070871696, 0.007776041, 0.050332006, 0.056008294, 0.060420737, -0.06345865, -0.18401794, -0.05386088, -0.074733675, 0.050853673, -0.08412603, 0.08624613, 0.016043609, 0.10254663) * go_11(-1.0, 1.0);
|
|
result += mat4(0.120847985, 0.049095254, -0.08091177, -0.15146309, -0.060347494, -9.089845e-07, -0.034889948, 0.092476286, 0.12363665, 0.1337514, 0.043469135, -0.099697076, -0.042482477, -0.010817118, 0.0036097392, 0.04632124) * go_11(0.0, -1.0);
|
|
result += mat4(-0.30797794, -0.21694258, -0.32600638, -0.21443155, -0.14964935, -0.11397073, -0.023484698, 0.054071233, 0.057091843, -0.15534031, 0.12363899, -0.047648482, 0.049290933, -0.07911749, -0.078762844, 0.04101302) * go_11(0.0, 0.0);
|
|
result += mat4(-0.059090212, -0.059974886, 0.058480687, -0.18894748, 0.115376465, 0.0070691905, -0.09693795, -0.052684877, -0.02742734, 0.067696705, -0.03288631, -0.041373957, 0.014531993, -0.057073075, -0.011771917, 0.06637675) * go_11(0.0, 1.0);
|
|
result += mat4(0.07550267, -0.23278087, -0.071260504, 0.061996948, 0.034905028, 0.023406243, -0.0126258405, 0.077121764, -0.07382028, 0.17757049, 0.058110423, -0.14503844, 0.07383154, -0.02137785, -0.19587317, -0.16178058) * go_11(1.0, -1.0);
|
|
result += mat4(-0.11755791, 0.13424352, -0.16016826, -0.019992057, -0.047298156, 0.01004467, 0.06941013, 0.052857235, 0.08608681, -0.04066077, 0.04005646, -0.047089808, 0.12408067, -0.027687239, -0.23384126, 0.13142079) * go_11(1.0, 0.0);
|
|
result += mat4(-0.06669859, -0.16045739, -0.12720731, -0.08351044, -0.027273893, 0.028870165, -0.00805259, 0.04537818, 0.11262208, -0.03779596, -0.15002215, -0.039273832, -0.024323156, -0.046387933, -0.15321706, 0.005771357) * go_11(1.0, 1.0);
|
|
result += vec4(0.10894316, 0.071547955, 0.027167924, -0.059796084);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x48
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_9_tf
|
|
//!BIND conv2d_9_tf1
|
|
//!BIND conv2d_9_tf2
|
|
//!BIND conv2d_9_tf3
|
|
//!BIND conv2d_9_tf4
|
|
//!BIND conv2d_9_tf5
|
|
//!SAVE conv2d_10_tf
|
|
//!WIDTH conv2d_9_tf.w
|
|
//!HEIGHT conv2d_9_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv2d_9_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_9_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv2d_9_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max((conv2d_9_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv2d_9_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv2d_9_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv2d_9_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv2d_9_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_8(x_off, y_off) (max(-(conv2d_9_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_9(x_off, y_off) (max(-(conv2d_9_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_10(x_off, y_off) (max(-(conv2d_9_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_11(x_off, y_off) (max(-(conv2d_9_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.10452997, -0.13095978, -0.07095766, -0.08796653, 0.03866794, -0.043399118, 0.024883011, -0.09586787, 0.018307796, 0.040046573, 0.018612234, -0.01401313, 0.0469296, -0.022648746, -0.18145785, -0.05363776) * go_0(-1.0, -1.0);
|
|
result += mat4(0.013178503, 0.06755441, -0.09643171, 0.13014862, 0.056539636, 0.11870831, 0.1415756, -0.08151077, 0.056978893, 0.08937851, -0.010595186, 0.109434165, 0.025058694, -0.0009918044, -0.11445685, 0.126302) * go_0(-1.0, 0.0);
|
|
result += mat4(0.036922082, 0.03507632, -0.06673393, -0.0071013994, 0.2115374, 0.101692274, -0.017003234, 0.004189955, 0.03438348, -0.0010478764, -0.02670522, 0.11157027, 0.07555884, 0.09292964, -0.025815992, 0.019873831) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.011043987, 0.27828768, -0.0787606, 0.00814027, 0.14742489, 0.09057401, 0.14341462, 0.017803868, 0.015630204, -0.0854152, -0.04623994, 0.04082336, 0.055078205, -0.060800023, -0.14535382, -0.11797596) * go_0(0.0, -1.0);
|
|
result += mat4(-0.3072509, -0.021771854, 0.11620209, 0.29259723, 0.23683707, 0.09896129, 0.14885803, -0.050370943, 0.056750596, -0.0065239333, -0.085222304, 0.025453214, -0.101827756, -0.013222416, 0.040324558, -0.05698598) * go_0(0.0, 0.0);
|
|
result += mat4(-0.19954187, -0.059767995, -0.027981527, -0.11735074, 0.20466456, -0.068525285, -0.024514228, -0.026067065, 0.029342389, 0.08362535, -0.060780793, 0.14181589, 0.03498695, -0.11649479, -0.11296758, 0.08277133) * go_0(0.0, 1.0);
|
|
result += mat4(-0.1615255, -0.057027902, -0.1823957, 0.0506974, 0.12113598, 0.15339117, 0.34968796, 0.066086926, 0.069675244, 0.033386946, -0.035866383, 0.07185366, -0.083839566, -0.042833883, -0.056060445, -0.09189207) * go_0(1.0, -1.0);
|
|
result += mat4(0.07796149, 0.044739865, -0.026137045, 0.08958096, 0.08173487, 0.029362332, -0.016568858, 0.062199887, -0.07423595, -0.03671977, -0.11045231, 0.069651514, -0.107064106, 0.07661068, 0.21609463, -0.10699304) * go_0(1.0, 0.0);
|
|
result += mat4(-0.028772483, 0.08446065, 0.10646146, -0.071518324, -0.07903977, 0.052197788, 0.1014172, 0.042190935, -0.013090111, -0.040251464, -0.18115999, 0.12099481, -0.025876138, -0.030597595, 0.106149204, -0.07030567) * go_0(1.0, 1.0);
|
|
result += mat4(-0.13326715, 0.19432688, 0.09731876, 0.10828527, 0.066808715, 0.030789638, 0.07041423, 0.024127241, -0.112927236, -0.013175536, -0.014216315, 0.0070423502, -0.16314755, -0.06248599, 0.058374085, -0.055313278) * go_1(-1.0, -1.0);
|
|
result += mat4(-0.20911148, 0.20744188, 0.20493339, -0.023415204, 0.13066125, -0.030369021, -0.04234326, 0.021027198, -0.016199784, -0.11193428, -0.035312437, -0.06372358, -0.11814957, 0.0017009035, 0.002493426, 0.058106538) * go_1(-1.0, 0.0);
|
|
result += mat4(-0.097311296, 0.27211997, 0.008951564, 0.06948919, 0.07667662, -0.14638281, -0.11177974, 0.09918961, 0.0064272317, 0.028199617, 0.05246489, 0.07158526, -0.008353152, -0.040840387, 0.046594895, 0.064548075) * go_1(-1.0, 1.0);
|
|
result += mat4(-0.016557988, 0.07811643, 0.08168028, 0.025279261, 0.028269911, 0.032241974, 0.11728174, -0.19921954, -0.20458673, 0.030004002, 0.12569252, 0.0445024, -0.03279336, 0.078405224, 0.09927955, -0.011422023) * go_1(0.0, -1.0);
|
|
result += mat4(-0.03591925, -0.100528084, -0.23411149, 0.07520768, 0.059985936, 0.07505743, -0.1592992, -0.057464592, 0.06228207, 0.09254745, 0.066452466, -0.17635484, 0.06444523, 0.08613461, -0.066658795, 0.30565113) * go_1(0.0, 0.0);
|
|
result += mat4(-0.0024530967, 0.044072535, -0.06323894, -0.06820355, -0.007408811, -0.016028231, 0.018824773, 0.02122507, -0.009777399, -0.05232987, 0.018289607, 0.10530148, -0.10177679, 0.027035125, 0.098365344, -0.087307416) * go_1(0.0, 1.0);
|
|
result += mat4(-0.163306, 0.06192198, 0.043251485, 0.097706325, -0.06911249, 0.072816305, -0.073647425, -0.026055098, -0.11378864, 0.051390868, 0.020850867, 0.08749148, -0.03923265, -0.010669588, 0.11940241, 0.017737914) * go_1(1.0, -1.0);
|
|
result += mat4(0.20377909, 0.08178027, -0.10129947, 0.010113097, -0.23931094, 0.061751343, 0.27845585, 0.0017923863, 0.078093275, -0.060775764, -0.18478048, 0.05992147, 0.069490485, -0.016183069, 0.036299016, 0.027204616) * go_1(1.0, 0.0);
|
|
result += mat4(-0.10725127, 0.02845181, -0.07237152, -0.021047885, -0.0054978402, -0.051092934, -0.03141549, 0.08273207, 0.054004353, -0.05754033, -0.07167153, -0.007779592, -0.053323995, -0.15146933, -0.07297443, -0.0057455422) * go_1(1.0, 1.0);
|
|
result += mat4(-0.10945359, 0.13164741, 0.09156805, 0.059387147, -0.040549513, -0.02578788, 0.01921392, 0.04197647, -0.043337982, 0.05120894, -0.036460076, 0.090309665, -0.1267385, -0.015089681, 0.059254825, -0.022432016) * go_2(-1.0, -1.0);
|
|
result += mat4(0.037850488, 0.1256152, -0.02764824, 0.01756473, 0.04387597, 0.025042314, 0.014860992, 0.16032273, -0.0709625, 0.021051515, 0.120523304, -0.02604324, 0.08381975, 0.12817742, -0.04863288, 0.13507447) * go_2(-1.0, 0.0);
|
|
result += mat4(0.059683677, 0.021523511, -0.11120298, -0.018711125, -0.045930944, 0.020136207, -0.033647113, -0.090400495, -0.113962725, 0.24975385, 0.027121263, 0.07244107, 0.06133815, 0.0301379, -0.017249173, 0.02193777) * go_2(-1.0, 1.0);
|
|
result += mat4(0.09717704, -0.04886562, -0.10146337, 0.1295103, 0.010018155, 0.054565154, 0.044354364, -0.076529734, -0.0064900806, -0.11931453, -0.07621885, 0.10582294, -0.26747972, -0.078686684, 0.05799313, -0.010465741) * go_2(0.0, -1.0);
|
|
result += mat4(-0.15196374, -0.009799468, 0.11958373, -0.13236645, 0.043515652, 0.13287346, 0.010247103, 0.13210478, 0.00011547689, 0.18007363, 0.039777566, 0.23126884, -0.044643603, -0.027444243, 0.41979262, 0.06408088) * go_2(0.0, 0.0);
|
|
result += mat4(0.0035183905, -0.120756544, -0.092366494, 0.07636019, -0.07533208, 0.07316178, -0.11768767, -0.012369148, 0.00071520644, 0.39289847, -0.029513074, -0.053612567, 0.03724949, -0.15359971, -0.0061515397, -0.039532207) * go_2(0.0, 1.0);
|
|
result += mat4(0.037849337, 0.04412767, -0.09335646, -0.04050562, -0.13592435, -0.0450969, -0.009349918, 0.06309884, 0.0653804, -0.019830076, 0.0116637815, -0.019197898, -0.028388407, -0.010482436, 0.028828084, 0.073924646) * go_2(1.0, -1.0);
|
|
result += mat4(-0.07879339, -0.017644685, 0.1586582, 0.024409177, -0.13626574, -0.0457237, 0.049017217, 0.064037755, 0.092432395, -0.039374296, -0.107957534, -0.008069176, 0.019877099, -0.046122085, -0.10561397, 0.17307135) * go_2(1.0, 0.0);
|
|
result += mat4(-0.09788539, -0.06974826, 0.06973763, -0.07462092, -0.06495908, -0.035487246, 0.02998668, -0.042175736, 0.13490213, 0.1976458, 0.14005965, 0.048749786, 0.09506983, -0.0667789, -0.06759445, 0.014753995) * go_2(1.0, 1.0);
|
|
result += mat4(0.061003707, -0.038893413, 0.011888445, 0.03362394, -0.051224336, 0.07230751, 0.014294804, 0.028011495, 0.025476746, -0.07903956, 0.030582773, -0.025303833, 0.05157358, -0.022731831, -0.034618694, 0.008615368) * go_3(-1.0, -1.0);
|
|
result += mat4(0.0033371155, -0.06581611, -0.07146505, 0.11704561, 0.061990812, 0.20361444, 0.009051675, 0.06278302, -0.09647339, 0.028081289, -0.024359372, -0.06555458, 0.033401083, 0.029613039, -0.059400856, -0.076858476) * go_3(-1.0, 0.0);
|
|
result += mat4(-0.023782989, 0.01966281, 0.031039018, -0.01957992, 0.02269796, -0.025164992, 0.052388318, 0.0052376734, -0.17745548, -0.15160382, 0.10373704, 0.047710504, 0.019385021, 0.023565719, 0.062375434, -0.055000264) * go_3(-1.0, 1.0);
|
|
result += mat4(0.044949874, 0.061898876, -0.11227215, 0.023184568, 0.015142947, 0.11674747, -0.0047545633, -0.02975008, 0.027430952, 0.03804421, -0.072834834, 0.013898462, 0.14427635, -0.09198968, -0.02673745, -0.0023034182) * go_3(0.0, -1.0);
|
|
result += mat4(0.15199643, -0.004547471, 0.09822389, 0.1335928, 0.18551633, 0.22925222, -0.07308735, 0.036088526, -0.17830102, -0.023159912, 0.015921982, 0.20022711, 0.07743466, -0.14498395, 0.0043588476, -0.00050115015) * go_3(0.0, 0.0);
|
|
result += mat4(-0.20724933, -0.021077156, 0.13201047, -0.22475693, -0.03760412, 0.17755087, -0.025371602, 0.09510526, -0.18426074, 0.07756117, 0.073541015, -0.042422622, 0.13520999, -0.008147166, 0.026559234, -0.16543452) * go_3(0.0, 1.0);
|
|
result += mat4(-0.016604125, 0.08053872, -0.002538484, 0.06635403, -0.03796287, -0.07527997, -0.049641952, 0.029878864, -0.069420286, 0.050373446, -0.17428105, -0.037184883, 0.18725263, -0.09693917, 0.069830656, -0.07349147) * go_3(1.0, -1.0);
|
|
result += mat4(0.17742625, -0.051589496, 0.0026871534, -0.08090186, 0.028104464, 0.012049314, -0.021290462, 0.036909223, -0.12107646, 0.09771655, -0.13286181, -0.053349078, -0.038217854, -0.027083775, -0.0006329659, -0.02218599) * go_3(1.0, 0.0);
|
|
result += mat4(0.18311077, -0.08873939, 0.089254186, -0.037748277, -0.122104056, -0.016588131, -0.006280359, 0.013694817, 0.021292258, -0.0515016, -0.16659144, -0.0144810425, 0.12720728, 0.054392308, -0.020304244, -0.05930394) * go_3(1.0, 1.0);
|
|
result += mat4(0.058957357, -0.09529686, 0.0004077679, -0.067623906, -0.08850329, -0.007457231, -0.009716993, 0.0009063077, -0.041669063, -0.05644132, 0.15368508, 0.020795938, -0.04846486, -0.013657122, 0.09076852, 0.055511467) * go_4(-1.0, -1.0);
|
|
result += mat4(0.08429863, -0.23259208, -0.14713542, -0.17900065, -0.045943156, -0.04861488, -0.006334679, -0.0033912223, 0.00964489, 0.094786435, -0.016691163, 0.077123106, -0.039288025, 0.05770473, -0.008626556, 0.023047583) * go_4(-1.0, 0.0);
|
|
result += mat4(0.017164854, 0.013175289, -0.03030088, -0.08299147, -0.09750662, 0.090054825, -0.0546798, -0.0025241913, -0.0037131186, -0.0096060205, 0.014337601, -0.040454436, -0.0512663, -0.022533763, -0.008182466, 0.08813494) * go_4(-1.0, 1.0);
|
|
result += mat4(0.0654772, -0.19962622, -0.0029846653, 0.05538735, 0.10404658, -0.12914494, 0.06700972, 0.055170983, 0.044017285, 0.023490183, 0.11201984, 0.030844385, -0.061347328, -0.010788254, 0.008415423, 0.18970315) * go_4(0.0, -1.0);
|
|
result += mat4(-0.113308266, 0.12977777, -0.12367092, -0.054070447, 0.054880824, -0.036618866, -0.09571354, -0.16456729, 0.0065695816, 0.092923366, 0.10796199, -0.03711626, 0.10701662, 0.13426723, -0.0092919115, -0.037044466) * go_4(0.0, 0.0);
|
|
result += mat4(-0.08681347, -0.15467091, 0.011255799, 0.0064190566, -0.040117122, 0.058139827, -0.0403118, -0.23329367, -0.106199786, -0.06939652, 0.04137913, 0.024522778, -0.020507582, 0.032408983, -0.17594863, 0.06780263) * go_4(0.0, 1.0);
|
|
result += mat4(-0.073971756, -0.06853512, 0.10660494, -0.08636718, -0.01975871, 0.07520398, -0.0067043533, 0.027499638, 0.14615464, 0.03720377, 0.15135165, 0.04741459, 0.019792017, 0.088009275, 0.16415045, 0.0024859605) * go_4(1.0, -1.0);
|
|
result += mat4(-0.36332065, -0.07734452, 0.0028704775, 0.14872053, -0.1061377, 0.0637252, -0.0040910714, 0.025090441, -0.00097514444, -0.1527627, -0.10137462, 0.11902805, -0.12965, -0.12073308, 0.04942668, -0.081019804) * go_4(1.0, 0.0);
|
|
result += mat4(-0.044295803, 0.013679751, -0.012926791, -0.005387792, 0.034934286, 0.14332283, 0.12887605, -0.061331455, 0.15142201, -0.1210823, -0.036738504, 0.057602115, -0.0612664, 0.004826139, 0.009473194, 0.05473408) * go_4(1.0, 1.0);
|
|
result += mat4(0.06481471, 0.004356429, -0.06848891, -0.008037754, 0.026879564, 0.03606129, -0.066314444, -0.0028949357, 0.16258831, -0.07068598, 0.0196609, 0.032182235, -0.03726745, 0.08904193, -0.003159488, 0.021914925) * go_5(-1.0, -1.0);
|
|
result += mat4(-0.011267475, -0.022274308, 0.08582037, -0.06085459, 0.013043968, -0.02893094, -0.10246689, -0.033077985, -0.033044547, -0.02123883, -0.07917233, 0.023728617, -0.07075452, 0.08255205, 0.050427422, -0.03294232) * go_5(-1.0, 0.0);
|
|
result += mat4(-0.0727788, -0.09219653, 0.11064241, -0.022223199, -0.15629049, 0.122650005, -0.10289625, -0.06476945, -0.005119053, 0.0026790253, 0.012482781, -0.053372107, -0.023827737, 0.033480383, 0.009195475, 0.1480609) * go_5(-1.0, 1.0);
|
|
result += mat4(0.062476553, 0.026223047, 0.051151488, 0.06403894, 0.050695814, -0.0074071065, 0.020688912, 0.06414588, 0.15142709, 0.004108378, 0.1805822, -0.123368226, 0.008366109, -0.0054705045, -0.030376235, -0.21030006) * go_5(0.0, -1.0);
|
|
result += mat4(-0.02029089, 0.114019, -0.0019110559, 0.04655684, 0.1260059, -0.003358174, 0.026839556, -0.2089202, 0.1557723, -0.0057378095, 0.08472551, -0.04924428, -0.11776593, -0.0461931, -0.24937254, 0.10839416) * go_5(0.0, 0.0);
|
|
result += mat4(0.041421883, 0.048169516, -0.05842667, 0.013366076, -0.023245525, -0.16612361, -0.0057233395, -0.050720043, 0.06489661, -0.1124571, 0.077007234, -0.1291162, -0.037277244, 0.10195012, -0.0071070977, 0.047105957) * go_5(0.0, 1.0);
|
|
result += mat4(-0.07696618, 0.051714044, -0.065605335, -0.057643004, -0.023664054, 0.041334838, 0.041327525, -0.0452622, 0.08794407, -0.022252247, 0.04247766, -0.08849691, -0.17467014, 0.034971133, 0.0011387058, 0.06616401) * go_5(1.0, -1.0);
|
|
result += mat4(-0.011075697, 0.040273715, -0.060371924, 0.06140919, 0.0031134405, -0.025355663, -0.033405382, 0.030624736, 0.20583406, -0.008255494, 0.09869349, -0.06559402, -0.15411773, -0.073942415, -0.060076036, 0.0882689) * go_5(1.0, 0.0);
|
|
result += mat4(-0.031605657, -0.083417654, -0.03974571, 0.06718794, 0.03500733, 0.011564295, -0.054521505, -0.013956027, 0.07440576, -0.08220267, 0.030568961, -0.0072721704, -0.017984008, -0.037543133, 0.04685672, 0.082623824) * go_5(1.0, 1.0);
|
|
result += mat4(-0.09169722, 0.044483982, 0.04880043, 0.105855666, -0.0059740203, 0.08248419, 0.019881463, 0.0803125, -0.03237451, -0.050363675, -0.07253764, -0.0045262147, 0.13738465, 0.104033425, 0.08307663, -0.027249241) * go_6(-1.0, -1.0);
|
|
result += mat4(-0.088977404, 0.08344813, -0.021231286, -0.10699029, 0.026355123, -0.02438362, -0.03499429, 0.14077897, -0.12033208, -0.16763459, -0.12688397, -0.2923715, 0.010288219, 0.105832145, 0.09331802, 0.025579214) * go_6(-1.0, 0.0);
|
|
result += mat4(-0.001623383, 0.1009306, 0.010470034, 0.0657667, -0.077975646, -0.01811936, -0.041142333, 0.1162433, -0.04046679, -0.04067678, -0.13385214, -0.094954856, 0.1869626, 0.078532234, 0.010967375, 0.15119064) * go_6(-1.0, 1.0);
|
|
result += mat4(-0.19616304, -0.044319104, 0.14582293, 0.14401235, -0.024239741, 0.10340367, 0.03641681, -0.032825295, -0.14246203, -0.026174128, -0.019074934, -0.059172742, 0.056162503, 0.108569615, 0.17299432, 0.012202355) * go_6(0.0, -1.0);
|
|
result += mat4(0.033212636, 0.19201545, 0.07868557, -0.070897594, 0.024198776, 0.057054978, -0.005773385, 0.16551888, -0.13211906, 0.017150372, -0.09208057, 0.03185214, -0.19503927, -0.0154005205, -0.06336041, -0.08972352) * go_6(0.0, 0.0);
|
|
result += mat4(-0.047767166, 0.09456821, 0.030971317, 0.06077982, -0.035015658, 0.030661434, 0.08690273, -0.038870484, 0.011427922, 0.014336506, -0.056830537, -0.27509648, 0.035178687, 0.11351475, 0.04536642, -0.08490966) * go_6(0.0, 1.0);
|
|
result += mat4(-0.035810657, -0.040094417, 0.16234219, -0.018656962, 0.007042964, 0.09659909, -0.12863661, 0.030866338, 0.034802403, 0.0016517856, 0.026615972, -0.12140747, 0.07092863, 0.02645082, 0.10012633, 0.0838663) * go_6(1.0, -1.0);
|
|
result += mat4(-0.09406122, 0.103301324, -0.029774658, -0.05982149, -0.037421286, 0.0376039, -0.18063144, -0.04484252, -0.039305396, -0.11428881, 0.11268997, -0.1526391, 0.19060104, 0.007945032, 0.087847464, 0.032106157) * go_6(1.0, 0.0);
|
|
result += mat4(0.002432848, -0.009617333, -0.14955042, -0.055736527, 0.16233777, 0.0103614135, -0.14040956, 0.015767315, -0.007984339, 0.0064604604, 0.15213339, -0.12978724, 0.2861079, 0.0028212029, 0.16278541, -0.1122923) * go_6(1.0, 1.0);
|
|
result += mat4(-0.0061184843, -0.031838052, -0.051234722, -0.074785165, -0.009608966, -0.028825626, -0.051854625, -0.03884438, -0.09737315, 0.06124026, -0.16118035, 0.049489763, 0.031762138, -0.059796542, -0.030683337, -0.030882046) * go_7(-1.0, -1.0);
|
|
result += mat4(0.012181786, 0.004366585, -0.012609928, -0.042036038, -0.10643622, 0.04410521, 0.11435428, -0.06195004, -0.2048646, 0.19842538, 0.013824749, -0.01820847, 0.12270244, -0.05726448, -0.06415889, -0.06265454) * go_7(-1.0, 0.0);
|
|
result += mat4(0.034773856, 0.043668557, 0.028441405, -0.04917985, 0.029363593, -0.061821178, 0.09651282, -0.04561685, -0.020005109, 0.08038572, 0.076856054, -0.03550914, -0.047259346, -0.15767749, -0.019841153, -0.16513592) * go_7(-1.0, 1.0);
|
|
result += mat4(-0.031791, 0.036102377, 0.11600808, 0.028740417, 0.06863318, 0.0041692764, -0.06392522, 0.18204354, -0.4317052, 0.21011995, -0.028950203, -0.007694737, 0.027255666, -0.07512291, -0.11292609, 0.013642943) * go_7(0.0, -1.0);
|
|
result += mat4(0.06278959, 0.09380407, 0.082746565, -0.29760537, -0.043065824, 0.016370568, 0.079557106, -0.053201187, -0.094427705, -0.054596122, 0.004544459, 0.12054741, -0.09854059, -0.069349565, -0.036913738, -0.15469205) * go_7(0.0, 0.0);
|
|
result += mat4(0.14663489, -0.17960148, 0.03322624, 0.19109198, 0.026789704, -0.08023296, 0.030463632, 0.03254673, 0.1904, -0.0013191487, 0.0076299817, -0.11531735, 0.008193399, 0.042752437, -0.0030691337, 0.12909001) * go_7(0.0, 1.0);
|
|
result += mat4(0.09794688, -0.12975737, -0.023997074, -0.04657822, -0.13094926, 0.022599585, 0.06573002, 0.018785113, -0.14989275, -0.03339479, 0.015797183, -0.030163066, 0.016669696, 0.012339601, -0.09658068, -0.050706554) * go_7(1.0, -1.0);
|
|
result += mat4(0.07808228, 0.010552677, -0.049303003, -0.054412544, 0.027788738, -0.02128306, -0.008772243, -0.11626967, -0.0059451363, 0.059564557, 0.03668662, 0.0065204557, -0.06601225, -0.04325997, -0.1147271, 0.07718216) * go_7(1.0, 0.0);
|
|
result += mat4(-0.025658295, 0.009463572, 0.121625826, 0.042721953, 0.029879777, 0.024093157, 0.044461224, 0.011403931, 0.010267983, -0.006153973, -0.030950828, -0.027995862, -0.1338415, 0.06795991, -0.1497057, 0.004472782) * go_7(1.0, 1.0);
|
|
result += mat4(-0.005003439, -0.0042471215, -0.07281907, 0.030383304, -0.024920132, -0.029222973, 0.0355648, -0.023904845, -0.017576102, -0.05567445, -0.068737954, -0.1147391, -0.10854249, -0.027572723, -0.04928351, -0.15432575) * go_8(-1.0, -1.0);
|
|
result += mat4(0.11052154, -0.08092761, 0.06868953, 0.087058865, 0.023298848, -0.0062330756, 0.056623273, -0.11425772, 0.035456464, 0.017425021, -0.100025, -0.05662614, 0.04228246, 0.054267693, -0.061284207, -0.10346116) * go_8(-1.0, 0.0);
|
|
result += mat4(-0.021792656, -0.047634892, 0.08760543, -0.046498872, 0.036893863, -0.022600487, 0.054273624, -0.032601845, 0.005220854, 0.029997228, -0.15759681, -0.08242428, 0.019006334, -0.09381743, -0.044560015, 0.078126356) * go_8(-1.0, 1.0);
|
|
result += mat4(-0.20072183, 0.07563903, -0.09425607, 0.007553963, -0.060172237, 0.026278604, -0.029217733, 0.09313036, 0.023479568, -0.13553078, 0.1683467, -0.007374523, 0.003166191, -0.0077507207, 0.016637675, -0.052360285) * go_8(0.0, -1.0);
|
|
result += mat4(0.2752123, 0.044519987, -0.092892624, 0.13307047, -0.20821007, -0.02074977, 0.050310906, -0.14781235, 0.005902824, 0.021458253, -0.11640657, -0.12320155, -0.076290004, 0.022268644, -0.14328197, 0.0927808) * go_8(0.0, 0.0);
|
|
result += mat4(-0.010012484, -0.011715113, -0.043138694, 0.061056998, 0.0003362302, -0.0272552, 0.07555357, 0.20783336, 0.062605925, 0.028317971, 0.006166934, 0.05402164, 0.07390474, 0.036011703, -0.032980483, 0.10582491) * go_8(0.0, 1.0);
|
|
result += mat4(0.104213916, -0.016458439, -0.041239027, -0.13531528, 0.08385529, -0.017395, -0.044829957, -0.057939503, 0.0188802, 0.058301643, 0.06601614, 0.024885748, -0.18671393, -0.038810052, 0.12703882, -0.056551658) * go_8(1.0, -1.0);
|
|
result += mat4(0.07424187, -0.022602623, -0.050902683, -0.025317585, -0.03829055, 0.024209173, -0.089947484, -0.03610775, -0.092263564, 0.012702685, 0.018980803, 0.037538566, -0.09253227, 0.109119035, 0.27267906, -0.15362985) * go_8(1.0, 0.0);
|
|
result += mat4(-0.0015341254, 0.010377879, -0.061633438, 0.035204124, -0.046594903, -0.050500665, -0.02577027, 0.09027708, 0.03151075, -0.012059609, 0.04879744, 0.06694882, 0.08893846, -0.01955382, 0.15465751, -0.027986312) * go_8(1.0, 1.0);
|
|
result += mat4(0.014668175, 0.10779777, -3.7527945e-05, 0.06709759, 0.06471768, -0.12120603, 0.018267836, -0.028828742, 0.094429776, -0.036151815, 0.02414468, 0.074969694, 0.1335824, -0.11747655, 0.08031944, 0.08868612) * go_9(-1.0, -1.0);
|
|
result += mat4(0.058471195, 0.09583385, 0.07594619, 0.018679913, -0.10134485, -0.11573404, -0.040815637, -0.0905552, -0.087376416, 0.010354827, -0.029292874, -0.10244565, -0.107486315, -0.08067197, 0.068188705, -0.020863827) * go_9(-1.0, 0.0);
|
|
result += mat4(0.13111079, 0.0012838852, -0.02666495, 0.038845398, -0.190199, 0.00279639, -0.043868463, -0.0068601943, 0.064012714, 0.046751637, -0.0077074827, -0.09633924, 0.0005454657, -0.055698857, -0.073002584, 0.13582216) * go_9(-1.0, 1.0);
|
|
result += mat4(-0.010974527, -0.026022714, 0.060965966, 0.0019768628, 0.11614995, 0.033684634, 0.048152138, 0.004971118, -0.13299273, -0.08726393, -0.016963622, -0.13285847, -0.09478473, 0.14827113, -0.11953486, -0.07091515) * go_9(0.0, -1.0);
|
|
result += mat4(0.0022101118, 0.07726036, 0.12660861, -0.21182461, -0.05118938, -0.21772741, 0.073271036, 0.09529552, 0.043627776, 0.07241113, 0.056153663, -0.03096679, -0.14461926, 0.24902643, 0.21091557, -0.11887145) * go_9(0.0, 0.0);
|
|
result += mat4(0.09159909, -0.046065293, -0.017285151, 0.05325168, -0.18035404, -0.13886565, 0.0059781303, -0.19588822, 0.036009684, -0.012165368, -0.04089957, -0.092371985, -0.017948762, -0.035148554, 0.00915531, 0.19850945) * go_9(0.0, 1.0);
|
|
result += mat4(0.023927797, -0.017236765, -0.056853727, -0.090297826, 0.08084101, 0.06567622, 0.075692646, -0.03552233, 0.03755616, 0.039734114, 0.136539, -0.038506575, -0.22664422, 0.0032904313, -0.07955965, 0.059305858) * go_9(1.0, -1.0);
|
|
result += mat4(-0.08070604, -0.009484972, -0.04267918, -0.027055666, 0.03867903, -0.0150039, -0.0059355353, -0.0068563074, 0.11567609, -0.063611336, 0.18691607, -0.039190844, -0.06318548, -0.10339472, -0.14465182, 0.08463286) * go_9(1.0, 0.0);
|
|
result += mat4(0.10437496, -0.00037948217, -0.07502755, 0.032370236, 0.024518723, 0.048723932, 0.014109043, -0.09101244, 0.07093021, -0.06826224, 0.021067007, -0.05104556, -0.003025575, 0.124921225, 0.08423182, 0.030358363) * go_9(1.0, 1.0);
|
|
result += mat4(0.023305072, -0.009160797, 0.037677288, -0.028397458, 0.050181143, -0.11805167, 0.023053521, -0.04789232, -0.10434621, 0.083697066, -0.00059397036, 0.05657816, 0.11026424, -0.019971285, -0.063336, -0.093887374) * go_10(-1.0, -1.0);
|
|
result += mat4(0.040132683, -0.069712006, -0.14402343, 0.13328306, 0.04453592, -0.10920082, -0.061864637, -0.023250371, -0.04792668, -0.23069763, 0.11491342, 0.049124923, -0.09377307, -0.0009923346, 0.037279267, -0.16158433) * go_10(-1.0, 0.0);
|
|
result += mat4(-0.00153717, -0.12700215, 0.00608027, 0.017930686, 0.015170375, 0.058537636, -0.022643825, -0.090274625, 0.00028158183, -0.04941672, 0.05637307, -0.04383224, 0.0018241775, 0.063655004, -0.023339272, 0.016919853) * go_10(-1.0, 1.0);
|
|
result += mat4(0.072573535, -0.043450154, -0.11402738, -0.13965322, 0.034946017, 0.049838394, -0.0801198, -0.093246214, -0.0061164005, -0.04461302, 0.010927035, 0.051007256, 0.030911477, 0.021943847, 0.0454368, -0.20229498) * go_10(0.0, -1.0);
|
|
result += mat4(-0.19903214, 0.0016282768, -0.05607518, 0.0814821, 0.0055653774, -0.060723253, -0.03150235, 0.051837593, -0.00812611, -0.014041741, 0.04306814, 0.008380368, -0.08304074, -0.08552964, -0.07987595, 0.08622592) * go_10(0.0, 0.0);
|
|
result += mat4(-0.23127824, 0.12295779, -0.0109891035, -0.021629026, -0.09384735, 0.10244903, 0.044111405, 0.004424371, 0.09216727, 0.013904141, 0.042929623, -0.09039094, 0.057333138, -0.0861863, -0.04734528, 0.038065672) * go_10(0.0, 1.0);
|
|
result += mat4(-0.07722156, -0.03744596, 0.048356563, -0.021000361, -0.066170536, -0.019655142, -0.06460627, 0.01321928, -0.071259156, 0.018575922, -0.08753065, 0.005541979, -0.08438988, -0.04617093, -0.051534776, -0.029054178) * go_10(1.0, -1.0);
|
|
result += mat4(-0.08996664, -0.099371605, 0.33096626, -0.14779766, 0.033203732, -0.020057553, 0.047346294, -0.09151647, -0.11274504, 0.060443968, -0.02567719, 0.024270521, 0.10343891, -0.0027090537, 0.2050693, -0.05112668) * go_10(1.0, 0.0);
|
|
result += mat4(0.036755078, -0.09491632, 0.16060267, -0.091196306, -0.025737653, 0.019911846, -0.017983688, 0.080934614, -0.0879894, 0.09994306, 0.056110743, -0.035007317, -0.06350233, -0.021852775, 0.13358839, -0.0626329) * go_10(1.0, 1.0);
|
|
result += mat4(0.039643206, 0.15961072, 0.07963999, 0.093470685, 0.06743535, -0.049586922, 0.016643282, 0.022365486, 0.088239655, -0.09364056, -0.02925469, -0.115170486, -0.041427363, -0.07434725, 0.03916273, -0.031712707) * go_11(-1.0, -1.0);
|
|
result += mat4(-0.03178281, -0.020474926, -0.24886844, 0.1170158, 0.014288611, -0.0139584355, 0.054201134, 0.027823552, -0.045476448, 0.043584794, 0.016997674, -0.13191022, 0.054788377, -0.062102176, -0.06971772, 0.023179475) * go_11(-1.0, 0.0);
|
|
result += mat4(-0.17749564, 0.084310785, -0.034437772, -0.08765134, 0.0192039, -0.074197926, 0.011375868, 0.024009971, -0.06834195, 0.012258987, 0.1118325, -0.12678291, 0.0729323, 0.12055763, -0.03159754, -0.032844577) * go_11(-1.0, 1.0);
|
|
result += mat4(0.06904989, -0.10043463, -0.006412566, 0.052953586, -0.0009239817, 0.0047698636, 0.023104124, -0.08240751, -0.041743282, -0.16257025, -0.011366153, 0.01780265, 0.024689162, -0.061389487, 0.028853321, 0.06746509) * go_11(0.0, -1.0);
|
|
result += mat4(0.09653064, -0.10104088, -0.047921777, -0.103844725, 0.026677186, 0.02747027, 0.0006117518, 0.11155599, 0.01759024, 0.041740566, 0.09151603, -0.01213971, 0.10025652, 0.020672945, -0.09848558, 0.086546615) * go_11(0.0, 0.0);
|
|
result += mat4(-0.0155723775, 0.074720785, 0.21501018, 0.090717055, -0.05537873, 0.047770448, 0.058052957, 0.118154205, -0.015956735, 0.06266934, -0.001474061, -0.016232431, -0.046418842, 0.120745674, 0.041462313, -0.22532389) * go_11(0.0, 1.0);
|
|
result += mat4(0.25257114, 0.15323398, -0.015901398, 0.047883037, 0.025636502, -0.0007283019, 0.11184055, 0.07190504, 0.23190252, 0.03137777, -0.046910405, 0.0067116767, 0.06200013, -0.10154448, 0.05524142, -0.041579235) * go_11(1.0, -1.0);
|
|
result += mat4(-0.0649064, 0.1671053, -0.08754854, -0.0689915, -0.07679747, -0.10931627, 0.00013489556, -0.0055395095, 0.07592996, -0.03221985, 0.0023118665, 0.089309424, -0.040053, 0.02768343, 0.022948736, -0.1343042) * go_11(1.0, 0.0);
|
|
result += mat4(0.115581974, 0.33207062, -0.12565844, -0.1068839, -0.03873016, -0.09265269, -0.038312662, 0.062069796, 0.04194856, -0.061137326, -0.089199916, 0.012745198, 0.08194386, 0.03941352, -0.07383738, -0.004222678) * go_11(1.0, 1.0);
|
|
result += vec4(0.10673879, 0.05404629, 0.042892203, -0.0626416);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x88
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_9_tf
|
|
//!BIND conv2d_9_tf1
|
|
//!BIND conv2d_9_tf2
|
|
//!BIND conv2d_9_tf3
|
|
//!BIND conv2d_9_tf4
|
|
//!BIND conv2d_9_tf5
|
|
//!BIND conv2d_11_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!SAVE conv2d_12_tf
|
|
//!WIDTH conv2d_9_tf.w
|
|
//!HEIGHT conv2d_9_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_9_tf_tex(conv2d_9_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_9_tf1_tex(conv2d_9_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_9_tf2_tex(conv2d_9_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_9_tf3_tex(conv2d_9_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_9_tf4_tex(conv2d_9_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_9_tf5_tex(conv2d_9_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_9_tf_tex(conv2d_9_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_9_tf1_tex(conv2d_9_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_9_tf2_tex(conv2d_9_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_9_tf3_tex(conv2d_9_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_9_tf4_tex(conv2d_9_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_9_tf5_tex(conv2d_9_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.018240726, -0.023228848, -0.037755717, 0.009697539, -0.06391762, -0.22754766, 0.32287842, 0.0321051, -0.081117265, 0.09789689, 0.13194586, 0.033958163, -0.16528013, 0.25348902, 0.013538278, -0.122477636) * g_0;
|
|
result += mat4(0.21895553, 0.32368854, 0.09295876, 0.008549726, -0.17221816, -0.009608649, 0.008025734, -0.12808394, 0.095984474, -0.055960163, 0.1857312, -0.01410566, -0.29036984, -0.11915815, -0.22480978, -0.010984804) * g_1;
|
|
result += mat4(0.021460485, -0.069948144, -0.20457397, -0.06368738, 0.041937023, 0.058391638, 0.08521619, -0.14939685, -0.17603025, -0.2704823, 0.1297126, 0.08506167, -0.036500573, -0.15101454, 0.2705927, -0.11495338) * g_2;
|
|
result += mat4(-0.015002146, -0.11097708, -0.04153528, 0.009949436, 0.05756999, 0.0021354982, 0.011803671, -0.059338056, 0.14856763, 0.1583689, -0.18323529, -0.061641436, -0.15716806, -0.0712248, -0.26153558, 0.1281614) * g_3;
|
|
result += mat4(0.12309243, -0.019010289, -0.48949012, 0.22548608, 0.06878324, 0.06457863, -0.16647714, -0.19459985, -0.2501109, -0.1472345, -0.04101737, 0.30518964, 0.07157429, 0.03916779, 0.17215528, -0.27554017) * g_4;
|
|
result += mat4(0.04666684, 0.21871185, -0.06709083, -0.05889728, 0.16164586, 0.057062894, 0.13912962, 0.02538998, 0.28736678, -0.11419385, 0.06581755, 0.17950252, -0.0021713986, -0.21133782, 0.18057212, -0.13002412) * g_5;
|
|
result += mat4(0.07720478, -0.059798796, 0.10859078, -0.054959364, -0.17407586, 0.12507877, -0.03956437, 0.13279653, 0.10017548, -0.29822072, -0.023122882, 0.09967618, 0.09163447, -0.26512557, -0.019125078, -0.26062354) * g_6;
|
|
result += mat4(0.007360602, -0.05319189, 0.26773262, 0.21440737, 0.041763037, -0.0078692185, 0.104448885, 0.10134778, -0.0907065, 0.024284367, 0.003045257, -0.047127664, -0.25469595, -0.028164914, -0.043226935, 0.057833903) * g_7;
|
|
result += mat4(0.055060904, 0.12964465, 0.0100004645, 0.11081481, -0.18145356, -0.06301884, 0.002863084, -0.09317529, -0.032467086, 0.053214524, -0.20222305, -0.17389554, -0.02374549, 0.081627876, 0.13586336, -0.13289934) * g_8;
|
|
result += mat4(-0.12577327, 0.10578063, 0.2519808, 0.026089173, 0.10365033, 0.2503572, 0.08068646, -0.13609827, 0.0993266, -0.18147932, -0.24582084, -0.0027736255, 0.22986256, 0.0027441771, -0.2843601, -0.24845399) * g_9;
|
|
result += mat4(0.407128, 0.02000054, -0.025044682, -0.07539943, 0.123638265, 0.13025928, 0.06359813, -0.06765932, 0.25122678, -0.07864227, -0.2603126, -0.4042432, -0.14067987, -0.23111042, 0.22302234, 0.2521762) * g_10;
|
|
result += mat4(-0.1394529, -0.31797844, -0.19563127, 0.06399499, 0.10406692, 0.12298246, -0.08451652, 0.067356326, -0.10545609, 0.1542806, -0.09520273, -0.4893699, 0.016285073, -0.05184254, 0.01668572, 0.28672934) * g_11;
|
|
result += mat4(0.18358573, 0.07086077, 0.081096895, 0.08466328, -0.037679147, -0.010346395, -0.10832653, 0.24460128, -0.035456736, 0.20034707, -0.09119996, 0.026973516, 0.018956725, -5.4123822e-05, -0.022495521, 0.022271384) * g_12;
|
|
result += mat4(0.2034902, -0.33097568, -0.06138338, 0.0043093674, 0.2108118, 0.07654584, 0.12894695, 0.06086084, 0.09708061, 0.08280423, 0.03982084, -0.013282445, 0.1286689, -0.014037032, -0.028497966, 0.3555501) * g_13;
|
|
result += mat4(-0.07103243, -0.13886544, -0.14505245, -0.16215186, 0.19933704, 0.20801912, 0.11129495, -0.060560636, 0.022709953, 0.030686028, 0.048585244, -0.1738981, -0.27648082, -0.05651471, -0.45279422, -0.110658295) * g_14;
|
|
result += mat4(-0.010698494, -0.014529519, 0.06092168, -0.13276085, -0.31590307, -0.034779727, 0.13390115, -0.2154148, 0.31362757, -0.16912729, -0.17177378, 0.04694781, 0.2817023, -0.20776759, 0.051466487, 0.0033499447) * g_15;
|
|
result += mat4(0.14116827, -0.004569741, -0.34971637, 0.14838621, -0.23526837, 0.12044124, 0.24962978, -0.47152176, 0.42074892, -0.08043922, -0.029038593, -0.0067655854, -0.074845135, -0.06440738, 0.19292484, 0.22176756) * g_16;
|
|
result += mat4(0.1824485, 0.14171454, 0.17320803, 0.12185365, 0.114776775, 0.06394961, 0.26359382, -0.4180487, -0.16079833, 0.0073073236, -0.12868631, -0.15573654, -0.07210191, -0.012453217, -0.14852667, 0.016012993) * g_17;
|
|
result += mat4(-0.0665514, -0.23494612, 0.098041154, -0.13429102, -0.09597223, -0.02225127, 0.3641938, -0.11276776, -0.116225325, -0.09660111, 0.24925885, 0.26824257, -0.013628071, -0.024492549, 0.056771886, -0.039691154) * g_18;
|
|
result += mat4(0.1038324, -0.13783209, -0.29168722, -0.13033277, -0.111158535, -0.12511612, -0.08763829, 0.05513153, 0.0047156885, 0.13744187, 0.07963748, 0.00240008, -0.13253629, 0.019641487, -0.113318674, 0.11268771) * g_19;
|
|
result += mat4(0.017130049, -0.050066452, -0.1321411, 0.12105113, -0.19122683, 0.12728047, -0.11631363, 0.11703079, -0.16408561, 0.073255256, 0.18040007, -0.027916772, 0.117218666, -0.18100376, -0.059619226, -0.10517939) * g_20;
|
|
result += mat4(-0.21253966, 0.2606339, 0.10612866, 0.1311986, 0.19595386, 0.07200261, -0.22423409, -2.2849147e-06, 0.28697285, 0.036045954, -0.19823448, -0.054925486, -0.12410156, 0.30472383, 0.2330069, -0.12509976) * g_21;
|
|
result += vec4(0.022758514, -0.03611776, 0.0064447913, 0.00068006525);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x88
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_9_tf
|
|
//!BIND conv2d_9_tf1
|
|
//!BIND conv2d_9_tf2
|
|
//!BIND conv2d_9_tf3
|
|
//!BIND conv2d_9_tf4
|
|
//!BIND conv2d_9_tf5
|
|
//!BIND conv2d_11_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!SAVE conv2d_12_tf1
|
|
//!WIDTH conv2d_9_tf.w
|
|
//!HEIGHT conv2d_9_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_9_tf_tex(conv2d_9_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_9_tf1_tex(conv2d_9_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_9_tf2_tex(conv2d_9_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_9_tf3_tex(conv2d_9_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_9_tf4_tex(conv2d_9_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_9_tf5_tex(conv2d_9_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_9_tf_tex(conv2d_9_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_9_tf1_tex(conv2d_9_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_9_tf2_tex(conv2d_9_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_9_tf3_tex(conv2d_9_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_9_tf4_tex(conv2d_9_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_9_tf5_tex(conv2d_9_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.27487782, 0.18671569, 0.014598359, -0.10942123, 0.06431285, 0.13095526, 0.16187827, -0.05404472, 0.06109171, 0.12339281, 0.037517212, 0.022657571, 0.057030313, -0.008228847, -0.072607644, 0.03075785) * g_0;
|
|
result += mat4(-0.11736518, 0.19170946, 0.38883322, -0.04370131, 0.08346483, 0.10550525, 0.07936755, 0.028102577, 0.01148332, -0.11665535, 0.06383731, -0.14827923, 0.11657963, 0.077285066, -0.0977731, -0.061747603) * g_1;
|
|
result += mat4(0.24491212, 0.058865275, -0.25556007, -0.041585945, 0.3193469, -0.05451695, -0.001404186, -0.13020252, 0.07431936, 0.2289785, -0.10098844, 0.023408994, -0.23390095, 0.22575194, -0.025926162, -0.021137672) * g_2;
|
|
result += mat4(-0.34047288, -0.16864823, -0.091643326, 0.12608078, -0.06984128, 0.27387246, 0.05079481, -0.08338553, 0.2120012, 0.14819127, -0.033582117, -0.24173228, 0.047510203, -0.1803568, 0.053134385, 0.087940834) * g_3;
|
|
result += mat4(0.02928209, 0.22820388, -0.4671619, -0.031732026, -0.057300556, 0.004144317, 0.10569882, -0.020268245, -0.3543468, -0.13405709, -0.08611896, 0.18175112, -0.120712005, 0.14141698, 0.20102608, 0.23618817) * g_4;
|
|
result += mat4(0.066653736, -0.059595298, 0.15454593, 0.21592279, 0.27390355, -0.11746084, -0.049416482, -0.29596555, -0.054056685, 0.124672204, 0.057716236, 0.10225304, -0.09174892, 0.19980122, -0.05336024, 0.055571303) * g_5;
|
|
result += mat4(-0.18484752, -0.36230278, 0.049307425, 0.12563172, -0.024801265, -0.022736475, -0.11068124, 0.2804873, 0.12878488, 0.13737386, -0.3159429, 0.14334643, 0.30960616, 0.19170786, -0.19692647, 0.3274579) * g_6;
|
|
result += mat4(0.0033271008, 0.01712824, -0.14945795, 0.15134253, 0.072035566, 0.063491106, -0.040498145, -0.27111852, 0.09643232, -0.21030812, 0.02619506, -0.006282209, -0.043037314, -0.24948022, -0.0960549, 0.08886981) * g_7;
|
|
result += mat4(-0.1683291, 0.004775721, 0.19721816, -0.0016262251, 0.04053106, 0.019257752, -0.036447894, -0.016047643, 0.18024184, -0.010098442, 0.060056653, 0.21040897, 0.06810947, 0.16518652, 0.10927958, 0.015990514) * g_8;
|
|
result += mat4(0.17782916, -0.019990172, -0.04214169, -0.044349745, -0.096376285, -0.17118435, -0.0046379915, -0.33545214, 0.27945635, -0.08301872, 0.20809698, -0.2167783, -0.2896225, 0.25324273, -0.1393815, -0.1035578) * g_9;
|
|
result += mat4(-0.11153186, 0.08945358, -0.19106413, -0.070531435, 0.20065232, 0.22111228, 0.31270432, 0.029758435, -0.06838312, 0.124104455, 0.016042404, -0.15672235, 0.25810337, -0.14822677, 0.056693383, -0.102702715) * g_10;
|
|
result += mat4(-0.5346728, -0.010835411, -0.19025792, 0.20262082, -0.2937675, 0.0636634, 0.051419638, 0.3031389, -0.024283586, 0.114449784, -0.06731985, 0.033319853, -0.18419428, -0.05939938, -0.004707921, 0.06668735) * g_11;
|
|
result += mat4(0.037002433, -0.093464166, -0.09644219, -0.07630172, 0.051610224, -0.13968097, 0.24660867, -0.07587348, 0.040383674, -0.16485368, 0.020389866, 0.20876431, -0.27873826, -0.112587206, -0.072660305, -0.04472093) * g_12;
|
|
result += mat4(-0.06779488, 0.16197906, 0.06188925, -0.008886099, 0.24061024, -0.05935547, -0.005190499, 0.038443245, 0.09116801, -0.079416126, -0.07764381, -0.24856304, 0.32130104, -0.1689679, 0.2610274, -0.19916224) * g_13;
|
|
result += mat4(0.084091805, -0.009050908, 0.0428426, -0.22958456, 0.09502613, -0.079103395, -0.0072180657, 0.07783402, -0.08293811, -0.03740794, -0.2847399, 0.06101355, -0.025973216, 0.0043736286, -0.09274589, -0.03786617) * g_14;
|
|
result += mat4(-0.054818746, -0.058793657, 0.16997126, 0.08030429, 0.06598645, -0.11494638, -0.13028891, -0.05864371, -0.035407092, -0.10433668, -0.18799901, 0.0070647947, 0.12834336, -0.07709033, 0.07298517, -0.052353203) * g_15;
|
|
result += mat4(-0.022882696, -0.0670688, -0.14851306, -0.06401987, 0.078636736, 0.51110995, 0.024791796, -0.061570935, -0.115464, 0.04116418, 0.054929867, 0.01905232, 0.06346473, 0.22244757, 0.19133015, -0.10632591) * g_16;
|
|
result += mat4(0.08766506, 0.0026022529, 0.14686164, 0.080684945, 0.44264203, 0.34035525, 0.071974285, -0.09354271, 0.045810618, 0.03615794, -0.23397596, -0.052015793, 0.046337537, -0.14722544, 0.16304798, 0.122426964) * g_17;
|
|
result += mat4(0.1585944, 0.16835997, -0.39288864, -0.11356811, -0.368774, -0.01703612, -0.29590556, 0.0009732469, 0.05849885, 0.19281316, -0.18295161, 0.052255064, 0.16215171, 0.15769695, -0.07581377, 0.29655725) * g_18;
|
|
result += mat4(-0.2632724, -0.043094896, 0.23100272, -0.15726788, 0.31514347, -0.016838718, 0.07559306, -0.09395952, 0.2679746, -0.0211063, -0.042562332, 0.12023959, -0.22845441, -0.04967498, -0.1734489, -0.021029461) * g_19;
|
|
result += mat4(-0.12129031, -0.24458979, 0.05676389, 0.44583562, -0.38308915, -0.08873493, 0.09653457, -0.017415477, 0.16643335, 0.049770217, -0.026928242, 0.032578394, 0.10163162, -0.06586171, -0.03279269, 0.0011147729) * g_20;
|
|
result += mat4(-0.021562686, 0.13768315, 0.014967394, 0.12019759, 0.21548302, -0.053921327, 0.21206903, -0.09338285, 0.26822838, -0.16232637, -0.032934565, -0.25873, -0.033419203, -0.16388978, -0.3022585, 0.19349702) * g_21;
|
|
result += vec4(-0.029419709, -0.051388465, 0.032251272, 0.006132939);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x88
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_9_tf
|
|
//!BIND conv2d_9_tf1
|
|
//!BIND conv2d_9_tf2
|
|
//!BIND conv2d_9_tf3
|
|
//!BIND conv2d_9_tf4
|
|
//!BIND conv2d_9_tf5
|
|
//!BIND conv2d_11_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!SAVE conv2d_12_tf2
|
|
//!WIDTH conv2d_9_tf.w
|
|
//!HEIGHT conv2d_9_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_9_tf_tex(conv2d_9_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_9_tf1_tex(conv2d_9_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_9_tf2_tex(conv2d_9_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_9_tf3_tex(conv2d_9_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_9_tf4_tex(conv2d_9_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_9_tf5_tex(conv2d_9_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_9_tf_tex(conv2d_9_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_9_tf1_tex(conv2d_9_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_9_tf2_tex(conv2d_9_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_9_tf3_tex(conv2d_9_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_9_tf4_tex(conv2d_9_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_9_tf5_tex(conv2d_9_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.08458906, -0.045548566, -0.10978095, -0.047000825, -0.009786269, -0.011293472, 0.105108716, 0.2910591, -0.013156543, -0.27344525, -0.023291195, 0.07908779, -0.027045839, 0.071613476, -0.3137018, 0.13338767) * g_0;
|
|
result += mat4(-0.28876805, 0.22697273, -0.20825712, -0.16558835, 0.07140026, -0.111653306, -0.18168612, 0.08566776, 0.017613843, 0.1612815, 0.30276966, -0.20298769, 0.09009318, -0.034424078, 0.06065636, 0.16040413) * g_1;
|
|
result += mat4(0.05867395, -0.06784011, 0.124088526, -0.10969516, -0.11331259, -0.002973524, 0.11179402, 0.0051524965, -0.08812763, 0.13521312, 0.21501167, 0.07731858, 0.012728372, -0.10567223, 0.22674152, -0.27934498) * g_2;
|
|
result += mat4(-0.02090283, -0.022435555, -0.032363184, 0.1468986, 0.02465703, -0.1274767, -0.13416417, 0.09719175, 0.028444616, 0.43590242, -0.0026427982, -0.14670907, 0.06547671, -0.0364002, -0.3601176, -0.12617487) * g_3;
|
|
result += mat4(-0.001833205, -0.25144672, 0.2733562, 0.1314548, 0.2404573, -0.08306562, -0.051376957, -0.22175321, 0.059513494, 0.08910989, 0.13955326, 0.17420472, -0.12255514, 0.10941854, 0.33097896, 0.42308313) * g_4;
|
|
result += mat4(0.28040674, -0.08416738, -0.096258685, 0.028955044, -0.080570556, -0.05523723, -0.114000015, -0.23623861, 0.2672264, -0.050743762, -0.047196355, -0.20179898, 0.23441824, 0.2783142, 0.05851139, 0.13421243) * g_5;
|
|
result += mat4(0.035536747, -0.0678093, 0.31716034, -0.0426406, 0.21573278, -0.27805597, -0.1303578, -0.0040549343, 0.36113667, 0.23618573, 0.08076673, -0.09356886, 0.16183415, -0.07026038, -0.042547043, -0.09353161) * g_6;
|
|
result += mat4(0.17357092, 0.15503445, 0.09806117, 0.029178388, -0.104631364, -0.041340955, -0.0138095915, -0.18791881, -0.012838156, -0.07531211, -0.047425177, 0.032766186, -0.17878921, 0.044547506, 0.020943025, -0.14078479) * g_7;
|
|
result += mat4(-0.20356365, 0.30711046, -0.09476413, 0.039315, -0.09745359, 0.06334827, -0.040607564, -0.18709438, 0.041945547, -0.007845949, 0.046563085, 0.1600018, 0.051986653, -0.15268685, 0.05963624, 0.32689095) * g_8;
|
|
result += mat4(0.15796256, 0.119560085, -0.097539894, -0.2437361, -0.22178903, 0.12989672, -0.03343675, -0.10420719, 0.123599604, 0.07092632, -0.10071645, 0.10339369, 0.19539836, 0.06069522, -0.016500194, 0.119013496) * g_9;
|
|
result += mat4(0.04409632, -0.24597782, 0.17819872, 0.013527225, 0.095, 0.10927752, -0.057812016, -0.021960432, -0.090907395, -0.11064963, 0.24494053, -0.21103893, 0.103177205, 0.030693118, -0.17225249, 0.07037569) * g_10;
|
|
result += mat4(0.118446834, -0.24679066, -0.14558293, 0.043784406, 0.3350531, -0.18761784, -0.102111734, 0.25430822, -0.0646614, -0.0583482, -0.08839935, 0.3168981, 0.0494778, -0.20223978, -0.2115357, -0.22018467) * g_11;
|
|
result += mat4(-0.2534852, 0.32339612, 0.07270645, -0.011030359, 0.08920039, 0.017263435, -0.01874008, 0.07719922, -0.020826634, -0.14347431, 0.27981552, 0.03904678, -0.42448956, -0.064080186, 0.09288264, -0.027479073) * g_12;
|
|
result += mat4(0.039590076, 0.07196033, -0.31280693, 0.24355434, -0.17980134, 0.15838742, 0.25616613, -0.057677414, -0.10442752, -0.020222804, 0.11435109, 0.20502312, 0.26433223, -0.00088657736, 0.46070856, 0.07778242) * g_13;
|
|
result += mat4(-0.11134918, 0.042227045, -0.2372263, 0.0036231377, 0.038029823, -0.059270848, -0.17764676, 0.029884227, 0.105741605, -0.09559035, -0.15077686, 0.050598737, 0.09693952, 0.041702244, 0.18962328, 0.088337086) * g_14;
|
|
result += mat4(-0.11884088, 0.028897036, 0.16024508, -0.105453186, 0.074528895, 0.0020912525, 0.10682421, 0.0020874685, -0.116808906, -0.19607912, 0.027745381, 0.08307784, 0.01938885, 0.086835325, 0.054351103, -0.034016903) * g_15;
|
|
result += mat4(0.18121108, -0.06029793, 0.21373494, -0.007983294, -0.1457712, -0.056918383, 0.19265617, -0.04419998, -0.23829523, -0.04557198, -0.13232914, 0.15803981, 0.22176561, -0.115885, -0.0022589006, -0.04921306) * g_16;
|
|
result += mat4(-0.033309873, -0.013707254, -0.14320348, -0.1340651, -0.1276264, -0.20742168, -0.15771109, -0.04302339, 0.2474691, -0.0071554068, 0.19327043, 0.0034425415, -0.12281466, 0.08008345, -0.16869386, 0.11770986) * g_17;
|
|
result += mat4(0.022218548, 0.12861203, -0.11477767, 0.033912715, -0.083030604, 0.025131695, 0.12323128, -0.15532357, -0.03170147, 0.1692707, -0.28667265, -0.27277988, 0.07428763, -0.10514385, 0.120484896, -0.24011889) * g_18;
|
|
result += mat4(-0.07960741, -0.21583335, -0.06945787, -0.043556266, -0.24026866, 0.081503086, -0.035037458, -0.066688865, 0.17150764, -0.020859774, -0.09971474, 0.19070682, 0.11626562, 0.26741263, 0.21771777, 0.08071578) * g_19;
|
|
result += mat4(-0.20892513, -0.11934624, -0.27238977, -0.25402215, -0.1657022, -0.025967792, -0.18414563, -0.10561174, -0.24274185, 0.04068036, -0.12646407, 0.14470865, -0.14468817, 0.0036746184, 0.18668495, -0.010208388) * g_20;
|
|
result += mat4(0.27423638, -0.1557262, 0.23233625, 0.29515898, 0.016182564, 0.33365154, 0.00833455, -0.008295928, 0.2103007, 0.38919896, 0.17985278, 0.20100696, 0.41522792, -0.20303713, -0.017147776, -0.0649312) * g_21;
|
|
result += vec4(0.007557919, -0.015767513, -0.037968982, -0.034609392);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x88
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_9_tf
|
|
//!BIND conv2d_9_tf1
|
|
//!BIND conv2d_9_tf2
|
|
//!BIND conv2d_9_tf3
|
|
//!BIND conv2d_9_tf4
|
|
//!BIND conv2d_9_tf5
|
|
//!BIND conv2d_11_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!SAVE conv2d_12_tf3
|
|
//!WIDTH conv2d_9_tf.w
|
|
//!HEIGHT conv2d_9_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_9_tf_tex(conv2d_9_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_9_tf1_tex(conv2d_9_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_9_tf2_tex(conv2d_9_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_9_tf3_tex(conv2d_9_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_9_tf4_tex(conv2d_9_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_9_tf5_tex(conv2d_9_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_9_tf_tex(conv2d_9_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_9_tf1_tex(conv2d_9_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_9_tf2_tex(conv2d_9_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_9_tf3_tex(conv2d_9_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_9_tf4_tex(conv2d_9_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_9_tf5_tex(conv2d_9_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.019602967, -0.05145609, 0.04244019, 0.25405738, -0.33712572, -0.17893799, -0.066478856, 0.15569499, -0.27161816, 0.12593569, -0.05901425, -0.13174452, -0.11021793, 0.03920678, 0.060773216, -0.021032797) * g_0;
|
|
result += mat4(-0.12685195, 0.024931995, -0.22060166, -0.23765254, -0.15206909, 0.052627444, -0.054144315, 0.1210148, 0.1602431, 0.026197273, 0.110542305, -0.073509805, 0.047236316, 0.044307224, 0.014555091, 0.10564006) * g_1;
|
|
result += mat4(-0.09860682, 0.019021804, 0.1671445, 0.042727083, -0.16453904, 0.101818964, 0.03915569, 0.37744778, -0.009018904, -0.009364516, -0.121752, -0.1430464, -0.11879523, 0.15660012, 0.092872, 0.008389549) * g_2;
|
|
result += mat4(0.09203148, -0.19622965, 0.10806049, 0.032417808, -0.06358329, 0.053477164, -0.0033462588, -0.1622076, -0.22893262, -0.15781075, -0.1675613, 0.2557495, -0.108154416, 0.00092219823, -0.18630715, 0.17942573) * g_3;
|
|
result += mat4(-0.07604931, 0.24687444, 0.10485161, -0.0032204043, 0.2355443, 0.07362102, -0.20874, 0.04919508, 0.019878346, -0.035358075, 0.19044363, 0.10661991, 0.12998112, 0.10245926, -0.02966564, -0.21623161) * g_4;
|
|
result += mat4(-0.13730675, 0.011630983, 0.05381945, -0.06594779, -0.20880567, -0.16293554, 0.12331983, -0.07883885, -0.12325015, 0.03357514, -0.21320228, 0.09743771, -0.29196948, 0.07080584, 0.18549103, -0.10713538) * g_5;
|
|
result += mat4(-0.028444685, 0.13853551, 0.19415158, -0.02389972, -0.04180172, 0.014012021, 0.09578899, -0.092844814, 0.27863276, -0.073668964, 0.14896569, 0.178071, -0.24466358, -0.11134794, 0.13081808, 0.14496848) * g_6;
|
|
result += mat4(-0.1556054, -0.13415574, -0.09857606, 0.30523264, 0.08764274, -0.037559148, -0.16858782, -0.11990224, 0.17670709, 0.10452295, 0.09820371, 0.085555285, 0.14616655, -0.064138934, -0.06468503, 0.18437701) * g_7;
|
|
result += mat4(-0.024759063, -0.007020983, -0.25910473, -0.16003223, 0.0006832176, -0.21500164, 0.18051593, -0.21023016, 0.21901055, -0.012773149, 0.11869215, 0.043327942, -0.08801425, -0.09576547, -0.022282854, 0.3436183) * g_8;
|
|
result += mat4(-0.12599704, 0.1573739, -0.18289468, 0.031533517, 0.052889764, -0.2899998, -0.06888571, 0.024767991, 0.1449007, 0.13209689, 0.28273448, -0.013996074, -0.031406544, 0.12544149, -0.047050513, 0.10494411) * g_9;
|
|
result += mat4(-0.11651752, 0.28501326, 0.060793746, -0.1883375, 0.26459783, -0.06930145, 0.28831685, -0.13368587, -0.10180277, -0.068450116, -0.09070248, 0.16990706, -0.035528105, 0.08474028, -0.031924196, 0.0828799) * g_10;
|
|
result += mat4(-0.17398041, -0.13055407, 0.0637754, -0.20454763, 0.081867374, 0.22947273, -0.06115945, 0.14527729, 0.3462909, 0.171278, -0.18330246, 0.045597162, -0.041992005, -0.0065232897, -0.09864108, 0.00873217) * g_11;
|
|
result += mat4(-0.012977971, 0.16809268, -0.16662882, -0.37359142, -0.028308313, 0.11063376, -0.12019489, 0.13814619, 0.063988656, 0.22554557, -0.08410297, -0.0913463, -0.029542763, 0.15869254, -0.0021580574, 0.17143992) * g_12;
|
|
result += mat4(0.08960112, -0.34852883, 0.3086523, 0.36042222, 0.05802867, -0.035582196, -0.01600274, 0.008117766, -0.008915955, 0.10546812, 0.038216136, -0.14320342, 0.18713285, -0.08814888, -0.0147240935, -0.0076010344) * g_13;
|
|
result += mat4(-0.50983155, -0.040480338, -0.015697489, -0.020704566, 0.14625196, -0.07928827, 0.10175586, -0.006522381, 0.20132822, -0.017236393, 0.42775294, 0.29241857, -0.15762952, 0.1366608, 0.041226275, -0.021501385) * g_14;
|
|
result += mat4(0.037395936, 0.15184547, -0.053403616, 0.06780214, -0.08231112, -0.30428946, -0.1273035, 0.21938033, -0.15715978, -0.046725, 0.25453484, 0.07395502, 0.07715246, 0.03596223, -0.093663685, 0.096829675) * g_15;
|
|
result += mat4(-0.09069946, 0.27910122, -0.057103194, 0.1052261, -0.053569946, -0.018461138, -0.039887205, -0.20134343, 0.24427019, 0.07117475, 0.21163048, -0.14486235, 0.0018477996, -0.219897, -0.09160915, -0.028700631) * g_16;
|
|
result += mat4(0.03186668, -0.042110894, -0.06872467, 0.015007692, -0.12133147, -0.20203532, -0.14033763, -0.09270293, -0.13041773, -0.066198066, -0.20825256, -0.17211214, 0.15924487, 0.04158315, 0.1586535, 0.08482204) * g_17;
|
|
result += mat4(-0.25748026, -0.19240272, -0.09985262, 0.010599122, -0.28925768, 0.09412584, 0.29553664, -0.035109073, -0.09598807, -0.16096024, -0.0535374, -0.35389316, 0.235558, -0.015157362, 0.07283362, 0.095931105) * g_18;
|
|
result += mat4(0.13491848, 0.017084226, 0.18945768, 0.117540136, 0.2557805, -0.029065477, 0.1451515, -0.08317802, -0.057725884, 0.22283138, 0.13996813, 0.19705944, -0.2921995, -0.080231175, -0.27066326, -0.0482235) * g_19;
|
|
result += mat4(-0.051322196, -0.40912375, -0.14924087, 0.033685323, 0.041344143, 0.055450242, 0.09305712, -0.034863934, -0.102900185, -0.11097147, -0.065564185, 0.11914823, 0.2890554, -0.09894942, 0.053307623, -0.05579918) * g_20;
|
|
result += mat4(-0.213933, 0.090429194, 0.084889874, -0.21953723, -0.27030995, -0.14362201, -0.19741529, -0.0833757, 0.23496687, 0.3228457, 0.29274747, 0.117888294, -0.048562698, 0.1290755, 0.09031278, -0.06844491) * g_21;
|
|
result += vec4(0.12783583, 0.053930607, -0.055463474, -0.14634338);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x88
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_9_tf
|
|
//!BIND conv2d_9_tf1
|
|
//!BIND conv2d_9_tf2
|
|
//!BIND conv2d_9_tf3
|
|
//!BIND conv2d_9_tf4
|
|
//!BIND conv2d_9_tf5
|
|
//!BIND conv2d_11_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!SAVE conv2d_12_tf4
|
|
//!WIDTH conv2d_9_tf.w
|
|
//!HEIGHT conv2d_9_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_9_tf_tex(conv2d_9_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_9_tf1_tex(conv2d_9_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_9_tf2_tex(conv2d_9_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_9_tf3_tex(conv2d_9_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_9_tf4_tex(conv2d_9_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_9_tf5_tex(conv2d_9_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_9_tf_tex(conv2d_9_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_9_tf1_tex(conv2d_9_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_9_tf2_tex(conv2d_9_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_9_tf3_tex(conv2d_9_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_9_tf4_tex(conv2d_9_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_9_tf5_tex(conv2d_9_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.085369416, -0.15684304, -0.13306437, -0.090675324, 0.07001203, 0.042601265, -0.045776606, 0.038092162, 0.3352239, 0.1771388, -0.18876538, -0.006706726, 0.16373621, 0.25545865, -0.16266474, 0.24038056) * g_0;
|
|
result += mat4(-0.14294663, -0.26456648, 0.25277606, 0.060462173, -0.078849405, -0.09209792, -0.1693239, -0.18630522, -0.014867209, 0.103692755, 0.14898701, 0.046629176, 0.024372628, 0.16875252, -0.15838362, -0.040581323) * g_1;
|
|
result += mat4(-0.14351358, 0.18334064, -0.10826993, 0.18453784, 0.11304891, -0.03537591, -0.0066316077, -0.0013244748, -0.078686886, 0.12878294, -0.032346953, 0.09220158, 0.17955816, 0.18110012, -0.022541158, -0.056274466) * g_2;
|
|
result += mat4(-0.051650286, -0.098697364, 0.08296607, -0.0024960893, -0.093507074, -0.066408254, 0.17999014, 0.14308663, -0.0108735245, -0.13364671, -0.02929436, -0.23579551, 0.046282418, -0.131284, 0.052697252, -0.0419363) * g_3;
|
|
result += mat4(0.1754224, -0.11919244, -0.1885955, -0.19994752, -0.14402874, -0.17087972, -0.09000405, 0.0018777894, -0.05090923, -0.07121361, 0.10294247, 0.026922463, 0.014392331, -0.03248051, 0.009739078, 0.31159627) * g_4;
|
|
result += mat4(0.13837712, 0.15520355, -0.14125966, 0.09480141, -0.067623354, -0.02482682, 0.15788238, 0.3214408, -0.2643569, -0.040410206, -0.051892046, -0.057043463, 0.18232885, 0.19971256, -0.0956208, 0.23722707) * g_5;
|
|
result += mat4(0.016028238, -0.08332774, -0.11755386, 0.21787633, -0.22682859, -0.019670114, 0.04961192, 0.23987772, 0.15335025, 0.13612296, -0.01693323, 0.011952209, -0.3059259, 0.017340606, -0.07829871, 0.089332424) * g_6;
|
|
result += mat4(-0.37531942, -0.045622103, -0.20052142, 0.025810266, 0.09413211, 0.056469247, 0.0033650927, 0.20752242, 0.077076204, -0.10665101, 0.12946871, 0.11152074, -0.0077144187, 0.050461795, 0.09886446, 0.08139971) * g_7;
|
|
result += mat4(-0.03805296, -0.3470507, 0.28351876, 0.121408775, 0.119826116, 0.50992435, -0.06502164, 0.15930907, 0.10803227, 0.16217098, 0.032394126, 0.08210439, 0.039388526, 0.123406455, 0.08190563, 0.29731047) * g_8;
|
|
result += mat4(0.036232114, 0.098707214, 0.08512323, 0.28130695, -0.34401244, -0.16329831, 0.04697471, -0.32552102, 0.16708755, -0.0027450684, 0.22314417, -0.034509923, -0.23747928, 0.13334718, -0.20790295, -0.13229762) * g_9;
|
|
result += mat4(-0.09985405, 0.1217619, -0.15892437, 0.0896462, -0.19392657, -0.23446624, -0.14154576, -0.041264284, 0.0042809956, 0.06508634, -0.01017789, 0.015765704, 0.059713606, -0.08648103, -0.14761575, -0.078500696) * g_10;
|
|
result += mat4(-0.23650993, 0.6093473, -0.21706295, -0.07720968, 0.20827857, 0.44513646, -0.107045025, -0.033600613, 0.014263266, -0.10306615, -0.026285734, 0.014794844, -0.11126778, -0.28632736, 0.18140377, -0.026450366) * g_11;
|
|
result += mat4(-0.11553207, -0.22439374, 0.31865847, -0.18898615, -0.13782051, -0.16033193, -0.021633865, -0.27643433, 0.22693352, -0.29244474, -0.015831951, 0.0687026, 0.102418706, -0.33087376, 0.2023287, -0.105282284) * g_12;
|
|
result += mat4(-0.034931872, 0.09946529, -0.13103552, -0.062213715, -0.15901782, -0.38695586, 0.22993153, -0.028414402, 0.2567039, 0.3477113, 0.021467375, 0.18368858, 0.31393996, 0.0592541, 0.20478922, 0.2784516) * g_13;
|
|
result += mat4(0.01799271, 0.19488642, 0.11242015, -0.22955132, -0.23888321, -0.22094306, 0.09417609, 0.11446179, -0.0079179555, -0.018179458, -0.042231873, -0.058901574, 0.1643617, 0.09013122, -0.11941602, 0.07102288) * g_14;
|
|
result += mat4(-0.11062226, -0.12371038, -0.20077015, -0.00089137297, 0.23280777, 0.20893154, 0.058997855, 0.05910376, 0.10964983, 0.08948893, -0.10008929, -0.09328607, -0.16772552, -0.0853413, -0.14602263, -0.10898542) * g_15;
|
|
result += mat4(0.195481, -0.27274716, 0.019802367, 0.090690926, 0.24005474, 0.10449332, 0.038418755, 0.08757919, -0.1915846, 0.13781285, -0.08271653, 0.048500787, -0.35495785, 0.2332735, -0.089916445, -0.045998074) * g_16;
|
|
result += mat4(-0.18144973, 0.035474263, 0.07927232, -0.02095586, -0.04264259, -0.0010760617, -0.09657631, -0.009819116, 0.075253725, -0.043196574, -0.107321955, 0.13470802, -0.026763562, -0.23883738, -0.22906674, 0.010300531) * g_17;
|
|
result += mat4(-0.04512939, 0.2671829, -0.33687657, 0.087930106, 0.29693905, 0.11120111, -0.10967137, -0.072849795, -0.04814717, 0.17015213, -0.12041813, 0.034130402, 0.08712948, -0.018699426, -0.103492275, 0.051607467) * g_18;
|
|
result += mat4(0.066338874, -0.11700618, 0.20888169, -0.00036208666, -0.0027271865, -0.0078573795, -0.18614855, 0.039184168, 0.15719953, -0.011559825, -0.042109553, 0.01807291, 0.11502362, -0.03629767, 0.021261917, -0.11922495) * g_19;
|
|
result += mat4(-0.5144418, 0.059783865, -0.25726122, -0.46498007, 0.042682044, 0.10820562, -0.057476927, 0.01971749, -0.10208486, -0.17488515, 0.20830333, 0.09561035, -0.066455886, 0.0572077, -0.062440347, 0.047606003) * g_20;
|
|
result += mat4(0.4270871, 0.3251775, 0.33070606, 0.21848439, 0.032633763, -0.4511691, 0.21410948, -0.12868443, 0.030835679, 0.054710764, 0.1886484, -0.2683438, -0.0776137, 0.24714139, 0.17632207, 0.097902626) * g_21;
|
|
result += vec4(-0.12784827, 0.05878478, -0.019919237, 0.06345429);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x88
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_9_tf
|
|
//!BIND conv2d_9_tf1
|
|
//!BIND conv2d_9_tf2
|
|
//!BIND conv2d_9_tf3
|
|
//!BIND conv2d_9_tf4
|
|
//!BIND conv2d_9_tf5
|
|
//!BIND conv2d_11_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!SAVE conv2d_12_tf5
|
|
//!WIDTH conv2d_9_tf.w
|
|
//!HEIGHT conv2d_9_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_9_tf_tex(conv2d_9_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_9_tf1_tex(conv2d_9_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_9_tf2_tex(conv2d_9_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_9_tf3_tex(conv2d_9_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_9_tf4_tex(conv2d_9_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_9_tf5_tex(conv2d_9_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_9_tf_tex(conv2d_9_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_9_tf1_tex(conv2d_9_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_9_tf2_tex(conv2d_9_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_9_tf3_tex(conv2d_9_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_9_tf4_tex(conv2d_9_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_9_tf5_tex(conv2d_9_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.10146893, -0.06355417, -0.0066939867, -0.112247504, 0.15743892, 0.2661364, -0.24241701, -0.17822737, 0.11587934, -0.029756429, 0.0928847, -0.10046272, 0.14444917, 0.12547572, -0.2114753, 0.023556458) * g_0;
|
|
result += mat4(-0.047596626, 0.09543128, 0.23701866, -0.08471554, 0.51885915, -0.1704686, -0.04001014, -0.054579906, -0.07877735, -0.09762826, -0.146179, 0.0787038, 0.22635859, -0.31619364, 0.073862836, 0.25550374) * g_1;
|
|
result += mat4(0.27489266, 0.03828787, 0.1788482, -0.07628321, -0.007864044, -0.25208792, 0.37145224, -0.05436547, 0.17768216, 0.06377889, -0.029021077, 0.060763232, -0.020521913, 0.15733998, -0.10828051, 0.13728242) * g_2;
|
|
result += mat4(-0.21597046, 0.021131428, 0.114165306, -0.017311715, -0.12344303, 0.048893873, -0.04941004, 0.06477217, 0.1573259, -0.07459121, 0.09720801, 0.12087764, -0.1889173, 0.15563762, 0.09565472, -0.16171652) * g_3;
|
|
result += mat4(0.25529733, -0.030553222, 0.19627945, 0.21340033, -0.0357832, -0.14596821, -0.14145969, -0.17806748, -0.053110838, 0.20665482, 0.08333174, -0.02258432, 0.1662624, -0.14893246, 0.02501433, 0.21777983) * g_4;
|
|
result += mat4(-0.09700643, 0.05642473, -0.29080915, -0.07261638, 0.08252391, 0.22238337, 0.008129421, -0.18302573, -0.4751298, 0.03521261, 0.16102098, 0.22523795, 0.106175326, 0.097425245, -0.056549445, -0.058554217) * g_5;
|
|
result += mat4(0.2115773, 0.060346328, 0.07946409, -0.17166963, 0.0878238, 0.032195155, 0.053393956, 0.2399919, -0.03793802, -0.1799568, -0.14780137, -0.019833531, -0.060654577, 0.086268514, 0.2597936, 0.24647377) * g_6;
|
|
result += mat4(-0.15642072, -0.14679217, -0.100522175, 0.11584608, 0.09088178, 0.13054077, 0.04432568, -0.118127726, -0.041004654, -0.06222515, -0.09301348, 0.046497803, 0.010794347, -0.015452295, -0.052613236, 0.06925519) * g_7;
|
|
result += mat4(-0.19688836, -0.22052658, -0.16386695, 0.08732065, 0.111491896, 0.19614422, 0.0256523, 0.06947972, 0.03396227, -0.13961029, -0.008658522, 0.24620731, 0.13377586, -0.07979868, 0.36551273, 0.39424098) * g_8;
|
|
result += mat4(-0.30495998, 0.2224925, 0.027218822, 0.04317854, -0.06996757, 0.048042685, 0.06731089, -0.23949164, 0.20741203, 0.08487502, 0.2277233, -0.08041561, 0.16487156, -0.25665572, 0.07448175, -0.19871257) * g_9;
|
|
result += mat4(0.161757, -0.18321225, 0.006443096, -0.03942912, 0.30194885, 0.17840338, 0.089457296, -0.111660995, -0.25981718, -0.18808901, -0.008459478, 0.12424914, 0.38462314, 0.031231843, 0.055111516, -0.28973204) * g_10;
|
|
result += mat4(0.104183905, -0.12262509, 0.15137221, -0.23025867, 0.040099107, -0.05383875, -0.04934622, 0.1180123, 0.10198143, 0.27173567, -0.15230067, -0.099421, -0.08984255, 0.11140736, -0.045036234, 0.18769833) * g_11;
|
|
result += mat4(-0.07531492, -0.024759036, -0.03848608, -0.036268033, -0.03411223, 0.094500594, 0.00280404, 0.062361084, 0.03790362, 0.037668772, -0.0514829, 0.09995965, 0.283923, -0.5238069, -0.06496828, -0.0055070156) * g_12;
|
|
result += mat4(0.28150153, 0.14254282, -0.05911421, -0.12254332, -0.022384, -0.14173482, 0.014685391, -0.18164866, -0.22542116, -0.19810574, -0.09996172, 0.10686331, -0.08414146, -0.025034428, 0.11224387, -0.0063977554) * g_13;
|
|
result += mat4(-0.17710046, -0.17579278, 0.00020095073, -0.1109482, -0.020255143, 0.08271713, -0.10690405, 0.08052975, -0.062588565, 0.089410976, -0.13496846, 0.03015718, -0.22929737, 0.15872306, 0.2993516, 0.11859886) * g_14;
|
|
result += mat4(-0.035919335, 0.19236436, -0.25442082, 0.021053115, -0.10868948, -0.015284599, 0.33936346, -0.008365188, 0.043490786, 0.13828352, 0.20429905, 0.28155825, 0.127419, 0.057945773, -0.06780165, -0.017564125) * g_15;
|
|
result += mat4(-0.13482623, -0.065182775, 0.08911843, 0.2783017, 0.11952674, 0.06991993, 0.299208, -0.10903764, 0.18224056, 0.03948293, -0.21087712, -0.11832146, 0.10328364, -0.07665122, 0.18435805, -0.11931017) * g_16;
|
|
result += mat4(0.034891166, -0.13113704, -0.17151785, -0.27690044, 0.11699234, -0.0034974716, -0.0656246, 0.07852395, 0.15545385, 0.0013671276, -0.046343226, 0.0034052336, 0.2453219, 0.13581915, -0.13983195, 0.007911855) * g_17;
|
|
result += mat4(-0.011330336, 0.24790573, -0.15979306, 0.19069764, -0.40002748, 0.011870201, 0.0031194224, -0.17847504, -0.0150662465, 0.13579376, 0.0030671223, -0.11590648, 0.18090703, -0.08737256, 0.39159694, -0.22220485) * g_18;
|
|
result += mat4(-0.11186643, 0.21464026, -0.09462943, -0.14211422, 0.36246783, -0.097312845, 0.21176222, -0.20439352, 0.08605301, -0.0007772716, -0.047504634, 0.035329465, 0.01759311, -0.042337477, -0.14740078, 0.28027928) * g_19;
|
|
result += mat4(0.124633305, 0.49622107, -0.1905822, -0.032103766, -0.09118705, -0.071040735, -0.17103319, 0.21466342, -0.06857113, 0.030909235, 0.08125023, 0.2334075, 0.06821963, -0.21760683, 0.25531697, 0.15648827) * g_20;
|
|
result += mat4(-0.12612516, 0.16043583, -0.049337797, 0.0980794, -0.17805529, 0.0054840203, 0.171222, -0.017960507, 0.33597863, -0.27860585, -0.08922912, -0.12972547, -0.16144331, -0.039900865, -0.263512, 0.089571014) * g_21;
|
|
result += vec4(-0.06092896, 0.0026034676, -0.0045185564, -0.045552935);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x48
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_12_tf
|
|
//!BIND conv2d_12_tf1
|
|
//!BIND conv2d_12_tf2
|
|
//!BIND conv2d_12_tf3
|
|
//!BIND conv2d_12_tf4
|
|
//!BIND conv2d_12_tf5
|
|
//!SAVE conv2d_14_tf
|
|
//!WIDTH conv2d_12_tf.w
|
|
//!HEIGHT conv2d_12_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv2d_12_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_12_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv2d_12_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max((conv2d_12_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv2d_12_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv2d_12_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv2d_12_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv2d_12_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_8(x_off, y_off) (max(-(conv2d_12_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_9(x_off, y_off) (max(-(conv2d_12_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_10(x_off, y_off) (max(-(conv2d_12_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_11(x_off, y_off) (max(-(conv2d_12_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.004349436, 0.13630886, -0.0971672, 0.048995648, 0.023026302, -0.039569058, 0.068076566, 0.052971028, -0.09237349, 0.067393705, -0.024513396, 0.11096945, 0.07890588, 0.16115357, -0.1847152, -0.24750534) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.06438265, 0.03276232, -0.09068353, 0.09009189, -0.080021314, 0.0944858, -0.07794861, 0.12147553, -0.02244629, -0.015694574, 0.080813, -0.018402418, 0.21864587, 0.17657925, -0.009601339, -0.09163427) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.01495372, -0.18007463, 0.10734926, 0.23174277, -0.091324404, 0.12528338, 0.0066621224, -0.09822727, 0.040536925, 0.111184075, 0.0004842303, -0.026244884, 0.18349673, -0.0007998258, -0.11728473, -0.06416492) * go_0(-1.0, 1.0);
|
|
result += mat4(0.09239883, 0.26176, 0.22532904, 0.05685314, -0.14764737, 0.19629478, -0.081950866, -0.115970545, 0.04077194, 0.005300293, -0.134278, 0.015497223, 0.027986968, 0.015958916, -0.14675306, -0.019109711) * go_0(0.0, -1.0);
|
|
result += mat4(0.17761871, 0.4609044, 0.026779782, 0.26045877, -0.06730196, -0.16571176, 0.11547946, 0.019862624, 0.006502043, -0.1532974, -0.090758145, 0.04422983, -0.58861977, 0.13028383, -0.17072764, -0.22565094) * go_0(0.0, 0.0);
|
|
result += mat4(-0.17580631, -0.3911594, 0.14832215, -0.072933584, 0.127465, 0.042466827, -0.1331118, 0.056677517, 0.106319845, 0.16945234, -0.031930547, -0.052168153, -0.15397666, -0.1170418, -0.19959368, -0.20563258) * go_0(0.0, 1.0);
|
|
result += mat4(-0.07739289, 0.018836888, 0.16391836, 0.106844515, 0.025838032, -0.017699381, -0.08634242, -0.072000824, 0.047676526, 0.033405174, 0.010657314, 0.04917425, 0.06638388, 0.036401518, -0.0616299, -0.05214521) * go_0(1.0, -1.0);
|
|
result += mat4(0.024639312, -0.0013965049, 0.06387838, -0.02268061, 0.09309021, -0.069622114, 0.089359015, 0.12940544, -0.027844314, -0.06509059, -0.013798035, -0.019859722, 0.07527786, -0.026096696, -0.07034874, 0.017270971) * go_0(1.0, 0.0);
|
|
result += mat4(0.20858815, -0.16890472, -0.031625595, 0.033028077, 0.072790526, 0.18162355, -0.17353328, -0.03207684, -0.09310949, 0.017406156, 0.1282203, -0.052783486, -0.11338968, 0.0677578, 0.068863854, -0.20361136) * go_0(1.0, 1.0);
|
|
result += mat4(-0.041317016, 0.03247534, 0.06200033, -0.14489956, 0.12785183, 0.07159107, 0.012313127, 0.002630995, 0.22658965, 0.043375343, 0.11841339, 0.22717218, 0.07156734, 0.18281838, -0.020048752, 0.04785865) * go_1(-1.0, -1.0);
|
|
result += mat4(0.047082547, 0.1529325, 0.11509914, -0.033134896, -0.0049103014, 0.017839605, -0.008091813, 0.04140947, -0.14880367, 0.20439196, 0.17187491, 0.021044731, -0.001926388, -0.14152211, -0.0587003, -0.07890274) * go_1(-1.0, 0.0);
|
|
result += mat4(0.026869364, -0.09123975, 0.13258849, -0.03649351, -0.029062876, -0.090445675, -0.16224387, -0.058266606, -0.08752301, -0.06947656, 0.10508353, -0.07359757, 0.013967536, 0.12184862, 0.05111278, -0.11674456) * go_1(-1.0, 1.0);
|
|
result += mat4(-0.057195935, -0.056843165, -0.07615914, -0.11201728, 0.104859784, -0.07532912, -0.17542382, 0.009371882, 0.18781498, 0.12871909, 0.005714303, 0.07312082, -0.051393475, 0.123752356, 0.016984658, 0.09753753) * go_1(0.0, -1.0);
|
|
result += mat4(0.049554065, -0.005824781, 0.03491197, 0.050243527, 0.035413153, 0.06531434, -0.025357272, -0.06480711, 0.0920658, 0.120195575, -0.24142283, 0.06350993, -0.061250027, -0.07128554, -0.17981072, -0.2473607) * go_1(0.0, 0.0);
|
|
result += mat4(-0.016607853, 0.1309011, -0.08538273, 0.010532195, 0.055277504, -0.045768805, 0.006048609, -0.10704634, 0.10049099, -0.01950143, -0.04101718, 0.024410551, 0.06883872, 0.20909916, 0.11467779, 0.12572771) * go_1(0.0, 1.0);
|
|
result += mat4(0.028375478, -0.0013597496, 0.04202015, -0.01492913, -0.027526926, -0.04698641, -0.21104787, -0.19077387, 0.1593075, -0.13692486, -0.13738127, 0.10472799, -0.06821362, -0.013837978, 0.12394214, -0.14835674) * go_1(1.0, -1.0);
|
|
result += mat4(-0.2764926, 0.00037893496, 0.067132294, -0.0011471875, 0.054764304, -0.115992464, 0.14218727, 0.03301949, 0.30239588, 0.20239085, -0.016524972, 0.39796564, 0.16488414, -0.18643552, 0.07657535, 0.12796035) * go_1(1.0, 0.0);
|
|
result += mat4(0.03292478, 0.018088378, -0.0047314544, -0.0942764, 0.20013368, -0.042666394, 0.107990764, -0.04759925, -0.09036299, 0.02896287, -0.043856964, 0.050451633, 0.025120081, 0.11044985, 0.14672092, -0.0019441668) * go_1(1.0, 1.0);
|
|
result += mat4(-1.7994573e-05, -0.12576, 0.0050358945, -0.06858176, 0.024048325, 0.082893774, -0.08247018, -0.024433604, 0.020361714, -0.12750039, 0.056899726, 0.12528084, -0.026321534, -0.15653296, -0.0025562202, -0.117765464) * go_2(-1.0, -1.0);
|
|
result += mat4(0.12503651, 0.068337925, -0.033611838, -0.030133707, -0.0195529, 0.0641469, 0.16414385, 0.1402887, 0.005432807, 0.09584112, -0.069221325, 0.05826886, -0.062293578, 0.1359814, -0.08677194, -0.112642445) * go_2(-1.0, 0.0);
|
|
result += mat4(0.076737724, 0.04054001, 0.13805287, 0.025651459, -0.048715483, -0.14808512, 0.029204313, 0.23830198, 0.043977976, -0.20387268, -0.09297148, -0.0052288985, 0.119533904, -0.13873823, 0.21179926, 0.0074633798) * go_2(-1.0, 1.0);
|
|
result += mat4(-0.047114216, 0.07865834, 0.13700049, 0.013087235, -0.13068296, -0.2915652, -0.05307391, -0.122398384, -0.011456016, 0.10176556, 0.005239084, 0.14646941, 0.1222608, -0.036448624, 0.12708518, 0.19488429) * go_2(0.0, -1.0);
|
|
result += mat4(-0.06569539, -0.14925788, -0.108752884, -0.03800244, 0.027864104, 0.14492571, 0.028624304, 0.030941105, 0.062223762, -0.04562544, -0.16191466, 0.047633838, 0.07819544, -0.029103909, 0.18797997, 0.15739097) * go_2(0.0, 0.0);
|
|
result += mat4(-0.08028184, -0.0019299309, 0.19395895, 0.074406736, 0.09395108, 0.014253163, 0.14119357, 0.0625434, -0.107364275, 0.08051348, -0.16450252, 0.07509987, 0.039519705, -0.12978974, 0.0018611677, 0.084226385) * go_2(0.0, 1.0);
|
|
result += mat4(0.01908049, 0.018377827, 0.1084423, 0.1042167, -0.14724809, 0.032470826, -0.023825897, 0.12140157, 0.20058173, 0.18852398, -0.018646076, 0.0030090201, -0.113370456, -0.18958052, 0.06353298, 0.03474997) * go_2(1.0, -1.0);
|
|
result += mat4(0.0541916, -0.0024718987, -0.11837526, 0.12462076, -0.12295159, -0.117419675, -0.19550472, -0.103674844, 0.12131624, 0.10824999, -0.2025623, 0.19440755, 0.12012352, -0.24212775, 0.1654879, 0.06825857) * go_2(1.0, 0.0);
|
|
result += mat4(-0.025793526, 0.052255828, -0.1578918, 0.09792257, 0.017080277, -0.015971176, 0.1533006, 0.23281395, -0.21927428, -0.13227654, -0.1252441, -0.007964906, 0.12551773, -0.024804931, 0.11494948, 0.09283413) * go_2(1.0, 1.0);
|
|
result += mat4(-0.0036518201, -0.07751861, 0.010538365, -0.15155843, 0.10629848, 0.014306658, -0.04939083, -0.03384487, 0.058266126, -0.004661259, -0.028613715, 0.053454474, -0.04582958, -0.115151264, -0.0068669906, -0.22702943) * go_3(-1.0, -1.0);
|
|
result += mat4(0.039176278, 0.011494633, 0.015706042, 0.075835295, -0.015517273, -0.014914582, -0.08363358, -0.12898697, -0.10866863, 0.20754579, 0.102477565, 0.037476905, -0.072777174, 0.22886744, -0.04767951, -0.04035673) * go_3(-1.0, 0.0);
|
|
result += mat4(0.06419821, -0.030695735, -0.15506352, 0.06295063, -0.07215214, 0.08323155, -0.08262735, -0.12231418, 0.075205564, 0.047350686, -0.09001999, 0.05199032, 0.055573188, 0.13256694, 0.029536445, 0.018242368) * go_3(-1.0, 1.0);
|
|
result += mat4(0.07162344, 0.40211213, -0.09749091, 0.11718244, 0.05371318, 0.1629951, 0.024023768, 0.059713352, -0.08090218, -0.2655481, 0.09996966, -0.030882658, -0.03895911, -0.046411898, -0.16690536, -0.07667844) * go_3(0.0, -1.0);
|
|
result += mat4(0.04966612, 0.09556927, 0.10110896, -0.09490906, 0.09499889, 0.10704381, 0.10541124, 0.056176364, -0.16835918, 0.05321478, -0.006551619, -0.16446579, 0.1319938, 0.07751895, 0.093109965, 0.067452855) * go_3(0.0, 0.0);
|
|
result += mat4(0.11643574, -0.050698593, 0.019734323, 0.28733438, 0.010801386, 0.16160545, -0.1909745, -0.19066635, -0.046848252, -0.2782778, -0.2288949, 0.061261218, 0.019757431, -0.19059609, -0.012141124, 0.0052271197) * go_3(0.0, 1.0);
|
|
result += mat4(0.054981094, 0.012395964, -0.06728283, -0.02209197, 0.07478041, 0.13791092, -0.08750484, -0.2030279, -0.10006762, -0.04639696, -0.105195396, -0.08758818, 0.052939918, 0.1112401, 0.0030733896, 0.055312406) * go_3(1.0, -1.0);
|
|
result += mat4(0.15698704, 0.0036365106, 0.12380404, -0.11107378, -0.014331061, 0.07033424, -0.0022356857, -0.12670168, -0.03733828, 0.07234127, 0.16723327, -0.07515861, -0.0045013875, -0.066591114, -0.021226835, 0.049541425) * go_3(1.0, 0.0);
|
|
result += mat4(0.0731916, 0.11341163, 0.023431147, -0.010583704, -0.012694039, 0.024219576, -0.21232608, -0.20807506, -0.010235114, -0.04309934, 0.035700176, 0.03843078, -0.028863966, -0.009591593, -0.0031941584, -0.20235287) * go_3(1.0, 1.0);
|
|
result += mat4(-0.03190466, -0.08758244, -0.06945306, -0.007161315, 0.016512264, 0.11133118, -0.05756395, 0.07726425, -0.0528862, 0.09652806, -0.060299616, 0.24618843, -0.102944456, -0.081363164, 0.086291164, -0.18228665) * go_4(-1.0, -1.0);
|
|
result += mat4(0.024533918, -0.024038268, -0.23588428, -0.06322061, -0.026354123, 0.053561248, -0.06604492, 0.0026893516, -0.115375444, 0.029626213, 0.060347445, 0.33259663, 0.0013549939, -0.14255665, 0.099064134, 0.109851025) * go_4(-1.0, 0.0);
|
|
result += mat4(-0.00096234377, -0.11622208, -0.090943396, -0.038205452, -0.13794866, 0.1020102, -0.17208543, -0.015197958, -0.07927716, -0.29773572, 0.013087006, -0.05451589, -0.09855722, 0.11516159, 0.23010112, -0.038115587) * go_4(-1.0, 1.0);
|
|
result += mat4(0.003703244, -0.08092577, -0.03437507, -0.030108482, 0.040932745, 0.144932, 0.09965903, 0.24175544, -0.020715227, 0.09383904, 0.14609617, 0.28962442, -0.03215652, -0.05014826, -0.09543612, -0.16512293) * go_4(0.0, -1.0);
|
|
result += mat4(-0.1338463, -0.04834589, 0.24409921, -0.0005155241, -0.09032246, -0.22520639, 0.19727935, -0.078189515, -0.069197565, -0.004616351, 0.41213343, 0.06873554, 0.04303666, -0.23138012, -0.01716713, 0.06984024) * go_4(0.0, 0.0);
|
|
result += mat4(-0.00503349, -0.23806292, 0.035638902, -0.10437578, -0.1152508, 0.076598465, 0.24876347, -0.17324387, -0.014940385, 0.06944068, 0.1505031, 0.035267122, -0.04602133, 0.0814317, 0.07536631, -0.085849725) * go_4(0.0, 1.0);
|
|
result += mat4(-0.07030559, 0.030874468, -0.001077254, -0.18143663, -0.03723178, 0.0926711, 0.012522207, -0.08783188, -0.02476989, 0.14467658, -0.015393455, -0.14186962, 0.05934932, 0.042091742, -0.011705797, 0.092124745) * go_4(1.0, -1.0);
|
|
result += mat4(0.024072237, -0.18759586, 0.103869535, -0.051343195, 0.34892958, -0.061599772, 0.11592873, 0.039111182, 0.36298528, 0.018168671, -0.029816257, 0.24967138, -0.14238372, -0.09866193, -0.05653406, -0.004839818) * go_4(1.0, 0.0);
|
|
result += mat4(0.031744566, -0.003036102, 0.05900721, 0.2419773, 0.0060732705, 0.008347982, 0.06998169, -0.017762665, -0.015387137, 0.109877184, -0.0038969691, 0.035790797, 0.020317623, -0.07454754, 0.020916225, -0.015802914) * go_4(1.0, 1.0);
|
|
result += mat4(-0.036078982, -0.021052623, -0.08594462, 0.1630876, 0.03278222, 0.13835059, 0.029010452, 0.23859024, -0.0016811197, 0.124995105, 0.008666817, 0.08935092, 0.022882387, 0.0064876135, -0.07351711, 0.016907092) * go_5(-1.0, -1.0);
|
|
result += mat4(0.0021571724, 0.016201114, -0.008357702, 0.10146938, -0.019307991, 0.2319128, -0.014715414, -0.053231463, 0.1129617, -0.08196764, -0.17239365, -0.016156387, -0.06554231, 0.09298971, 0.06640363, -0.17430359) * go_5(-1.0, 0.0);
|
|
result += mat4(-0.07884391, 0.05402115, -0.04141859, 0.08351969, -0.030872932, -0.25070804, -0.031832412, 0.037755664, 0.05426495, -0.007282632, 0.041353766, 0.09315843, 0.06988119, -0.09045279, 0.03552638, 0.08886742) * go_5(-1.0, 1.0);
|
|
result += mat4(-0.10312758, -0.14473592, 0.06468928, 0.07240854, 0.07639409, 0.25952578, 0.0004689448, 0.25006202, 0.04892399, -0.15069105, 0.031330712, -0.13219997, -0.10721048, 0.09674294, 0.030883627, 0.088893786) * go_5(0.0, -1.0);
|
|
result += mat4(0.060701642, 0.13242769, 0.025189146, -0.105360806, -0.26855835, -0.025957532, -0.16453391, -0.10504748, 0.18607429, -0.0784457, 0.26755574, 0.24636236, -0.21367395, 0.045376107, -0.055740993, -0.13300979) * go_5(0.0, 0.0);
|
|
result += mat4(-0.059003837, -0.012082007, -0.12086763, 0.031320993, -0.19584721, -0.11036068, -0.034678243, 0.057754494, 0.0038097142, 0.08829017, -0.044158544, 0.0804443, 0.07473639, -0.17069483, 0.023236055, -0.057046823) * go_5(0.0, 1.0);
|
|
result += mat4(-0.11580383, -0.020031182, 0.111571595, -0.08422117, -0.06358351, 0.17527273, -0.037431642, -0.15660492, -0.07324008, -0.10253073, 0.054786574, -0.13505399, -0.040323336, -0.01836728, 0.12116626, -0.11555739) * go_5(1.0, -1.0);
|
|
result += mat4(-0.501075, 0.08686116, -0.010329619, -0.28165087, 0.28034717, -0.20455976, 0.1741333, 0.038334742, 0.20490855, -0.13214226, 0.18811586, -0.18852618, -0.09458034, 0.030453261, 0.011105292, -0.17698336) * go_5(1.0, 0.0);
|
|
result += mat4(-0.033512898, -0.07610239, 0.07565421, -0.14622678, 0.14940825, 0.053289484, 0.08369134, 0.060511183, -0.12266086, -0.08907458, 0.042919166, 0.16767487, -0.15839809, 0.014448444, 0.081390806, -0.1304336) * go_5(1.0, 1.0);
|
|
result += mat4(0.035597347, 0.036260672, -0.13641554, 0.023568528, -0.064240545, -0.036738854, -0.18114036, 0.042951394, 0.12498931, 0.007909749, 0.074017294, 0.16588119, 0.07560239, -0.16967122, 0.036804147, 0.050694373) * go_6(-1.0, -1.0);
|
|
result += mat4(0.0035213558, -0.14315669, 0.0006057612, -0.11107693, 0.1250593, -0.22156724, 0.014978513, 0.14218992, -0.12644413, 0.1448962, -0.038243253, -0.2194696, -0.15294807, 0.097566746, -0.23580866, 0.04192647) * go_6(-1.0, 0.0);
|
|
result += mat4(-0.05379451, 0.08438811, -0.011333482, 0.0056827497, 0.029285189, 0.05707083, 0.01045656, -0.1220427, -0.13318716, -0.17416386, -0.13693286, 0.004463277, 0.0054760277, -0.13070771, -0.038098343, 0.16552636) * go_6(-1.0, 1.0);
|
|
result += mat4(0.019738045, -0.0026153836, 0.022429602, 0.055454295, 0.13728, -0.11775817, 0.08437089, 0.14925233, -0.25963444, -0.19328977, 0.11018404, -0.1415676, -0.03892593, -0.09808861, 0.083476074, -0.054282036) * go_6(0.0, -1.0);
|
|
result += mat4(-0.09798946, -0.036132403, 0.087842025, -0.08399413, 0.13809524, 0.3034931, 0.015697211, 0.034756087, 0.08236563, 0.11538186, -0.09356475, -0.02923682, 0.04214602, -0.1394247, -0.082611024, 0.11403854) * go_6(0.0, 0.0);
|
|
result += mat4(-0.10430588, 0.041609235, 0.03927379, 0.147823, -0.041613717, -0.2145986, -0.19082011, -0.18349867, -0.00505968, -0.012337355, 0.060343113, 0.079795614, 0.026638072, 0.05699632, -0.027564438, 0.16506112) * go_6(0.0, 1.0);
|
|
result += mat4(0.18249887, -0.11793541, -0.11597893, 0.060480494, -0.022722771, 0.02050344, 0.23385662, 0.04441619, -0.12688236, 0.0042606746, -0.180861, 0.021793948, 0.054468777, 0.008117277, 0.0002806121, 0.032789614) * go_6(1.0, -1.0);
|
|
result += mat4(-0.06664305, 0.1853084, -0.09494563, 0.08534247, -0.20119628, 0.16745457, -0.028476797, -0.08182159, -0.03623757, -0.06395209, -0.08543312, -0.08307131, -0.1769124, 0.1872704, -0.12282492, 0.011886932) * go_6(1.0, 0.0);
|
|
result += mat4(-0.11081273, -0.0077292146, -0.07936108, 0.060621656, -0.1861718, 0.03099169, 0.13991767, -0.07016253, 0.03027569, -0.03524246, 0.02272178, 0.027382538, 0.039256528, 0.0058396664, -0.11609423, 0.008904226) * go_6(1.0, 1.0);
|
|
result += mat4(0.018210433, -0.04427329, 0.0786003, 0.24901037, -0.042964943, 0.1879084, 0.080009475, -2.7224973e-05, -0.0313905, -0.064047895, -0.065849096, 0.1428207, 0.0022087602, 0.1660737, -0.16618532, -0.026659494) * go_7(-1.0, -1.0);
|
|
result += mat4(-0.1313427, -0.09119156, -0.03614231, 0.16542135, 0.05243687, 0.11922457, -0.1853969, -0.0073959203, 0.038400393, -0.17513955, -0.15050378, -0.070101395, -0.23747125, 0.1599427, 0.21267292, -0.27109572) * go_7(-1.0, 0.0);
|
|
result += mat4(0.0454884, -0.040218998, -0.08242091, 0.18652722, 0.042139422, -0.14477035, -0.13943626, 0.018183183, -0.061966367, -0.118910074, 0.004634003, -0.043745518, -0.16005561, 0.051346913, 0.19549486, -0.5216827) * go_7(-1.0, 1.0);
|
|
result += mat4(0.07149998, 0.02138427, 0.12219494, 0.13234742, -0.051980246, -0.059077535, 0.15677546, -0.077345364, 0.019371232, 0.016624838, -0.097907275, 0.096939005, -0.06324521, -0.05718129, -0.082027346, -0.25402892) * go_7(0.0, -1.0);
|
|
result += mat4(0.02743824, -0.08489557, -0.24905322, -0.32141867, 0.22583084, 0.23329417, -0.028721593, 0.0016453494, -0.22114721, -0.11764665, -0.05277645, -0.17466292, 0.2302974, -0.09216048, -0.22402821, 0.09933786) * go_7(0.0, 0.0);
|
|
result += mat4(0.1976356, -0.12997995, -0.11737824, -0.014698163, -0.0027365792, 0.111862876, -0.30621696, 0.20191678, 0.019106917, 0.02754029, 0.09483265, 0.11204457, 0.015868861, -0.18545562, 0.1748827, -0.24576695) * go_7(0.0, 1.0);
|
|
result += mat4(-0.03796282, -0.109834, 0.12251788, -0.04472342, -0.07811151, 0.013148134, 0.11245539, -0.14532489, -0.09553689, -0.09974767, 0.09138531, -0.06428713, -0.122864686, -0.11208252, -0.010935392, -0.25728893) * go_7(1.0, -1.0);
|
|
result += mat4(0.259306, 0.15115878, 0.26206654, 0.08348107, -0.17227693, 0.081220835, -0.10695122, 0.06191277, 0.14869192, 0.0010283765, 0.06636733, 0.13419382, 0.012798676, -0.02925236, 0.33322895, 0.0050780945) * go_7(1.0, 0.0);
|
|
result += mat4(0.03443009, 0.20322149, -0.024391051, 0.034479506, -0.07402309, 0.0425652, -0.13926035, -0.02805589, -0.012268415, -0.018608773, 0.028608395, -0.044151317, 0.012976348, -0.0156076765, 0.07677897, -0.00019149396) * go_7(1.0, 1.0);
|
|
result += mat4(0.006685847, -0.2536577, -0.07419314, -0.31916437, -0.028040439, 0.06264434, -0.050663333, -0.012245421, -0.030623304, -0.15650222, 0.13766797, -0.1098499, 0.14554046, -0.024444913, -0.029014781, 0.013120936) * go_8(-1.0, -1.0);
|
|
result += mat4(-0.17133303, -0.11474049, -0.030690582, 0.08961145, 0.08897445, 0.03141745, 0.0028681252, 0.09953673, 0.030985933, -0.36529925, 0.057779342, -0.08686567, 0.1468862, 0.19067344, 0.06386271, 0.027010066) * go_8(-1.0, 0.0);
|
|
result += mat4(0.02949929, -0.026946412, -0.03339542, 0.26693338, -0.098694056, -0.08597344, -0.12111771, 0.032002207, -0.001795345, -0.0060617267, 0.122050546, 0.09799719, 0.013893896, -0.019997513, -0.05524217, -0.09772605) * go_8(-1.0, 1.0);
|
|
result += mat4(0.20701106, -0.297559, -0.16678828, -0.08828946, 0.1075599, 0.10080888, -0.06964122, 0.016103098, -0.20756197, -0.12484585, 0.06967939, -0.010843157, 0.26551637, -0.1324594, 0.13976827, 0.3363322) * go_8(0.0, -1.0);
|
|
result += mat4(0.11670475, -0.035778333, 0.15347819, 0.21083693, -0.12840465, -0.035845824, 0.029178869, 0.14196, 0.019570004, -0.11675628, -0.066392556, -0.08303598, -0.32764187, -0.06986408, -0.07001591, -0.14637336) * go_8(0.0, 0.0);
|
|
result += mat4(0.11526194, 0.09488454, 0.021370485, -0.0483534, -0.0037422036, 0.0222931, -0.121567965, 0.07434875, 0.038577255, 0.045069333, 0.091428705, 0.0995632, 0.17210557, -0.35292122, 0.009242468, -0.06575604) * go_8(0.0, 1.0);
|
|
result += mat4(-0.14760932, -0.025520764, -0.14337976, -0.018671967, 0.21511485, -0.06866904, 0.03975339, 0.10466266, -0.041295838, -0.03289458, 0.028010901, 0.08874704, 0.111655645, -0.0042287265, -0.0067498074, 0.1148652) * go_8(1.0, -1.0);
|
|
result += mat4(0.17541917, -0.2126484, -0.037444204, 0.04114598, 0.11364543, 0.10663656, 0.12955339, -0.018733516, 0.22215228, 0.059307653, 0.04135689, 0.077075884, 0.021400876, -0.167623, -0.20658982, 0.19478907) * go_8(1.0, 0.0);
|
|
result += mat4(0.008089906, 0.24154711, -0.13476565, 0.019567002, 0.11787564, 0.02734716, -0.06301515, 0.040616788, -0.06785487, 0.1390928, -0.07603383, 0.14673676, 0.1271106, -0.23466052, 0.013947333, 0.1718309) * go_8(1.0, 1.0);
|
|
result += mat4(-0.0057404893, -0.15628129, -0.0064276247, 0.09602378, -0.021200346, -0.12546404, 0.13840783, 0.012898374, -0.054446388, -0.091853596, 0.09044742, -0.072119, 0.0601183, -0.05706025, -0.0073583177, -0.16547501) * go_9(-1.0, -1.0);
|
|
result += mat4(0.0720339, 0.041774888, -0.15028723, 0.019322444, 0.13419777, -0.17274082, 0.15353872, -0.07358952, -0.06570478, 0.09121696, 0.120075844, 0.0044252435, 0.12952195, 0.046188887, -0.082326144, -0.23930664) * go_9(-1.0, 0.0);
|
|
result += mat4(-0.07011372, 0.12764728, 0.04152175, 0.052369352, 0.15979223, 0.02298587, -0.10174222, 0.05493358, 0.015286563, 0.1894978, 0.11768885, -0.00906085, 0.0861012, 0.10094487, 0.100795865, 0.004716817) * go_9(-1.0, 1.0);
|
|
result += mat4(-0.027043847, -0.23946394, 0.042152684, -0.21087328, 0.1812294, 0.04328528, 0.14245422, -0.020683091, 0.12807347, -0.33665732, -0.18067953, -0.3040217, -0.065842405, -0.12448621, -0.17077735, -0.2136904) * go_9(0.0, -1.0);
|
|
result += mat4(0.0077196616, 0.050589927, -0.08759789, 0.17469266, -0.15111382, 0.045068096, -0.33810377, -0.22869548, 0.0014367847, -0.13490641, -0.030594718, -0.1425026, -0.1315236, -0.16815974, -0.037266042, -0.24030674) * go_9(0.0, 0.0);
|
|
result += mat4(-0.014485405, 0.18734606, 0.05823325, -0.077405214, 0.020787347, -0.013942174, 0.07989219, 0.12702654, 0.04856548, 0.008779833, -0.032016214, -0.13144355, 0.23483105, 0.2664007, 0.29835513, 0.11381805) * go_9(0.0, 1.0);
|
|
result += mat4(-0.0025473998, -0.009611839, -0.12472179, 0.13324928, -0.2873321, -0.3690769, -0.19001706, -0.45668945, -0.058745615, -0.034500115, -0.20861118, -0.014576644, 0.14126998, 0.03378116, -0.3294577, 0.13788588) * go_9(1.0, -1.0);
|
|
result += mat4(-0.084666446, 0.07678561, -0.35668227, 0.044966694, 0.2978287, -0.05265991, 0.053133518, -0.012012805, 0.15315501, -0.004027129, -0.016121216, 0.027978266, -0.12929294, -0.04454878, -0.09979826, 0.06452664) * go_9(1.0, 0.0);
|
|
result += mat4(-0.078429036, 0.08658762, -0.08947654, -0.06625196, -0.04362567, -0.0054804664, -0.19484106, 0.21562175, 0.08060318, 0.04895596, -0.15507787, -0.0003060528, -0.027542366, -0.0033105996, 0.07422279, -0.11085649) * go_9(1.0, 1.0);
|
|
result += mat4(0.05956468, 0.091366075, 0.0037317951, 0.022181934, 0.043897398, -0.057247777, 0.053182777, -0.029588478, -0.032042164, -0.022768367, 0.0982422, -0.0046064584, -0.13132066, -0.14951156, -0.00090484065, 0.0033148613) * go_10(-1.0, -1.0);
|
|
result += mat4(0.10067602, 0.1768167, 0.09319276, 0.05545746, -0.09815685, 0.059621163, -0.18311253, -0.09429009, -0.10641968, 0.0028561363, -0.013706987, -0.0023843904, -0.04311436, -0.012575459, 0.0043700333, -0.050200813) * go_10(-1.0, 0.0);
|
|
result += mat4(0.013915544, -0.0757592, 0.044148494, 0.056571446, 0.04411375, 0.04224288, -0.22881642, -0.123468116, -0.062506266, -0.17653957, -0.063954756, 0.10225458, 0.038327288, -0.15049885, -0.08253219, -0.09311468) * go_10(-1.0, 1.0);
|
|
result += mat4(0.13911924, 0.10561401, 0.0273022, 0.20981708, 0.014271885, 0.11831189, 0.13141282, -0.016618425, 0.04164692, -0.035123516, -0.0047200886, 0.076753914, -0.14769398, -0.41632187, 0.052841872, -0.23463646) * go_10(0.0, -1.0);
|
|
result += mat4(-0.01388395, 0.03719971, -0.14952944, 0.07520179, -0.15159212, 0.43388975, 0.26373518, 0.13261753, -0.17486258, 0.148321, -0.061730083, 0.10463973, -0.047994018, 0.37817246, 0.17341742, -0.011474512) * go_10(0.0, 0.0);
|
|
result += mat4(-0.00019863897, -0.16808252, 0.025214631, 0.042076986, -0.14041016, 0.037121087, 0.2232787, -0.16173011, -0.10725993, -0.16925922, 0.10937271, -0.02865035, 0.04876046, 0.056427523, -0.086016715, -0.034979723) * go_10(0.0, 1.0);
|
|
result += mat4(-0.074442565, -0.046245288, -0.07022254, 0.15418175, 0.07957959, -0.02047787, 0.02623656, -0.21276104, 0.09381988, -0.008554025, -0.017238371, 0.06974694, 0.25741857, -0.023782581, 0.19565614, -0.008817276) * go_10(1.0, -1.0);
|
|
result += mat4(-0.39654154, -0.09183919, -0.113519065, 0.027061233, 0.19516107, 0.020436032, 0.061018452, -0.18244612, 0.075798355, 0.016068801, -0.054034945, -0.04725821, -0.14116976, -0.03840121, 0.107527554, 0.00559549) * go_10(1.0, 0.0);
|
|
result += mat4(-0.04207255, -0.16133082, 0.10303731, 0.0053524077, 0.14013372, -0.11026666, 0.048343863, -0.11690558, 0.07692668, -0.07924815, 0.08556169, 0.111381136, -0.27046818, 0.029103367, 0.19633245, 0.020407349) * go_10(1.0, 1.0);
|
|
result += mat4(0.007991728, -0.020026166, -0.13022181, 0.0017440818, 0.17788827, -0.0060873474, 0.06153858, 0.048720125, 0.02515951, -0.1806243, -0.21035627, -0.03994368, 0.009566003, 0.08815808, 0.12738399, -0.017710047) * go_11(-1.0, -1.0);
|
|
result += mat4(0.09107191, 0.007003059, -0.20418708, 0.05764021, 0.14495295, -0.03845028, 0.008737782, 0.14078677, -0.07112348, -0.016874174, 0.015319832, -0.07615101, 0.041255035, 0.14763014, -0.03354551, 0.1164008) * go_11(-1.0, 0.0);
|
|
result += mat4(0.07999856, 0.13304743, -0.014120932, -0.0863841, 0.03825098, -0.3161007, -0.28431094, -0.04106924, -0.11138334, -0.10150291, 0.025799073, 0.028114514, -0.11306599, 0.014454554, -0.12784232, -0.06992525) * go_11(-1.0, 1.0);
|
|
result += mat4(-0.22783421, 0.12771747, 0.23512462, -0.024143018, -0.2100377, 0.0015988444, -0.172392, -0.0024638835, 0.112730995, 0.16705875, 0.07242263, 0.03309278, -0.09356869, -0.14339021, 0.004359785, -0.08542854) * go_11(0.0, -1.0);
|
|
result += mat4(-0.18375313, 0.14062601, 0.06567414, 0.016212454, -0.08532553, 0.077800326, -0.11754698, 0.08447961, 0.048469722, -0.11375693, -0.09422993, -0.13284366, 0.056217533, 0.0039602537, 0.14376463, 0.047721226) * go_11(0.0, 0.0);
|
|
result += mat4(0.046775565, -0.011286903, -0.0031077573, -0.07476629, -0.10337221, -0.030675303, -0.039012738, 0.102769956, -0.11489153, 0.030338772, -0.13100365, 0.019705927, -0.08369088, -0.06234032, 0.08906353, -0.10402436) * go_11(0.0, 1.0);
|
|
result += mat4(-0.10511861, -0.14912106, 0.14367017, -0.11703594, -0.11577902, -0.07610685, 0.010949137, -0.17966509, -0.063496634, -0.21665098, 0.17696856, 0.03794644, -0.2067763, 0.18673943, -0.02478608, -0.0803477) * go_11(1.0, -1.0);
|
|
result += mat4(0.48052612, -0.058988307, 0.3888594, 0.042371575, -0.05024253, 0.16064972, -0.09595022, -0.16908611, 0.008086129, 0.010086794, -0.058820166, 0.22500882, -0.26254514, 0.007614947, -0.265352, -0.067624144) * go_11(1.0, 0.0);
|
|
result += mat4(0.07264534, 0.013439377, 0.002236739, -0.18097728, 0.07698999, 0.15176728, 0.12372462, 0.101661354, 0.19917522, 0.036132462, -0.1351664, -0.020807575, 0.015356301, -0.06299266, 0.20859388, -0.0945306) * go_11(1.0, 1.0);
|
|
result += vec4(0.009461313, 0.07088384, -0.10474157, -0.021341816);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x48
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_12_tf
|
|
//!BIND conv2d_12_tf1
|
|
//!BIND conv2d_12_tf2
|
|
//!BIND conv2d_12_tf3
|
|
//!BIND conv2d_12_tf4
|
|
//!BIND conv2d_12_tf5
|
|
//!SAVE conv2d_13_tf
|
|
//!WIDTH conv2d_12_tf.w
|
|
//!HEIGHT conv2d_12_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv2d_12_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_12_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv2d_12_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max((conv2d_12_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv2d_12_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv2d_12_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv2d_12_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv2d_12_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_8(x_off, y_off) (max(-(conv2d_12_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_9(x_off, y_off) (max(-(conv2d_12_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_10(x_off, y_off) (max(-(conv2d_12_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_11(x_off, y_off) (max(-(conv2d_12_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.0073285024, 0.1144, -0.028449252, -0.016121224, 0.083792746, -0.14174786, 0.008513715, -0.00956473, -0.00084582175, 0.03225489, -0.020331481, -0.00515214, -0.12380283, -0.12599367, 0.08165983, -0.060773954) * go_0(-1.0, -1.0);
|
|
result += mat4(0.1844192, 0.19258575, 0.14895016, 0.113389224, -0.07706893, 0.05490408, 0.10513003, -0.023520403, -0.037016764, -0.035634924, 0.0938482, -0.08073502, 0.07596125, -0.036542032, -0.06776929, -0.12594356) * go_0(-1.0, 0.0);
|
|
result += mat4(0.012521706, 0.08256602, 0.024437962, -0.14232518, -0.19811064, 0.039305065, 0.075605676, -0.037288472, -0.012442823, -0.008825962, 0.06694387, -0.03606097, -0.0106425695, 0.021793168, -0.215198, -0.17412446) * go_0(-1.0, 1.0);
|
|
result += mat4(0.09952389, -0.045461636, -0.07098339, -0.058084775, 0.0452419, -0.007112955, -0.057224195, -0.00600692, -0.087406546, -0.036380418, 0.004223704, -0.03609955, -0.043148678, -0.104169935, -0.029539566, 0.036258627) * go_0(0.0, -1.0);
|
|
result += mat4(-0.068943344, -0.040103976, 0.18191427, -0.0041341195, -0.025713405, 0.09959399, 0.15007588, 0.031151265, -0.024080817, 0.0045685447, -0.13444759, -0.045419164, -0.032590732, 0.03200801, -0.008675603, -0.14013636) * go_0(0.0, 0.0);
|
|
result += mat4(-0.031968147, -0.014955117, -0.04463007, 0.27010003, -0.061639994, -0.067749135, -0.13919078, -0.16372173, 0.14469743, -0.005122931, 0.10154323, 0.09967675, -0.16811277, 0.10617033, -0.06715782, -0.05695443) * go_0(0.0, 1.0);
|
|
result += mat4(0.21285576, -0.025202936, -0.05149528, -0.04807916, 0.014124108, -0.06361748, 0.08658223, -0.060488764, -0.014000632, 0.044802517, 0.0056479573, -0.014354928, 0.062085636, -0.101351716, -0.028882004, -0.11025039) * go_0(1.0, -1.0);
|
|
result += mat4(-0.10832846, -0.09870117, 0.030997222, -0.065083735, 0.026517184, -0.09490458, -0.049755707, 0.14329442, -0.020726258, 0.14553492, -0.024541749, 0.004853816, 0.014107099, 0.060158994, -0.018872442, 0.048374992) * go_0(1.0, 0.0);
|
|
result += mat4(-0.025663745, -0.1282767, -0.02868958, -0.033771988, -0.023652168, 0.16181502, -0.009278636, -0.083927155, 0.010536508, -0.07318884, 0.07950583, 0.049379278, -0.045263678, -0.07319993, -0.030431932, -0.0056823073) * go_0(1.0, 1.0);
|
|
result += mat4(-0.045902874, -0.058456294, -0.012317956, -0.026984705, 0.16147104, -0.0013008458, -0.0025830006, 0.008972224, -0.26794544, -0.24461915, 0.091435395, 0.053719312, 0.050468277, -0.06685586, -0.044531353, -0.011795062) * go_1(-1.0, -1.0);
|
|
result += mat4(0.024308898, -0.08895609, -0.058555327, -0.0006793974, 0.116873205, 0.041545838, -0.16915888, 0.16392942, -0.17633331, -0.2355732, 0.038373847, 0.08613005, 0.07204081, 0.042067327, -0.0425792, 0.05513903) * go_1(-1.0, 0.0);
|
|
result += mat4(0.036078498, 0.077769436, -0.15350284, -0.09892574, 0.064394854, 0.12807368, 0.039891828, -0.040717658, -0.050314497, -0.06526016, 0.080487415, -0.0027639167, -0.11946653, -0.15888226, -0.015598435, 0.12251406) * go_1(-1.0, 1.0);
|
|
result += mat4(0.1290664, -0.058534194, -0.018295934, -0.07940514, 0.12432192, 0.010142306, 0.072547734, -0.13980152, 0.16458817, -0.1394504, 0.13792835, 0.047197863, 0.028533489, -0.011749858, -0.010762649, 0.1392874) * go_1(0.0, -1.0);
|
|
result += mat4(0.016710546, 0.19675231, -0.20401473, -0.039095316, -0.06946871, 0.23567766, 0.16483572, -0.09938507, -0.060242232, 0.097428754, 0.030363632, -0.11512725, 0.024087626, 0.05314576, -0.17251213, 0.07648474) * go_1(0.0, 0.0);
|
|
result += mat4(-0.032573838, -0.013386335, 0.087401345, 0.21951716, -0.08565474, -0.032799773, 0.13515915, 0.26348254, -0.07747111, 0.0030196665, -0.0018466014, 0.17031538, 0.02935537, 0.0899902, 0.06186042, -0.13625641) * go_1(0.0, 1.0);
|
|
result += mat4(0.1215287, -0.042131472, -0.032923955, 0.100939475, -0.041368138, 0.03694828, 0.1103769, -0.030717807, -0.13684453, 0.051721994, 0.025304647, -0.15890115, 0.07639035, 0.052489985, -0.04128077, -0.025718726) * go_1(1.0, -1.0);
|
|
result += mat4(-0.06296705, 0.05318694, -0.1371503, -0.14969784, -0.07175306, -0.030627202, 0.07334587, -0.009825863, -0.026530674, 0.27626765, 0.14821655, -0.054016598, -0.056228504, 0.053841833, -0.029819967, -0.015623155) * go_1(1.0, 0.0);
|
|
result += mat4(0.014230513, -0.036077388, -0.024240652, -0.06880111, 0.064582616, 0.03517346, 0.07762339, 0.05755708, -0.06749824, -0.05977129, 0.12002247, 0.116844185, -0.11934344, 0.1391766, 0.108214654, -0.035656262) * go_1(1.0, 1.0);
|
|
result += mat4(0.030574623, -0.043842327, 0.08950769, -0.0781518, 0.0700672, 0.013383238, -0.07802362, -0.005014419, 0.11088969, -0.00067165383, -0.0010111893, 0.058019243, -0.07366968, -0.08484348, 0.029948575, -0.11502251) * go_2(-1.0, -1.0);
|
|
result += mat4(-0.03321966, -0.03131673, 0.004264257, -0.07305327, 0.008054816, -0.16758922, -0.077912085, 0.22058341, 0.111255586, -0.16060875, 0.017004827, -0.02669972, -0.05014059, 0.040101267, 0.16079256, -0.055537276) * go_2(-1.0, 0.0);
|
|
result += mat4(0.029244121, -0.0009780902, -0.017093815, 0.09454508, 0.18911603, 0.051392034, 0.046200924, -0.026249861, 0.0046592955, 0.12321392, -0.11588059, -0.094899625, -0.081606835, 0.17119391, 0.02356436, -0.06047765) * go_2(-1.0, 1.0);
|
|
result += mat4(-0.08362705, -0.06756961, -0.011758277, 0.023169149, -0.0982184, 0.025456898, -0.07539763, 0.042874064, 0.02100778, -0.0011199011, 0.006442546, -0.07147588, -0.13854757, -0.011658099, 0.05515101, -0.048050303) * go_2(0.0, -1.0);
|
|
result += mat4(0.041595772, -0.06479202, 0.073927626, -0.08536628, 0.16164385, 0.118004836, -0.049047295, 0.10522248, 0.10745737, 0.0012640969, -0.02454351, -0.09574172, -0.009729581, -0.15371798, 0.08798129, -0.009216726) * go_2(0.0, 0.0);
|
|
result += mat4(0.18971667, 0.038998246, -0.016063264, -0.2233412, -0.03163863, -0.0012289709, -0.17130315, 0.20456445, 0.064184405, -0.07345441, 0.0020790182, 0.28172332, -0.111298844, 0.0412622, -0.11383462, -0.048998356) * go_2(0.0, 1.0);
|
|
result += mat4(-0.034762207, 0.011346329, 0.013585003, 0.07626756, -0.008399175, 0.051606014, -0.0016094594, 0.116053745, -0.069778696, -0.02106771, 0.06336068, 0.048622433, 0.04220354, 0.012939275, -0.08267461, -0.018460738) * go_2(1.0, -1.0);
|
|
result += mat4(-0.05582388, -0.10123286, -0.035177495, 0.017128762, 0.018628815, 0.114519656, -0.17636241, -0.10691338, 0.0677963, -0.071575046, 0.18769145, 0.06880732, 0.09815737, -0.045370102, 0.16686986, -0.13218194) * go_2(1.0, 0.0);
|
|
result += mat4(0.01283213, 0.01792951, 0.02459982, -0.009541486, 0.1449442, -0.05620025, 0.05726557, 0.05816645, -0.022686943, 0.12581968, -0.07425121, -0.02544034, 0.027782356, 0.014084096, 0.091578476, -0.06339972) * go_2(1.0, 1.0);
|
|
result += mat4(0.09170037, -0.057594847, -0.048079927, 0.03068779, 0.05709864, 0.090370096, 0.015733121, -0.05854891, -0.000527767, 0.032967974, -0.026428627, 0.008033896, 0.00573661, -0.014222908, 0.032641955, 0.015299854) * go_3(-1.0, -1.0);
|
|
result += mat4(-0.009710511, -0.0935564, -0.06879577, 0.05684709, -0.068999484, 0.10311587, 0.013332367, 0.038386244, -0.04635856, -0.12024988, -0.06825258, -0.05990099, -0.028174242, 0.036818985, 0.16706839, 0.05890767) * go_3(-1.0, 0.0);
|
|
result += mat4(-0.049004596, 0.0071681594, -0.0003602087, 0.052849717, -0.03787924, -0.041698013, 0.10563769, -0.09920582, 0.10934604, 0.04542626, -0.07011054, -0.010804346, -0.09419844, 0.046702333, 0.09464839, -0.06823736) * go_3(-1.0, 1.0);
|
|
result += mat4(-0.06845078, 0.079021424, 0.06258286, 0.020676255, -0.15648174, 0.1546939, 0.10862024, 0.052000657, 0.13929878, 0.025340393, 0.07040901, 0.07678263, 0.077283464, -0.028596027, 0.006053985, -0.022158029) * go_3(0.0, -1.0);
|
|
result += mat4(0.1898525, 0.031312715, 0.046924386, -0.19242099, -0.107252344, 0.077114165, 0.056004215, 0.17428507, -0.04107143, -0.0017563916, 0.12068614, -0.07025747, 0.0495018, 0.061851952, 0.04582248, -0.12431049) * go_3(0.0, 0.0);
|
|
result += mat4(0.04685794, -0.24174146, 0.12526262, 0.064534366, -0.050500534, 0.039266504, 0.2439988, 0.17523831, -0.119745165, 0.14102112, -0.20475648, 0.13149914, 0.04693847, 0.06230117, -0.023996271, 0.1514883) * go_3(0.0, 1.0);
|
|
result += mat4(0.118849516, 0.013412991, -0.011626599, -0.09768175, -0.050567433, 0.039465338, 0.13075048, -0.14289309, 0.06579954, 0.16555893, 0.059839517, 5.761098e-05, -0.062406965, -0.06764621, 0.017046073, 0.044707622) * go_3(1.0, -1.0);
|
|
result += mat4(-0.28945863, 0.08326169, -0.11057029, -0.106940016, -0.051118366, -0.06687964, 0.12088523, -0.00041864708, 0.15931313, 0.04360352, 0.0397097, 0.12181111, 0.031510625, -0.02240916, -0.0924032, 0.1202205) * go_3(1.0, 0.0);
|
|
result += mat4(-0.07147302, -0.17362182, 0.03459316, 0.12722759, -0.1753165, -0.09206796, -0.052553307, -0.026404735, 0.029995566, 0.07550818, 0.06890055, -0.10341684, -0.014903289, -0.04990785, -0.04519027, -0.027501447) * go_3(1.0, 1.0);
|
|
result += mat4(0.07138481, -0.0038964448, -0.005265701, 0.049808584, 0.024613097, 0.020280845, -0.009967596, 0.06767395, -0.0014587453, 0.06428319, 0.009853714, 0.0805809, -0.06697533, 0.10875888, 0.008187896, -0.017631983) * go_4(-1.0, -1.0);
|
|
result += mat4(-0.105059646, 0.103035234, 0.036589332, 0.042030305, -0.051373392, 0.0813933, -0.0115074115, 0.06314272, -0.14578332, -0.07321146, 0.0075932927, 0.15132259, -0.06733089, -0.027117083, -0.0137548195, 0.020148296) * go_4(-1.0, 0.0);
|
|
result += mat4(-0.023517285, 0.07467649, 0.002414846, -0.030077169, -0.12513128, 0.011966318, -0.027944475, 0.057034615, 0.16515931, 0.17047071, -0.1264862, 0.024301132, -0.040884867, 0.008070243, 0.09515736, -0.0060314722) * go_4(-1.0, 1.0);
|
|
result += mat4(0.08074076, 0.05345624, -0.007762251, 0.01000389, 0.015026349, 0.19908209, 0.030870045, -0.002091911, -0.04621573, 0.31838396, 0.043386586, -0.13836883, -0.067041874, 0.13646385, -0.07350671, 0.085673265) * go_4(0.0, -1.0);
|
|
result += mat4(-0.009446313, -0.086647004, 0.20637676, 0.09238394, -0.07296768, -0.12657352, 0.033024136, -0.039740272, -0.077770784, -0.11818795, -0.06578987, -0.0027090618, -0.025300732, 0.12950556, -0.10867766, 0.07387452) * go_4(0.0, 0.0);
|
|
result += mat4(-0.012949134, 0.002368703, -0.05297392, -0.10257698, -0.0016853989, 0.075996935, 0.37122545, -0.170613, 0.08732584, 0.049392555, -0.08441015, 0.090052694, -0.062295914, 0.0514166, -0.114991166, -0.043510597) * go_4(0.0, 1.0);
|
|
result += mat4(0.07511509, 0.10691906, -0.09244783, 0.034469042, 0.032568026, 0.06024701, 0.022134718, -0.0438891, 0.0957752, 0.125792, -0.06911089, -0.070889555, 0.03087342, 0.06723071, -0.009557929, -0.0040924344) * go_4(1.0, -1.0);
|
|
result += mat4(-0.063599, -0.039187234, -0.1455675, 0.035936676, 0.03576043, -0.030747093, -0.0051067425, 0.2659986, 0.093633436, 0.07147859, -0.062383216, 0.15169801, 0.019225782, -0.04582221, -0.11768761, 0.04416685) * go_4(1.0, 0.0);
|
|
result += mat4(0.12102416, -0.0039739963, 0.11366815, -0.05148291, -0.021116538, -0.09035905, -0.06349737, 0.22651246, 0.057436086, 0.039311353, -0.10376212, 0.02372195, 0.027644427, -0.06448787, -0.09167275, 0.034432348) * go_4(1.0, 1.0);
|
|
result += mat4(0.038848106, 0.07249798, -0.009243467, -0.021106344, 0.124446444, 0.033429075, -0.098644614, 0.040856678, -0.020178655, 0.024375686, -0.071492255, 0.07167701, 0.04130454, 0.042335343, -0.037061527, -0.013655684) * go_5(-1.0, -1.0);
|
|
result += mat4(-0.08597521, 0.07135394, 0.0720867, -0.03400516, 0.056643173, 0.09423204, -0.020569563, -0.058777962, 0.08046976, 0.19311704, -0.055601787, 0.13167216, -0.035867438, -0.01827487, -6.583423e-06, 0.038280442) * go_5(-1.0, 0.0);
|
|
result += mat4(-0.09820444, -0.13486221, 0.051271014, 0.07005367, 0.035737857, 0.05315366, 0.03366102, -0.10708526, 0.1158274, 0.04591135, 0.08571514, 0.17452762, 0.04824592, -0.081473194, -0.031728912, 0.1585771) * go_5(-1.0, 1.0);
|
|
result += mat4(-0.0114516895, -0.01025222, -0.09740883, 0.03264085, 0.025597531, 0.119531736, -0.03077349, -0.037301112, -0.060548894, 0.01302994, 0.022838226, -0.08893953, -0.012516718, -0.007956795, 0.045615423, -0.055380967) * go_5(0.0, -1.0);
|
|
result += mat4(-0.11728873, 0.10199893, 0.12820518, 0.03423381, -0.24956615, 0.026927155, 0.014175251, 0.14897104, 0.08224876, -0.08608348, 0.022037864, 0.02436408, 0.0013599518, -0.08172911, 0.051339805, 0.07229407) * go_5(0.0, 0.0);
|
|
result += mat4(0.046455204, -0.1374244, -0.059397817, -0.0033628163, -0.06473753, -0.06036789, -0.06340971, 0.16669442, 0.10911536, 0.11359795, 0.22375688, -0.023882419, -0.12102076, -0.020444589, -0.045046736, 0.0068718884) * go_5(0.0, 1.0);
|
|
result += mat4(-0.03842321, -0.0011430852, -0.1129748, 0.0152855525, 0.04225248, 0.07387769, -0.027725972, -0.12106088, 0.08656801, -0.11954636, 0.05836412, -0.026802814, -0.041883703, -0.006556173, -0.076189294, 0.0075946534) * go_5(1.0, -1.0);
|
|
result += mat4(-0.11975804, -0.026911994, -0.026712572, 0.031212423, -0.0151992105, -0.092190824, 0.06715746, 0.012447212, -0.07223334, -0.09728792, -0.035994522, -0.08701858, 0.04673519, -0.022955962, 0.06816874, 0.054100472) * go_5(1.0, 0.0);
|
|
result += mat4(-0.1257005, 0.077909276, 0.03910652, -0.043313637, 0.09700322, -0.15070638, 0.036137406, 0.13088217, 0.030530911, 0.0016815565, -0.026481835, 0.09376303, 0.099763535, 4.2914176e-05, 0.018758861, -0.0356672) * go_5(1.0, 1.0);
|
|
result += mat4(0.026617827, -0.07566226, -0.05574729, 0.002619947, -0.018364744, 0.03922602, 0.05693076, -0.049689196, 0.049535688, 0.11005654, 0.0007408533, 0.027861353, 0.01303123, -0.008263306, 0.0026142458, 0.0020303824) * go_6(-1.0, -1.0);
|
|
result += mat4(0.038180836, 0.15543976, -0.0673784, -0.22783698, 0.042372238, -0.05000301, -0.07438901, 0.008299556, -0.15254645, -0.35337922, -0.06896136, 0.055395104, -0.077446155, 0.06480281, 0.13135155, -0.06336489) * go_6(-1.0, 0.0);
|
|
result += mat4(0.013998281, -0.095250584, -0.1162938, 0.10443475, 0.01559043, -0.01954385, -0.04662086, -0.100116424, 0.0068218485, 0.08356167, -0.013595677, -0.18526508, -0.0046224687, -0.03307869, -0.026683096, 0.021306116) * go_6(-1.0, 1.0);
|
|
result += mat4(-0.05738453, 0.049279623, -0.105201654, 0.09385343, -0.039480492, 0.14974229, -0.047360666, -0.02304541, 0.09902975, -0.037706945, 0.009562135, -0.13266477, 0.020257646, -0.055444866, 0.0121131465, 0.121142514) * go_6(0.0, -1.0);
|
|
result += mat4(0.05217112, 0.05005239, -0.18094581, -0.00026700262, -0.18397138, -0.0884597, -0.18545485, -0.09732425, -0.09282272, 0.02182749, -0.061359994, 0.18474235, -0.004717591, -0.13706946, 0.03750989, -0.047550667) * go_6(0.0, 0.0);
|
|
result += mat4(0.08423895, 0.05750411, -0.0032509726, -0.122791305, -0.076915234, -0.029152788, 0.11213724, 0.14263733, -0.12443673, 0.091285, 0.033931304, -0.02466215, 0.1374147, -0.03435951, -0.054114643, -0.099046014) * go_6(0.0, 1.0);
|
|
result += mat4(-0.045449812, 0.04269483, 0.020021262, -0.037943713, 0.07428274, 0.09515684, -0.07982024, -0.024519997, -0.025611475, -0.101608135, 0.029099166, -0.02519268, -0.015601077, 0.056554224, -0.039773546, 0.057046406) * go_6(1.0, -1.0);
|
|
result += mat4(0.09342597, 0.015473878, -0.16283993, 0.14848809, 0.1926289, 0.038931195, 0.042676132, -0.13609187, -0.026968451, -0.1338714, 0.046281263, 0.04109745, 0.061672427, 0.064506166, -0.030910177, -0.093653575) * go_6(1.0, 0.0);
|
|
result += mat4(-0.048423905, 0.075119875, -0.08892323, -0.09006796, -0.03462919, -0.08672442, 0.1547159, 0.09314443, 0.0017917264, -0.05849465, 0.06419662, -0.1487664, 0.048129495, 0.0463128, 0.020289388, -5.981608e-06) * go_6(1.0, 1.0);
|
|
result += mat4(-9.851486e-06, -0.07218598, 0.052535016, 0.06027138, -0.15785162, 0.03050819, 0.02106052, -0.09309737, 0.042012095, 0.07350871, -0.041321676, -0.14675662, -0.13095592, -0.040717825, 0.008294166, 0.034474954) * go_7(-1.0, -1.0);
|
|
result += mat4(-0.038354237, -0.092948794, 0.019369636, 0.008319703, 0.023776436, -0.23507029, -0.068587035, 0.03261793, 0.16731012, 0.045434996, -0.061696, -0.076626495, -0.2707249, -0.24755555, 0.062551945, 0.18912214) * go_7(-1.0, 0.0);
|
|
result += mat4(0.0028535714, 0.004508511, 0.096679166, -0.009332624, 0.10854221, -0.01782062, -0.09737422, 0.06195523, -0.035627376, -0.050932128, -0.056977615, 0.13018712, -0.13412024, 0.0424353, 0.120904125, 0.05599382) * go_7(-1.0, 1.0);
|
|
result += mat4(-0.015340826, -0.07891277, -0.053788327, -0.020577412, -0.103371054, -0.090662785, -0.025638962, -0.022323575, -0.0019410624, 0.22900255, -0.15850206, -0.03873904, -0.20835614, 0.022200054, -0.0296877, -0.017205235) * go_7(0.0, -1.0);
|
|
result += mat4(0.16326539, -0.10507174, -0.08517645, -0.1587064, 0.12344322, -0.12928641, 0.04858697, 0.09372904, -0.113734014, -0.11043106, 0.11609328, -0.10636852, 0.043770313, 0.045527533, 0.053363122, -0.101359725) * go_7(0.0, 0.0);
|
|
result += mat4(0.03874898, -0.072903655, -0.16248351, 0.02170108, -0.0047495393, 0.040323067, -0.23720509, -0.03009885, 0.012279186, -0.008126828, 0.044663064, -0.073465705, -0.043972623, -0.18373902, 0.09990013, -0.0821802) * go_7(0.0, 1.0);
|
|
result += mat4(-0.09972298, -0.06412786, -0.01765875, -0.020713106, -0.009848888, -0.10317782, -0.09639411, 0.051942635, -0.0686546, 0.07412253, 0.007564022, -0.06840922, 0.06594286, -0.14784402, -0.10125296, -0.038264908) * go_7(1.0, -1.0);
|
|
result += mat4(-0.0047137165, -0.001068608, 0.21495393, 0.08257355, -0.062070042, -0.027696218, -0.070565164, -0.14301781, -0.08518445, -0.14908811, 0.05988329, 0.07008356, -0.06789062, -0.056065448, 0.1198869, 0.04058338) * go_7(1.0, 0.0);
|
|
result += mat4(-0.015345579, 0.06684426, 0.10084448, 0.0088868365, 0.0132896565, 0.041835576, 0.035257474, -0.17815806, 0.007956943, -0.032787424, -0.024117455, -0.03163458, -0.056054153, 0.004654151, -0.07459875, 0.11490104) * go_7(1.0, 1.0);
|
|
result += mat4(-0.15243347, 0.07784731, -0.06488782, 0.06915179, -0.1042157, -0.0063538626, -0.0009144965, 0.022165874, 0.0939912, -0.060952082, -0.035661597, 0.088764325, -0.08225544, -0.00034364447, 0.059582185, 0.06101212) * go_8(-1.0, -1.0);
|
|
result += mat4(0.02576822, -0.012206138, 0.11534684, 0.055573255, -0.03394477, 0.014038397, -0.04380724, 0.088514894, 0.1200793, 0.07140723, -0.07684597, 0.24095225, 0.026512349, 0.17956263, 0.051159423, -0.012580184) * go_8(-1.0, 0.0);
|
|
result += mat4(-0.10280494, -0.04676712, -0.05843146, 0.015999107, -0.05758121, 0.0056103356, 0.04461152, 0.023359446, 0.19975519, 0.051141366, -0.078616165, 0.026869029, -0.011151981, -0.099599086, 0.12227358, 0.014200019) * go_8(-1.0, 1.0);
|
|
result += mat4(-0.059605133, 0.063668884, -0.18279727, -0.06218689, -0.037377298, -0.007869956, 0.009291009, -0.1827175, 0.041651864, 0.0020291011, -0.030416429, -0.11812194, 0.06668284, 0.060038287, -0.04037278, 0.16196628) * go_8(0.0, -1.0);
|
|
result += mat4(-0.096491545, -0.19636984, -0.09967021, 0.046787925, 0.10620118, -0.008389387, 0.09885796, -0.18576227, 0.1024246, 0.13532446, -0.03397235, -0.05172352, 0.18370149, 0.036553577, 0.09388728, -0.043989357) * go_8(0.0, 0.0);
|
|
result += mat4(0.066382125, -0.026792534, 0.14122616, -0.12131764, 0.06294349, 0.015747132, 0.09217337, -0.09790492, 0.095229484, 0.19190969, -0.11818544, -0.10085346, -0.18416224, 0.023202911, 0.09271642, 0.23478268) * go_8(0.0, 1.0);
|
|
result += mat4(0.09447352, 0.033897415, -0.016522475, -0.17572474, 0.028981324, 0.0018837937, -0.08916694, 0.027672661, 0.061623577, -0.058480777, -0.06758095, 0.12866256, 0.02247829, -0.033075545, 0.0032707753, 0.013970644) * go_8(1.0, -1.0);
|
|
result += mat4(-0.04512953, -0.006859464, 0.015446434, 0.08710148, 0.055711135, -0.10423202, 0.03748765, -0.016468337, 0.044911206, 0.087307915, -0.12144139, 0.13479358, 0.02751335, 0.082123764, 0.09411991, -0.034485392) * go_8(1.0, 0.0);
|
|
result += mat4(0.022169681, -0.0068143625, -0.10993536, -0.031404734, 0.04424674, -0.058773458, -0.042220823, 0.16127633, 0.016275568, 0.11400015, -0.015690884, 0.088035434, 0.06922791, -0.023435324, 0.10064401, 0.09267874) * go_8(1.0, 1.0);
|
|
result += mat4(-0.1782865, 0.07054037, -0.036841866, 0.0027666213, -0.02632288, 0.0015316358, -0.06624319, 0.032665364, 0.0021892237, 0.09393096, 0.13208792, -0.0105601875, -0.17870188, 0.007641018, 0.055615738, -0.08728049) * go_9(-1.0, -1.0);
|
|
result += mat4(0.08148005, 0.04158415, 0.09060661, -0.11671241, -0.035112634, -0.1879075, 0.10603404, 0.09183375, -0.16071059, 0.005687797, 0.120401785, 0.20553902, 0.0066707535, 0.039705288, -0.17833412, -0.10277116) * go_9(-1.0, 0.0);
|
|
result += mat4(0.00935989, -0.06176358, 0.014277336, 0.034557488, 0.066875, 0.0862966, -0.049054243, -0.10625051, 0.045639876, 0.044773396, 0.02746294, -0.024615739, -0.056873348, -0.19391094, 0.006037808, 0.07711238) * go_9(-1.0, 1.0);
|
|
result += mat4(-0.018254511, -0.07702511, -0.09783025, 0.08643163, 0.011246615, -0.059354555, 0.02855532, 0.12298178, 0.2437121, -0.29886153, 0.054966837, -0.095045045, 0.11756467, -0.06513223, -0.0016535377, 0.06794207) * go_9(0.0, -1.0);
|
|
result += mat4(0.016108505, -0.04997615, -0.00024112452, -0.09193975, 0.1856019, -0.15356213, -0.054513704, -0.020927668, 0.03684128, 0.09704155, -0.084586345, -0.21800655, -0.09882999, -0.016440451, -0.048516043, -0.13391587) * go_9(0.0, 0.0);
|
|
result += mat4(0.039977428, 0.097578354, 0.043029457, -0.09663385, 0.03071626, 0.14550355, -0.0696754, -0.3449407, -0.037196707, -0.13095449, -0.046562403, -0.061313603, -0.024870088, -0.049175426, 0.33485088, -0.08358319) * go_9(0.0, 1.0);
|
|
result += mat4(0.0015286271, -0.0026336326, -0.094711356, 0.11006902, -0.04633053, 0.10527113, -0.06205313, -0.28493193, 0.048049364, -0.042089403, 0.011710424, -0.04857293, -0.029495597, -0.017112227, 0.0012348545, -0.02752836) * go_9(1.0, -1.0);
|
|
result += mat4(0.046538536, -0.023575861, 0.03094845, 0.05480927, -0.17506556, -0.045232266, 0.017766241, 0.14280976, -0.07590854, 0.1276856, 0.058306232, -0.02613282, -0.11833011, 0.08944493, -0.052370444, -0.14713956) * go_9(1.0, 0.0);
|
|
result += mat4(0.012637563, 0.008217245, -0.08480833, -0.13084638, 0.065384135, -0.009895516, -0.20701924, 0.12837902, -0.059713166, 0.024723526, -0.027992334, 0.12180597, -0.12572676, -0.016534502, 0.124470286, -0.1363946) * go_9(1.0, 1.0);
|
|
result += mat4(0.18593562, -0.0051782066, -0.020224098, -0.1386619, 0.05130401, 0.15748414, 0.03450984, 0.040225152, -0.02889547, -0.02718944, 0.07736039, 0.023701066, 0.1302447, -0.14498575, -0.055298295, 0.040914822) * go_10(-1.0, -1.0);
|
|
result += mat4(0.11004461, -0.16199613, -0.091347575, -0.114197075, -0.034037385, 0.19214474, 0.049589656, -0.109024644, -0.010905539, 0.058671206, -0.048906345, -0.008446876, -0.0031526713, 0.21078502, -0.036269456, -0.06723946) * go_10(-1.0, 0.0);
|
|
result += mat4(0.07250265, -0.018816743, -0.09929977, 0.032101557, 0.10881066, -0.00010400672, 0.108172834, 0.08361807, 0.11298455, 0.074784614, 0.055241544, 0.04762545, -0.06515471, 0.08897986, 0.008379875, -0.07011084) * go_10(-1.0, 1.0);
|
|
result += mat4(-0.037894815, -0.008045648, 0.0888077, 0.07331456, -0.12187046, 0.0033435533, -0.022942739, 0.16695428, 0.06164513, -0.095686994, 0.0013730039, 0.10199585, 0.15013579, -0.009080806, -0.03657549, -0.065426916) * go_10(0.0, -1.0);
|
|
result += mat4(-0.004013369, -0.17360747, 0.05414763, 0.06375205, -0.10889334, -0.055886485, 0.047731172, 0.05977598, 0.024458587, -0.020509373, 0.030456785, 0.14313094, 0.05425161, 0.09258172, 0.06311785, -0.2629252) * go_10(0.0, 0.0);
|
|
result += mat4(-0.016907271, 0.118635885, -0.18949707, -0.0011007185, -0.28727284, 0.029711474, -0.003690914, 0.40358377, -0.08520288, 0.0258065, 0.049587388, -0.07931061, 0.031626217, 0.017429618, 0.019582555, 0.2520346) * go_10(0.0, 1.0);
|
|
result += mat4(-0.064963594, -0.07345291, 0.031211207, -0.081731334, -0.041860837, 0.111285105, -0.02386965, 0.029508088, 0.06570827, 0.032190915, 0.029017994, -0.007853172, 0.109014794, 0.010181781, -0.0058167228, 0.15205674) * go_10(1.0, -1.0);
|
|
result += mat4(0.027170207, 0.1486736, 0.006372495, 0.0011600445, 0.08422548, -0.058934882, 0.041347407, 0.052883595, 0.1424048, -0.016864024, -0.04316707, -0.08030044, 0.12680447, -0.01127752, -0.12602247, -0.06503987) * go_10(1.0, 0.0);
|
|
result += mat4(-0.041788876, 0.08606494, -0.15738836, -0.17636767, 0.0480688, -0.0700853, 0.028580366, 0.0092484625, 0.12044988, -0.07079011, -0.03747581, 0.06888978, 0.17255403, -0.0006838143, 0.0040460005, -0.10643291) * go_10(1.0, 1.0);
|
|
result += mat4(0.07401081, 0.04960394, -0.066631116, -0.065161556, 0.026498554, -0.12518874, -0.008372493, 0.017836042, -0.08611183, 0.0795497, -0.019199701, 0.09260083, -0.08744388, -0.025358027, -0.020288857, 0.0647643) * go_11(-1.0, -1.0);
|
|
result += mat4(0.07573632, 0.0049297865, 0.13689183, 0.029173596, 0.08479172, -0.1565775, -0.048143834, 0.0036008377, -0.07490405, 0.06974998, 0.13531724, -0.021589145, -0.15455271, -0.09218846, 0.1917218, -0.04572285) * go_11(-1.0, 0.0);
|
|
result += mat4(-0.029948816, 0.05627412, -0.08699774, -0.033425257, 0.026753966, 0.0055132178, -0.12654705, -0.013280826, -0.013210384, 0.005506719, 0.031000486, -0.10313698, -0.038243894, -0.008856653, -0.07068933, -0.10803686) * go_11(-1.0, 1.0);
|
|
result += mat4(-0.21768126, 0.10281481, -0.022190897, 0.017938625, -0.039360717, -0.07557826, 0.08850099, 0.038470805, -0.14095385, 0.13912949, 0.040561084, 0.07350307, -0.08139831, 0.07229395, -0.046203356, -0.09418806) * go_11(0.0, -1.0);
|
|
result += mat4(-0.03231932, -0.16729882, 0.035130963, 0.0945745, -0.005259539, 0.018022949, 0.077319324, 0.12292019, 0.006306613, -0.15831412, -0.053213973, -0.21296674, 0.06455828, -0.23165533, -0.11016384, 0.14670803) * go_11(0.0, 0.0);
|
|
result += mat4(-0.079640575, 0.14209795, -0.030955706, -0.17259082, 0.011810231, 0.047312025, -0.0027014536, -0.006381721, -0.022472214, -0.16536534, -0.11361088, 0.080804676, -0.025946518, 0.113763586, -0.08722575, 0.015981471) * go_11(0.0, 1.0);
|
|
result += mat4(-0.06706822, 0.101619706, -0.16287632, -0.042936955, -0.13380222, 0.04823709, -0.013803056, -0.030115962, 0.0570302, 0.01748295, -0.14060444, 0.059740417, -0.19601041, -0.09340839, -0.0056360997, -0.00664096) * go_11(1.0, -1.0);
|
|
result += mat4(-0.07372797, -0.14746109, 0.12448749, 0.20013757, 0.021589998, -0.06775985, 0.025327493, 0.013156906, -0.03920706, 0.12402617, -0.057481002, -0.124450065, -0.098899804, 0.021724703, -0.14238444, 0.05230443) * go_11(1.0, 0.0);
|
|
result += mat4(-0.0789226, 0.052890714, -0.027140282, -0.14738554, -0.033786625, 0.027208649, 0.02971969, -0.04986773, -0.036140896, -0.053769954, 0.050002765, 0.19128278, -0.060128435, -0.03388751, -0.07496682, 0.01401696) * go_11(1.0, 1.0);
|
|
result += vec4(-0.05125199, 0.034429967, -0.032718506, 0.025534676);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x96
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_12_tf
|
|
//!BIND conv2d_12_tf1
|
|
//!BIND conv2d_12_tf2
|
|
//!BIND conv2d_12_tf3
|
|
//!BIND conv2d_12_tf4
|
|
//!BIND conv2d_12_tf5
|
|
//!BIND conv2d_14_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!SAVE conv2d_15_tf
|
|
//!WIDTH conv2d_12_tf.w
|
|
//!HEIGHT conv2d_12_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_12_tf_tex(conv2d_12_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_12_tf1_tex(conv2d_12_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_12_tf2_tex(conv2d_12_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_12_tf3_tex(conv2d_12_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_12_tf4_tex(conv2d_12_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_12_tf5_tex(conv2d_12_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_12_tf_tex(conv2d_12_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_12_tf1_tex(conv2d_12_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_12_tf2_tex(conv2d_12_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_12_tf3_tex(conv2d_12_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_12_tf4_tex(conv2d_12_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_12_tf5_tex(conv2d_12_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.009551103, -0.1578829, -0.023872105, 0.032085985, 0.027971271, 0.039934665, -0.28228688, -0.061062165, 0.100776665, -0.04452535, -0.006273476, -0.09813465, 0.004865175, 0.09403208, -0.20160039, 0.413236) * g_0;
|
|
result += mat4(0.18565936, 0.035244744, -0.08872044, 0.022702076, -0.11219526, 0.050610166, -0.029482607, -0.15944795, 0.11747894, -0.034937173, -0.10601389, -0.07908995, -0.06948369, 0.078262895, -0.10566501, -0.0712045) * g_1;
|
|
result += mat4(0.15651268, -0.051332787, -0.16583267, 0.04954766, 0.041720442, -0.14801401, -0.011037535, -0.05058025, 0.078457914, 0.042230852, -0.072076604, 0.22530177, 0.06007432, -0.00476048, 0.045151718, 0.21380138) * g_2;
|
|
result += mat4(-0.24534833, -0.11603982, -0.18161574, -0.07407666, -0.19366856, 0.06265982, -0.13283755, -0.14593442, -0.13195409, -0.039278407, 0.08604219, 0.29780805, 0.008677809, 0.06479625, 0.015411021, 0.034155287) * g_3;
|
|
result += mat4(0.05640475, 0.037920874, -0.09059915, -0.08817172, -0.27626717, 0.12396845, -0.13103396, 0.0026781796, 0.15049712, 0.07754007, -0.19105206, 0.17042683, 0.3114985, -0.09133819, -0.021938948, 0.254589) * g_4;
|
|
result += mat4(-0.16998518, -0.20131175, 0.027466161, 0.11566531, 0.18034823, 0.072060615, -0.23353261, -0.11075216, 0.032076754, -0.021048, 0.012148336, 0.091040045, -0.18995504, 0.08408764, -0.1569736, 0.03552465) * g_5;
|
|
result += mat4(-0.04162126, -0.057651754, -0.065363966, -0.18329124, 0.104769826, 0.089769594, 0.15653561, 0.09221142, 0.004628914, -0.057831094, -0.092486836, -0.052079238, 0.12100204, 0.18322322, 0.11601413, 0.0020635729) * g_6;
|
|
result += mat4(0.15670863, -0.11881685, 0.2568278, -0.1839135, -0.04724428, 0.06305948, -0.039979734, 0.09861011, 0.03296062, -0.029781949, -0.25168973, 0.05086964, 0.035107438, 0.058550417, 0.03825196, -0.03621426) * g_7;
|
|
result += mat4(-0.14257605, -0.18165039, -0.101343095, -0.1612177, -0.07650364, 0.07354628, 0.3225121, -0.0399608, 0.23337401, 0.09668289, 0.17832872, -0.19480577, -0.37638342, 0.009177453, 0.01430114, -0.06184679) * g_8;
|
|
result += mat4(0.18150946, -0.17396615, 0.15020455, 0.11095252, -0.04938365, 0.13811995, 0.21872883, 0.1665478, 0.24408577, -0.25829598, -0.05333277, -0.09722728, -0.14163989, -0.2562132, -0.071317025, 0.23899561) * g_9;
|
|
result += mat4(-0.06284202, 0.027760154, 0.11999594, 0.17721936, 0.084894985, -0.088369444, 0.017951638, 0.20490159, -0.059588224, 0.02880265, -0.026036453, -0.10354341, 0.10513227, 0.087837726, 0.2588742, -0.27092904) * g_10;
|
|
result += mat4(-0.16925864, 0.08769487, -0.09762704, 0.0391378, 0.0035971864, 0.072891735, 0.09307799, 0.27171433, 0.07969811, -0.02832524, 0.018054279, -0.18448217, 0.008436939, -0.041673474, 0.09115246, 0.014632326) * g_11;
|
|
result += mat4(0.25382346, 0.065921, -0.07871562, -0.25246596, -0.1803274, -0.12246585, 0.1921425, 0.18788809, -0.061109893, 0.09155593, -0.089252725, -0.27288997, 0.19322978, -0.20218955, 0.12605186, -0.2562263) * g_12;
|
|
result += mat4(-0.2838705, -0.040187504, 0.07924205, -0.21460438, -0.12758467, 0.009960648, 0.14958748, -0.20346983, 0.0024511465, -0.0029784795, 0.03761442, 0.13831198, -0.024297677, 0.1012345, -0.084601626, 0.18076244) * g_13;
|
|
result += mat4(0.06449929, 0.05275191, -0.12103874, 0.24089414, -0.20560616, -0.10341962, 0.1507051, 0.06430561, -0.13462862, 0.09508162, 0.1236627, -0.012525578, -0.09431966, 0.041634366, 0.08173197, -0.15510611) * g_14;
|
|
result += mat4(0.027247978, 0.094439656, -0.03555053, -0.098382965, -0.12275858, 0.07966601, 0.011419914, 0.016940989, -0.059244152, 0.0141640995, 0.28897017, -0.23790632, 0.06870021, 0.065537006, 0.10910026, 0.068046376) * g_15;
|
|
result += mat4(0.09527742, 0.07966788, 0.0065336, 0.00047729645, -0.22677961, -0.19132724, 0.038642567, -0.20873657, 0.22698054, -0.17566124, 0.0931999, -0.049740683, -0.13000306, -0.21351433, -0.057329457, -0.101816036) * g_16;
|
|
result += mat4(0.009278632, 0.039469216, -0.085109934, 0.28698707, -0.14632075, -0.10635572, 0.08193169, -0.29346558, -0.13445924, 0.14408123, -0.020417368, -0.09325916, -0.20485316, -0.15253286, -0.03744777, -0.003730377) * g_17;
|
|
result += mat4(-0.08470291, 0.003728395, 0.107398994, -0.16985098, 0.0072377436, 0.27434322, -0.17388123, 0.015298767, 0.040480837, 0.19347449, 0.077726595, 0.10207363, -0.1588992, -0.0074615697, 0.15348962, -0.2786934) * g_18;
|
|
result += mat4(0.12293403, -0.031468052, -0.07419456, -0.039155077, -0.066696815, 0.12546724, 0.17678119, 0.16800387, 0.07157375, -0.06990396, 0.087699026, 0.012418362, -0.05796857, 0.08915443, -0.003907652, 0.024577782) * g_19;
|
|
result += mat4(0.049035165, -0.007998411, -0.08784051, 0.05972267, 0.12698646, -0.06103241, -0.004091063, 0.054421507, 0.066380054, -0.17193739, 0.030281775, 0.012471225, 0.36877003, -0.22548924, -0.03885732, -0.18560503) * g_20;
|
|
result += mat4(0.06274616, 0.080091685, 0.08087955, 0.07442669, 0.021437827, 0.08772858, 0.03468758, 0.03489351, -0.114316195, -0.1327461, -0.17319082, 0.05784275, -0.14492308, 0.13633093, 0.24737152, -0.17852335) * g_21;
|
|
result += mat4(0.07352172, 0.12839572, -0.14603852, 0.038831383, -0.10336226, -0.008882389, 0.2233969, 0.014047068, -0.008017061, 0.0032474427, -0.03606961, 0.13068153, -0.079270124, 0.04567792, -0.11811478, -0.37396926) * g_22;
|
|
result += mat4(-0.0875562, 0.0075374576, 0.24364722, 0.3135225, 0.059202157, 0.017321471, -0.44433868, 0.31329906, 0.2166983, 0.15394291, 0.16318081, -0.0053147315, -0.20274022, -0.33773518, -0.22899714, -0.4062436) * g_23;
|
|
result += vec4(-0.035847142, 0.032481533, 0.0020201565, 0.07194935);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x96
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_12_tf
|
|
//!BIND conv2d_12_tf1
|
|
//!BIND conv2d_12_tf2
|
|
//!BIND conv2d_12_tf3
|
|
//!BIND conv2d_12_tf4
|
|
//!BIND conv2d_12_tf5
|
|
//!BIND conv2d_14_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!SAVE conv2d_15_tf1
|
|
//!WIDTH conv2d_12_tf.w
|
|
//!HEIGHT conv2d_12_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_12_tf_tex(conv2d_12_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_12_tf1_tex(conv2d_12_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_12_tf2_tex(conv2d_12_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_12_tf3_tex(conv2d_12_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_12_tf4_tex(conv2d_12_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_12_tf5_tex(conv2d_12_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_12_tf_tex(conv2d_12_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_12_tf1_tex(conv2d_12_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_12_tf2_tex(conv2d_12_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_12_tf3_tex(conv2d_12_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_12_tf4_tex(conv2d_12_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_12_tf5_tex(conv2d_12_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.1761742, -0.44747975, 0.059779506, 0.03766182, 0.03141564, 0.056810793, 0.008301192, 0.14369194, 0.17527783, -0.0017236042, 0.09834237, 0.09575803, -0.008661739, -0.104841106, -0.16932498, 0.11579545) * g_0;
|
|
result += mat4(-0.12777811, 0.032608256, -0.07513904, -0.0039272117, 0.12906359, -0.026142448, -0.037676588, -0.10154283, 0.043286253, -0.051307295, 0.041824408, 0.18696383, -0.09039417, -0.06348285, -0.12320969, 0.03376613) * g_1;
|
|
result += mat4(0.104417875, 0.10663846, -0.101657666, 0.01425698, -0.008538496, -0.025354145, 0.035612363, -0.05219493, 0.026766634, -0.10843467, -0.021850081, 0.09590063, -0.09614841, -0.054467317, -0.017985666, 0.13570157) * g_2;
|
|
result += mat4(0.07591282, 0.13617313, 0.19501148, 0.14904675, -0.13086428, 0.21186173, 0.20964113, -0.009169893, -0.20719013, -0.14911315, -0.075036585, 0.22582716, 0.10560652, 0.06860698, 0.07254264, 0.19700265) * g_3;
|
|
result += mat4(0.20456348, 0.24539794, 0.12823294, -0.16726765, -0.1531631, -0.19301818, -0.07844603, -0.046090215, -0.20239432, 0.03090601, -0.0994392, 0.0952079, 0.0022682967, -0.08098104, -0.03782831, 0.020748707) * g_4;
|
|
result += mat4(0.03633377, -0.09185641, 0.09126538, -0.047538064, -0.13509507, 0.03449196, -0.11007355, 0.2173493, 0.20409976, 0.025805485, -0.09973431, -0.19965756, 0.20450562, -0.16382888, 0.058049567, -0.011116461) * g_5;
|
|
result += mat4(0.08500784, 0.1650986, -0.16035236, 0.13470611, -0.1060791, 0.18405674, -0.06643479, 0.04466202, -0.0758685, 0.08887386, 0.2379966, -0.17876488, 0.09099816, -0.13912867, -0.022313673, 0.014845894) * g_6;
|
|
result += mat4(-0.30880445, -0.25211424, 0.08918694, 0.060770545, -0.28389496, -0.23819323, 0.24819243, -0.116066344, 0.06437278, -0.14691679, 0.046198275, -0.006334894, -0.29351792, 0.11259146, 0.20746972, -0.4178989) * g_7;
|
|
result += mat4(-0.106741056, -0.18458399, 0.0067779664, -0.15917686, 0.014802229, -0.17655735, -0.01837346, -0.013440738, -0.036119413, 0.091039784, -0.050894205, -0.030827638, 0.22975314, -0.110873595, -0.29769754, 0.046003085) * g_8;
|
|
result += mat4(0.016886916, 0.064219564, -0.17515728, -0.26352295, -0.06157579, 0.20600513, 0.3151227, 0.058217525, -0.008353625, 0.3203168, 0.17482461, -0.014621326, 0.126173, 0.42937633, -0.32928523, -0.18174276) * g_9;
|
|
result += mat4(0.08384935, 0.012600786, -0.10611915, 0.2905753, 0.31809968, -0.2115759, -0.11971381, 0.17892627, 0.21938775, -0.08610796, -0.07833694, 0.025847232, 0.15850039, -0.0050456845, -0.15777875, -0.17553087) * g_10;
|
|
result += mat4(0.07441658, 0.2089438, 0.09365662, -0.05719887, 0.22574152, -0.13032901, -0.12378451, 0.083824284, -0.15680449, -0.122956805, -0.13531187, 0.08218225, -0.062917516, 0.0080551095, -0.15378468, 0.16125157) * g_11;
|
|
result += mat4(-0.050182775, 0.44902998, 0.18556629, 0.011656178, -0.08106504, -0.027293755, -0.026111403, 0.16687864, 0.3194157, 0.29866177, -0.043069556, 0.09596009, 0.032058172, 0.41144785, -0.3589045, 0.13055441) * g_12;
|
|
result += mat4(0.23642781, 0.041985907, -0.10103298, 0.052018266, -0.07686496, 0.0155056175, 0.18786597, -0.2506586, -0.17439952, -0.3177631, 0.113115676, -0.14640856, -0.008198415, 0.011810333, -0.050316535, -0.14926358) * g_13;
|
|
result += mat4(-0.39796874, -0.062100228, 0.07615961, -0.023087898, -0.22297885, -0.090215296, -0.11415266, 0.16724303, 0.04577964, -0.08540938, -0.063765004, -0.18341166, -0.088879146, -0.05323474, -0.008252758, 0.018424602) * g_14;
|
|
result += mat4(0.20078817, -0.060623486, -0.0990207, 0.08031568, -0.15245742, -0.18889837, 0.15183337, -0.007422197, 0.09565667, -0.23462932, -0.16531046, -0.21983044, 0.014405007, -0.03047801, 0.124785386, 0.07483329) * g_15;
|
|
result += mat4(0.09068068, 0.020738058, 0.076772, -0.30366233, 0.103929624, -0.22885206, 0.16361028, -0.1170221, 0.12693621, 0.053154428, -0.015516178, 0.16410422, -0.09879072, -0.034197513, 0.08162684, -0.114710785) * g_16;
|
|
result += mat4(0.07250333, 0.035765056, -0.22287408, 0.07087545, 0.2388845, -0.17439961, 0.19510424, 0.15644315, -0.026337821, 0.14344972, -0.094487876, -0.15113162, -0.030316673, -0.07807948, -0.057335343, -0.06561144) * g_17;
|
|
result += mat4(-0.22793378, -0.090403825, -0.058371782, -0.14358567, -0.012014318, -0.06519256, -0.024871968, -0.21873134, 0.12088611, -0.08515825, 0.095237084, 0.17710285, -0.12732038, -0.008813873, 0.050080344, -0.054026045) * g_18;
|
|
result += mat4(-0.14742918, -0.15626287, -0.09105866, -0.10570933, 0.002858163, -0.09366216, 0.0738335, -0.16642094, -0.14428791, 0.027129209, 0.0056066504, -0.105539836, -0.15898356, 0.09733231, -0.09281279, -0.058596354) * g_19;
|
|
result += mat4(-0.17503378, -0.07734258, -0.07499573, -0.0036713225, -0.09865644, 0.13322629, 0.05817975, 0.07716319, 0.1798274, 0.20163825, 0.14732292, -0.008401361, -0.010455682, 0.1436539, -0.013620519, 0.21749584) * g_20;
|
|
result += mat4(0.12678513, 0.009905442, -0.04881402, 0.015975054, -0.31984022, 0.085915014, 0.15399966, -0.001702288, -0.1199135, -0.45281914, -0.16187267, 0.07849383, -0.20719478, -0.23045829, 0.006563257, -0.12863535) * g_21;
|
|
result += mat4(0.019257441, 0.06068494, 0.00059041375, 0.23092182, 0.27663466, -0.06695913, -0.1036311, 0.051746387, 0.12334096, 0.26376775, 0.13009991, 0.041141927, 0.15175597, -0.07524408, -0.22195654, -0.109512396) * g_22;
|
|
result += mat4(-0.16434675, 0.18122146, -0.17783065, -0.29658446, 0.044498317, -0.13306247, 0.03333715, 0.38770738, 0.2770302, -0.21413137, -0.29719895, 0.034777734, 0.054781754, 0.32892776, 0.11601829, -0.029398393) * g_23;
|
|
result += vec4(-0.12481139, 0.022676378, -0.058046315, 0.03696718);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x96
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_12_tf
|
|
//!BIND conv2d_12_tf1
|
|
//!BIND conv2d_12_tf2
|
|
//!BIND conv2d_12_tf3
|
|
//!BIND conv2d_12_tf4
|
|
//!BIND conv2d_12_tf5
|
|
//!BIND conv2d_14_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!SAVE conv2d_15_tf2
|
|
//!WIDTH conv2d_12_tf.w
|
|
//!HEIGHT conv2d_12_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_12_tf_tex(conv2d_12_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_12_tf1_tex(conv2d_12_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_12_tf2_tex(conv2d_12_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_12_tf3_tex(conv2d_12_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_12_tf4_tex(conv2d_12_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_12_tf5_tex(conv2d_12_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_12_tf_tex(conv2d_12_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_12_tf1_tex(conv2d_12_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_12_tf2_tex(conv2d_12_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_12_tf3_tex(conv2d_12_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_12_tf4_tex(conv2d_12_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_12_tf5_tex(conv2d_12_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.20167744, -0.157522, 0.17093335, -0.2046946, 0.2856094, -0.050556354, 0.007262048, 0.14952745, -0.04247257, 0.17190292, -0.09215134, 0.19234902, 0.11206616, -0.084574, -0.3175454, 0.042932633) * g_0;
|
|
result += mat4(-0.07878131, 0.062472034, 0.018257348, -0.19074398, 0.13601506, 0.008776523, 0.267088, -0.012840031, 0.050926745, 0.3572716, 0.12923348, 0.46291292, -0.23700884, -0.15193067, 0.0856555, 0.40051663) * g_1;
|
|
result += mat4(0.14584677, 0.013734126, -0.18150613, -0.012350994, 0.17582431, 0.4088792, 0.26603162, 0.091171645, -0.015379834, 0.0488545, 0.24532855, -0.051027495, 0.07409059, 0.08885718, 0.05520881, 0.015742032) * g_2;
|
|
result += mat4(-0.06285555, 0.08400318, 0.06185944, -0.18929732, 0.13995175, -0.19606028, 0.010748447, -0.20088021, 0.17389578, -0.029055133, 0.082567476, 0.050448395, 0.035711713, -0.043132007, 0.024843518, -0.09793246) * g_3;
|
|
result += mat4(-0.3586075, -0.3017418, -0.1681393, 0.22291918, 0.15187578, -0.19922642, -0.2057764, -0.27078348, 0.011819467, 0.17961735, -0.13120805, -0.088759094, 0.2551945, 0.047898185, 0.025353746, 0.060715955) * g_4;
|
|
result += mat4(0.016972095, -0.37482634, -0.0943781, -0.031390063, -0.34399232, 0.029482381, -0.078299224, -0.009884333, 0.21471865, -0.24464053, -0.043118928, 0.031691045, -0.10749998, -0.0004123357, -0.12062625, -0.018974587) * g_5;
|
|
result += mat4(0.16740109, 0.11503844, -0.249842, 0.37721476, -0.041268256, -0.047318432, -0.1646984, 0.050292853, -0.05445752, -0.13412616, -0.029601602, 0.05383983, -0.09787379, 0.1975832, -0.10428375, 0.04688707) * g_6;
|
|
result += mat4(0.12610112, -0.06527068, -0.051615972, 0.019693172, -0.064654246, 0.18017481, -0.14940402, -0.18683234, 0.01930582, -0.3629499, 0.10711305, -0.38592446, 0.18264556, 0.21697325, 0.40637898, 0.11306176) * g_7;
|
|
result += mat4(0.015629973, 0.09973684, -0.014146676, -0.032374937, -0.007512354, 0.03472241, -0.0057590734, -0.25632006, 0.24247666, -0.23546802, -0.09738896, -0.004368026, -0.2864425, 0.063916594, -0.0911149, 0.08962794) * g_8;
|
|
result += mat4(0.20205286, -0.119944714, -0.22832054, 0.12242931, -0.16022639, -0.0038066695, 0.15136321, 0.15943359, -0.034349896, 0.20438096, -0.024260236, -0.0099594, 0.19143064, 0.020218, -0.16863364, -0.022940978) * g_9;
|
|
result += mat4(0.2880043, 0.2553526, 0.2121158, 0.22303773, -0.35936388, -0.012881388, 0.16779672, 0.02153533, -0.13068561, -0.19650954, 0.19661143, -0.14305532, -0.03043471, -0.04733776, 0.3437708, -0.18667449) * g_10;
|
|
result += mat4(-0.28560263, -0.017020063, -0.0050273836, 0.006250603, 0.17099115, 0.18850201, -0.22828178, 0.015579833, 0.014822471, 0.30457675, -0.038834136, -0.31266782, 0.15971808, -0.06438075, -0.009744115, -0.03306814) * g_11;
|
|
result += mat4(-0.15123658, 0.2563589, -0.17504866, -0.01227597, 0.025134224, -0.15487325, 0.16592397, -0.26994568, 0.08195849, -0.059410386, -0.17071712, 0.43500945, 0.10446758, -0.124810636, 0.012390868, -0.0974764) * g_12;
|
|
result += mat4(-0.058242775, -0.16383912, 0.081500575, -0.28807116, -0.11164024, 0.06807287, -0.16831931, -0.056299932, 0.19682515, 0.22347595, 0.19510195, -0.121536516, 0.09904918, -0.030608056, 0.06541719, 0.3754091) * g_13;
|
|
result += mat4(0.14409892, -0.1411304, -0.0836665, 0.07335537, 0.13046919, -0.07286559, 0.045427103, 0.08125719, -0.06354604, -0.062673196, -0.18825212, 0.14445488, 0.0020812547, -0.03635817, -0.11814364, -0.13838975) * g_14;
|
|
result += mat4(0.046461742, -0.041100018, -0.024416603, -0.038657367, -0.019944014, -0.2316368, -0.024327591, 0.045484517, -0.019521859, -0.25675112, -0.17842057, 0.12149841, -0.13795595, -0.31766632, -0.11135957, -0.10803858) * g_15;
|
|
result += mat4(-0.16907722, 0.06126622, -0.06634626, 0.03341968, -0.060098544, -0.17163853, -0.10266564, 0.2723191, 0.19778359, 0.28850815, -0.34816468, 0.00064078096, 0.0035072854, 0.17807572, 0.12858596, -0.11537019) * g_16;
|
|
result += mat4(0.051234458, -0.07300655, 0.12607743, 0.09331296, 0.12784722, -0.2357276, 0.2502991, 0.100865416, -0.067441724, -0.17176364, 0.19372036, -0.0036744007, 0.1729184, -0.28252605, 0.13410504, 0.10560959) * g_17;
|
|
result += mat4(-0.16876727, -0.044162266, -0.04474033, -0.052215215, -0.16071874, 0.19163048, -0.0688657, -0.093865626, -0.033344444, 0.31560823, 0.087719224, -0.136447, -0.22141162, -0.009322204, -0.04754566, -0.10042662) * g_18;
|
|
result += mat4(0.16383414, 0.017913472, 0.031216452, 0.043571133, 0.09270605, -0.38240147, -0.047052402, -0.17349271, 0.03210811, 0.032853756, 0.012647186, -0.013132529, 0.00427122, -0.11034066, -0.073932715, -0.10335922) * g_19;
|
|
result += mat4(0.2385153, -0.14038697, -0.088857055, 0.00049609377, 0.14978889, 0.20203528, 0.23484455, 0.11428516, -0.06660778, 0.04556526, 0.025550742, -0.04666389, 0.29577836, 0.021924702, 0.029047322, -0.22408137) * g_20;
|
|
result += mat4(-0.058507595, -0.0062844846, -0.1952249, -0.15763733, -0.13065399, -0.11990473, 0.052280486, 0.38537347, -0.14243399, 0.07946314, 0.09423048, 0.16778792, -0.26061493, 0.04655475, -0.13971363, 0.19715877) * g_21;
|
|
result += mat4(0.20081937, 0.11324881, 0.059111953, 0.21300194, -0.19257958, -0.02915909, 0.14482126, -0.34046003, -0.44731438, -0.043879975, 0.41890976, 0.28744698, -0.18441407, 0.012571736, 0.18022124, 0.09692596) * g_22;
|
|
result += mat4(-0.21155542, -0.16366267, 0.037170194, 0.082775876, 0.18969263, 0.28030342, 0.12968771, 0.33312726, 0.040552497, 0.12065949, -0.351312, -0.18901314, 0.013641883, -0.11387678, 0.07249402, -0.3379979) * g_23;
|
|
result += vec4(0.03052825, 0.036824416, -0.025144452, 0.1161349);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x96
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_12_tf
|
|
//!BIND conv2d_12_tf1
|
|
//!BIND conv2d_12_tf2
|
|
//!BIND conv2d_12_tf3
|
|
//!BIND conv2d_12_tf4
|
|
//!BIND conv2d_12_tf5
|
|
//!BIND conv2d_14_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!SAVE conv2d_15_tf3
|
|
//!WIDTH conv2d_12_tf.w
|
|
//!HEIGHT conv2d_12_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_12_tf_tex(conv2d_12_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_12_tf1_tex(conv2d_12_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_12_tf2_tex(conv2d_12_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_12_tf3_tex(conv2d_12_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_12_tf4_tex(conv2d_12_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_12_tf5_tex(conv2d_12_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_12_tf_tex(conv2d_12_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_12_tf1_tex(conv2d_12_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_12_tf2_tex(conv2d_12_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_12_tf3_tex(conv2d_12_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_12_tf4_tex(conv2d_12_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_12_tf5_tex(conv2d_12_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.1258338, 0.14226808, 0.240008, 0.20935175, -0.19359687, 0.10969335, -0.010278096, 0.05047169, -0.102325425, -0.14043438, -0.015837658, 0.057497922, -0.13778384, -0.13050987, 0.04406178, -0.39388844) * g_0;
|
|
result += mat4(-0.06764633, -0.093226075, 0.19161254, 0.04461978, -0.0022064429, -0.0873564, 0.19151486, -0.19599946, -0.053517688, -0.17137547, -0.08812489, -0.15874967, -0.087588355, 0.10767261, -0.12681739, 0.043519877) * g_1;
|
|
result += mat4(-0.056669228, 0.15541172, -0.22413507, -0.039581873, 0.117746115, -0.12828018, 0.2591866, 0.2189227, -0.020655332, -0.052517164, 0.14853618, 0.021707572, -0.1180331, -0.042699628, -0.059315376, 0.21756358) * g_2;
|
|
result += mat4(0.030828092, 0.15607356, 0.28521895, -0.042055506, -0.11905841, -0.15199395, -0.07747248, 0.024884254, 0.26103246, -0.13039832, 0.29503205, -0.28014213, -0.030749863, 0.07596026, 0.06978804, 0.09495172) * g_3;
|
|
result += mat4(-0.0061593466, -0.04792949, -0.04643929, 0.2671162, 0.10275537, 0.119533755, -0.03177247, 0.09164708, -0.06147422, -0.09079532, -0.17421386, 0.054402016, -0.19640115, 0.21798742, 0.08417971, -0.18372132) * g_4;
|
|
result += mat4(-0.016552202, -0.14055125, -0.123929895, -0.03586157, 0.015958441, -0.024276946, -0.07081423, 0.075157166, 0.08328419, -0.3006715, -0.16210157, 0.048386306, 0.22541969, -0.09116436, -0.058013353, 0.046983466) * g_5;
|
|
result += mat4(0.16410074, -0.24386454, 0.029308453, -0.22966138, 0.024182033, 0.0026562335, 0.10890961, -0.070607066, 0.009880331, 0.20278706, 0.06307576, -0.20934898, 0.054937962, 0.13425954, 0.008564824, -0.18836361) * g_6;
|
|
result += mat4(-0.09830079, 0.03236859, 0.03107909, 0.22993204, -0.11275689, -0.387966, -0.028363353, 0.22778703, 0.21028486, 0.14199334, 0.12961474, 0.08735737, -0.09498103, -0.24960843, -0.097761855, 0.076679096) * g_7;
|
|
result += mat4(-0.027410751, -0.050148983, -0.1589488, 0.123207964, 0.038601056, 0.026354158, -0.21397862, -0.08466078, 0.15880482, 0.055978496, 0.19484214, 0.11916298, 0.14721805, -0.23357584, 0.0078795785, -0.0996502) * g_8;
|
|
result += mat4(-0.19617492, -0.21137202, 0.16017112, -0.15807675, -0.08558705, 0.15672047, -0.15000702, 0.11593056, -0.24458766, -0.3095287, 0.1798453, 0.25473964, 0.049579866, 0.05214217, -0.33104697, -0.20109792) * g_9;
|
|
result += mat4(-0.16142516, -0.086649776, 0.12965636, -0.043352634, -0.22007716, -0.11945573, 0.17535049, -0.18496615, 0.09211835, -0.1083943, 0.02861594, 0.018325359, -0.008602158, -0.2642866, 0.23170324, -0.069464125) * g_10;
|
|
result += mat4(-0.08273795, 0.44922677, -0.17449674, 0.036582816, -0.2044118, -0.0785363, -0.010560787, -0.020391712, -0.1472953, 0.06526804, 0.036532953, 0.041924234, 0.22576968, 0.030341445, 0.06348345, 0.1657037) * g_11;
|
|
result += mat4(0.12300708, 0.10313409, -0.218913, 0.0925751, -0.04154223, 0.12221261, 0.17770545, -0.047017407, -0.11911827, 0.18008873, 0.07366393, -0.071406454, -0.1857546, -0.107086435, 0.13000482, 0.26223418) * g_12;
|
|
result += mat4(0.27922675, -0.020313295, 0.124291986, -0.4803649, 0.0820355, 0.0075657824, -0.42316064, 0.13983229, 0.036435798, 0.086694, -0.022463394, -0.07225639, 0.15858616, 0.13137603, -0.3139255, -0.045889717) * g_13;
|
|
result += mat4(0.009831248, -0.2589872, -0.27047434, 0.09680306, -0.25239283, -0.13848639, -0.06873848, 0.09892522, -0.111392066, -0.11744757, -0.0209528, 0.14345014, -0.17972618, -0.050757416, -0.11837715, 0.113276444) * g_14;
|
|
result += mat4(-0.079554394, 0.03549963, 0.08195095, 0.10447346, 0.22000594, -0.07855921, 0.08771018, -0.074869476, -0.06463524, -0.029571146, 0.07834643, -0.054893587, -0.031394493, 0.11804174, 0.011439201, -0.012135598) * g_15;
|
|
result += mat4(0.010138283, 0.123592444, 0.12088062, -0.072726145, -0.1476337, 0.05586365, -0.17523633, 0.1794935, -0.09707175, -0.0070755873, 0.015243624, 0.088103086, -0.09594741, 0.088290714, -0.25558707, -0.09352657) * g_16;
|
|
result += mat4(-0.07432931, -0.23920125, 0.085965216, 0.005462481, -0.038702115, -0.06904665, -0.11373804, 0.0004949891, 0.15440702, -0.05119101, -0.15140614, -0.053231947, 0.0789753, -0.033853266, -0.042450577, 0.21443205) * g_17;
|
|
result += mat4(0.20033926, 0.03339586, -0.038804412, 0.06836419, 0.042136673, 0.1732327, 0.1840776, 0.068900384, -0.014886417, 0.040377848, 0.14544998, -0.3117639, 0.062669605, -0.17392826, -0.10326911, 0.14575791) * g_18;
|
|
result += mat4(-0.1810851, -0.14432015, -0.023838026, 0.20591272, -0.12021834, 0.12145132, 0.23006062, -0.22292806, 0.121778086, -0.010450825, 0.07063981, -0.12191605, -0.093348175, -0.23857832, 0.019086037, 0.037132252) * g_19;
|
|
result += mat4(0.14685363, 0.11266721, -0.070741475, 0.12563772, -0.007161916, -0.06453287, 0.037466098, 0.048857793, -0.1628751, -0.22175354, 0.29700285, -0.11423984, 0.08846723, -0.23265848, 0.17491908, 0.080801815) * g_20;
|
|
result += mat4(-0.1363871, 0.025643691, -0.16553839, -0.19008316, 0.11270188, 0.117668256, 0.5445655, 0.00021881262, -0.30459318, 0.42322806, -0.1023466, 0.078944914, -0.2456569, -0.049000096, -0.2082636, 0.08840609) * g_21;
|
|
result += mat4(0.108215936, -0.12065532, 0.33155185, -0.08652035, 0.09861397, 0.266811, 0.22938332, -0.008803374, 0.2089193, -0.23314697, -0.12652464, -0.0832078, -0.11179262, -0.042625453, -0.33507705, 0.07660972) * g_22;
|
|
result += mat4(-0.11835138, 0.0343298, 0.038553935, 0.10861632, 0.14620744, -0.1603159, -0.06951457, -0.0954962, 0.026970498, -0.0077033173, -0.029423261, -0.26626873, 0.028545115, 0.21267426, 0.51278436, 0.027819967) * g_23;
|
|
result += vec4(-0.079484746, -0.06229742, -0.030395202, 0.033547744);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x96
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_12_tf
|
|
//!BIND conv2d_12_tf1
|
|
//!BIND conv2d_12_tf2
|
|
//!BIND conv2d_12_tf3
|
|
//!BIND conv2d_12_tf4
|
|
//!BIND conv2d_12_tf5
|
|
//!BIND conv2d_14_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!SAVE conv2d_15_tf4
|
|
//!WIDTH conv2d_12_tf.w
|
|
//!HEIGHT conv2d_12_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_12_tf_tex(conv2d_12_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_12_tf1_tex(conv2d_12_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_12_tf2_tex(conv2d_12_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_12_tf3_tex(conv2d_12_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_12_tf4_tex(conv2d_12_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_12_tf5_tex(conv2d_12_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_12_tf_tex(conv2d_12_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_12_tf1_tex(conv2d_12_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_12_tf2_tex(conv2d_12_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_12_tf3_tex(conv2d_12_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_12_tf4_tex(conv2d_12_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_12_tf5_tex(conv2d_12_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.14196062, -0.02053057, -0.07263348, 0.22242844, -0.069366455, -0.07599116, -0.24256042, 0.054868866, -0.17625082, -0.007019716, -0.113896124, 0.06029265, -0.33038747, -0.24047355, -0.07707203, -0.12618175) * g_0;
|
|
result += mat4(0.2641447, 0.20302898, 0.11049544, 0.06935479, 0.08874244, -0.11180222, 0.22703084, -0.037252616, 0.049151152, -0.26571065, 0.2566087, -0.19559465, 0.026178649, -0.09336953, -0.15396582, -0.060832605) * g_1;
|
|
result += mat4(-0.14049934, 0.037963107, -0.21600282, -0.024867453, 0.23356499, 0.25709978, 0.20883206, 0.025470912, 0.081024416, 0.086439654, 0.039591312, 0.0703785, 0.08931542, -0.017118547, 0.08146628, -0.20914824) * g_2;
|
|
result += mat4(0.16301146, 0.055098668, -0.17369606, 0.1285926, -0.21210109, -0.21506578, 0.2993681, -0.18734126, 0.10324259, -0.10892179, 0.16455299, -0.09379545, 0.07187383, 0.18076982, -0.19408746, -0.14634538) * g_3;
|
|
result += mat4(-0.17136872, 0.18589741, -0.26261556, 0.27026632, -0.06397295, -0.19135362, -0.13612793, 0.04076611, -0.14749071, 0.0644836, 0.029172575, 0.14051709, 0.018954301, -0.17011856, 0.03518231, 0.14694777) * g_4;
|
|
result += mat4(0.01462739, 0.16519663, -0.06963009, -0.26547143, 0.053700965, -0.07965579, 0.030911697, 0.08216649, -0.09090798, -0.14469762, 0.101480395, 0.2453987, 0.16511187, 0.09583153, -0.051365204, -0.31418574) * g_5;
|
|
result += mat4(-0.14265122, 0.013500145, -0.27755547, -0.35044006, -0.28055587, 0.14820805, -0.07966734, 0.20943366, 0.3879986, 0.044507142, 0.28056288, 0.12725809, -0.043548014, 0.054243155, 0.053768754, -0.07648862) * g_6;
|
|
result += mat4(-0.16118912, -0.15949926, 0.10161533, 0.22494748, -0.14213897, 0.012663654, 0.19885182, -0.15045607, -0.17744212, 0.15615463, -0.17122573, 0.041775905, 0.16900201, 0.09705761, -0.003141293, -0.031626303) * g_7;
|
|
result += mat4(0.26178294, 0.13443723, -0.10966655, -0.025935082, 0.11178123, 0.10601803, 0.11125899, -0.04168405, 0.07152025, -0.12318109, 0.06391876, -0.26012185, -0.26537088, -0.01870863, -0.31110883, 0.072430775) * g_8;
|
|
result += mat4(-0.11461679, -0.11115381, -0.11512802, -0.0849818, -0.19124708, -0.09565243, -0.31988642, -0.007379634, 0.13623501, -0.27210787, 0.20422134, 0.17212251, 0.20176752, -0.2088367, 0.057676136, 0.26400682) * g_9;
|
|
result += mat4(0.06382013, -0.019412925, 0.11166499, -0.1167881, -0.071942225, 0.018743433, -0.14072515, -0.07148564, -0.10749998, 0.12237429, -0.10744663, 0.04025467, 0.26050708, 0.351076, -0.02934236, -0.22102655) * g_10;
|
|
result += mat4(-0.10656222, -0.09071829, -0.34339997, -0.07646886, 0.02796594, 0.005340661, 0.115450874, 0.14969155, 0.03835863, -0.010790472, -0.05871064, 0.01423236, 0.22537707, 0.33385828, -0.15029915, 0.07367339) * g_11;
|
|
result += mat4(0.30884805, -0.23663065, 0.031883277, -0.03320561, -0.050423212, -0.3281527, 0.10394608, -0.0749873, -0.064002484, -0.35469085, -0.2122367, 0.020249272, -0.27326742, 0.02000293, 0.20578866, -0.018839063) * g_12;
|
|
result += mat4(-0.5473822, -0.10873662, -0.29810318, -0.07632667, 0.047157068, 0.06275736, -0.09811392, 0.24783231, -0.12046891, 0.41266727, 0.2436679, 0.024679149, -0.12600063, -0.17010899, -0.21425788, 0.07119708) * g_13;
|
|
result += mat4(0.117677234, -0.054181933, 0.065846235, -0.04929893, 0.08533609, 0.04636543, 0.30038458, 0.02330411, 0.024728734, -0.09597387, 0.010447719, -0.20696889, -0.017916039, 0.079871304, 0.010056369, 0.06291176) * g_14;
|
|
result += mat4(-0.0579763, 0.018944405, -0.14009921, 0.08765421, -0.029314717, -0.13179289, -0.009668318, -0.117530614, -0.0853067, 0.03650012, 0.0078530945, -0.19518211, -0.05920554, 0.19264583, 0.008880586, -0.03560413) * g_15;
|
|
result += mat4(0.042966127, 0.025064057, 0.094821475, -0.016764855, -0.21325764, -0.060747217, -0.07825418, -0.1374183, 0.06629058, -0.093919374, 0.15805462, 0.1187494, 0.21715021, -0.09113653, 0.06076613, 0.1753257) * g_16;
|
|
result += mat4(0.23275353, -0.045174975, 0.17990083, -0.03170214, -0.20888183, -0.050161786, -0.44225174, -0.07750995, 0.055791933, 0.1754295, 0.13890503, -0.087261945, 0.015942331, -0.002073752, 0.23700726, -0.1406417) * g_17;
|
|
result += mat4(-0.17989896, 0.052198254, 0.09631692, -0.16038898, 0.03376904, -0.042175625, -0.039186575, -0.2520231, 0.04852203, 0.09647585, -0.011128373, 0.010953865, -0.1797949, -0.058203597, 0.06857295, 0.040861364) * g_18;
|
|
result += mat4(-0.025050908, -0.1299404, 0.28858674, -0.017769823, 0.06310829, 0.086729944, 0.08149323, -0.055179875, 0.13012943, -0.07458519, 0.1382156, 0.051026117, -0.18673064, 0.086739376, 0.09040544, 0.0836127) * g_19;
|
|
result += mat4(0.020357449, 0.22048305, 0.09739252, 0.24337311, 0.010595294, -0.11086683, 0.059038695, 0.05644574, -0.16103926, -0.035155784, -0.26436335, -0.06716334, 0.17485845, 0.16937979, -0.20187125, -0.038486667) * g_20;
|
|
result += mat4(-0.0045594163, -0.21635443, 0.06031479, -0.19148222, -0.006656789, 0.08385509, -0.03819692, -0.17931695, 0.07232661, 0.23445003, -0.17640385, 0.16671506, -0.184719, -0.029015712, -0.022614706, 0.014873415) * g_21;
|
|
result += mat4(0.32585597, -0.16295198, 0.04640218, 0.07696528, 0.069500424, 0.105702765, 0.1296909, 0.24009204, 0.14028086, 0.28418058, 0.11589889, -0.22921228, 0.010826454, -0.054120503, -0.25884682, -0.30648708) * g_22;
|
|
result += mat4(0.07101887, -0.41187993, 0.31501228, -0.11794851, -0.20814322, -0.18655151, 0.14477637, -0.22380604, -0.058629174, -0.02504061, -0.09827353, 0.046498295, 0.18585126, 0.011712637, -0.10845518, -0.1348349) * g_23;
|
|
result += vec4(0.04891512, -0.022042824, 0.015331318, -0.0034486696);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x96
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_12_tf
|
|
//!BIND conv2d_12_tf1
|
|
//!BIND conv2d_12_tf2
|
|
//!BIND conv2d_12_tf3
|
|
//!BIND conv2d_12_tf4
|
|
//!BIND conv2d_12_tf5
|
|
//!BIND conv2d_14_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!SAVE conv2d_15_tf5
|
|
//!WIDTH conv2d_12_tf.w
|
|
//!HEIGHT conv2d_12_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_12_tf_tex(conv2d_12_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_12_tf1_tex(conv2d_12_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_12_tf2_tex(conv2d_12_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_12_tf3_tex(conv2d_12_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_12_tf4_tex(conv2d_12_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_12_tf5_tex(conv2d_12_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_12_tf_tex(conv2d_12_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_12_tf1_tex(conv2d_12_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_12_tf2_tex(conv2d_12_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_12_tf3_tex(conv2d_12_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_12_tf4_tex(conv2d_12_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_12_tf5_tex(conv2d_12_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.1563384, -4.2348038e-05, 0.21088852, -0.10074043, -0.2737169, 0.19910938, -0.06523852, 0.08260719, 0.06681506, 0.08398279, 0.08112851, -0.06271677, 0.19443683, 0.3140938, 0.06358846, -0.24377517) * g_0;
|
|
result += mat4(-0.07703153, -0.0842186, 0.01512419, 0.091211595, -0.11350783, 0.08426691, -0.028900454, 0.11823197, 0.04875585, 0.03750477, 0.19681686, -0.04269959, 0.036398802, 0.047569744, 0.12544703, -0.026172163) * g_1;
|
|
result += mat4(0.29032633, 0.050980248, 0.058194604, -0.019475559, 0.17345822, -0.24062975, -0.21322982, 0.42244488, 0.06804174, -0.18426242, -0.10372379, -0.07140781, 0.18495008, -0.34838748, 0.12188065, -0.19211207) * g_2;
|
|
result += mat4(-0.29782, 0.13921519, -0.08461761, -0.107774965, 0.08354831, 0.118166685, 0.1622595, 0.03740301, 0.08480873, 0.078856945, -0.037666395, 0.08779327, -0.041599847, -0.08245203, 0.1429502, 0.08010295) * g_3;
|
|
result += mat4(0.1605823, 0.00014730562, 0.016887885, -0.040745202, 0.17265643, 0.29641476, -0.12986568, -0.05113458, 0.076540425, 0.15484014, -0.23496233, 0.19515266, -0.028631026, -0.038202707, -0.080664515, 0.12057771) * g_4;
|
|
result += mat4(0.11460453, -0.050684724, 0.20615812, 0.01643888, -0.10416711, 0.100582175, 0.035920016, -0.025840579, 0.1103276, 0.2833988, 0.024743505, -0.10666319, 0.17747831, 0.21371357, 0.032975666, -0.04190704) * g_5;
|
|
result += mat4(0.011197512, 0.16411427, -0.19208677, -0.17151442, 0.16737005, 0.027391635, -0.026951822, -0.016613541, 0.0032831782, -0.059412222, -0.066838935, -0.10225273, 0.0021287128, 0.023737555, 0.13474901, -0.04558329) * g_6;
|
|
result += mat4(-0.19312629, -0.01058644, -0.21747608, -0.1474776, 0.042395744, -0.17641127, -0.16623084, 0.09171901, -0.21876743, 0.22580327, -0.084752835, -0.25452504, 0.07984656, -0.4423898, -0.22987825, -0.08352869) * g_7;
|
|
result += mat4(0.0069102994, -0.110352114, -0.07521295, 0.099378504, 0.001659902, -0.0038716302, 0.037715383, -0.11712855, 0.12579428, 0.0017785282, -0.22036885, -0.019738209, -0.0034085102, 0.26078427, -0.12166613, 0.2008257) * g_8;
|
|
result += mat4(-0.038544666, -0.07219808, 0.028675534, 0.099281736, -0.23815387, 0.03485132, 0.046542224, -0.3781598, 0.19114049, -0.08161937, 0.06317728, 0.20634823, 0.0802016, -0.1216539, 0.25130817, -0.13255747) * g_9;
|
|
result += mat4(-0.05713687, -0.019339267, 0.066463225, 0.11161798, -0.21163659, 0.075951084, -0.029443193, -0.25528103, -0.2308967, -0.15222046, 0.04718688, 0.06978249, 0.12882593, -0.5987798, -0.12197535, 0.030687023) * g_10;
|
|
result += mat4(-0.13764851, 0.15330292, 0.16018312, -0.49503544, -0.16520153, 0.13832116, -0.024153056, 0.027324235, -0.09427501, -0.040549293, -0.024912398, 0.08060826, 0.09142337, 0.00488734, -0.15568374, -0.0985281) * g_11;
|
|
result += mat4(-0.10500595, 0.20050812, -0.01487173, 0.15295555, -0.04712123, 0.051116835, -0.302946, 0.12568721, -0.1681454, -0.07675961, -0.3161021, -0.12655284, -0.3167647, 0.09684754, -0.16133003, 0.15951052) * g_12;
|
|
result += mat4(0.15607205, -0.25850067, 0.11871884, -0.31882218, 0.17650777, -0.019189376, 0.1073271, 0.0034152938, 0.10415428, 0.0054145185, 0.16176777, -0.10523716, 0.07847772, 0.040496692, 0.22647256, 0.04398088) * g_13;
|
|
result += mat4(0.24400397, -0.0384044, -0.21188568, 0.27411124, 0.14313321, 0.072909415, 0.18460783, 0.14612274, 0.2838993, 0.140949, -0.21245211, 0.27844483, 0.14368927, 0.016486926, 0.1082019, -0.060620487) * g_14;
|
|
result += mat4(-0.14134651, -7.1389e-05, -0.19200438, -0.053445943, -0.103280954, -0.20622449, 0.029827105, -0.2797714, 0.1552006, -0.26046538, -0.13706698, 0.083868355, -0.25775772, -0.20121866, -0.03605909, -0.069998674) * g_15;
|
|
result += mat4(0.058855478, -0.1532865, 0.03206366, -0.005691445, -0.38566765, -0.16169494, 0.02574184, -0.054270905, -0.12126733, -0.057428207, 0.18522896, -0.16544363, -0.26917803, -0.12187415, 0.17564186, -0.14418602) * g_16;
|
|
result += mat4(-0.05512333, 0.037456047, -0.04533679, 0.12092291, -0.19412133, -0.10732244, -0.26686874, 0.379613, 0.06616941, 0.21898451, -0.01444954, 0.12263187, -0.066122636, -0.0626703, -0.11018273, 0.16922808) * g_17;
|
|
result += mat4(0.12281162, -0.00843568, -0.11958423, 0.03653139, 0.089102715, 0.07257941, -0.16025232, 0.012180051, -0.15409741, -0.11771615, -0.02216731, -0.1854874, -0.0236496, -0.055969007, -0.21524337, -0.13740915) * g_18;
|
|
result += mat4(0.030042715, -0.06231122, -0.18729754, 0.21269098, -0.16715202, -0.29836708, 0.07573045, 0.13103722, 0.028832506, -0.027299328, -0.0870532, -0.025646947, -0.19446446, 0.0058135786, -0.1405455, 0.07491713) * g_19;
|
|
result += mat4(-0.07880487, -0.13220546, 0.06522037, 0.121417455, 0.009829517, 0.06654325, 0.2568132, -0.20259766, 0.0007492223, -0.08141206, -0.24408619, 0.0041711377, 0.17885362, -0.018794749, -0.18738106, -0.20076036) * g_20;
|
|
result += mat4(0.43662158, -0.073237136, 0.06410434, 0.0768924, -0.22872317, -0.07136076, 0.08949116, -0.020143397, 0.000121645106, -0.11288245, 0.33393764, 0.16950496, -0.11639818, 0.13381785, 0.023384197, 0.16942506) * g_21;
|
|
result += mat4(0.020018844, -0.18646887, -0.0069234655, 0.09404709, 0.1482564, 0.039720826, -0.15250199, -0.010954307, -0.10006045, 0.024348486, 0.15170497, -0.19681026, -0.17672434, -0.040419213, -0.26169667, -0.20060538) * g_22;
|
|
result += mat4(-0.15089865, -0.09773179, 0.13388306, -0.2330703, 0.20980428, 0.05050314, 0.26115113, 0.11146053, -0.10908558, 0.29291332, 0.08921834, -0.059216894, 0.14480549, 0.10386442, 0.28325698, -0.02240901) * g_23;
|
|
result += vec4(0.009868551, -0.021667233, 0.06688179, -0.050735172);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x48
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_15_tf
|
|
//!BIND conv2d_15_tf1
|
|
//!BIND conv2d_15_tf2
|
|
//!BIND conv2d_15_tf3
|
|
//!BIND conv2d_15_tf4
|
|
//!BIND conv2d_15_tf5
|
|
//!SAVE conv2d_17_tf
|
|
//!WIDTH conv2d_15_tf.w
|
|
//!HEIGHT conv2d_15_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv2d_15_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_15_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv2d_15_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max((conv2d_15_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv2d_15_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv2d_15_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv2d_15_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv2d_15_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_8(x_off, y_off) (max(-(conv2d_15_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_9(x_off, y_off) (max(-(conv2d_15_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_10(x_off, y_off) (max(-(conv2d_15_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_11(x_off, y_off) (max(-(conv2d_15_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.13909039, -0.2758443, -0.15549822, -0.21690473, -0.07923852, -0.09169328, 0.09857283, -0.038407415, 0.026662275, -0.14345916, -0.06419781, 0.10444112, 0.056220166, -0.058079287, -0.06320064, -0.028494911) * go_0(-1.0, -1.0);
|
|
result += mat4(0.15624148, 0.10268067, -0.016454808, 0.016080856, -0.015272284, -0.08522293, 0.0873229, -0.024027828, 0.10366319, 0.24151047, 0.05591687, 0.13326511, -0.09852231, 0.015153752, 0.2225204, -0.09891376) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.24936886, 0.14448532, -0.022069195, -0.17893305, -0.036762826, 0.020932999, -0.14078294, -0.025846701, -0.017136928, 0.084727734, -0.065261126, -0.079833455, 0.035541777, -0.31848356, 0.11859154, -0.059010625) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.11268288, 0.09472596, 0.019250976, 0.28094825, 0.011346067, 0.035015494, 0.0968698, -0.10769359, 0.030088216, -0.17863207, -0.047283698, -0.23173922, -0.15179567, 0.17011616, 0.16418608, 0.12054937) * go_0(0.0, -1.0);
|
|
result += mat4(-0.01975749, -0.022133604, 0.06773859, -0.13298218, -0.13343452, -0.14723383, 0.066827744, 0.15123478, 0.10071557, 0.10771438, -0.102727406, 0.12027581, 0.094043024, 0.19802345, 0.26050565, -0.017552424) * go_0(0.0, 0.0);
|
|
result += mat4(0.06427193, -0.3156719, -0.21497993, -0.11312501, 0.07889608, -0.14012727, 0.08701214, -0.010441211, 0.07672145, -0.24959035, 0.02568503, 0.09305062, 0.32068336, -0.12372654, 0.14856067, 0.0033550626) * go_0(0.0, 1.0);
|
|
result += mat4(0.1444462, -0.26448715, -0.072086915, 0.06998635, -0.124471135, 0.022079868, -0.017912114, 0.13363993, -0.03071384, -0.047221437, -0.05649517, 0.016927326, -0.018473048, 0.1990699, 0.11751022, -0.23560514) * go_0(1.0, -1.0);
|
|
result += mat4(0.09064013, -0.20314787, -0.13019052, -0.15806477, 0.043258376, 0.036779925, -0.096650146, 0.29370993, -0.11641966, 0.16166396, -0.17143643, -0.07076745, 0.16507551, 0.14331506, -0.19428208, -0.13578305) * go_0(1.0, 0.0);
|
|
result += mat4(-0.011135427, -0.08528984, 0.13338107, 0.24289025, 0.021911498, -0.06663322, -0.19145428, 0.1247173, 0.10634343, 0.059987687, -0.06845577, 0.24554275, 0.07028687, -0.044211626, -0.009483901, 0.09419117) * go_0(1.0, 1.0);
|
|
result += mat4(-0.0026129098, -0.17574309, 0.026859857, 0.027474795, -0.034411624, -0.14238088, -0.077630945, 0.114882454, -0.27058813, 0.12177941, 0.111984365, -0.28255796, -0.2245185, -0.04338974, -0.0660627, -0.059915736) * go_1(-1.0, -1.0);
|
|
result += mat4(0.06892073, -0.045175124, -0.12761256, 0.10170286, -0.05765309, -0.0023109026, -0.19990581, 0.06436732, -0.13688049, 0.1295112, 0.22120035, -0.19151583, -0.018821288, -0.039281663, 0.028450448, 0.06327554) * go_1(-1.0, 0.0);
|
|
result += mat4(-0.2221726, 0.030984212, 0.14921308, 0.02191454, -0.11420433, 0.3331954, 0.01680598, 0.016501935, -0.035378505, 0.1533518, 0.15650067, 0.3825426, 0.0036855275, 0.040003296, 0.023097156, -0.07425845) * go_1(-1.0, 1.0);
|
|
result += mat4(0.0092148, -0.08188161, 0.12125656, 0.022932237, 0.07331983, -0.0037753046, -0.06377172, 0.016332872, 0.37620664, 0.15967114, 0.49295172, -0.58731335, -0.08408415, -0.050906483, 0.23563771, 0.031643428) * go_1(0.0, -1.0);
|
|
result += mat4(0.04720337, -0.25609496, -0.25205976, 0.15615444, -0.08850946, 0.061378974, 0.09682221, 0.07092605, -0.24774401, 0.002368409, -0.15355378, -0.25011083, 0.06426719, -0.07044866, -0.19390436, 0.13299207) * go_1(0.0, 0.0);
|
|
result += mat4(0.19630235, -0.0033910607, -0.24319367, -0.004994967, -0.10829249, -0.029953144, 0.16902646, 0.026392145, -0.5281548, 0.039464116, 0.12516351, 0.24137491, 0.32027858, 0.26550376, 0.07770324, -0.14738972) * go_1(0.0, 1.0);
|
|
result += mat4(-0.07044386, 0.017632812, 0.03397031, 0.02325153, -0.07033528, 0.009580951, 0.12427126, 0.023936138, 0.12422283, -0.021284323, -0.3568679, -0.18785962, 0.060772985, 0.08322054, -0.05543489, -0.017640945) * go_1(1.0, -1.0);
|
|
result += mat4(0.037026495, -0.08138431, -0.25361013, -0.063190304, -0.12435272, -0.0121310325, 0.028444627, 0.1159856, 0.29287088, 0.17523797, 0.34694648, -0.03419562, 0.05540643, 0.022938663, 0.015469776, -0.3007707) * go_1(1.0, 0.0);
|
|
result += mat4(0.10364684, 0.010591817, -0.29896963, 0.008337799, -0.07768124, -0.03402122, 0.08162434, -0.04535153, -0.04413717, -0.04104856, 0.09944295, 0.1630799, -0.025836414, -0.006144375, -0.042212676, 0.017850246) * go_1(1.0, 1.0);
|
|
result += mat4(-0.0014995555, 0.1301909, -0.13113633, 0.044282097, -0.030331785, -0.06741536, -0.10394319, -0.10032595, -0.0024030337, 0.0025035767, 0.123267144, 0.020269886, -0.061000597, 0.050499044, 0.16068412, 0.08382042) * go_2(-1.0, -1.0);
|
|
result += mat4(0.048839077, -0.11403855, 0.23305576, 0.013233186, 0.00027583016, 0.06457909, -0.31317908, 0.13246149, -0.022993272, -0.003232102, -0.2850458, -0.0021278018, -0.05313734, 0.042667508, 0.10002862, -0.09310937) * go_2(-1.0, 0.0);
|
|
result += mat4(-0.077087514, -0.0731581, -0.033167798, 0.22322518, -0.0072739185, 0.06759429, 0.13072832, -0.030112708, 0.17211108, 0.044867992, 0.12458611, 0.12558623, -0.08141064, -0.07691179, 0.04704071, -0.009616284) * go_2(-1.0, 1.0);
|
|
result += mat4(-0.061900582, 0.05083524, -0.07481879, -0.008148896, -0.25680214, -0.19532341, -0.0077763074, -0.18943709, 0.062092744, -0.06780607, 0.20470539, -0.100939944, -0.083406664, 0.039849486, 0.057403386, -0.034012284) * go_2(0.0, -1.0);
|
|
result += mat4(0.063984595, -0.046671912, -0.11180163, 0.16569868, 0.13651815, -0.26504683, 0.3516574, -0.16390952, 0.22006357, 0.014418034, -0.032192435, 0.24635631, 0.15570761, -0.05709386, 0.0021393108, 0.10958737) * go_2(0.0, 0.0);
|
|
result += mat4(-0.20880438, 0.23150757, -0.28669757, -0.06300997, 0.16522118, -0.15836449, -0.13945056, 0.08054381, -0.17826983, 0.29809955, 0.05596465, -0.13098064, -0.07391586, 0.033108216, 0.017372966, 0.0759838) * go_2(0.0, 1.0);
|
|
result += mat4(-0.10118925, -0.0628758, 0.15791777, -0.06281725, -0.106398635, -0.20697908, 0.08337917, 0.21240014, -0.019651197, 0.17935011, -0.047345538, -0.05023177, -0.16398883, -0.022196433, 0.06758503, -0.045874797) * go_2(1.0, -1.0);
|
|
result += mat4(-0.11229549, -0.2022966, 0.011829877, 0.043107063, 0.009853597, 0.0050366563, 0.26873958, 0.18433554, 0.14746298, 0.14415571, -0.017679501, 0.27438703, -0.1302988, 0.12988916, 0.088153414, 0.106513605) * go_2(1.0, 0.0);
|
|
result += mat4(0.10376787, -0.0047222245, 0.08310562, -0.16133316, 0.10729247, -0.19027553, -0.20316097, -0.016623149, -0.016964545, -0.118997425, 0.2874691, -0.08105579, 0.074227005, -0.11183289, 0.014021094, 0.10651369) * go_2(1.0, 1.0);
|
|
result += mat4(-0.102301665, -0.15467137, -0.11269468, 0.1661824, -0.11272104, 0.032636076, 0.18424207, 0.04376825, -0.0205868, 0.049006972, 0.18137778, 0.16302183, -0.00424216, -0.11100643, -0.14523934, -0.12987468) * go_3(-1.0, -1.0);
|
|
result += mat4(-0.33604157, 0.23738097, 0.029106395, 0.23771285, 0.11055132, -0.2735294, -0.0037745454, -0.10978288, -0.04494175, 0.013818023, -0.054236915, 0.0723093, -0.10448047, 0.05279135, -0.18257608, 0.11979242) * go_3(-1.0, 0.0);
|
|
result += mat4(-0.1841309, -0.23492603, 0.19893481, 0.11349696, -0.11672084, 0.13324858, -0.2366, 0.08350877, 0.012535251, -0.120517224, -0.12162933, 0.025766864, -0.15014678, 0.12059762, 0.20399652, -0.067410246) * go_3(-1.0, 1.0);
|
|
result += mat4(0.04617167, -0.34310207, 0.08195369, -0.15616603, 0.024950216, 0.122991696, 0.008032626, -0.11081737, 0.0040866514, 0.18364492, -0.22554733, 0.11328397, 0.047641527, -0.02355604, -0.051569168, -0.22984326) * go_3(0.0, -1.0);
|
|
result += mat4(-0.14225705, 0.16004431, -0.10378764, -0.05134365, 0.06683132, -0.06686414, -0.24326906, -0.15534434, -0.10464304, 0.016448364, -0.10384352, 0.07529887, 0.011004206, -0.23186995, -0.06498495, -0.07485197) * go_3(0.0, 0.0);
|
|
result += mat4(-0.1890264, -0.028579775, 0.25052974, -0.0899001, -0.090341054, 0.13559796, -0.08127747, -0.21338242, 0.24483396, 0.15507841, 0.3770633, 0.020311723, -0.061488036, 0.18489219, 0.008634561, -0.1597712) * go_3(0.0, 1.0);
|
|
result += mat4(-0.16108932, 0.05586405, 0.2534061, 0.25871462, -0.09135027, 0.09132565, 0.028403942, 0.027694112, 0.06779926, -0.12804149, 0.062858626, 0.028454801, 0.11352658, -0.07949642, -0.016915841, 0.12785897) * go_3(1.0, -1.0);
|
|
result += mat4(-0.31907973, -0.2955643, -0.19522569, -0.0751009, -0.015303356, -0.112959474, 0.08869113, 0.0732943, -0.07149481, 0.002695743, 0.03773263, -0.044481702, -0.021202443, -0.20461376, 0.20072573, 0.23126262) * go_3(1.0, 0.0);
|
|
result += mat4(-0.36653942, -0.36269066, 0.081035845, -0.110896215, 0.038701706, 0.060472537, 0.020380666, -0.14816844, -0.016741281, 0.084674925, 0.13354097, -0.023672685, -0.15291119, 0.04002789, 0.07335849, -0.037627537) * go_3(1.0, 1.0);
|
|
result += mat4(-0.008673169, -0.12660311, -0.13337144, -0.20242535, -0.101681665, -0.13349582, 0.07505943, -0.025799042, -0.041546036, -0.07736284, 0.05239524, -0.15647385, 0.04111171, -0.20901166, -0.0526622, 0.030413227) * go_4(-1.0, -1.0);
|
|
result += mat4(-0.07487002, 0.040332016, -0.14120328, -0.04701788, -0.04360172, 0.12811565, -0.1113337, -0.030318746, 0.11375393, -0.093662485, 0.03385616, -0.0022751305, -0.12489098, -0.026874684, -0.24579959, 0.013010173) * go_4(-1.0, 0.0);
|
|
result += mat4(-0.07372643, 0.18297254, -0.028478106, -0.008717404, 0.038709726, -0.022668438, -0.0732216, -0.0829887, 0.054860383, -0.009276055, -0.09860318, -0.049871683, -0.28299806, -0.041934796, 0.2505882, -0.032173693) * go_4(-1.0, 1.0);
|
|
result += mat4(0.13445882, 0.0033110396, -0.12116477, -0.08307828, -0.017451935, -0.023367306, -0.038925555, 0.03924459, -0.019196004, -0.02519389, -0.013562478, 0.13910593, 0.12227717, -0.08626162, -0.059534617, 0.030682085) * go_4(0.0, -1.0);
|
|
result += mat4(-0.04196557, -0.15377608, 0.1608032, 0.034342743, -0.053290907, 0.051387772, -0.16699827, 0.044285215, 0.008832169, 0.052270584, 0.041454945, -0.006071726, 0.05015283, -0.21361513, 0.083012946, 0.07607907) * go_4(0.0, 0.0);
|
|
result += mat4(0.15000594, 0.0042617917, 0.101946175, -0.059992336, 0.13995732, -0.38615412, 0.26871172, -0.0046315813, 0.17025274, 0.07934237, -0.077165954, -0.0054563023, -0.2301452, 0.25195897, -0.38461035, 0.15330611) * go_4(0.0, 1.0);
|
|
result += mat4(0.04157544, 0.07212675, -0.103968576, -0.15415806, 0.2563668, -0.2369459, -0.18235768, -0.24526633, -0.037135158, 0.12124387, -0.08148078, -0.0028853384, -0.007335673, 0.09702607, 0.22647065, 0.14188774) * go_4(1.0, -1.0);
|
|
result += mat4(0.10114878, 0.0351115, -0.12385709, -0.032150026, 0.25611925, -0.036220055, 0.16853644, -0.13350716, -0.15553926, 0.074083425, 0.03360209, -0.073123485, -0.070041016, -0.21496736, -0.10243518, 0.010437876) * go_4(1.0, 0.0);
|
|
result += mat4(0.23012021, 0.0836258, -0.02981391, -0.04365956, -0.051685587, 0.13548537, -0.3169609, 0.055783328, -0.1550518, -0.09620564, -0.08309336, 0.071679845, -0.09279163, -0.0561111, -0.2295513, 0.24521232) * go_4(1.0, 1.0);
|
|
result += mat4(-0.037253235, -0.026520647, -0.09566477, 0.15695392, -0.122776255, -0.031096917, -0.044822488, 0.01060704, 0.03157306, 0.050428607, -0.066618994, -0.08425711, 0.1473465, -0.25745878, -0.060366634, -0.12008342) * go_5(-1.0, -1.0);
|
|
result += mat4(-0.011078341, 0.027539099, 0.15779525, -0.067304894, -0.1591148, -0.097967476, -0.032539785, -0.052926525, -0.008908821, 0.008216224, -0.40340182, 0.008872353, 0.3340951, -0.17875054, -0.09253849, 0.047155526) * go_5(-1.0, 0.0);
|
|
result += mat4(-0.16404615, -0.09376233, -0.041966893, 0.034957785, -0.11438417, 0.024785591, -0.030300578, 0.026026629, -0.068672195, 0.16724177, -0.16100673, -0.031766005, 0.09979277, 0.0538496, -0.066007175, -0.016093686) * go_5(-1.0, 1.0);
|
|
result += mat4(0.060630973, -0.017554684, -0.11957564, -0.14892419, 0.055714674, 0.032214552, 0.03398715, 0.018592743, -0.1596073, -0.124622695, 0.08812776, -0.020174626, -0.12595415, 0.1456831, -0.043447234, 0.07223222) * go_5(0.0, -1.0);
|
|
result += mat4(0.0010805799, 0.05387183, -0.2571777, 0.050741445, -0.09997847, -0.1557091, 0.18392503, 0.12039084, 0.07885244, 0.102989115, -0.029234922, 0.01137038, -0.054865573, -0.25655657, -0.33009508, -0.051609207) * go_5(0.0, 0.0);
|
|
result += mat4(-0.070446484, -0.00224974, 0.1239982, -0.11459958, 0.0024434652, -0.393679, -0.13201751, 0.08711358, -0.23437908, 0.035677426, -0.39337155, 0.005934404, 0.3491559, 0.25350767, 0.09993129, -0.07072839) * go_5(0.0, 1.0);
|
|
result += mat4(-0.008759921, -0.20802578, 0.08683231, 0.113270685, 0.061152767, -0.069236055, -0.07917374, 0.027281659, 0.07856486, 0.049981315, -0.04226256, -0.004406337, -0.021302069, -0.075048864, 0.16314836, -0.12013849) * go_5(1.0, -1.0);
|
|
result += mat4(-0.16938247, -0.014742774, 0.1026985, 0.095212705, -0.17734753, -0.0020493171, -0.029607011, 0.30651745, 0.25243115, 0.27554476, 0.15904164, 0.099156715, -0.015341671, -0.0315933, 0.07855402, -0.040043738) * go_5(1.0, 0.0);
|
|
result += mat4(0.05406678, -0.058036998, -0.04598334, -0.114318036, 0.020411186, 0.056215134, 0.102886714, -0.049338676, 0.008663635, -0.085066214, -0.16656749, 0.09509919, 0.02906117, -0.07829417, 0.0065315356, 0.1818375) * go_5(1.0, 1.0);
|
|
result += mat4(0.11784757, 0.15196525, -0.012267878, 0.0326725, 0.061197367, 0.33910602, -0.2897766, 0.10921504, -0.02350378, 0.19466712, -0.0051001427, -0.13693924, 0.057629026, -0.043186672, 0.028606823, 0.09317606) * go_6(-1.0, -1.0);
|
|
result += mat4(-0.0034465888, 0.05826342, -0.04635851, 0.09413523, -0.24812989, 0.020975882, -0.11784931, -0.49697608, 0.06101307, 0.15959628, 0.075861916, 0.06393995, -0.017243123, -0.044645563, -0.068328395, 0.14335583) * go_6(-1.0, 0.0);
|
|
result += mat4(-0.07523311, -0.06263087, 0.0973451, 0.07584768, 0.17459244, -0.033139996, -0.2327719, -0.14534807, -0.022834755, 0.12956591, 0.18827121, -0.11354672, 0.078884386, -0.1656034, 0.16169351, 0.12600134) * go_6(-1.0, 1.0);
|
|
result += mat4(0.02865495, 0.005648868, 0.11464043, 0.03150406, -0.3866024, -0.0057220804, -0.21009535, -0.03840084, 0.0018173476, -0.07936894, -0.0227281, -0.08966349, 0.090553306, -0.10199008, -0.08284879, 0.14776452) * go_6(0.0, -1.0);
|
|
result += mat4(-0.009038248, 0.1564268, 0.07435393, 0.08683525, -0.1457474, -0.03687715, 0.042603455, -0.34755293, 0.051645085, 0.043888066, 0.25095537, 0.21353814, 0.029425861, 0.055498373, -0.10789036, -0.16481747) * go_6(0.0, 0.0);
|
|
result += mat4(-0.045311604, 0.21687967, 0.114112265, 0.00454178, -0.149192, 0.017658519, -0.40851355, 0.31583047, -0.04683654, -0.3467299, 0.619965, -0.16810362, -0.26472715, 0.3082763, -0.2468203, -0.11711898) * go_6(0.0, 1.0);
|
|
result += mat4(-0.111278296, -0.05868077, -0.120163985, -0.03745941, -0.13061905, -0.117748894, -0.16957714, 0.05523612, -0.05025911, -0.13162445, -0.016982518, 0.24426734, 0.07833684, -0.088236265, 0.16698395, 0.06480712) * go_6(1.0, -1.0);
|
|
result += mat4(-0.05927047, -0.016506393, 0.012789736, 0.2545139, 0.022674235, -0.040305577, -0.12091125, -0.07738389, 0.0040209335, 0.25576395, 0.5333323, 0.19964552, 0.122314125, -0.10639435, 0.22482087, 0.061201617) * go_6(1.0, 0.0);
|
|
result += mat4(0.084376596, -0.046845324, 0.048730686, -0.09005462, -0.11589907, -0.11733657, -0.15773758, -0.09303503, 0.093226396, 0.07841223, 0.23914182, -0.018904453, -0.15727162, -0.12529942, -0.16354872, -0.09661223) * go_6(1.0, 1.0);
|
|
result += mat4(-0.040913723, 0.02798578, 0.02093159, -0.11501497, 0.036032062, 0.17336668, -0.1654523, 0.028821146, -0.07945883, 0.18162672, 0.1239489, 0.07338697, 0.12251481, -0.1172443, 0.20654924, 0.024337847) * go_7(-1.0, -1.0);
|
|
result += mat4(0.09716631, 0.08941966, 0.16452065, -0.044933386, -0.09959851, 0.19650124, 0.13150546, 0.014816788, -0.086929925, -0.091300584, 0.00024435768, 0.06329388, -0.037427034, 0.074468, -0.20052099, -0.061800152) * go_7(-1.0, 0.0);
|
|
result += mat4(0.25020435, -0.20010567, 0.019679952, -0.15620379, 0.071130276, -0.14381228, 0.20192291, -0.0008438686, 0.08002118, 0.0784212, -0.009264005, -0.023239953, 0.0095817195, -0.12950145, 0.038471617, 0.07342353) * go_7(-1.0, 1.0);
|
|
result += mat4(-0.087789975, 0.2463213, 0.021951843, -0.12794462, -0.15869214, -0.18868987, -0.11159612, -0.14976893, 0.10351116, 0.1274431, -0.01969838, -0.0076552248, -0.0006461016, -0.0926574, -0.019262115, 0.030400418) * go_7(0.0, -1.0);
|
|
result += mat4(0.061089955, 0.05000192, 0.11977627, 0.056870725, 0.22805236, -0.030692523, 0.15990539, 0.083296835, 0.07505952, 0.06873476, 0.014470665, -0.07636467, -0.22690421, -0.20069449, -0.17543827, 0.08298479) * go_7(0.0, 0.0);
|
|
result += mat4(-0.07189131, -0.11762644, -0.12575404, 0.10370871, 0.12332356, -0.046677854, 0.21227968, 0.06279761, 0.13968347, -0.027262172, -0.120420314, 0.019570515, -0.3085974, 0.04807007, -0.17707512, 0.00752846) * go_7(0.0, 1.0);
|
|
result += mat4(-0.06786461, 0.15617526, -0.07216718, -0.029348021, -0.041125156, 0.030867932, 0.07076468, -0.01810742, -0.10790692, 0.104086064, 0.006204306, -0.08545314, 0.23472832, -0.14673206, -0.10639837, -0.06595011) * go_7(1.0, -1.0);
|
|
result += mat4(-0.06136437, 0.16784053, -0.038059548, -0.08008033, -0.049955796, 0.02287975, 0.0059477366, -0.03131951, -0.063500084, 0.090395495, -0.027604252, 0.016279705, 0.12290479, 0.020871479, 0.03919543, -0.10967681) * go_7(1.0, 0.0);
|
|
result += mat4(0.039973337, 0.027691754, 0.14868133, 0.05149113, -0.009143724, -0.026378326, -0.0156791, -0.0068888855, -0.04961299, 0.059001666, -0.15060659, 0.1610033, -0.14264539, -0.0022589972, 0.12963666, 0.1101199) * go_7(1.0, 1.0);
|
|
result += mat4(0.11696848, -0.13130292, -0.030778598, -0.038440518, -0.028006898, -0.07885486, -0.038972564, 0.06027651, 0.055763684, 0.06777442, 0.087736554, -0.07307286, -0.024117883, 0.04635496, 0.12634148, -0.041341092) * go_8(-1.0, -1.0);
|
|
result += mat4(0.015842682, 0.006681906, -0.112242535, -0.0064941393, 0.10971463, -0.10721869, 0.005437418, -0.038686156, 0.008997847, 0.007503885, -0.005682379, -0.0010084822, -0.09279049, -0.02836967, 0.12744543, -0.035190586) * go_8(-1.0, 0.0);
|
|
result += mat4(0.17166656, -0.2404988, 0.036117777, 0.06253758, -0.045930505, -0.016349874, 0.09144012, 0.024884766, 0.14448464, -0.14644946, -0.18046178, -0.057021074, 0.065232635, -0.10504392, -0.050163295, -0.028002426) * go_8(-1.0, 1.0);
|
|
result += mat4(0.09865265, -0.15111761, -0.08438762, -0.2322315, 0.042663135, 0.08788523, -0.09613376, 0.15999563, -0.009971801, -0.09002813, -0.03872518, 0.04037108, -0.01300371, -0.0593082, -0.046625085, 0.14121045) * go_8(0.0, -1.0);
|
|
result += mat4(-0.02504897, -0.23124105, -0.14960161, -0.059709363, -0.045559667, 0.0934396, -0.08820011, 0.04594991, -0.050889697, -0.25586852, 0.0644002, -0.07764009, 0.119924605, 0.20602806, -0.04603095, -0.0057721743) * go_8(0.0, 0.0);
|
|
result += mat4(0.28343758, 0.1478245, -0.15181027, -0.06351228, -0.09967896, 0.03955357, 0.23260047, -0.02553873, -0.10992018, -0.030077389, -0.3894485, -0.14417149, 0.24983008, 0.12220668, 0.0003131071, -0.010381386) * go_8(0.0, 1.0);
|
|
result += mat4(0.23594774, -0.118130445, 0.004422023, -0.1649326, 0.034370735, -0.021331226, 0.007509178, -0.1541513, 0.048636757, 0.11841208, 0.031549037, -0.11734389, -0.04395439, -0.02076644, -0.0035178973, 0.06140512) * go_8(1.0, -1.0);
|
|
result += mat4(-0.021531448, -0.15168543, 0.12222561, 0.058629047, 0.066313356, -0.1940694, -0.12171876, -0.00658866, -0.07076472, -0.030291308, -0.0077558737, 0.051757984, 0.02193855, 0.16493133, -0.048682384, -0.07314322) * go_8(1.0, 0.0);
|
|
result += mat4(0.06621408, -0.01667796, 0.0260185, 0.06794066, 0.043986917, 0.011299251, 0.07782877, -0.01643483, -0.04058689, -0.070192285, -0.09853332, -0.1299159, -0.05160902, 0.0033539685, 0.22954997, -0.021546595) * go_8(1.0, 1.0);
|
|
result += mat4(-0.026403278, 0.010653838, 0.0021257512, 0.026513815, -0.027015077, 0.13358718, -0.044833694, 0.095596425, -0.060707036, -0.108798616, -0.068031676, 0.032127026, 0.01858624, -0.15015, 0.04501039, -0.06865877) * go_9(-1.0, -1.0);
|
|
result += mat4(-0.007216763, 0.0486202, 0.056571513, 0.056145705, -0.11548521, -0.08642669, -0.06518352, -0.03574434, -0.08436628, 0.08905691, -0.124076016, 0.1362937, 0.03472427, 0.072752416, -0.06511489, -0.057675257) * go_9(-1.0, 0.0);
|
|
result += mat4(0.022617117, -0.04079143, 0.0024848897, 0.044588573, -0.046744883, -0.07881134, 0.015742674, -0.074300356, -0.16290313, 0.2288461, 0.30492097, 0.11593285, -0.04548979, 0.15053008, -0.071956754, 0.093064725) * go_9(-1.0, 1.0);
|
|
result += mat4(0.103904605, -0.034667403, -0.2098319, -0.073832884, -0.018042624, 0.13301417, 0.18822892, 0.015829902, -0.04867316, -0.03433423, -0.0014289889, 0.13230352, 0.1714687, -0.042440657, 0.078390524, -0.11056909) * go_9(0.0, -1.0);
|
|
result += mat4(0.102768585, -0.052201718, -0.09919031, 0.05452432, -0.107485875, -0.085205294, 0.1167384, -0.072183356, -0.042630963, -0.016243858, 0.017791817, 0.034657195, 0.006584667, 0.11105869, -0.24984534, 0.1456181) * go_9(0.0, 0.0);
|
|
result += mat4(0.10024778, 0.20171101, 0.010203289, 0.0152510945, 0.19804022, 0.0030897404, 0.16180041, 0.03478403, 0.01691778, 0.12370874, 0.009899959, 0.0381879, -0.19545735, 0.05234624, 0.029687876, 0.039903942) * go_9(0.0, 1.0);
|
|
result += mat4(-0.0070509096, 0.061695606, 0.01725384, -0.025932692, -0.028384902, 0.068152025, 0.09564379, -0.0032856707, -0.08382584, -0.039758872, 0.039846867, 0.12834965, 0.12526661, 0.055030096, 0.04364647, -0.100329876) * go_9(1.0, -1.0);
|
|
result += mat4(-0.070798345, -0.00784376, -0.052424204, 0.10586638, 0.06956726, 0.090235926, 0.17659639, 0.0076065036, -0.009754862, -0.024974793, 0.1369677, 0.12670912, -0.023065869, -0.07917515, 0.05287323, -0.023171866) * go_9(1.0, 0.0);
|
|
result += mat4(0.12073896, 0.045264993, -0.11648963, 0.086132266, 0.050844252, -0.08426843, 0.024296617, 0.13581963, -0.076921426, 0.055674795, 0.29358476, 0.17752819, -0.031633187, -0.1243592, -0.017796218, -0.008461567) * go_9(1.0, 1.0);
|
|
result += mat4(0.055730432, -0.06652472, -0.17525241, -0.0036742918, 0.006477956, 0.028978415, 0.14193636, -0.037313115, -0.04725123, 0.060488928, -0.10456545, -0.006454917, 0.06926134, 0.0996201, -0.07260804, -0.1895799) * go_10(-1.0, -1.0);
|
|
result += mat4(0.09925973, 0.14233111, -0.12106291, 0.07597586, -0.014802816, -0.078202166, 0.11997903, 0.020356417, -0.04720392, 0.1314056, -0.17295258, -0.07884539, -0.08036766, -0.1125439, 0.0405426, -0.07011955) * go_10(-1.0, 0.0);
|
|
result += mat4(-0.06895649, -0.012910801, 0.03559805, -0.0014188234, 0.02699368, 0.03227277, 0.0046795383, -0.0029251864, 0.017629929, 0.059735607, 0.118295275, -0.17668861, 0.1518607, 0.16145404, -0.0504446, -0.101737656) * go_10(-1.0, 1.0);
|
|
result += mat4(-0.081351854, -0.075108185, -0.0926778, 0.0109555805, -0.007015293, 0.06645702, -0.01241593, 0.060986638, -0.07729778, -0.041309834, 0.0429984, -0.15234338, 0.020857433, -0.104722485, -0.10882601, 0.1209144) * go_10(0.0, -1.0);
|
|
result += mat4(-0.118677095, 0.01309145, -0.038996574, 0.06635668, -0.05267633, -0.08315515, 0.08098698, 0.1340335, 0.06553321, -0.03148986, -0.08127774, -0.07047001, 0.07579491, -0.10656408, -0.14157577, -0.051908918) * go_10(0.0, 0.0);
|
|
result += mat4(0.041668024, 0.06382924, 0.042267703, 0.011047431, -0.028405169, 0.08054344, 0.011450904, -0.07005899, -0.093779415, 0.023375172, -0.0065031634, -0.08010197, 0.066256344, -0.041091762, 0.06366334, -0.12815112) * go_10(0.0, 1.0);
|
|
result += mat4(-0.019420393, -0.11652611, 0.08841619, 0.029591685, -0.0009620011, -0.09573091, -0.019200109, -0.09104749, 0.08407402, 0.12864915, 0.042542934, 0.0063575567, -0.04007373, 0.10526848, 0.02460641, 0.068430506) * go_10(1.0, -1.0);
|
|
result += mat4(-0.05954139, -0.07681237, 0.016148254, -0.034287833, 0.04544861, 0.012246789, -0.116092205, 0.14978212, 0.07235919, -0.058334228, 0.16935714, -0.017129533, -0.044010796, -0.14619933, 0.09672873, -0.021991394) * go_10(1.0, 0.0);
|
|
result += mat4(0.021146454, 0.1251824, 0.104555294, 0.043058153, -0.024749698, 0.03444585, 0.2694334, -0.012046371, -0.14657335, -0.009213879, 0.033201307, -0.11851107, 0.017618936, 0.15735385, 0.113181554, -0.10215611) * go_10(1.0, 1.0);
|
|
result += mat4(0.08585624, 0.066706054, -0.2327374, -0.10154063, 0.02463269, 0.090812944, 0.07758884, 0.0158239, 0.058642156, 0.028363941, -0.05395317, 0.04238957, -0.037100993, 0.012665406, -0.14026712, 0.061535712) * go_11(-1.0, -1.0);
|
|
result += mat4(0.09312103, -0.024918009, -0.18015066, 0.024186501, -0.05781731, -0.03758734, 0.16232629, -0.042083528, 0.091159195, -0.019988291, -0.039695572, 0.032090623, -0.007742507, 0.03262859, -0.16391948, 0.0071356464) * go_11(-1.0, 0.0);
|
|
result += mat4(-0.009546079, -0.062020306, 0.03153559, 0.07236344, 0.015683834, -0.14067987, 0.08862394, -0.011473947, -0.076618366, 0.052877825, 0.017246783, 0.119297296, -0.09654495, 0.04377407, 0.049077217, -0.05697108) * go_11(-1.0, 1.0);
|
|
result += mat4(0.032074947, -0.2789073, -0.0780382, -0.055925358, -0.054706793, 0.25289878, -0.16136311, 0.055086806, 0.044424094, 0.03972878, -0.0023177464, -0.0073578, 0.1299194, 0.11285016, -0.047309466, -0.17621756) * go_11(0.0, -1.0);
|
|
result += mat4(0.09467398, -0.11044382, -0.16274872, -0.0029408298, -0.37114516, 0.058979653, 0.17823413, -0.076888606, 0.08084833, -0.04577878, 0.22805735, -0.020946318, 0.20733872, -0.1211756, 0.059085913, 0.059061136) * go_11(0.0, 0.0);
|
|
result += mat4(0.35857418, -0.099405855, 0.06358649, -0.0907002, -0.0069775633, -0.048079707, -0.0019786675, 0.06267778, 0.009655525, 0.024428898, -0.050424356, -0.17061041, -0.12142067, 0.112559676, -0.08353815, -0.08756031) * go_11(0.0, 1.0);
|
|
result += mat4(0.01901223, -0.04998253, 0.08768208, -0.19876355, -0.0030078737, 0.04542661, 0.009527668, 0.05703407, 0.09030936, -0.15465401, 0.035002396, 0.126716, 0.0060029556, 0.17286618, -0.15907623, -0.019392034) * go_11(1.0, -1.0);
|
|
result += mat4(0.06755985, -0.061411466, 0.00143389, -0.12406364, -0.13916829, 0.091105476, -0.003509345, -0.09764329, 0.078492686, -0.109858304, -0.050267193, 0.0537668, 0.041313883, -0.04182997, -0.084387325, 0.02694605) * go_11(1.0, 0.0);
|
|
result += mat4(0.105845064, 0.08719947, 0.10387861, 0.0042026257, -0.15651314, 0.024885604, -0.17568772, -0.08669456, 0.038521856, 0.0033983306, 0.05686095, 0.070402436, 0.017018655, 0.0044162236, 0.0035786475, -0.10618687) * go_11(1.0, 1.0);
|
|
result += vec4(0.03012607, 0.090183415, 0.0028153015, -0.086936705);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x48
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_15_tf
|
|
//!BIND conv2d_15_tf1
|
|
//!BIND conv2d_15_tf2
|
|
//!BIND conv2d_15_tf3
|
|
//!BIND conv2d_15_tf4
|
|
//!BIND conv2d_15_tf5
|
|
//!SAVE conv2d_16_tf
|
|
//!WIDTH conv2d_15_tf.w
|
|
//!HEIGHT conv2d_15_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv2d_15_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_15_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv2d_15_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max((conv2d_15_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv2d_15_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv2d_15_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv2d_15_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv2d_15_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_8(x_off, y_off) (max(-(conv2d_15_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_9(x_off, y_off) (max(-(conv2d_15_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_10(x_off, y_off) (max(-(conv2d_15_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_11(x_off, y_off) (max(-(conv2d_15_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.18401013, -0.13588756, 0.054256726, -0.1412752, -0.12243868, -0.03775943, -0.0927035, -0.07697188, -0.022187399, -0.06088916, -0.079055466, 0.19919616, 0.008391406, 0.0015257774, 0.044474147, 0.08149344) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.07563144, -0.17652713, -0.114881195, -0.37899107, 0.07671048, -0.14937408, -0.02114298, 0.044075787, 0.0042303097, 0.14191344, -0.023277637, 0.08528211, -0.09960068, -0.16445117, -0.03584855, -0.04641021) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.22003917, 0.17905737, 0.21757741, -0.12364477, -0.016672444, -0.018438077, 0.04201858, 0.07870777, 0.039740887, -0.052247927, -0.10656043, -0.00011003632, 0.041017633, -0.27342665, -0.06761997, -0.04528579) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.025336504, -0.13833694, 0.07437976, -0.08893717, -0.16371429, -0.061653934, -0.039204895, -0.028089175, -0.00015907192, -0.13354921, 0.02734657, 0.15964994, -0.041217323, -0.009264936, 0.079068765, 0.062053584) * go_0(0.0, -1.0);
|
|
result += mat4(-0.049570024, -0.10784191, -0.01837375, 0.21343361, -0.04372069, -0.020986352, -0.107839406, 0.05502148, 0.0992714, -0.018021397, 0.008725207, -0.017378684, 0.031728156, -0.008801241, -0.18357609, -0.016145747) * go_0(0.0, 0.0);
|
|
result += mat4(-0.04913707, 0.01682724, 0.041758772, 0.008508023, 0.026582265, -0.22879946, 0.13991572, -0.090997934, 0.0896516, -0.22281447, -0.055706218, -0.021541787, 0.015767794, 0.018899554, 0.013717163, -0.17347403) * go_0(0.0, 1.0);
|
|
result += mat4(0.12547137, -0.09660737, 0.012978945, 0.07203537, -0.0054954574, 0.018496398, -0.011681787, 0.12737639, -0.045878302, -0.10701198, -0.03054825, 0.03009367, 0.1267522, 0.09850112, 0.057112776, -0.009593024) * go_0(1.0, -1.0);
|
|
result += mat4(-0.08928, 0.0683229, 0.17383668, 0.13218597, -0.031208025, 0.037092455, 0.042550884, 0.077692695, 0.01771997, 0.13132338, 0.006508737, -0.08525488, -0.045307394, -0.14343816, -0.01830292, 0.01989028) * go_0(1.0, 0.0);
|
|
result += mat4(0.026735093, -0.023464149, -0.17231, -0.044292584, 0.08945477, 0.009001228, 0.066171594, -0.011970938, 0.028572584, -0.03996996, 0.016547613, -0.059090354, 0.0028927932, -0.063939616, 0.03321047, 0.13545637) * go_0(1.0, 1.0);
|
|
result += mat4(0.10948995, -0.15711145, 0.054597083, -0.068569995, 0.026474394, 0.097653925, 0.04627575, -0.008275917, 0.25192523, 0.18235894, -0.08277455, 0.38575834, 0.022745483, -0.020903446, 0.04205318, -0.042380072) * go_1(-1.0, -1.0);
|
|
result += mat4(-0.18891968, 0.052005906, 0.038103525, -0.111821555, -0.031023096, 0.011216633, -0.0035464338, 0.046839092, 0.25343683, 0.20273992, 0.15142617, -0.044875506, -0.001787997, 0.071683675, -0.07015657, -0.022576973) * go_1(-1.0, 0.0);
|
|
result += mat4(-0.018181657, -0.09296044, 0.022081852, -0.06619681, 0.060951322, 0.05768129, 0.02035218, -0.019641668, 0.0013515889, -0.13848126, -0.1841656, 0.031004338, -0.051048316, 0.14258315, 0.05445368, 0.03247651) * go_1(-1.0, 1.0);
|
|
result += mat4(-0.05203047, 0.12076639, -0.0077227005, 0.1184366, 0.06823599, 0.012450423, 0.1113311, 0.039102986, 0.35370106, -0.33157814, 0.37390196, -0.09912934, -0.10444121, 0.08402377, -0.16930288, 0.054857288) * go_1(0.0, -1.0);
|
|
result += mat4(0.03270221, 0.14613907, -0.095933534, -0.19244863, -0.23159896, 0.1559275, 0.06728844, -0.0047268616, 0.011683535, -0.18843126, -0.04220783, -0.30654585, -0.10746214, -0.03227198, -0.03234777, 0.11203559) * go_1(0.0, 0.0);
|
|
result += mat4(0.13327973, 0.09590377, 0.07102634, -0.20258962, -0.1457926, 0.07275891, 0.17606707, -0.12861401, -0.031180056, -0.18612963, -0.13088436, 0.33387327, 0.08283845, -0.15757847, 0.06846595, -0.057761926) * go_1(0.0, 1.0);
|
|
result += mat4(-0.07959099, -0.027871562, -0.00679305, -0.044345573, 0.0878471, -0.013418179, -0.058157764, -0.07929911, -0.19511378, -0.21550658, -0.18276486, -0.10306193, 0.06730515, 0.15307051, 0.060711797, -0.09848275) * go_1(1.0, -1.0);
|
|
result += mat4(0.02309879, -0.028519675, 0.041512847, 0.049695335, -0.0258293, 0.050312288, -0.123789005, -0.046238117, -0.34710893, -0.017108874, 0.112747535, 0.0380458, 0.10313404, 0.13872932, -0.108138695, 0.11340562) * go_1(1.0, 0.0);
|
|
result += mat4(0.09037467, 0.08282595, -0.049290337, -0.03558929, -0.036829695, 0.08418846, -0.0048224498, -0.018913696, 0.16916117, 0.18428025, -0.0325662, -0.013071526, -0.02406039, 0.11116436, -0.20665626, -0.036719907) * go_1(1.0, 1.0);
|
|
result += mat4(0.12311881, 0.05806699, 0.1490677, -0.10510731, 0.0650881, -0.045123734, 0.10633921, 0.08102984, -0.17166427, 0.14187278, 0.06218691, 0.010134607, -0.024926946, -0.15645958, 0.01647525, -0.032007955) * go_2(-1.0, -1.0);
|
|
result += mat4(-0.0064320094, -0.10348999, -0.0064104837, -0.104413785, 0.079153426, 0.19542186, 0.03652737, 0.15894827, 0.22364238, -0.03398967, 0.05108126, 0.035144717, -0.06397692, -0.032206714, 0.0922073, 0.012730258) * go_2(-1.0, 0.0);
|
|
result += mat4(0.08642296, 0.05683361, -0.032936133, 0.10762088, -0.01644649, -0.001429266, 0.08380367, 0.019923296, 0.08267726, -0.044601962, -0.012816315, 0.02492031, 0.072982386, -0.010330455, -0.0978465, 0.118156195) * go_2(-1.0, 1.0);
|
|
result += mat4(0.042400658, -0.055309903, 0.03207966, -0.121752515, -0.21621595, 0.024456523, -0.011958722, 0.12451922, -0.13696773, -0.20115459, -0.07348073, 0.0024619848, 0.01738986, -0.12202603, -0.111460805, -0.005058656) * go_2(0.0, -1.0);
|
|
result += mat4(-0.21546137, 0.12935314, -0.028532904, -0.008893691, 0.10135729, -0.17534581, -0.049937554, -0.33643374, -0.043661103, 0.102634795, -0.115369305, 0.026465349, 0.028970167, 0.026625225, 0.062238887, -0.026272973) * go_2(0.0, 0.0);
|
|
result += mat4(-0.105955236, 0.12651332, 0.07647607, 0.08280213, -0.123200215, 0.05615951, -0.05460551, -0.18601677, 0.08394111, 0.16563104, 0.040207952, 0.14093705, 0.052927166, -0.17315963, -0.03533011, 0.060746193) * go_2(0.0, 1.0);
|
|
result += mat4(-0.026084239, 0.045155637, 0.04272104, -0.16185169, -0.17862639, 0.05094037, -0.11442705, 0.020845752, 0.040759496, 0.12081268, 0.0075550107, -0.021916028, -0.11806642, -0.023612743, -0.071473576, -0.101335295) * go_2(1.0, -1.0);
|
|
result += mat4(-0.002712147, 0.16763973, -0.044307284, 0.040771365, -0.0031661778, -0.049930423, 0.28393164, -0.1455211, 0.054617744, -0.031105014, 0.11039813, -0.030323252, -0.033115745, 0.04220911, -0.12622428, -0.07630135) * go_2(1.0, 0.0);
|
|
result += mat4(-0.028186634, -0.003115328, -0.099139124, -0.086862855, 0.044807985, -0.11788244, 0.080867685, -0.0054060444, 0.018819673, 0.04957816, 0.019576633, 0.07436812, 0.024756659, 0.011649562, 0.03426825, -0.061746117) * go_2(1.0, 1.0);
|
|
result += mat4(-0.109345876, -0.07582799, -0.07580578, 0.0718188, 0.045793377, -0.071054064, -0.04769422, 0.01874575, 0.08088704, -0.08307951, -0.06366319, -0.019450737, 0.26841074, -0.03851925, -0.04642081, -0.0030378636) * go_3(-1.0, -1.0);
|
|
result += mat4(-0.031708058, 0.02285141, 0.077648826, -0.1881658, 0.04816301, -0.13699746, -0.08999789, -0.16106066, 0.011150913, -0.044722255, -0.026864614, 0.028213168, -0.18842594, 0.19808589, 0.0007276151, 0.0031604283) * go_3(-1.0, 0.0);
|
|
result += mat4(-0.31135795, 0.112032294, -0.026946368, 0.0031459567, 0.13888834, 0.10551288, -0.040594235, 0.048751246, 0.00039387803, 0.0142388055, 0.0008438835, -0.000215502, 0.15277672, 0.005665271, 0.07407217, -0.050055165) * go_3(-1.0, 1.0);
|
|
result += mat4(-0.09536809, -0.029089805, 0.05876147, 0.19606937, -0.056980595, 0.12535319, 0.024123488, 0.077162944, 0.19549242, 0.16824779, 0.14160116, -0.15470776, 0.09047217, 0.0001769805, -0.018979235, 0.044140182) * go_3(0.0, -1.0);
|
|
result += mat4(-0.27798006, 0.49009305, -0.10300361, -0.15089208, 0.08056011, -0.04228279, -0.19938731, -0.1284759, -0.0960026, 0.07879816, -0.088942915, 0.09315675, 0.0301986, -0.035029355, -0.0511503, 0.11765551) * go_3(0.0, 0.0);
|
|
result += mat4(0.07843372, -0.006018093, -0.05311663, -0.0075817537, 0.0424411, 0.07975493, 0.044189543, 0.13708349, -0.008551143, -0.13168351, -0.16907017, -0.07804317, -0.0024650225, 0.048722517, 0.1594775, -0.016862482) * go_3(0.0, 1.0);
|
|
result += mat4(-0.08130928, 0.289742, 0.061233968, -0.1805477, -0.04329093, 0.034262158, 0.023879131, -0.092462465, 0.037923817, -0.005596231, 0.0330041, 0.06661368, -0.036080886, -0.047671337, 0.05192108, 0.17042227) * go_3(1.0, -1.0);
|
|
result += mat4(-0.09510118, -0.07480796, 0.17427766, 0.16470622, 0.07585864, -0.012345573, 0.060487308, 0.07716671, 0.022240538, -0.019660212, 0.022591233, -0.0047452366, 0.04595507, -0.014236219, -0.06681773, -0.09052364) * go_3(1.0, 0.0);
|
|
result += mat4(-0.10433901, 0.0379166, 0.015618833, -0.0828069, 0.014377862, -0.016621938, -0.15152419, -0.0019374314, 0.012078275, -0.00887573, -0.13343875, -0.0125529785, 0.07976357, 0.0765987, -0.0056649507, 0.011301273) * go_3(1.0, 1.0);
|
|
result += mat4(-0.041834418, -0.13372508, -0.10320997, 0.015072922, -0.029889522, 0.012992793, -0.09185873, 0.004004095, -0.065492816, -0.050909735, 0.0002255961, -0.12797303, -0.3083743, -0.05711855, 0.023806712, 0.04647377) * go_4(-1.0, -1.0);
|
|
result += mat4(-0.0738126, -0.1592134, 0.022746144, -0.11953307, -0.03188981, 0.16695242, 0.122664005, 0.14895225, 0.094388284, -0.29278672, -0.04656844, -0.19429022, -0.044872273, -0.038740084, 0.0248372, -0.077681266) * go_4(-1.0, 0.0);
|
|
result += mat4(0.04854289, -0.2222598, -0.06694044, -0.07134871, -0.0056551537, 0.18670999, 0.029736828, 0.13020341, -0.1472964, -0.16671701, -0.07403152, -0.16548093, -0.064982556, -0.07949377, 0.073355116, -0.11815417) * go_4(-1.0, 1.0);
|
|
result += mat4(-0.056096863, 0.046716, 0.017137583, 0.00091687136, 0.019255593, 0.009841755, -0.03734741, 0.06731623, -0.06467937, -0.00014931819, -0.061866295, -0.03865882, 0.12549591, -0.04473098, 0.10254502, -0.19520067) * go_4(0.0, -1.0);
|
|
result += mat4(-0.024812682, -0.05629554, 0.22076266, 0.07151472, -0.07329754, -0.019209638, 0.047727138, 0.028662292, -0.24604319, -0.042345352, -0.033282783, -0.07798896, -0.12942882, -0.09905983, 0.15368684, 0.106904276) * go_4(0.0, 0.0);
|
|
result += mat4(0.07929591, -0.10142135, -0.044078883, -0.052256215, -0.12313739, -0.15137856, 0.15978324, -0.17600586, -0.026426807, -0.076277286, -0.34938416, -0.1274297, -0.20080665, 0.23370647, 0.2738065, 0.30404314) * go_4(0.0, 1.0);
|
|
result += mat4(-0.13837905, -0.067753285, 0.0764978, 0.03729214, 0.17639492, -0.027780103, -0.01209291, -0.07154623, 0.05318505, -0.041469146, -0.13914822, -0.034375183, 0.063493945, 0.098800704, 0.07209861, -0.081063025) * go_4(1.0, -1.0);
|
|
result += mat4(0.0885162, -0.004286808, -0.04590522, -0.009821024, 0.06929009, 0.1377115, -0.3040033, -0.36766884, -0.011379945, -0.00017395087, -0.21295871, -0.13242184, -0.22686961, -0.09711975, 0.219442, 0.07782863) * go_4(1.0, 0.0);
|
|
result += mat4(-0.052216977, 0.0022526693, 0.08789426, 0.101838656, 0.055295188, 0.12478162, -0.17794913, -0.16096286, 0.03537816, -0.09675113, -0.12077911, -0.054987498, 0.09664434, 0.10522916, -0.184103, 0.20173639) * go_4(1.0, 1.0);
|
|
result += mat4(-0.08799513, 0.053520318, -0.06829527, -0.061881334, -0.06998132, -0.016926985, -0.0034579965, -0.02244025, 0.08783364, -0.048509452, 0.06655328, 0.02509059, 0.14502525, -0.086991906, 0.124340616, 0.00037620167) * go_5(-1.0, -1.0);
|
|
result += mat4(-0.12045644, -0.0791683, -0.016914366, -0.0702782, -0.1417759, 0.113099955, 0.03572895, 0.03584289, -0.23530042, 0.16986006, -0.08690092, 0.20150651, 0.14820416, -0.0022669397, 0.16911735, -0.32364613) * go_5(-1.0, 0.0);
|
|
result += mat4(0.2332167, -0.016162368, -0.07348933, 0.051037077, -0.029558603, 0.10703994, 0.09952783, 0.11973201, 0.080019765, 0.1711361, -0.033787925, 0.11096711, -0.0026446204, 0.12003299, 0.17813842, -0.15823579) * go_5(-1.0, 1.0);
|
|
result += mat4(0.13115647, 0.04365931, 0.08948908, -0.0061321505, -0.17846593, -0.07659842, -0.18420176, -0.124986045, -0.077533804, -0.06662785, -0.06746059, 0.06722217, 0.06708974, 0.020013843, 0.057971753, -0.005804974) * go_5(0.0, -1.0);
|
|
result += mat4(0.018778078, 0.08638097, 0.12128037, -0.100785516, 0.020799557, -0.045280837, 0.065865815, -0.13772325, -0.14847542, -0.10060909, -0.07299966, 0.035418868, -0.2626101, 0.048298042, 0.117776625, 0.2014914) * go_5(0.0, 0.0);
|
|
result += mat4(0.027666502, -0.0080054365, 0.114057735, 0.11314715, -0.12363325, -0.113225006, 0.14003067, 0.06963901, 0.030006966, 0.11874836, 0.12775381, 0.058153503, 0.18982601, 0.107828185, -0.031235067, -0.28085175) * go_5(0.0, 1.0);
|
|
result += mat4(-0.058084015, -0.22221348, -0.0896041, 0.0627608, -0.116209514, -0.061959576, 0.08820395, 0.065014645, 0.020963453, -0.025303738, 0.043819524, 0.0133228395, 0.033737265, -0.15635544, -0.11012964, 0.06452587) * go_5(1.0, -1.0);
|
|
result += mat4(0.013111555, 0.054879397, -0.084155306, -0.05129703, 0.14801842, 0.026329206, -0.024483597, -0.08906689, 0.05348424, -0.039064053, 0.08269973, -0.042230796, 0.09083986, 0.04736572, -0.11007553, -0.16672523) * go_5(1.0, 0.0);
|
|
result += mat4(-0.012899352, -0.1294054, 0.1125801, -0.04872308, -0.06587377, -0.011649611, -0.0895225, -0.011717788, 0.12558992, -0.11246865, -0.005633265, 0.16554871, 0.09073155, -0.02444982, 0.051129293, 0.071896) * go_5(1.0, 1.0);
|
|
result += mat4(-0.040985197, -0.11714439, 0.0050871605, -0.055462062, -0.08494001, 0.02960296, 0.095325224, 0.20950922, 0.04292618, -0.09899439, 0.028093863, -0.051682223, 0.29498738, 0.079777084, 0.06441235, -0.11312307) * go_6(-1.0, -1.0);
|
|
result += mat4(-0.0736591, 0.23490392, 0.0012234901, 0.0062587685, -0.0658678, 0.14087045, 0.16481075, 0.0865966, -0.043406636, 0.22310406, -0.042780004, 0.23647028, 0.12841848, -0.0035120498, 0.006173345, -0.024037007) * go_6(-1.0, 0.0);
|
|
result += mat4(0.09205112, 0.059635665, 0.08538701, 0.022823967, -0.06477945, 0.06236264, 0.038886856, 0.013214306, 0.028087588, -0.10733406, -0.06626182, 0.072191566, 0.024621291, 0.009575019, -0.06411952, -0.1463673) * go_6(-1.0, 1.0);
|
|
result += mat4(0.0054634516, 0.045507513, -0.007799662, 0.0076722545, -0.12650666, 0.14308643, 0.06477858, 0.24249618, -0.13591407, -0.13626933, -0.33021417, 0.14956667, 0.14996628, 0.01296905, 0.07415943, -0.2862635) * go_6(0.0, -1.0);
|
|
result += mat4(-0.097647466, 0.10142995, -0.08994866, -0.18288863, -0.05146021, 0.051858053, 0.1065154, -0.018669382, 0.049175538, 0.01052338, -0.08475384, -0.03172579, -0.10427115, 0.16601573, 0.048708897, -0.16694255) * go_6(0.0, 0.0);
|
|
result += mat4(0.026975388, 0.059210766, 0.07111863, -0.06324248, -0.15227206, 0.16633601, 0.07461219, 0.267013, -0.047243737, -0.3753309, 0.008852686, -0.013038294, -0.08381937, 0.2180827, 0.11023216, 0.05140329) * go_6(0.0, 1.0);
|
|
result += mat4(-0.07311599, -0.05057456, 0.023085596, -0.10682444, 0.063513815, 0.07356253, -0.12083916, 0.04450374, -0.22449435, -0.24517713, -0.15282468, 0.10999382, 0.04883995, 0.12952463, 0.077369794, -0.12015865) * go_6(1.0, -1.0);
|
|
result += mat4(-0.032314647, -0.10842104, 0.08947376, 0.09801895, -0.23712908, 0.03993495, 0.11174641, 0.17067215, 0.10894186, 0.055918567, -0.03502335, -0.18856876, -0.062737584, 0.010392958, -0.11375558, -0.034413774) * go_6(1.0, 0.0);
|
|
result += mat4(0.03193526, -0.12611216, 0.012267307, -0.009893633, -0.12945518, -0.12617463, -0.013297298, 0.11985869, -0.013691836, -0.097269624, 0.039589375, 0.07388823, -0.009328134, 0.06370066, 0.02859016, 0.048128143) * go_6(1.0, 1.0);
|
|
result += mat4(-0.10391301, 0.008188025, -0.048711997, 0.09241104, -0.038443137, 0.029809011, 0.024959557, -0.05881074, -0.04998583, -0.04124172, -0.028660027, 0.03466532, 0.011698102, 0.044361595, 0.04664061, -0.018566478) * go_7(-1.0, -1.0);
|
|
result += mat4(0.09856062, -0.101091534, 0.06970033, -0.07585045, -0.12380092, 0.14135367, 0.019343793, 0.1737178, -0.16379696, -0.045019772, -0.058714505, -0.028094918, 0.15862615, 0.14155744, 0.07784022, 0.115407884) * go_7(-1.0, 0.0);
|
|
result += mat4(0.013782505, -0.049060434, 0.000708752, -0.13372315, 0.09113942, -0.08684804, -0.0342819, -0.011987756, 0.009873064, -0.02924474, 0.025891695, -0.019425275, 0.023715625, -0.048975617, 0.10708091, 0.115210146) * go_7(-1.0, 1.0);
|
|
result += mat4(-0.0013538608, -0.012521754, 0.081756964, -0.071289025, -0.11118813, -0.02736482, -0.19032161, 0.061563436, 0.025607973, 0.11936482, 0.08191075, -0.058816638, 0.0739315, 0.015304525, 0.11458635, 0.07511394) * go_7(0.0, -1.0);
|
|
result += mat4(0.1808514, -0.083741136, 0.20993811, -0.12137578, 0.03407561, -0.030393306, -0.21573617, 0.057049792, -0.084746934, -0.08983451, 0.06681565, -0.020741878, -0.07407868, 0.06587669, 0.02362261, 0.18319516) * go_7(0.0, 0.0);
|
|
result += mat4(0.037588492, -0.10657281, -0.010977549, 0.04346086, 0.123472065, 0.025804061, -0.08596545, 0.014454042, -0.08765823, -0.08678077, -0.07755789, 0.031191997, 0.03477551, 0.07478537, 0.11362728, 0.09572332) * go_7(0.0, 1.0);
|
|
result += mat4(0.0900926, 0.19256, 0.12193432, -0.08833128, -0.093027934, -0.06769375, -0.16739862, -0.03577543, 0.017636668, 0.027024843, 0.06288048, 0.044872086, 0.10232667, 0.0068255565, -0.004028761, 0.029350126) * go_7(1.0, -1.0);
|
|
result += mat4(0.049896117, 0.15445383, 0.14894868, 0.02776866, 0.063110374, 0.17882115, 0.0042055226, -0.017513141, 0.091088936, 0.003010554, 0.056064103, -0.083869845, -0.048410174, -0.22603737, 0.051802166, -0.03973644) * go_7(1.0, 0.0);
|
|
result += mat4(-0.05112879, -0.040702794, 0.08248044, 0.086119935, 0.06375491, 0.020072684, 0.15028115, 0.008888093, 0.082408555, 0.006811597, -0.123747684, -0.09731778, 0.11961848, -0.021594765, -0.09106974, -0.050286602) * go_7(1.0, 1.0);
|
|
result += mat4(0.2571731, -0.081907116, -0.033212937, 0.0620556, 0.009862383, -0.0070517566, -0.004764438, -0.0709893, 0.018923642, -0.057825282, -0.0064521073, 0.08952444, -0.022852743, 0.13909613, -0.019168667, 0.030131642) * go_8(-1.0, -1.0);
|
|
result += mat4(0.020968758, 0.08022817, -0.008601074, -0.1097215, 0.047841262, -0.07995962, 0.08419089, -0.040025167, 0.039427646, -0.034424137, -0.02700686, 0.074861415, 0.0041469475, -0.18269539, -0.17760022, 0.12437888) * go_8(-1.0, 0.0);
|
|
result += mat4(0.035323508, -0.115505636, 0.08674358, -0.16753072, 0.034209844, -0.0076614427, -0.0005810619, -0.05547449, -0.02653139, 0.0323624, 0.06460733, -0.035394993, -0.04853036, -0.023752727, -0.042929113, -0.15378472) * go_8(-1.0, 1.0);
|
|
result += mat4(0.29659423, -0.0006672761, -0.047517773, -0.06199174, -0.017030012, 0.029558018, -0.02886189, -0.09088566, 0.019745167, 0.096069895, 0.18460031, 0.11346628, -0.0806195, 0.08387502, 0.04051519, -0.008846576) * go_8(0.0, -1.0);
|
|
result += mat4(0.05892242, 0.056606613, 0.015149992, 0.09476475, 0.07959804, 0.05704647, 0.10259821, 0.15022708, -0.042979885, -0.23327734, 0.2702623, 0.10974108, 0.03293819, -0.038108915, -0.110423155, -0.023343116) * go_8(0.0, 0.0);
|
|
result += mat4(0.03149034, 0.08331677, -0.08575176, -0.055300176, 0.008931783, -0.08674912, -0.022917027, 0.01648926, -0.1268374, 0.075792305, 0.15822591, 0.055847537, 0.0012736744, 0.19256137, -0.04431186, 0.06601694) * go_8(0.0, 1.0);
|
|
result += mat4(-0.013500773, -0.11745078, -0.04050182, 0.06596709, 0.057272922, -0.020333195, 0.050690793, -0.015620617, -0.08613812, 0.056710016, 0.03490378, -0.12669475, 0.07707306, 0.07194328, 0.13534424, 0.051376734) * go_8(1.0, -1.0);
|
|
result += mat4(-0.10094398, -0.021660322, -0.21838374, -0.093808286, -0.09158486, -0.014816265, -0.15103486, 0.08692401, 0.030954776, 0.015028527, 0.034968782, 0.07395348, -0.018183898, 0.07517873, 0.013613574, 0.065369695) * go_8(1.0, 0.0);
|
|
result += mat4(-0.03792745, -0.006733627, 0.025750823, 0.014982917, -0.04316942, 0.03895343, 0.010674262, -0.02580279, -0.05217408, -0.048307255, 0.10277286, 0.11032194, -0.042484324, -0.094473965, 0.09480515, 0.15434706) * go_8(1.0, 1.0);
|
|
result += mat4(0.033276457, 0.002123263, 0.0064143906, 0.02557083, -0.055384915, 0.018320283, 0.013389597, -0.07641146, 0.06467656, 0.06509521, -0.01756422, -0.048893183, 0.066380076, -0.08305459, -0.123950765, 0.07847402) * go_9(-1.0, -1.0);
|
|
result += mat4(0.038409892, 0.15350512, 0.19252667, 0.011370862, 0.018854687, -0.0037143677, -0.051887456, -0.024303446, -0.08148162, 0.09258359, 0.044794485, -0.0741859, -0.007914459, 0.16320546, 0.005944812, 0.006757313) * go_9(-1.0, 0.0);
|
|
result += mat4(-0.0028705026, -0.05118026, -0.09932788, -0.004281493, -0.036878936, -0.023730323, 0.050872713, -0.050899874, -0.07606518, -0.03521744, -0.07658885, -0.108464874, 0.10739581, -0.009181252, -0.0070966687, 0.05193587) * go_9(-1.0, 1.0);
|
|
result += mat4(0.018943064, -0.00937319, 0.018877272, 0.014771399, 0.1178018, -0.0911264, 0.10991882, -0.15921818, -0.06767399, -0.059326403, -0.09600347, 0.009451356, 0.102710254, -0.0885573, 0.057603467, 0.01992773) * go_9(0.0, -1.0);
|
|
result += mat4(-0.0046776338, 0.012952324, 0.033664063, -0.05237841, -0.054967895, -0.025386026, 0.079488695, 0.22789961, -0.013646531, -0.14056179, 0.043689843, 0.042846087, 0.036067236, 0.14239535, -0.281547, 0.07508984) * go_9(0.0, 0.0);
|
|
result += mat4(-0.09807237, 0.0034014925, 0.044999514, 0.045813996, -0.053272054, 0.075805016, 0.029503575, -0.07698443, -0.084488615, 0.13008903, 0.04431506, -0.051466364, 0.021694876, 0.043624, -0.013493849, 0.0029076347) * go_9(0.0, 1.0);
|
|
result += mat4(0.013535879, -0.024679128, 0.036481153, -0.021314025, 0.0834024, -0.099808566, 0.05001698, 0.010658749, -0.06595134, -0.03521598, -0.103553504, 0.06790129, 0.035933115, -0.047610957, -0.0052558477, -0.1678799) * go_9(1.0, -1.0);
|
|
result += mat4(0.025644135, -0.034027576, -0.080036685, 0.03827762, -0.027871434, -0.070245065, -0.021769412, 0.027066302, -0.07604397, 0.05617383, -0.18923633, 0.15722784, -0.026357215, -0.02692877, -0.15795054, 0.0033001932) * go_9(1.0, 0.0);
|
|
result += mat4(0.02899885, 0.052839927, -0.024265958, -0.06958408, 0.0008551589, 0.0133860465, 0.075541645, 0.015619437, -0.040788416, 0.07190152, -0.12392664, -0.05369185, -0.15271576, -0.0103186015, 0.13524354, -0.07938339) * go_9(1.0, 1.0);
|
|
result += mat4(0.14343445, -0.028533014, 0.03347991, -0.023772543, -0.07142908, 0.014239871, -0.05316892, -0.03663716, 0.08939066, -0.020609157, 0.0054644085, 0.1524691, 0.1692467, 0.018540619, 0.044972885, 0.07313233) * go_10(-1.0, -1.0);
|
|
result += mat4(-0.09232455, 0.12691838, -0.056665517, 0.03202994, -0.076657206, -0.16730559, -0.05197493, 0.0138470195, 0.0018628361, 0.13816267, 0.10077216, 0.17797759, 0.043260746, 0.017978493, -0.06791809, -0.010487932) * go_10(-1.0, 0.0);
|
|
result += mat4(-0.03577261, 0.048712313, 0.06941375, 0.0051264153, 0.008309652, -0.028129293, 0.022743499, -0.013171842, 0.12213201, -0.0295121, -0.053002793, 0.016487766, -0.053577382, -0.08655959, -0.07344541, -0.064555615) * go_10(-1.0, 1.0);
|
|
result += mat4(0.10845244, -0.0077420617, 0.03581785, 0.0038137652, 0.015107951, -0.059069965, -0.04678172, 0.048014846, -0.004465835, 0.0022898219, 0.073007226, 0.18142632, 0.07848132, 0.07515797, 0.012369896, 0.07600368) * go_10(0.0, -1.0);
|
|
result += mat4(-0.08638719, 0.15884505, -0.08973742, -0.12369276, 0.08267924, -0.03720554, -0.17259789, 0.1946709, 0.016929558, 0.029375779, 0.01198965, 0.06847236, -0.06293463, -0.022434572, 0.07651499, 0.0346661) * go_10(0.0, 0.0);
|
|
result += mat4(-0.025976323, 0.045778584, 0.05067603, -0.02544538, -0.05079276, 0.04841232, -0.17063946, 0.022753738, 0.06943225, 0.056274258, -0.13646449, 0.023894709, 0.0039852895, -0.084818296, 0.015410173, -0.032319937) * go_10(0.0, 1.0);
|
|
result += mat4(0.04807185, -0.0003949595, 0.025213908, 0.103080414, -0.0023272403, 0.023491438, -0.056150086, 0.12879792, -0.013982606, 0.036223706, 0.03940019, 0.024488496, 0.012625189, -0.07193314, 0.12854105, -0.032734193) * go_10(1.0, -1.0);
|
|
result += mat4(-0.12367774, -0.035864305, 0.13639599, 0.03812523, -0.03994671, -0.11915718, 0.041367244, 0.16409606, 0.050837673, 0.06977757, -0.052018918, 0.09774216, 0.07573336, -0.003323072, -0.044979483, -0.021800824) * go_10(1.0, 0.0);
|
|
result += mat4(0.06765063, 0.07885527, -0.061796997, -0.033930518, 0.060318742, -0.04216291, -0.07221272, 0.09004521, -0.065076694, -0.026399218, 0.10466377, 0.08561086, -0.024088204, -0.070315324, -0.040125035, 0.004548777) * go_10(1.0, 1.0);
|
|
result += mat4(0.04096943, 0.046178315, 0.011453587, 0.048791222, 0.027209666, -0.08074877, 0.106461525, -0.10974307, -0.020276416, 0.06417489, -0.0028763798, -0.029264465, 0.03444099, 0.10803487, 0.0141790565, 0.009156893) * go_11(-1.0, -1.0);
|
|
result += mat4(-0.016227538, 0.19522339, -0.0053924974, 0.055647578, 0.026691278, -0.09364552, -0.04868968, 0.068987675, 0.11558127, -0.16214633, 0.000592678, -0.08047563, 0.03148686, -0.06717632, -0.09336522, 0.043072738) * go_11(-1.0, 0.0);
|
|
result += mat4(0.0011174235, 0.08426773, 0.103897035, 0.11740773, 0.024287522, -0.020319004, 0.04015764, 0.010502566, 0.019457467, -0.04620711, 0.024066428, 0.05627311, -0.014574119, 0.0273105, 0.001676443, -0.023356035) * go_11(-1.0, 1.0);
|
|
result += mat4(0.1606767, -0.086658545, 0.009466048, -0.030490771, 0.16992782, 0.06852414, 0.15293188, -0.08855474, -0.067096494, 0.017907407, -0.017089175, -0.0053409, 0.0733796, -0.018089872, 0.05572631, -0.035322845) * go_11(0.0, -1.0);
|
|
result += mat4(-0.048777405, -0.038038082, 0.092394255, 0.08715676, 0.053691484, -0.23649393, -0.12883174, 0.012281466, -0.037717126, -0.07552516, 0.07210121, -0.17331205, 0.0016187717, 0.07259926, 0.145282, 0.014165023) * go_11(0.0, 0.0);
|
|
result += mat4(-0.12497079, -0.104426414, -0.012715669, -0.19777615, -0.017443223, 0.06788143, 0.0614136, -0.002465718, -0.028014038, -0.011756029, 0.10710533, 0.058262154, -0.060565244, -0.03191098, 0.00991814, 0.076612055) * go_11(0.0, 1.0);
|
|
result += mat4(-0.013859454, 0.061379608, 0.073247865, -0.0067830062, 0.16421017, 0.16367128, 0.02887352, -0.18079562, -0.08341499, -0.04535779, -0.07029753, -0.02935799, 0.09612428, -0.052309513, -0.04888333, 0.044868078) * go_11(1.0, -1.0);
|
|
result += mat4(0.12000188, -0.024868136, 0.123532094, -0.11463714, -0.06894127, -0.030455533, 0.056860894, 0.03772401, 0.03873448, 0.0840759, -0.08643597, -0.08898501, 0.035110738, -0.12644961, 0.065761074, 0.030739123) * go_11(1.0, 0.0);
|
|
result += mat4(-0.01031014, -0.02494621, -0.18404531, -0.15162574, -0.04742816, -0.08756647, 0.16793372, -0.002655142, 0.01775816, -0.02193653, -0.047818832, -0.047989108, 0.021209596, 0.10485623, -0.092118226, -0.11965965) * go_11(1.0, 1.0);
|
|
result += vec4(0.038480498, 0.04292295, 0.03059564, 0.052293446);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x104
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_15_tf
|
|
//!BIND conv2d_15_tf1
|
|
//!BIND conv2d_15_tf2
|
|
//!BIND conv2d_15_tf3
|
|
//!BIND conv2d_15_tf4
|
|
//!BIND conv2d_15_tf5
|
|
//!BIND conv2d_17_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!BIND conv2d_16_tf
|
|
//!SAVE conv2d_18_tf
|
|
//!WIDTH conv2d_15_tf.w
|
|
//!HEIGHT conv2d_15_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_15_tf_tex(conv2d_15_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_15_tf1_tex(conv2d_15_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_15_tf2_tex(conv2d_15_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_15_tf3_tex(conv2d_15_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_15_tf4_tex(conv2d_15_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_15_tf5_tex(conv2d_15_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_15_tf_tex(conv2d_15_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_15_tf1_tex(conv2d_15_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_15_tf2_tex(conv2d_15_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_15_tf3_tex(conv2d_15_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_15_tf4_tex(conv2d_15_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_15_tf5_tex(conv2d_15_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_24 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_25 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.33416227, 0.09829885, -0.14215165, 0.047257327, -0.25676978, 0.06477231, 0.18437357, -0.09317491, 0.14196362, -0.09833729, -0.05023742, 0.30286238, -0.095891505, -0.05642394, -0.04279076, -0.20932348) * g_0;
|
|
result += mat4(0.05250283, 0.097802795, -0.10851134, -0.034588467, 0.08729734, -0.13947372, 0.14574417, 0.15165779, 0.15822525, -0.09741342, -0.29856458, 0.101639755, -0.17390165, 0.20864505, -0.23063898, -0.069147386) * g_1;
|
|
result += mat4(0.2346171, -0.12033308, -0.10432819, -0.028732711, -0.22354195, -0.09041756, -0.10091414, 0.004025042, -0.01537579, -0.11316728, -0.09128845, -0.10836599, 0.098449625, 0.021946304, -0.0559169, -0.027388508) * g_2;
|
|
result += mat4(0.16285792, -0.2265136, -0.10871404, -0.116897024, 0.120534234, 0.047987677, -0.004379848, 0.055190843, -0.16359152, 0.1373434, 0.2990455, 0.013323317, -0.113601066, -0.28977937, 0.2619728, 0.17309852) * g_3;
|
|
result += mat4(-0.16532536, -0.004392614, 0.094332375, -0.07948231, 0.0965218, 0.094979055, -0.16280106, 0.037660465, 0.11163236, 0.09897609, 0.084096566, -0.1494275, -0.016781123, -0.062385462, -0.26847538, 0.1566464) * g_4;
|
|
result += mat4(-0.09193836, -0.035500966, 0.19209282, 0.30185416, -0.102988094, 0.03829289, -0.37286982, -0.08325574, -0.21487275, 0.0675388, -0.2152679, -0.15988335, -0.14248285, 0.033678766, 0.26234034, -0.113209285) * g_5;
|
|
result += mat4(-0.22717316, -0.0009200798, 0.003287377, -0.002284066, -0.034983475, 0.15027894, -0.13538387, 0.0062207277, 0.00039265986, -0.007900346, -0.18446177, -0.13124779, 0.37357095, -0.039655972, 0.18370372, -0.13613242) * g_6;
|
|
result += mat4(-0.008904987, 0.22167958, 0.022735478, -0.10282882, 0.009706884, 0.10853093, -0.11238819, 0.07017576, 0.08412395, 0.09763671, 0.092221156, -0.20290114, 0.12376833, 0.062525444, 0.13981692, -0.15654904) * g_7;
|
|
result += mat4(0.2202994, -0.05487525, 0.11625077, 0.35435417, -0.0033555152, -0.03066193, 0.04199444, -0.06022421, -0.046327718, -0.04349393, -0.017858896, -0.29926088, -0.026567936, 0.0232344, 0.031930014, -0.16508788) * g_8;
|
|
result += mat4(-0.014044821, -0.105468035, 0.16994655, 0.09042197, 0.02509403, 0.043242466, 0.007714088, -0.014514478, 0.12195026, -0.14864756, -0.17863454, 0.021342438, 0.05473602, 0.03023287, -0.04338681, 0.25018957) * g_9;
|
|
result += mat4(0.11178171, -0.031541932, -0.022311704, 0.06927876, -0.118677296, -0.07876712, 0.2573275, -0.16963796, -0.09918738, -0.09615811, 0.18225491, 0.18405153, 0.28958827, 0.10559797, 0.23273212, -0.23836672) * g_10;
|
|
result += mat4(0.17404434, 0.006543903, -0.04151141, 0.08504442, -0.036097426, 0.102214396, 0.18505338, -0.121599965, 0.05311446, 0.067163326, 0.03339468, -0.10639028, -0.08318937, 0.03591386, -0.096980564, 0.16911677) * g_11;
|
|
result += mat4(0.05569724, -0.24573782, -0.08229295, -0.015653128, -0.088948324, 0.06831632, -0.0009226177, 0.20754391, -0.08485601, 0.27108276, -0.18006897, -0.14416619, 0.014280893, -0.20544566, 0.06332818, -0.18700986) * g_12;
|
|
result += mat4(-0.014061824, 0.2738249, 0.13395612, 0.1722393, 0.1108353, 0.14290176, -0.19484134, -0.14986867, -0.00047288154, -0.3510016, 0.13103095, 0.10223549, 0.32832077, 0.19840792, 0.118998185, -0.028437005) * g_13;
|
|
result += mat4(-0.15725374, 0.17122267, 0.114801794, 0.2099415, 0.12080525, 0.059072934, -0.023651272, -0.13910551, -0.036585454, -0.47406256, 0.055988673, 0.24299833, 0.05235501, -0.12523869, -0.00253683, 0.11640101) * g_14;
|
|
result += mat4(-0.081746235, -0.22889271, 0.053322088, -0.08665787, 0.24643211, 0.027273338, 0.09500774, -0.115398645, 0.040935457, 0.0883963, 0.18543912, -0.098223954, -0.029414238, 0.024577033, 0.33146027, 0.038923774) * g_15;
|
|
result += mat4(0.06752596, -0.25002465, -0.22013777, -0.11161415, -0.07435017, -0.06942425, -0.02743294, 0.108842425, -0.0013048031, 0.108312085, 0.10029556, 0.21221648, -0.26489133, 0.24258105, -0.073929526, 0.12577781) * g_16;
|
|
result += mat4(-0.05739181, 0.23090334, 0.006777456, 0.036732256, 0.060325738, 0.0047021233, -0.016167793, -0.0797981, -0.06797836, -0.022108275, 0.09807591, -0.07017568, 0.1110942, 0.009747667, -0.06542803, 0.14152472) * g_17;
|
|
result += mat4(0.07776711, -0.098150186, -0.16863117, 0.0073495065, 0.05722358, -0.34379464, 0.026611788, 0.158512, 0.17978796, -0.0070248432, 0.08746297, 0.0050373445, 0.06347449, -0.5033429, 0.04252335, -0.21747608) * g_18;
|
|
result += mat4(-0.07743927, 0.010540148, 0.16479133, -0.0024370546, 0.18661375, -0.020397237, 0.016077021, 0.051072516, -0.037119925, -0.06755068, 0.12466155, -0.056955684, -0.36593297, 0.23062328, 0.22472279, -0.054084912) * g_19;
|
|
result += mat4(-0.011354759, 0.093901664, -0.20744812, -0.072959766, -0.18470302, 0.028048197, -0.24052349, 0.12828217, -0.040006574, -0.067410275, -0.03315965, 0.06631403, -0.28481728, 0.005110992, 0.20470636, -0.009981321) * g_20;
|
|
result += mat4(-0.03354525, -0.059142444, -0.15623446, 0.015744166, 0.08541153, -0.072278626, -0.04104654, -0.046746574, 0.11032013, -0.04839051, 0.029939886, -0.04404479, -0.050214116, -0.12854907, -0.187336, -0.09875316) * g_21;
|
|
result += mat4(0.09276934, 0.1589921, -0.14998227, 0.15918075, -0.10429563, 0.14331265, -0.028513614, -0.29926082, 0.14870556, 0.14363697, 0.03612754, -0.34358153, 0.007659696, 0.03472827, 0.24480377, 0.25565132) * g_22;
|
|
result += mat4(-0.058360998, -0.041696765, -0.025950164, -0.086585455, 0.059222456, -0.13592203, 0.12421702, 0.25911456, -0.30712909, -0.32777423, -0.065243766, -0.18262905, 0.2039587, 0.052910935, -0.08447836, 0.093383566) * g_23;
|
|
result += mat4(-0.17947456, -0.107932284, 0.11335294, 0.16742402, -0.123715445, -0.27323994, 0.15531261, 0.22766086, 0.16263995, -0.2014767, -0.40492374, -0.15713632, -0.26240152, 0.018007467, 0.0621857, -0.2819687) * g_24;
|
|
result += mat4(-0.26559585, 0.014900249, 0.16911738, -0.17638609, 0.22711746, -0.16094574, 0.03393967, 0.1899959, -0.1117433, -0.023160132, 0.054320656, 0.047609437, -0.0006658183, -0.020135878, 0.21770352, 0.6265344) * g_25;
|
|
result += vec4(0.004939347, -0.026483338, -0.056496214, -0.07306347);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x104
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_15_tf
|
|
//!BIND conv2d_15_tf1
|
|
//!BIND conv2d_15_tf2
|
|
//!BIND conv2d_15_tf3
|
|
//!BIND conv2d_15_tf4
|
|
//!BIND conv2d_15_tf5
|
|
//!BIND conv2d_17_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!BIND conv2d_16_tf
|
|
//!SAVE conv2d_18_tf1
|
|
//!WIDTH conv2d_15_tf.w
|
|
//!HEIGHT conv2d_15_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_15_tf_tex(conv2d_15_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_15_tf1_tex(conv2d_15_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_15_tf2_tex(conv2d_15_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_15_tf3_tex(conv2d_15_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_15_tf4_tex(conv2d_15_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_15_tf5_tex(conv2d_15_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_15_tf_tex(conv2d_15_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_15_tf1_tex(conv2d_15_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_15_tf2_tex(conv2d_15_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_15_tf3_tex(conv2d_15_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_15_tf4_tex(conv2d_15_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_15_tf5_tex(conv2d_15_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_24 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_25 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.03043192, -0.11382309, 0.15258959, 0.0018671904, -0.07262079, -0.15530646, 0.088956885, 0.0068843844, 0.18098354, -0.13130096, 0.019414594, 0.021504048, 0.12169795, 0.15837122, 0.09828637, -0.47963795) * g_0;
|
|
result += mat4(0.14249554, -0.022084357, 0.06666183, -0.043699186, 0.014650524, 0.1188985, 0.0454781, -0.050885927, -0.20757285, 0.5144112, -0.48320413, -0.14140959, -0.13466966, 0.22992888, -0.005597194, -0.06725975) * g_1;
|
|
result += mat4(0.06208693, -0.112261705, -0.1686331, 0.018273335, -0.09682144, 0.068702586, 0.045484196, 0.08813325, -0.11541148, -0.008004347, 0.036507435, 0.06754519, 0.011923774, -0.03168652, 0.015487991, 0.10111531) * g_2;
|
|
result += mat4(-0.008023328, 0.1137135, -0.07264171, -0.120196424, -0.043222312, -0.22171052, 0.102924, -0.11386958, 0.21182953, -0.072151154, 0.04207932, 0.04245426, 0.074935004, -0.042641435, -0.098739915, -0.13941646) * g_3;
|
|
result += mat4(-0.010649323, 0.009664776, 0.041474525, -0.06732602, -0.18728773, -0.14357336, -0.2223795, 0.22192913, -0.0651367, -0.11535945, -0.19640021, 0.116560034, -0.025604805, 0.019647487, 0.25854686, -0.1392261) * g_4;
|
|
result += mat4(0.1567528, 0.10124439, -0.06609058, 0.11552276, 0.057271544, -0.065696426, 0.12358736, 0.15948243, -0.032239728, 0.011985731, 0.18371308, -0.08555982, -0.06528452, 0.11953871, 0.11031671, -0.029863868) * g_5;
|
|
result += mat4(0.1311102, -0.1305194, -0.18688914, 0.05448602, -0.06396861, -0.12188008, 0.121559285, 0.088412315, -0.09227041, 0.35888135, -0.21576284, -0.09567888, -0.1135963, -0.30975553, -0.019740306, 0.23325934) * g_6;
|
|
result += mat4(0.013327147, 0.069052495, 0.0853812, 0.13866353, 0.060591422, 0.1950111, 0.063291125, 0.06301278, 0.16034324, -0.03186552, -0.015433267, 0.21410994, 0.017428825, -0.095040835, -2.532167e-06, -0.19249855) * g_7;
|
|
result += mat4(-0.10042209, 0.051823184, 0.06878474, 0.039450742, -0.02151693, -0.125688, -0.080015615, 0.101158395, -0.023944302, -0.3210737, 0.19029768, -0.080297835, 0.03199306, 0.0999303, 0.22268118, 0.08898154) * g_8;
|
|
result += mat4(-0.06613979, -0.10264432, 0.06768314, 0.16863261, 0.23254016, 0.049546715, -0.22763276, 0.042342335, -0.20712924, 0.092378855, -0.022331564, -0.04691188, -0.027093714, 0.098690435, -0.19893834, -0.04930573) * g_9;
|
|
result += mat4(-0.122772284, -0.11104652, -0.018459626, 0.115983605, 0.12493899, 0.16507398, 0.21478258, -0.15713362, 0.055545174, 0.05634718, 0.1609001, 0.046624824, 0.08476838, 0.024616027, -0.0030971076, 0.040258918) * g_10;
|
|
result += mat4(-0.030780645, 0.10763727, 0.2205602, -0.22281945, 0.08244692, -0.12237726, -0.26415175, -0.16127835, -0.01633197, -0.12299418, -0.012012627, -0.084443405, 0.012664263, 0.07389567, 0.01104131, 0.01305866) * g_11;
|
|
result += mat4(-0.28838482, 0.15918796, -0.119311474, -0.053310875, -0.07448111, -0.13836008, -0.22057253, 0.2299248, 0.009213285, 0.0044759554, -0.058288343, 0.19605552, -0.062922835, 0.081783056, -0.20190218, 0.008294941) * g_12;
|
|
result += mat4(0.16755526, 0.08699512, -0.18997741, -0.0014094117, -0.06733589, -0.15045306, 0.25367445, -0.17017934, 0.017913489, -0.015539376, 0.088074, -0.05331681, 0.04171007, 0.14498031, 0.06460646, -0.00037390782) * g_13;
|
|
result += mat4(0.04930183, 0.12424497, -0.0722411, 0.09628479, -0.043124642, 0.04497056, 0.18794456, -0.03480863, -0.09988751, 0.053120367, -0.1482433, -0.145739, 0.09281689, 0.026481925, -0.10084, -0.15488812) * g_14;
|
|
result += mat4(-0.004074055, 0.04565656, -0.015633525, 0.035065204, 0.11478302, 0.020277338, -0.048027817, -0.010702974, -0.083617836, 0.010090728, -0.22310819, 0.15971296, 0.06781031, -0.16845126, 0.39758167, 0.22460622) * g_15;
|
|
result += mat4(-0.09374665, -0.042104498, -0.033132017, 0.08122814, -0.08190475, 0.27325064, -0.08330755, -0.3144509, -0.12476947, 0.07372691, -0.005574465, 0.19122915, 0.03066927, -0.018531645, 0.19734049, 0.002256408) * g_16;
|
|
result += mat4(0.013257584, -0.10722849, 0.03737538, -0.12670442, 0.07042824, 0.0074753985, 0.061389714, -0.3798834, 0.012847999, 0.08157751, 0.015498391, -0.06905376, -0.27448237, 0.002926611, -0.0022811508, -0.1625364) * g_17;
|
|
result += mat4(0.07984379, 0.16429926, -0.08719054, 0.084147796, -0.08544172, 0.049447432, -0.3133747, -0.024927497, -0.003863256, 0.18635638, -0.059786454, -0.052997295, -0.07169392, 0.11241022, -0.19898133, -0.007140295) * g_18;
|
|
result += mat4(-0.108855434, -0.09246034, 0.04956623, 0.028047003, -0.039407548, 0.031223932, 0.015852997, -0.050448515, -0.04515231, -0.1598301, -0.08276407, 0.17720093, 0.2920873, -0.021305554, 0.028241735, -0.18086697) * g_19;
|
|
result += mat4(0.047492385, -0.1599947, -0.20104182, 0.16174223, -0.071828544, -0.12785994, -0.12311588, 0.012565137, 0.016804317, -0.03577294, -0.09488874, 0.06645059, -0.00015702203, 0.16082056, 0.03234071, -0.08351094) * g_20;
|
|
result += mat4(-0.032639805, -0.010861794, 0.030566638, 0.014637599, 0.120822355, 0.12297292, -0.05141305, -0.016473597, -0.048908286, 0.07600826, -0.0022954363, -0.113686286, -0.20952684, 0.09235576, -0.15726195, -0.2348195) * g_21;
|
|
result += mat4(0.13191621, -0.002480696, -0.14792813, 0.15621583, 0.100709975, -0.21280108, 0.045120943, -0.02165414, -0.1447397, 0.24282482, -0.1569735, 0.11792232, 0.012485835, 0.0029504807, 0.067921594, -0.25737903) * g_22;
|
|
result += mat4(-0.11145241, 0.27000552, -0.19557719, -0.16048421, 0.012310486, 0.07280107, -0.13137956, 0.27061656, -0.25022137, 0.07077271, 0.3398045, -0.10735134, 0.124004506, -0.03584192, -0.042106874, 0.13895391) * g_23;
|
|
result += mat4(0.11946389, 0.10225672, -0.057140473, 0.09698616, 0.13223277, -0.19595279, -0.15960483, -0.017795812, 0.120322645, -0.0914318, -0.2300714, 0.14489214, 0.2006262, -0.0036377236, 0.14416055, 0.247531) * g_24;
|
|
result += mat4(0.2734717, -0.26736638, -0.06574077, -0.041792296, -0.13349292, 0.23770794, -0.0032957396, 0.07614033, -0.11995782, 0.25061053, -0.017311087, -0.3048492, -0.07940496, 0.166133, -0.2777709, 0.0010628162) * g_25;
|
|
result += vec4(0.015130698, -0.049747583, 0.006816977, -0.09670764);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x104
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_15_tf
|
|
//!BIND conv2d_15_tf1
|
|
//!BIND conv2d_15_tf2
|
|
//!BIND conv2d_15_tf3
|
|
//!BIND conv2d_15_tf4
|
|
//!BIND conv2d_15_tf5
|
|
//!BIND conv2d_17_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!BIND conv2d_16_tf
|
|
//!SAVE conv2d_18_tf2
|
|
//!WIDTH conv2d_15_tf.w
|
|
//!HEIGHT conv2d_15_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_15_tf_tex(conv2d_15_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_15_tf1_tex(conv2d_15_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_15_tf2_tex(conv2d_15_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_15_tf3_tex(conv2d_15_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_15_tf4_tex(conv2d_15_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_15_tf5_tex(conv2d_15_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_15_tf_tex(conv2d_15_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_15_tf1_tex(conv2d_15_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_15_tf2_tex(conv2d_15_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_15_tf3_tex(conv2d_15_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_15_tf4_tex(conv2d_15_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_15_tf5_tex(conv2d_15_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_24 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_25 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.07275335, 0.14898193, 0.05103475, -0.24677557, -0.04590853, 0.18598412, 0.17042433, 0.25112963, -0.25387946, 0.16816492, 0.042718515, -0.07254226, -0.123994775, 0.018808274, 0.112001434, 0.025319412) * g_0;
|
|
result += mat4(0.2535324, 0.24990268, 0.0028210187, 0.10466241, -0.061642785, 0.28444982, 0.076121055, 0.053076364, -0.52522933, 0.2632941, 0.19820404, 0.05237143, 0.26571947, 0.10656059, 0.043669626, 0.04990818) * g_1;
|
|
result += mat4(0.08245741, 0.14015213, 0.18104555, 0.10484035, 0.16811769, -0.041335564, -0.033331893, 0.033417568, 0.11096319, 0.030447075, -0.09328212, 0.04628232, -0.07635939, 0.07020028, -0.2722409, -0.060951874) * g_2;
|
|
result += mat4(0.010335018, 0.32633916, 0.12625806, -0.3094073, 0.29249397, -0.3108912, 0.11901825, -0.07490385, 0.17830479, -0.20337716, 0.054164883, 0.28893295, 0.18187387, 0.053543147, -0.10075131, 0.0034320771) * g_3;
|
|
result += mat4(-0.02826832, 0.11724661, -0.06962717, 0.12613653, -0.23680139, 0.004728264, 0.043008044, -0.22754075, -0.0716446, -0.14434932, -0.17710604, -0.11561461, 0.37956393, -0.16996142, 0.040763404, 0.07495938) * g_4;
|
|
result += mat4(0.06707339, 0.40558064, 0.21503006, -0.2594568, -0.22734876, 0.26095417, 0.053693745, -0.14698361, 0.07437207, 0.24770571, 0.120787956, -0.030818382, -0.047236454, -0.48851666, -0.0031445923, 0.22892044) * g_5;
|
|
result += mat4(-0.04945736, 0.26467103, 0.049671993, 0.047162287, 0.061514832, 0.15016414, -0.10250111, -0.3007125, 0.20936479, 0.27691036, -0.02891184, -0.025837302, 0.19422647, 0.11701095, -0.08495193, -0.13676211) * g_6;
|
|
result += mat4(-0.10254167, -0.16630745, -0.34381193, 0.06600585, -0.10242925, -0.055404972, 0.021561349, 0.10897398, -0.10120918, -0.13307574, -0.014301925, 0.1969603, -0.14377114, -0.089617215, 0.0022043488, 0.0038541725) * g_7;
|
|
result += mat4(-0.14566253, 0.22117427, 0.050736886, 0.12268627, -0.080971554, 0.0658161, -0.09683872, -0.0103765065, 0.18371643, -0.019395225, -0.120815344, 0.13516186, 0.05761091, 0.008207175, 0.36346915, 0.026339587) * g_8;
|
|
result += mat4(0.07948127, -0.08477327, -0.16991964, 0.2505722, -0.1902803, 0.079657145, -0.048453137, -0.09438733, -0.122441165, -0.06270245, -0.05311665, 0.13945523, -0.17516851, 0.1292089, -0.17136113, -0.055618342) * g_9;
|
|
result += mat4(-0.002150108, 0.02283226, -0.13090558, 0.033127207, 0.06023704, -0.06849595, 0.046912603, 0.034401193, 0.010757264, 0.19490354, 0.0116163725, 0.18590987, 0.025350608, -0.11296784, 0.049074072, -0.10146356) * g_10;
|
|
result += mat4(-0.02068922, 0.030495135, 0.120516464, 0.15653776, -0.1632823, -0.055421073, 0.07736736, -0.250596, -0.056524616, -0.038208432, -0.14350441, 0.09898008, 0.0051016, 0.15592806, 0.14021751, 0.019436443) * g_11;
|
|
result += mat4(-0.14777614, 0.17289229, 0.2744722, -0.038262386, 0.043346573, 0.22880417, 0.035564966, -0.07677456, 0.11968518, -0.22628254, 0.06328974, -0.15619329, 0.06524249, 0.046800073, 0.110473916, -0.15548) * g_12;
|
|
result += mat4(0.25480956, 0.14005896, 0.09140913, 0.054437663, 0.0004533271, -0.034787837, -0.1323544, -0.12815407, -0.084788546, 0.09716086, -0.13819875, 0.17354825, 0.10694976, 0.0016070876, 0.16901751, -0.29687676) * g_13;
|
|
result += mat4(0.110094875, 0.05579302, -0.0027500705, -0.23052558, 0.029316107, 0.025380356, -0.2670241, 0.21118346, -0.17167161, 0.021439673, 0.075709194, 0.035738192, 0.069175325, -0.11928909, 0.0609199, -0.07018926) * g_14;
|
|
result += mat4(0.053545795, 0.30914584, 0.0083375275, 0.024702856, 0.091693155, -0.12650286, -0.05307018, -0.009256227, -0.17785516, 0.019424014, 0.0064009326, -0.064602405, -0.23181896, 0.18487184, -0.041830298, 0.015233306) * g_15;
|
|
result += mat4(0.0983137, -0.02332874, -0.16712289, 0.110043615, 0.20248997, 0.46069786, -0.04481748, 0.037059803, -0.111577116, -0.023646941, 0.044005208, -0.046400744, 0.27068818, -0.02549177, -0.23175907, -0.013831666) * g_16;
|
|
result += mat4(-0.060007934, -0.10096949, 0.054297656, 0.07113129, 0.04455678, 0.26144683, -0.34634766, -0.046529762, -0.031835936, -0.10379009, 0.19875336, 0.018076476, -0.07739257, -0.013014384, -0.11888874, 0.22789921) * g_17;
|
|
result += mat4(-0.12075386, 0.13691123, 0.084494345, -0.15709634, -0.09436252, 0.038024623, 0.06776821, -0.07152998, -0.13886653, 0.029662577, 0.1038584, -0.038791, -0.09553779, -0.18302377, -0.01212077, 0.14089715) * g_18;
|
|
result += mat4(-0.057872534, -0.00011801619, -0.18532518, 0.076057665, -0.42539987, -0.07312798, -0.04669854, -0.23879579, -0.012684431, 0.09458908, -0.09142282, -0.12451197, 0.2476217, 0.074229516, -0.082316175, -0.044077393) * g_19;
|
|
result += mat4(0.28468457, -0.040408906, -0.106139034, -0.27775, -0.09903486, 0.10510825, -0.030768666, 0.025477748, 0.052054677, 0.06462344, 0.08219105, -0.31942672, -0.1009352, -0.1137351, -0.03437056, 0.19018868) * g_20;
|
|
result += mat4(0.102790736, -0.015214254, 0.13167804, -0.010143135, 0.20543955, 0.109071806, 0.009985071, 0.044157047, -0.0702753, 0.12881173, 0.11038061, 0.050384365, 0.0945336, -0.0092124175, 0.02406746, -0.16884717) * g_21;
|
|
result += mat4(-0.016257925, -0.29831296, 0.0016857416, -0.25284603, -0.093083024, 0.076591246, -0.16160022, 0.11423315, 0.009033389, 0.29160973, -0.017032826, -0.15522738, -0.011398442, 0.21191356, -0.07039929, 0.11179371) * g_22;
|
|
result += mat4(-0.22552256, 0.23648272, 0.04632884, 0.19379017, -0.013058757, 0.04581136, 0.07059032, -0.016221967, 0.19233103, 0.22866032, -0.06603767, -0.07290105, -0.1454335, -0.20352724, -0.11494829, -0.008654449) * g_23;
|
|
result += mat4(-0.22305818, 0.062374588, 0.09524618, 0.13345708, -0.017654542, -0.29984674, 0.14792737, 0.3332384, 0.15762518, -0.114883184, -0.044198688, 0.1029124, -0.19856718, -0.23805596, -0.14726463, 0.244083) * g_24;
|
|
result += mat4(0.14181834, -0.15349664, -0.21518064, 0.05561381, -0.098451905, 0.32704952, -0.0208272, -0.02572841, 0.0006366284, 0.086487964, 0.23271829, -0.1431307, 0.16303279, -0.07606844, 0.028287608, 0.10664057) * g_25;
|
|
result += vec4(0.082762346, -0.07846427, -0.039599236, -0.016365785);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x104
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_15_tf
|
|
//!BIND conv2d_15_tf1
|
|
//!BIND conv2d_15_tf2
|
|
//!BIND conv2d_15_tf3
|
|
//!BIND conv2d_15_tf4
|
|
//!BIND conv2d_15_tf5
|
|
//!BIND conv2d_17_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!BIND conv2d_16_tf
|
|
//!SAVE conv2d_18_tf3
|
|
//!WIDTH conv2d_15_tf.w
|
|
//!HEIGHT conv2d_15_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_15_tf_tex(conv2d_15_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_15_tf1_tex(conv2d_15_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_15_tf2_tex(conv2d_15_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_15_tf3_tex(conv2d_15_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_15_tf4_tex(conv2d_15_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_15_tf5_tex(conv2d_15_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_15_tf_tex(conv2d_15_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_15_tf1_tex(conv2d_15_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_15_tf2_tex(conv2d_15_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_15_tf3_tex(conv2d_15_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_15_tf4_tex(conv2d_15_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_15_tf5_tex(conv2d_15_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_24 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_25 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.3913639, 0.10863686, 0.036568943, -0.13616984, -0.12256661, 0.04261365, 0.08361712, 0.024963316, -0.03783324, -0.10835608, 0.1809994, -0.04891911, -0.07477347, 0.0005572628, 0.053801652, -0.17294465) * g_0;
|
|
result += mat4(-0.21240501, 0.048232567, -0.099440515, 0.110053435, -0.006807463, -0.10109199, -0.22602126, 0.11079698, -0.1816435, -0.3379471, -0.021888362, 0.012671836, -0.06788005, -0.019659603, 0.16906545, 0.1445488) * g_1;
|
|
result += mat4(0.040371295, -0.11197462, 0.00079611357, 0.23602307, -0.014053341, -0.16986679, 0.43132487, -0.12045111, 0.04180373, 0.08479918, -0.19931872, -0.17834274, -0.09733228, -0.20826107, 0.10239968, -0.13434827) * g_2;
|
|
result += mat4(0.020251004, 0.05971277, 0.18788993, 0.22893736, -0.08358592, -0.0119363805, -0.028455067, 0.116514385, -0.07311193, 0.22235078, -0.002239371, -0.074645266, 0.06231244, -0.13092813, 0.21043214, 0.50299895) * g_3;
|
|
result += mat4(0.47271565, 0.16325614, -0.15088516, -0.05982057, -0.2840374, 0.09182066, 0.06488062, -0.04938649, 0.1414061, 0.23092744, -0.21936595, -0.039149538, 0.20567922, 0.0246051, 0.098648764, 0.08579129) * g_4;
|
|
result += mat4(-0.39960098, 0.08434482, 0.13802652, 0.009295323, -0.20654808, -0.012721733, 0.21201523, 0.031257343, -0.11945277, 0.0916237, 0.06440069, -0.007590389, 0.23944661, -0.014860424, 0.06284065, -0.07135138) * g_5;
|
|
result += mat4(-0.0721573, 0.055787597, -0.02767052, 0.067403264, -0.02324729, 0.17466933, -0.042196542, -0.14136551, 0.09058359, -0.076865345, -0.015435375, 0.067640945, 0.011448769, 0.028046837, 0.04713673, 0.09483546) * g_6;
|
|
result += mat4(0.2546167, 0.022421336, 0.092746, -0.32795382, -0.33241096, 0.026107095, 0.06289775, -0.21036743, -0.27947587, -0.07762511, 0.2963245, -0.2832532, 0.063718654, 0.0619972, -0.061061345, -0.18399453) * g_7;
|
|
result += mat4(0.15909304, 0.07303675, -0.38512105, 0.029276537, 0.009517432, 0.05652419, -0.014813123, -0.095283724, -0.01813517, -0.15192051, -0.15530504, 0.2359332, -0.12923944, 0.01736479, -0.2677732, -0.3177703) * g_8;
|
|
result += mat4(-0.23776342, 0.10257757, 0.11439193, -0.18072441, 0.3792303, 0.100887515, -0.05491485, 0.27023515, 0.08301177, -0.21621186, 0.06266283, 0.086530656, 0.10006346, -0.053092614, -0.15547004, 0.35645944) * g_9;
|
|
result += mat4(-0.098499954, 0.039016157, 0.0524485, -0.10033457, 0.103584886, -0.11934437, 0.07800956, -0.15115607, -0.041158408, 0.117455296, 0.06669016, 0.0035908893, -0.13599664, -0.030012745, -0.30871254, 0.059126258) * g_10;
|
|
result += mat4(0.24690406, -0.091217, -0.0504622, 0.24518415, -0.12884134, 0.1323742, 0.0038479774, 0.09842381, 0.008500783, -0.06559568, 0.05146583, 0.059599597, 0.0071321735, -0.10342487, -0.19067638, -0.06347009) * g_11;
|
|
result += mat4(0.016936122, -0.11043261, -0.28285822, 0.33104372, -0.06869837, -0.019808812, 0.10947519, 0.2072341, 0.12953152, 0.0066205165, -0.14361404, 0.21440293, 0.107933156, 0.25248542, 0.35479957, 0.04657107) * g_12;
|
|
result += mat4(0.003236877, 0.03476854, 0.14876802, 0.23711428, 0.04649911, -0.071351595, 0.031896085, -0.10594211, 0.00069857674, 0.10305368, -0.09314995, -0.32680586, 0.04570868, 0.14266723, -0.034397174, 0.20164481) * g_13;
|
|
result += mat4(-0.020077765, 0.048004072, 0.090358, -0.089907974, 0.20100264, 0.07662578, -0.026522158, -0.022249233, 0.004584297, 0.049182866, 0.21047321, 0.2006713, -0.04797985, -0.120389566, 0.08469395, 0.17327283) * g_14;
|
|
result += mat4(0.03438223, -0.009089888, 0.02548027, 0.330411, -0.20711938, -0.09044422, -0.085573465, -0.0015074041, 0.19686691, -0.27738565, 0.1842882, 0.25633478, 0.05049097, -0.04747395, 0.12880976, 0.2955938) * g_15;
|
|
result += mat4(0.060284127, -0.052791417, 0.17430194, 0.2734774, 0.033497952, 0.07028606, 0.13602622, 0.3844893, -0.16202293, -0.0112891495, -0.10688323, 0.030814776, 0.014681261, 0.026908493, -0.008830593, 0.01871953) * g_16;
|
|
result += mat4(-0.07465978, -0.175989, 0.09637529, 0.040558986, 0.2981238, 0.16432516, 0.1452289, 0.5645152, 0.1293484, 0.074065246, -0.050162554, 0.21817929, 0.0609144, -0.10554228, -0.011225634, 0.36546203) * g_17;
|
|
result += mat4(-0.02294336, 0.08113419, 0.1710403, 0.18030314, -0.09124345, -0.035692204, 0.12966245, 0.19688453, -0.14478156, 0.08348002, -0.1238327, 0.084183216, -0.11615483, 0.06405909, -0.25661626, 0.16786002) * g_18;
|
|
result += mat4(0.036198474, -0.09861699, 0.012380308, -0.0666469, 0.054049894, -0.066349685, -0.04150571, 0.052891124, -0.06718455, -0.09419681, 0.15026417, -0.004487838, -0.24373291, -0.24006884, 0.33599952, -0.16203383) * g_19;
|
|
result += mat4(-0.084336184, 0.0033727193, -0.036314957, 0.04644337, 0.018204624, -0.16930482, 0.08446394, -0.056894217, 0.048310533, -0.12286224, 0.047029763, 0.15852791, -0.10254443, 0.009188206, -0.18071724, -0.09453931) * g_20;
|
|
result += mat4(0.2575106, 0.11234036, 0.03598674, 0.17742175, -0.09323855, -0.029400691, 0.066994734, -0.11069254, -0.014193176, -0.24321175, -0.0047728037, 0.09166242, 0.052884653, -0.10701044, 0.06771872, -0.10142581) * g_21;
|
|
result += mat4(0.007486696, 0.1029968, 0.14142233, 0.08376258, 0.12990831, 0.17370157, 0.006009723, -0.19141605, 0.13205655, -0.09506749, 0.12058968, 0.19471712, 0.009516709, 0.096770726, 0.14443186, 0.12925056) * g_22;
|
|
result += mat4(0.0475854, -0.09714674, -0.31917745, -0.20503542, 0.07705934, 0.040050905, -0.014721256, -0.058823906, 0.14376932, 0.012064556, 0.13286169, -0.19186401, 0.1831485, -0.27443576, -0.006654469, 0.103141926) * g_23;
|
|
result += mat4(0.044394996, -0.31224364, -0.07683899, 0.053486146, -0.4123616, 0.086337365, -0.09587909, -0.03808539, -0.18129647, -0.11455093, 0.1632373, 0.25741103, 0.17294647, -0.11041576, -0.2997262, 0.15817544) * g_24;
|
|
result += mat4(0.3266296, 0.085812286, -0.16668066, 0.030034138, -0.08862288, 0.06389938, 0.067171246, 0.01578496, 0.031137405, -0.06823438, -0.17424862, 0.3733615, -0.28492418, -0.14051028, -0.11076368, 0.0816732) * g_25;
|
|
result += vec4(0.015868783, -0.03145758, 0.060429975, 0.0045110146);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x104
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_15_tf
|
|
//!BIND conv2d_15_tf1
|
|
//!BIND conv2d_15_tf2
|
|
//!BIND conv2d_15_tf3
|
|
//!BIND conv2d_15_tf4
|
|
//!BIND conv2d_15_tf5
|
|
//!BIND conv2d_17_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!BIND conv2d_16_tf
|
|
//!SAVE conv2d_18_tf4
|
|
//!WIDTH conv2d_15_tf.w
|
|
//!HEIGHT conv2d_15_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_15_tf_tex(conv2d_15_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_15_tf1_tex(conv2d_15_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_15_tf2_tex(conv2d_15_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_15_tf3_tex(conv2d_15_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_15_tf4_tex(conv2d_15_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_15_tf5_tex(conv2d_15_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_15_tf_tex(conv2d_15_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_15_tf1_tex(conv2d_15_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_15_tf2_tex(conv2d_15_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_15_tf3_tex(conv2d_15_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_15_tf4_tex(conv2d_15_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_15_tf5_tex(conv2d_15_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_24 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_25 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.14945197, 0.16098031, 0.051719245, -0.034232154, -0.10090936, 0.00830591, 0.003511522, 0.047575846, 0.06164254, -0.036461372, 0.06093159, 0.12666239, 0.015167088, 0.22650927, 0.27785966, -0.13839455) * g_0;
|
|
result += mat4(0.20404427, -0.13778454, -0.003130969, -0.0069568753, 0.009411408, 0.00029913452, -0.15609823, -0.036967028, 0.8401452, 0.104523584, 0.16267233, 0.26101708, 0.15797855, -0.005672259, -0.072657965, -0.2940039) * g_1;
|
|
result += mat4(0.023400925, -0.07931777, -0.0024201928, 0.14154646, 0.13505082, 0.061725322, -0.23146541, 0.2235899, 0.028721808, -0.020690065, 0.027728429, 0.3306459, 0.03473293, -0.06322703, -0.017740624, 0.02693956) * g_2;
|
|
result += mat4(0.201981, -0.26569206, 0.3296027, -0.062879294, 0.012529938, -0.006474693, 0.09799416, -0.045322224, 0.10355446, 0.13586703, 0.23875476, 0.08521818, 0.13901752, -0.3213584, 0.0010939257, -0.012409596) * g_3;
|
|
result += mat4(-0.23700963, -0.0033388012, 0.08170323, 0.14243743, -0.18329623, 0.2986226, -0.19831513, 0.14657772, 0.33912238, 0.25595152, -0.24895075, 0.14932986, 0.045179855, -0.009538074, -0.100237936, -0.098446615) * g_4;
|
|
result += mat4(-0.18900044, 0.054638628, 0.06837739, 0.08266906, -0.046341334, -0.19986658, 0.050261546, 0.036085926, -0.07516528, 0.028093588, -0.3476435, -0.10726676, 0.33830363, -0.058144495, 0.102090456, 0.2108081) * g_5;
|
|
result += mat4(-0.09022328, 0.017889388, -0.15765008, -0.10291243, -0.060554795, -0.038358618, 0.16947241, -0.104247436, 0.42979565, 0.14488359, -0.07012738, 0.07480945, -0.02311837, -0.030403437, -0.21153943, 0.009769658) * g_6;
|
|
result += mat4(-0.19631365, -0.021078536, 0.093053594, 0.042771056, 0.07872415, 0.25367248, 0.2904824, 0.081488095, -0.21612023, 0.20601381, 0.09763489, 0.122754775, 0.0024988255, -0.17623907, 0.22360411, 0.18334015) * g_7;
|
|
result += mat4(-0.058749627, 0.071623124, 0.03675938, -0.2588635, 0.016778812, -0.21104309, 0.018952027, -0.31036612, -0.15561692, -0.021656368, -0.22004744, -0.20016085, 0.25435224, 0.02916577, 0.06516691, 0.07729871) * g_8;
|
|
result += mat4(-0.082993135, 0.037327975, -0.09041188, -0.021681158, -0.13288629, -0.016856177, -0.19841108, -0.048110623, 0.017901966, -0.13928522, 0.020148523, -0.2575589, 0.05966198, -0.25391978, 0.1887992, -0.22440273) * g_9;
|
|
result += mat4(0.038387958, 0.25604457, 0.20616667, -0.010662733, 0.0652453, -0.09418516, 0.03907119, -0.07573656, -0.026385533, 0.023236332, -0.0694166, -0.039987978, 0.03619357, 0.024953678, 0.0047133924, 0.10959686) * g_10;
|
|
result += mat4(-0.28358817, -0.08429444, 0.12283427, -0.17352122, -0.28881827, 0.028303733, 0.037494656, -0.18157536, 0.102885716, -0.1597965, -0.15546831, -0.01146783, -0.11535764, 0.07318211, -0.0064606857, -0.17013118) * g_11;
|
|
result += mat4(-0.2722369, -0.16988702, -0.12011997, -0.21110061, -0.02703128, -0.0012027018, 0.15786748, -0.045325976, -0.14155495, 0.024521999, -0.09180482, 0.07973881, 0.15009059, 0.11311702, -0.24193251, 0.21181291) * g_12;
|
|
result += mat4(0.079832554, 0.13819915, 0.0644478, 0.032698773, -0.055964362, 0.0062652268, -0.44648278, 0.020893153, 0.2785451, -0.058252975, 0.06947447, 0.17165478, 0.11666183, 0.032484345, 0.26955023, -0.09007163) * g_13;
|
|
result += mat4(0.074948624, -0.03027186, 0.08031308, 0.0076982, -0.030060723, -0.123520896, -0.01858971, 0.16149811, -0.18218324, -0.1907134, 0.14869457, 0.04311582, -0.14524359, 0.18327981, -0.038959123, 0.052322008) * g_14;
|
|
result += mat4(-0.059443116, -1.2828946e-05, 0.2770255, -0.054349877, -0.09371057, -0.19399741, 0.024748074, -0.21350558, 0.15579434, -0.18651448, 0.03005815, -0.12944081, -0.11453777, -0.2343128, -0.1720614, 0.0016626595) * g_15;
|
|
result += mat4(-0.23639911, -0.083615154, -0.20849767, -0.28589326, 0.3486518, -0.089977995, 0.013625235, -0.13351293, -0.17646289, -0.28506002, 0.13482474, 0.0347251, -0.23015228, 0.06251885, 0.0933548, -0.16809867) * g_16;
|
|
result += mat4(0.1822202, -0.089247055, -0.0019837108, 0.0024590432, 0.3305589, 0.019448044, -0.053130258, -0.12762257, -0.063679375, 0.22454257, 0.04940314, -0.015956238, 0.25156045, -0.070181206, -0.21123977, 0.12588634) * g_17;
|
|
result += mat4(0.2687441, 0.009185896, 0.2552064, 0.12281216, -0.061733842, -0.41198087, 0.015501087, 0.07808448, 0.058844253, 0.08016994, 0.088322714, -0.092968285, 0.08418163, 0.007952845, 0.043222576, 0.070968375) * g_18;
|
|
result += mat4(-0.013054412, -0.21707737, -0.17667364, -0.21544492, 0.1014457, 0.18704009, -0.023388298, -0.057701223, 0.105478585, -0.07900766, 0.074261405, 0.1888776, 0.12542284, -0.1996206, -0.16316931, 0.007791157) * g_19;
|
|
result += mat4(-0.18270205, 0.2025353, 0.3265147, 0.06714097, -0.016193308, -0.20436206, -0.030753197, -0.058978382, -0.14078636, -0.06465846, 0.20873049, -0.109932266, 0.30118617, 0.22391927, 0.07046112, 0.0371617) * g_20;
|
|
result += mat4(0.02550017, 0.16456556, -0.11329017, 0.088022776, 0.23173799, -0.0010375397, -0.05828751, 0.14631982, 0.21526784, 0.22880761, -0.09728381, -0.04741336, -0.0019534798, -0.062897205, -0.065131105, 0.0025237799) * g_21;
|
|
result += mat4(-0.108903095, 0.03159055, 0.20757839, 0.15141101, -0.00817231, 0.003621365, -0.02615051, 0.14909424, 0.3730205, 0.11222444, 0.18234271, 0.15614115, 0.17248969, 0.15939258, 0.10224304, 0.1903116) * g_22;
|
|
result += mat4(0.16533965, 0.015357719, 0.14340413, -0.03258536, 0.273793, 0.08128506, -0.037119016, -0.1599679, -0.15314123, 0.006436269, -0.060659572, -0.13333261, -0.01068674, -0.061791964, 0.17797105, -0.1944123) * g_23;
|
|
result += mat4(-0.061225474, 0.06916346, 0.2188833, 0.049035676, -0.28082103, 0.25311306, 0.16941728, 0.13574886, 0.03735417, -0.0150085725, -0.04081533, 0.16391492, 0.053848673, 0.092159234, 0.06918723, -0.06668832) * g_24;
|
|
result += mat4(-0.023205632, -0.29362342, 0.0782468, -0.11934102, 0.25011548, 0.036887586, -0.17301348, 0.0003987401, 0.017727787, -0.3402023, 0.1384328, -0.48377892, -0.20980822, -0.16546479, 0.115749344, 0.2642447) * g_25;
|
|
result += vec4(-0.20050508, -0.07773812, -0.033446066, -0.032423045);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x104
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_15_tf
|
|
//!BIND conv2d_15_tf1
|
|
//!BIND conv2d_15_tf2
|
|
//!BIND conv2d_15_tf3
|
|
//!BIND conv2d_15_tf4
|
|
//!BIND conv2d_15_tf5
|
|
//!BIND conv2d_17_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!BIND conv2d_16_tf
|
|
//!SAVE conv2d_18_tf5
|
|
//!WIDTH conv2d_15_tf.w
|
|
//!HEIGHT conv2d_15_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_15_tf_tex(conv2d_15_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_15_tf1_tex(conv2d_15_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_15_tf2_tex(conv2d_15_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_15_tf3_tex(conv2d_15_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_15_tf4_tex(conv2d_15_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_15_tf5_tex(conv2d_15_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_15_tf_tex(conv2d_15_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_15_tf1_tex(conv2d_15_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_15_tf2_tex(conv2d_15_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_15_tf3_tex(conv2d_15_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_15_tf4_tex(conv2d_15_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_15_tf5_tex(conv2d_15_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_24 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_25 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.056246072, -0.16367151, 0.09586773, -0.09557277, -0.10967658, 0.29330617, -0.13319509, 0.1583132, -0.03072026, -0.13287482, 0.08872677, 0.01658334, -0.030632658, 0.23216708, -0.04874622, -0.19615364) * g_0;
|
|
result += mat4(0.28258148, 0.23039894, -0.022433521, -0.076286666, -0.013763674, -0.011372233, 0.06338799, -0.14605698, 0.14725849, 0.04564273, -0.29587668, -0.06550259, 0.07033988, 0.056368083, -0.11388523, 0.22788034) * g_1;
|
|
result += mat4(-0.078506514, 0.050773215, -0.05056612, 0.03687288, -0.06774274, 0.346275, 0.22509691, 0.14400601, 0.053844824, -0.032543994, -0.065815195, 0.05659026, 0.30160823, 0.21798158, -0.13396002, -0.070808604) * g_2;
|
|
result += mat4(0.1414282, -0.14827503, 0.1398485, -0.07609034, -0.25334343, 0.14950044, -0.23095194, 0.20794556, 0.13395849, -0.016921503, -0.019526243, 0.03422955, -0.12746096, 0.051038973, 0.30596954, 0.08058667) * g_3;
|
|
result += mat4(-0.16881044, -0.14647691, 0.005999665, -0.2447768, 0.01649153, 0.062070012, -0.046544943, -0.17421006, -0.1569363, -0.13780028, 0.06486153, 0.083640814, 0.10214361, 0.33934087, -0.10050735, 0.101777904) * g_4;
|
|
result += mat4(0.290694, -0.21645689, 0.051882863, -0.17417477, 0.10914349, 0.08146335, -0.098452374, -0.19601184, 0.12863407, 0.1486865, -0.081353866, 0.041731454, -0.22860748, -0.2768738, 0.22779721, 0.17970768) * g_5;
|
|
result += mat4(-0.010292755, 0.30307126, 0.070744984, 0.018192705, 0.059022196, -0.2962268, 0.32906732, -0.32876432, -0.21463345, 0.31662, -0.16954084, -0.117625155, -0.10809974, -0.23279764, 0.15617515, -0.12067889) * g_6;
|
|
result += mat4(-0.09392243, -0.09030095, -0.0074743694, 0.18182948, 0.066194676, -0.06895621, -0.083494544, -0.11739724, -0.025220301, -0.07014885, 0.08474903, -0.15182392, 0.3104019, 0.1361944, -0.07185112, -0.30538258) * g_7;
|
|
result += mat4(-0.04256853, -0.27519822, 0.4612011, 0.024868855, -0.017590877, 0.029131817, -0.032747604, -0.046608966, 0.047107942, -0.06539844, -0.1362288, 0.016851274, -0.19554174, -0.09681737, -0.09754212, -0.10524043) * g_8;
|
|
result += mat4(-0.08256224, -0.061173473, -0.0003020941, 0.1565923, -0.003615149, 0.1686191, 0.25915742, -0.1551164, 0.010245293, 0.09092833, 0.0010728717, 0.12982604, -0.13078149, -0.079463206, -0.25684637, 0.022832563) * g_9;
|
|
result += mat4(0.20522995, 0.088086136, 0.14705934, 0.1724673, 0.21438526, 0.069160245, 0.06703898, 0.06735102, 0.2414119, 0.23313762, -0.14652516, -0.2308932, 0.11138083, -0.35780203, 0.18798493, 0.079498045) * g_10;
|
|
result += mat4(-0.053529646, 0.05224867, -0.021422606, 0.10177944, 0.2462833, 0.22917953, 0.09228497, -0.017690439, -0.0007594463, 0.08885728, 0.06285097, -0.006133101, 0.35480046, 0.094339065, 0.0025798874, -0.03436115) * g_11;
|
|
result += mat4(0.29142246, -0.20571099, 0.039097242, 0.16419578, 0.33381957, 0.059117097, 0.3232492, 0.3207798, -0.17321022, 0.28149655, -0.37212068, -0.091761135, -0.29647976, -0.09786893, -0.012315099, -0.098530225) * g_12;
|
|
result += mat4(-0.08517171, 0.29922923, -0.3016026, 0.18986404, -0.4725503, 0.21458124, -0.019785719, -0.22997737, -0.1803405, -0.3505279, 0.1441317, 0.123748966, 0.16901205, 0.0853246, 0.056168083, -0.12500733) * g_13;
|
|
result += mat4(-0.05538139, 0.32405415, -0.07422156, 0.11243641, -0.12328553, 0.19872831, 0.11609064, 0.044187672, -0.03900837, 0.14938031, -0.26779997, -0.014325914, 0.08516605, 0.15472183, -0.008160691, -0.1546734) * g_14;
|
|
result += mat4(0.10224539, 0.05463571, -0.10349991, -0.13967137, 0.013825501, -0.19771369, 0.022759158, -0.02061224, -0.14596504, -0.1389487, -0.023805464, 0.3357339, 0.053674806, -0.29536068, -0.030129524, -0.23420021) * g_15;
|
|
result += mat4(0.00525935, -0.06187332, -0.21343656, 0.08685601, 0.1973513, 0.023780117, 0.10964963, 0.29554302, 0.23034461, -0.1638336, 0.052997477, -0.09746816, 0.3240945, 0.40397635, 0.14546403, 0.23516071) * g_16;
|
|
result += mat4(0.12398506, 0.071972124, -0.041258276, 0.039724182, 0.2652426, 0.27666694, 0.23635465, -0.019449247, -0.1527029, -0.22316225, 0.10210884, -0.07005887, -0.30646923, 0.041887626, -0.009516569, 0.036413055) * g_17;
|
|
result += mat4(0.028276786, 0.16043751, -0.2239881, -0.37586385, 0.31563812, -0.026203927, -0.19180797, 0.10412318, 0.26220286, 0.12667432, 0.23287152, -0.13779306, -0.08798421, -0.08690371, -0.13741593, 0.17836761) * g_18;
|
|
result += mat4(0.287815, 0.14447291, -0.045042984, 0.29542264, 0.058183044, -0.23302315, 0.21404788, 0.02194636, -0.07718152, 0.013391173, 0.095230855, 0.057383515, 0.034200735, -0.02018772, -0.009704874, 0.022752954) * g_19;
|
|
result += mat4(-0.21204911, -0.014358223, -0.04669444, 0.07340455, -0.34677908, 0.06096447, 0.07148003, -0.068913, -0.007976721, 0.23779279, -0.13419056, -0.19720857, -0.33705205, 0.044584982, -0.08765776, 0.19233592) * g_20;
|
|
result += mat4(-0.1133937, 0.17952245, -0.21029858, 0.18934067, 0.09819281, 0.096423194, -0.11639172, -0.018819679, 0.010464611, -0.093951285, -0.014759534, 0.020049462, 0.18295068, 0.19702181, 0.020996286, 0.14536497) * g_21;
|
|
result += mat4(-0.3783169, 0.33286926, -0.19929482, 0.15028305, 0.065908626, 0.041621454, -0.18216579, 0.043525103, 0.17919035, -0.12875584, 0.065998, -0.21985063, 0.13770798, -0.115711726, -0.088645585, 0.13645406) * g_22;
|
|
result += mat4(0.1653456, -0.2774588, -0.012783554, 0.29001617, -0.2319765, -0.05957548, 0.13937134, 0.09561029, -0.18725371, 0.19096635, 0.23249848, -0.19607106, 0.11286404, -0.30301368, 0.00872854, -0.11348953) * g_23;
|
|
result += mat4(0.2649749, -0.110655166, -0.014622274, -0.012837707, -0.25394395, -0.116608076, -0.13025038, 0.24080041, -0.29346582, -0.27480447, -0.14941107, 0.22009355, -0.028492803, -0.55209374, 0.09375013, -0.07632931) * g_24;
|
|
result += mat4(-0.2204565, -0.20641033, -0.16525632, -0.024253568, 0.22351857, 0.014136642, 0.096259035, 0.011398014, -0.0904076, 0.3691236, 0.34148008, -0.18941431, -0.06418756, 0.16660745, -0.0032392892, 0.18603528) * g_25;
|
|
result += vec4(0.107388094, -0.010368161, -0.030843422, -0.045815416);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x48
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_18_tf
|
|
//!BIND conv2d_18_tf1
|
|
//!BIND conv2d_18_tf2
|
|
//!BIND conv2d_18_tf3
|
|
//!BIND conv2d_18_tf4
|
|
//!BIND conv2d_18_tf5
|
|
//!SAVE conv2d_20_tf
|
|
//!WIDTH conv2d_18_tf.w
|
|
//!HEIGHT conv2d_18_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv2d_18_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_18_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv2d_18_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max((conv2d_18_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv2d_18_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv2d_18_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv2d_18_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv2d_18_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_8(x_off, y_off) (max(-(conv2d_18_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_9(x_off, y_off) (max(-(conv2d_18_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_10(x_off, y_off) (max(-(conv2d_18_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_11(x_off, y_off) (max(-(conv2d_18_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.12469452, 0.2756988, -0.0030386525, 0.110231526, 0.079730555, 0.31047487, -0.11741889, -0.15680341, 0.05138145, -0.051073115, 0.039240852, -0.18283725, 0.023115406, 0.4039909, 0.022149865, 0.22553988) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.32825923, 0.13143322, -0.1348612, 0.13155334, 0.027405616, -0.0247758, 0.12978418, 0.13376838, 0.013370615, -0.12284778, 0.16761734, 0.00128094, -0.010231963, 0.23638017, 0.002013022, 0.27167386) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.15293615, 0.032321136, 0.029405225, 0.18693046, -0.080612086, -0.04829167, -0.099340305, -0.028978925, 0.07731791, 0.024516301, -0.012716455, -0.052261427, -0.09381243, 0.05039182, 0.075204134, 0.22237705) * go_0(-1.0, 1.0);
|
|
result += mat4(0.031210596, 0.16820668, -0.08481839, -0.09094182, 0.22958319, 0.021210868, 0.0012419806, 0.08395074, 0.082526736, -0.027748931, 0.111858085, -0.066962205, 0.17804997, 0.25638363, -0.06805945, 0.26395732) * go_0(0.0, -1.0);
|
|
result += mat4(-0.03412788, 0.08408975, 0.17036097, 0.08179365, -0.18398769, 0.073729396, 0.24579936, 0.10286021, 0.09492866, 0.1726858, -0.057260204, -0.10544164, -0.2950457, -0.18057044, 0.16777372, -0.18873873) * go_0(0.0, 0.0);
|
|
result += mat4(0.16859914, -0.058282517, 0.0071716513, -0.24263367, -0.14864399, 0.18401653, 0.06635458, 0.23588325, -0.18178634, -0.086238734, 0.02538327, -0.04728138, -0.023321258, -0.16549022, -0.09689735, -0.064917505) * go_0(0.0, 1.0);
|
|
result += mat4(0.06321565, 0.13867988, 0.0947424, 0.025222858, -0.019033737, 0.15200183, 0.18162403, -0.2666241, 0.029561596, -0.047272295, 0.06085453, -0.027626522, 0.02452243, 0.21287756, -0.0504233, -0.016933715) * go_0(1.0, -1.0);
|
|
result += mat4(-0.0076588215, 0.13153656, -0.006921595, 0.17011659, 0.057251126, 0.033482872, 0.044974122, 0.31908187, 0.006421827, 0.01154297, 0.06694967, -0.12064314, 0.0055589634, 0.15902095, 0.04477553, -0.13291803) * go_0(1.0, 0.0);
|
|
result += mat4(-0.10118881, 0.17185818, 0.3105655, 0.14553094, 0.005159673, -0.09609453, -0.031000953, 0.13549595, -0.016148865, -0.10999589, 0.07714027, -0.123150334, -0.22769089, 0.05522311, -0.053379774, -0.14648165) * go_0(1.0, 1.0);
|
|
result += mat4(0.10159467, 0.11506783, -0.027823403, 0.09708401, -0.0014844061, -0.050402377, 0.060338866, -0.100012936, -0.18527813, 0.09105397, -0.0109011205, 0.13899182, 0.0516985, 0.010947404, 0.014253443, -0.07577752) * go_1(-1.0, -1.0);
|
|
result += mat4(0.17108297, -0.07120859, 0.024338547, 0.09448755, -0.027809748, -0.07505294, 0.1282598, 0.024827847, 0.05625498, 0.07121306, -0.13161525, 0.14557523, -0.2976582, 0.04897957, 0.031145282, -0.03834759) * go_1(-1.0, 0.0);
|
|
result += mat4(0.05551268, -0.0716079, 0.023942443, 0.19639635, 0.05669373, 0.14583157, 0.055063065, -0.07820165, -0.10672402, -0.1703235, -0.095138766, -0.19283113, 0.011974798, -0.17337462, 0.11214882, 0.20275517) * go_1(-1.0, 1.0);
|
|
result += mat4(0.32291347, 0.10777462, -0.10580381, -0.21308404, 0.11616703, -0.052621234, 0.10346139, 0.16087708, -0.13207085, 0.12436386, -0.01291929, 0.14210188, 0.044976626, -0.016283648, -0.1336142, 0.09595707) * go_1(0.0, -1.0);
|
|
result += mat4(0.15443617, -0.15459086, -0.16403913, 0.03174277, -0.15888752, -0.04350233, 0.10057953, 0.07440825, -0.055050217, 0.11225007, -0.12994702, -0.010593223, -0.13450573, -0.2121465, -0.05482638, -0.07864351) * go_1(0.0, 0.0);
|
|
result += mat4(0.039901994, 0.08153883, 0.033923063, 0.041996136, -0.07113938, 0.17041339, 0.05883678, 0.24487427, 0.07539254, 0.20588705, 0.39908308, -0.11425055, -0.019062242, 0.0032807642, 0.09172311, 0.14025539) * go_1(0.0, 1.0);
|
|
result += mat4(0.01539056, 0.10754986, 0.37259609, 0.09392048, -0.00310004, -0.08401492, -0.22333388, 0.04989363, -0.12627788, 0.016482739, 0.04914916, 0.06348206, -0.086071976, -0.15826811, 0.017756626, 0.21861003) * go_1(1.0, -1.0);
|
|
result += mat4(0.18154909, -0.0033624324, 0.0968965, -0.124652244, -0.04443872, -0.010052035, -0.19655424, 0.08704668, -0.098599635, -0.040468227, 0.19175652, 0.032095585, -0.15368953, 0.024098037, -0.24407092, -0.12547572) * go_1(1.0, 0.0);
|
|
result += mat4(0.08744678, 0.054032657, -0.0021582225, 0.06409461, 0.05493912, -0.068969786, -0.047769703, 0.10919772, 0.0035211914, 0.069684826, 0.21072306, 0.072507866, -0.11938833, 0.18384676, 0.06284721, -0.05921856) * go_1(1.0, 1.0);
|
|
result += mat4(0.09057645, 0.12453462, -0.07638394, -0.0101371175, 0.01460433, 0.15772647, -0.05280295, 0.02206773, 0.07484848, -0.08790556, 0.042285398, -0.08903622, -0.0012567731, 0.098060034, 0.025009762, -0.0076966155) * go_2(-1.0, -1.0);
|
|
result += mat4(0.11454903, -0.077478886, -0.052485358, 0.19211693, 0.022671973, 0.059365507, -0.083238035, -0.14501537, -0.040764146, 0.21487065, -0.19963494, 0.054925032, 0.07232574, -0.0227394, 0.039728418, 0.17345724) * go_2(-1.0, 0.0);
|
|
result += mat4(-0.0993952, -0.06067365, 0.035934106, -0.12639004, -0.0778735, -0.10140339, 0.03887297, -0.14038701, 0.0075174705, -0.021134501, -0.02119851, -0.15757693, 0.14228992, 0.22107969, 0.027181044, -0.06279046) * go_2(-1.0, 1.0);
|
|
result += mat4(-0.16927601, 0.11677078, 0.19733079, -0.11689197, -0.034098208, 0.101883925, 0.026590899, -0.05885779, 0.08519204, 0.17631909, 0.13005087, 0.23866637, -0.085538544, 0.091313064, -0.047257267, 0.0053548473) * go_2(0.0, -1.0);
|
|
result += mat4(-0.108859956, 0.05404011, -0.018830402, -0.14216618, 0.069951884, -0.01124228, -0.0037147554, -0.020336289, -0.081044994, 0.039911337, -0.16080706, 0.08662944, 0.047947943, 0.10828746, -0.031021379, -0.11105547) * go_2(0.0, 0.0);
|
|
result += mat4(-0.1839872, -0.1833984, -0.1227439, -0.12743878, -0.03371801, -0.045720182, -0.015437003, -0.05371745, 0.08179509, -0.10187377, -0.16090737, -0.008773982, 0.29223564, -0.05076348, 0.06896914, 0.23276885) * go_2(0.0, 1.0);
|
|
result += mat4(0.11150805, -0.10692903, -0.067383446, -0.028477253, -0.08655023, -0.036996033, 0.08042788, -0.041127857, 0.10184861, 0.04945595, -0.08878173, 0.03887733, 0.055553347, -0.008964301, -0.024376081, 0.06264274) * go_2(1.0, -1.0);
|
|
result += mat4(-0.13464782, -0.0028459684, -0.01713905, -0.31262934, -0.01135533, 0.123688996, -0.025050493, 0.14633808, -0.14788014, 0.17736344, 0.1281439, -0.17853001, -0.07029142, -0.012039916, 0.10376088, -0.17375065) * go_2(1.0, 0.0);
|
|
result += mat4(-0.0059183673, 0.04232691, -0.026118219, 0.09271221, 0.00037943345, -0.010752633, -0.031649496, 0.0023594915, -0.01362048, 0.3371484, 0.04486839, 0.105351, 0.12001228, -0.0032342104, -0.041739423, -0.10184327) * go_2(1.0, 1.0);
|
|
result += mat4(0.10195569, 0.27985227, -0.12066071, 0.027551817, -0.04527464, 0.10309163, 0.026852576, -0.011768109, 0.032974254, 0.08671867, 0.071632, -0.061044805, 0.014752718, -0.045624327, 0.03510297, -0.09356974) * go_3(-1.0, -1.0);
|
|
result += mat4(0.3747214, -0.2174508, 0.09977886, 0.06383452, -0.25822937, 0.16086401, -0.07078228, -0.2262915, -0.05223827, -0.01984298, 0.095375136, 0.059800543, -0.05463991, -0.008860478, 0.08011637, -0.05239409) * go_3(-1.0, 0.0);
|
|
result += mat4(0.34629387, -0.18977715, -0.032091625, -0.05703391, -0.023425069, 0.13923487, 0.14191589, -0.02934516, 0.12887205, 0.06522604, 0.01016156, -0.034986842, -0.07630218, -0.05272673, -0.07991985, -0.04997879) * go_3(-1.0, 1.0);
|
|
result += mat4(0.100405626, 0.026242761, -0.09814247, 0.092037454, -0.01187754, -0.09976379, 0.01857234, 0.04186202, 0.045359854, 0.0015068888, 0.20283718, 0.18383868, -0.05862553, -0.043843966, -0.13292229, 0.05278706) * go_3(0.0, -1.0);
|
|
result += mat4(-0.07167725, 0.05590418, -0.052253395, -0.3165258, -0.108041376, 0.026544329, 0.2194961, -0.61452866, 0.025921447, 0.09347338, -0.012685432, 0.022920124, -0.05500294, 0.022358187, 0.04190898, -0.0761038) * go_3(0.0, 0.0);
|
|
result += mat4(0.034209993, 0.06758814, -0.073430635, -0.09693391, 0.10062518, -0.2574891, 0.2946945, -0.12969787, 0.1767703, 0.035647824, -0.096529506, -0.05794956, -0.0051500676, -0.054843545, -0.0058801444, -0.18692161) * go_3(0.0, 1.0);
|
|
result += mat4(-0.09232532, 0.050154313, -0.10473752, -0.21080789, -0.13022307, 0.20965308, -0.013971539, -0.089835115, 0.13660641, -0.055396173, 0.114575885, -0.021095587, -0.06295151, -0.10541324, 0.119540416, -0.026369337) * go_3(1.0, -1.0);
|
|
result += mat4(-0.08051449, -0.13070889, 0.06126419, -0.11814584, 0.19518471, -0.16562845, 0.21007895, 0.019500846, -0.037545342, -0.04208075, 0.05982543, -0.23332721, -0.020093875, 0.023112997, 0.22079867, -0.034697875) * go_3(1.0, 0.0);
|
|
result += mat4(0.09430643, 0.09778812, 0.0062433006, -0.07991877, 0.13102295, -0.40803814, 0.29331818, 0.015238348, 0.044199947, 0.12784095, -0.114296354, 0.06443671, -0.053746402, -0.010489087, 0.036543775, -0.06743519) * go_3(1.0, 1.0);
|
|
result += mat4(-0.06671071, -0.011092594, 0.017813863, 0.09122705, 0.06043978, -0.044251487, -0.01452103, -0.03595151, -0.037234616, -0.11405697, 0.0094698975, 0.08115856, 0.061847016, -0.14966819, 0.039536983, -0.0057695396) * go_4(-1.0, -1.0);
|
|
result += mat4(-0.12975664, 0.096620955, 0.03712677, -0.029440578, 0.180606, 0.0037506977, 0.07118542, -0.10982209, 0.16553295, -0.09863922, 0.030389145, 0.0915873, 0.096616626, -0.28076473, -0.05030248, 0.112127386) * go_4(-1.0, 0.0);
|
|
result += mat4(0.09634814, -0.08306328, -0.0113692805, 0.07628131, -0.16785304, 0.13579424, -0.13875304, -0.10798351, -0.11397347, -0.062225766, -0.08256214, -0.0585849, -0.017696483, -0.05823322, -0.08017212, -0.11736672) * go_4(-1.0, 1.0);
|
|
result += mat4(0.03313253, 0.021876926, 0.010047459, 0.17018415, -0.15069912, 0.10098968, -0.049532544, -0.106732704, -0.14358367, 0.075754024, 0.031455636, 0.013836878, 0.017602045, 0.0915547, 0.046919227, -0.034797847) * go_4(0.0, -1.0);
|
|
result += mat4(-0.07094902, 0.088010214, -0.08015505, -0.08891011, -0.07390484, -0.20256141, 0.09353643, -0.08852365, -0.025457565, -0.022753114, -0.053268436, 0.0251505, 0.16039324, 0.1079146, 0.101562336, -0.17074345) * go_4(0.0, 0.0);
|
|
result += mat4(0.15359324, 0.14568749, 0.05560518, -0.16014118, -0.13161767, 0.08519693, -0.08092679, -0.075116, 0.10425777, -0.10243057, 0.00051197613, -0.11526313, -0.04120447, 0.12482422, -0.07628159, -0.25013912) * go_4(0.0, 1.0);
|
|
result += mat4(-0.041319463, 0.056686576, 0.23613611, 0.18072061, 0.027446348, 0.1704725, 0.114003986, -0.092275284, -0.062855355, 0.04396716, 0.1396697, 0.0006740989, 0.022242812, -0.0665075, -0.13936293, 0.01648267) * go_4(1.0, -1.0);
|
|
result += mat4(0.025738375, -0.08272011, 0.07086082, 0.27109, 0.11266851, -0.036718287, 0.07931568, 0.11510158, 0.055292327, 0.039472595, 0.0004201107, 0.12444646, -0.017146925, -0.046981264, -0.20989618, 0.0093574235) * go_4(1.0, 0.0);
|
|
result += mat4(-0.0410002, 0.08125367, 0.07289309, 0.021991136, 0.019449996, -0.04733636, 0.011856593, 0.02409127, 0.073708266, -0.00021030345, -0.05481979, -0.11138814, 0.1539464, -0.25397933, -0.19081764, 0.024754234) * go_4(1.0, 1.0);
|
|
result += mat4(0.011404407, 0.045723602, -0.063646525, 0.021277336, -0.062212225, 0.11410291, -0.08551053, 0.09185181, 0.025905548, -0.063212596, -0.014308325, 0.10749785, -0.07052051, -0.072577454, -0.06281299, -0.08592095) * go_5(-1.0, -1.0);
|
|
result += mat4(0.027796155, -0.0018010428, -0.0080858115, -0.02931112, -0.06335313, 0.13232857, 0.050065134, -0.18670812, -0.07791764, 0.036811188, 5.1620646e-05, -0.07881347, 0.0064784917, -0.21791142, 0.049551986, -0.022399327) * go_5(-1.0, 0.0);
|
|
result += mat4(0.039196264, -0.13728346, -0.07378473, -0.13909115, -0.16900037, -0.012241019, -0.012852268, -0.13505174, 0.015546434, -0.16924058, -0.14095336, -0.10435426, 0.054796338, -0.05225356, 0.052625455, 0.033092048) * go_5(-1.0, 1.0);
|
|
result += mat4(-0.05883335, 0.007998757, -0.08550889, 0.10523877, 0.02366761, -0.07424445, -0.07433814, -0.083959304, -0.059491463, -0.008508299, -0.06256395, -0.1993904, 0.062447432, -0.029756041, 0.106966846, 0.0720412) * go_5(0.0, -1.0);
|
|
result += mat4(0.16062084, -0.044165816, -0.1088471, 0.15252742, 0.22269998, -0.28209755, 0.056168146, 0.2457806, -0.073635936, 0.07305773, 0.022588477, 0.04154082, -0.025154186, 0.1763498, 0.0978339, -0.088828854) * go_5(0.0, 0.0);
|
|
result += mat4(-0.007010839, -0.1041154, -0.11122766, -0.0809209, 0.0944237, -0.2014444, 0.053431354, -0.06069176, -0.05210676, 0.019170754, 0.13814554, 0.05543503, -0.037046313, 0.016554516, 0.0024328576, 0.013767006) * go_5(0.0, 1.0);
|
|
result += mat4(0.053704824, 0.0071286894, -0.10660915, 0.01579933, 0.05252924, -0.00925876, -0.09520158, 0.09159156, 0.15740037, -0.036502976, 0.07756273, -0.00673682, 0.11972799, -0.05287324, -0.01542637, -0.0004223783) * go_5(1.0, -1.0);
|
|
result += mat4(-0.081155285, -0.06431763, -0.0032835256, -0.05314256, -0.11107773, 0.039944727, -0.06406697, -0.18479525, -0.071334474, 0.028852647, 0.0130297365, 0.08452622, -0.043612488, -0.07880877, 0.035399523, 0.04524793) * go_5(1.0, 0.0);
|
|
result += mat4(0.012628041, 0.02025677, -0.011282166, -0.09834989, 0.014539582, -0.03922793, 0.10264913, -0.040466256, 0.020758571, 0.03353777, -0.017579531, 0.09276947, 0.09559103, 0.078923225, 0.15997995, 0.074016556) * go_5(1.0, 1.0);
|
|
result += mat4(0.071531475, -0.0016751958, 0.049699478, -0.06426847, 0.1072311, -0.024745405, -0.05174181, -0.09310878, -0.053240646, 0.02675127, 0.009952832, 0.08800601, -0.06374523, -0.022876892, 0.06539269, -0.09194918) * go_6(-1.0, -1.0);
|
|
result += mat4(0.14764012, -0.033509713, 0.1110827, -0.22174822, -0.0064200363, 0.063947834, 0.05046646, -0.016293462, -0.098989666, 0.26771635, -0.052405335, -0.2886604, -0.13934582, 0.20546469, 0.054924496, 0.0712025) * go_6(-1.0, 0.0);
|
|
result += mat4(0.08238192, 0.1240943, -0.021337276, -0.07719093, -0.027363844, 0.16919924, 0.05249086, 0.071907274, 0.052685894, 0.12027399, 0.17275874, 0.06496609, 0.045921586, -0.080791995, 0.06271465, -0.036029097) * go_6(-1.0, 1.0);
|
|
result += mat4(0.08299102, -0.13915937, 0.1694046, 0.054060783, 0.05885541, 0.05756791, 0.15778649, 0.23613115, 0.0016506041, -0.3485105, -0.055006158, 0.08153514, -0.044717144, 0.0761585, -0.07746372, 0.031654317) * go_6(0.0, -1.0);
|
|
result += mat4(-0.058975376, 0.046350993, 0.05141635, -0.27530587, 0.1512669, -0.24204156, -0.01314143, 0.23477359, -0.02513839, -0.21798266, -0.014231272, 0.09892292, -0.03483347, -0.022197934, -0.040361803, -0.33148023) * go_6(0.0, 0.0);
|
|
result += mat4(0.019349543, -0.0031035943, -0.15028755, -0.09199383, 0.023028357, -0.06711408, 0.0554645, -0.035588223, -0.16763584, -0.30684182, 0.21162367, 0.015916314, 0.042558394, 0.049582858, -0.014391668, -0.0022271145) * go_6(0.0, 1.0);
|
|
result += mat4(0.14165828, -0.19275959, 0.1921354, -0.100665346, -0.0064943857, 0.042440604, -0.01011047, -0.040459733, 0.063686766, -0.07706076, -0.033149425, 0.0974412, 0.066479646, -0.061770678, 0.014472761, 0.0809043) * go_6(1.0, -1.0);
|
|
result += mat4(0.04029581, -0.040256683, 0.15648295, 0.1109302, 0.028787047, -0.039098088, 0.028529556, -0.06896032, 0.20928729, -0.0244484, -0.22997615, 0.21116255, 0.124666244, -0.055176433, -0.04943077, 0.16551583) * go_6(1.0, 0.0);
|
|
result += mat4(0.046550367, 0.044989605, 9.304079e-05, -0.033384785, 0.0023897009, -0.07200452, 0.024538241, -0.039707564, 0.15832944, 0.06376892, 0.023910448, 0.15589088, -0.0048251473, -0.16900223, 0.12430114, -0.020196496) * go_6(1.0, 1.0);
|
|
result += mat4(0.0029875033, 0.14953752, -0.002594137, -0.006695458, 0.05319587, -0.0644066, -0.09670989, -0.18911153, -0.038239144, 0.23623386, -0.039752565, 0.067495435, -0.06659754, -0.04905179, 0.06567238, -0.041060925) * go_7(-1.0, -1.0);
|
|
result += mat4(0.047381606, 0.09305608, 0.02199564, 0.17900278, 0.3829787, -0.10499024, -0.08094016, 0.166112, -0.099137634, 0.22819752, -0.02070814, -0.04451787, -0.0736343, -0.06568887, -0.007334238, 0.057046153) * go_7(-1.0, 0.0);
|
|
result += mat4(0.108826466, -0.046413966, -0.042215817, -0.036304966, -0.17274994, -0.12384751, -0.19628254, -0.1332035, 0.045716316, 0.045310948, 0.21375106, 0.11344911, -0.16371003, -0.022799216, 0.030182192, 0.011781548) * go_7(-1.0, 1.0);
|
|
result += mat4(0.24116512, -0.027762027, -0.07892771, 0.08300883, -0.14459084, 0.16296665, 0.20206772, -0.10650516, -0.053612966, -0.019416671, 0.16775261, 0.018756863, -0.019759353, 0.09758543, 0.09219067, -0.07762587) * go_7(0.0, -1.0);
|
|
result += mat4(0.3452296, -0.07067198, 0.06422045, 0.13155955, 0.060322404, 0.12293414, 0.085371755, 0.013145733, 0.021468991, -0.08740066, -0.05150557, 0.0017597789, 0.05781498, -0.1253138, 0.10160926, 0.081946746) * go_7(0.0, 0.0);
|
|
result += mat4(0.21747942, 0.05843333, -0.012047285, 0.0143945, 0.050417833, 0.13075711, 0.07730175, 0.03058337, 0.05392032, 0.0049504, 0.09410922, 0.077864066, -0.27761143, 0.19255827, -0.05602973, -0.10863586) * go_7(0.0, 1.0);
|
|
result += mat4(0.060898524, 0.025534939, -0.13840592, -0.17008978, 0.06917189, 0.10667955, -0.022218984, -0.08950403, -0.041811015, 0.04873801, 0.022361884, 0.11236361, -0.08619616, 0.052363895, -0.067334324, -0.033025444) * go_7(1.0, -1.0);
|
|
result += mat4(-0.042240806, -0.024661668, 0.08281641, -0.15090732, 0.03939663, -0.48024875, 0.12383459, 0.00847132, -0.048645746, 0.05962171, 0.051179226, 0.053291485, -0.09575631, -0.18604031, 0.13747576, -0.07798861) * go_7(1.0, 0.0);
|
|
result += mat4(-0.09267193, -0.023898847, 0.03482824, -0.13826425, -0.030533936, 0.042931274, 0.12328654, -0.18639578, 0.021505859, 0.031717043, -0.011377033, 0.10264569, 0.20633227, 0.15019548, -0.10276995, -0.03404021) * go_7(1.0, 1.0);
|
|
result += mat4(0.0067748185, -0.045333087, 0.06628517, 0.07952359, 0.377962, 0.038299385, -0.25148076, 0.4536524, 0.020214327, 0.04979239, -0.030641848, 0.046101373, -0.0079926, 0.108430944, -0.09796959, 0.1038119) * go_8(-1.0, -1.0);
|
|
result += mat4(-0.029406806, 0.072334446, 0.022123687, 0.08545978, 0.30683488, 0.32336175, -0.14155352, -0.06771534, 0.21881369, -0.2728478, 0.0131929945, 0.1249936, 0.23289062, -0.18290988, 0.010310256, 0.11861345) * go_8(-1.0, 0.0);
|
|
result += mat4(0.027953703, 0.073590145, 0.02238552, 0.1476334, 0.46412572, 0.14282753, -0.2055284, 0.09381273, 0.013368477, -0.09163343, -0.13962074, -0.105282374, 0.18048023, 0.03644643, -0.12064934, -0.11526959) * go_8(-1.0, 1.0);
|
|
result += mat4(0.05415639, 0.07184316, -0.011418431, -0.14603631, -0.005712874, 0.33886433, -0.4437405, 0.52518994, 0.029169478, 0.014225477, -0.09749242, 0.026564758, -0.09243948, 0.3411153, -0.15276046, 0.13885602) * go_8(0.0, -1.0);
|
|
result += mat4(-0.13179792, 0.11303015, -0.005659832, 0.0495578, 0.45504448, 0.03121104, 0.1903991, -0.09310048, 0.13010967, -0.019401446, 0.0953637, -0.25050372, -0.06406876, 0.5178289, -0.34411502, -0.06919028) * go_8(0.0, 0.0);
|
|
result += mat4(0.031116927, 0.072885044, 0.11424937, -0.047346286, 0.33709186, -0.20117842, -0.23911083, -0.30970326, -0.04088044, 0.06531277, -0.019288296, 0.06505624, -0.078067645, 0.20768233, -0.2638028, -0.13144188) * go_8(0.0, 1.0);
|
|
result += mat4(0.0812348, 0.06349487, -0.17988878, -0.02852194, 0.059573334, 0.3233257, -0.1813735, 0.37739483, -0.09754084, 0.043669134, 0.035959195, 0.028268807, 0.015971994, -0.12362012, 0.011130124, 0.10216959) * go_8(1.0, -1.0);
|
|
result += mat4(0.025508206, -0.0017794537, -0.06324225, -0.039382067, 0.30045873, -0.03350253, 0.029575098, -0.08940838, -0.032080725, 0.029590603, -0.0636569, -0.09560069, 0.1283642, 0.09345751, 0.03092932, 0.31801865) * go_8(1.0, 0.0);
|
|
result += mat4(-0.08508891, -0.101727426, 0.010277601, -0.09014133, 0.21784091, 0.0032526671, -0.18604313, -0.19015044, 0.044027336, 0.06214586, -0.15488164, 0.074756585, 0.047933225, 0.060538378, -0.20783846, -0.17990802) * go_8(1.0, 1.0);
|
|
result += mat4(0.050202876, 0.068000734, -0.05597999, -0.107340395, -0.05106825, -0.07440473, 0.10334328, 0.048090067, 0.02267572, -0.01718865, 0.09558852, -0.019551268, 0.0122104725, 0.06849581, 0.13136277, 0.056046043) * go_9(-1.0, -1.0);
|
|
result += mat4(0.10179043, -0.1346316, -0.05625975, 0.064565465, -0.24567048, 0.01661977, -0.07925665, 0.089285515, -0.17426836, -0.021294959, -0.112046815, -0.036618948, -0.2890717, -0.11956207, -0.12531126, 0.011180939) * go_9(-1.0, 0.0);
|
|
result += mat4(0.034729242, 0.040229492, -0.14337364, 0.033395376, -0.05362909, -0.010760589, -0.120462045, -0.04566971, -0.014505674, -0.13010857, 0.06650368, 0.22399758, 0.0011478274, 0.31380257, -0.098360695, 0.3103241) * go_9(-1.0, 1.0);
|
|
result += mat4(0.07292625, -0.09650069, 0.024558121, 0.0038701475, -0.048648812, -0.11551284, -0.12553161, -0.070189424, -0.015313189, 0.11731657, -0.05684681, -0.122708976, -0.15636124, -0.10576856, -0.01784137, 0.11355775) * go_9(0.0, -1.0);
|
|
result += mat4(-0.085779384, -0.14834896, -0.004278568, 0.102670394, -0.033849873, 0.1167764, -0.08831004, 0.01451672, -0.10756733, 0.116508365, -0.0680979, 0.24541026, -0.46215978, 0.09831405, -0.29406315, -0.13312787) * go_9(0.0, 0.0);
|
|
result += mat4(-0.04890994, -0.0010270716, -0.0493961, 0.08571931, -0.2060056, -0.074589, -0.056876414, -0.09493244, -0.3475966, -0.19617519, 0.029908076, -0.26831284, -0.15213276, 0.24431612, 0.29210028, 0.33486506) * go_9(0.0, 1.0);
|
|
result += mat4(0.043298867, -0.11209959, 0.022670524, 0.034038253, -0.063305944, 0.09008408, -0.069086686, 0.011726238, -0.10128779, 0.033240944, -0.18289983, -0.13590051, -0.11921194, 0.05528857, -0.23413198, 0.022554636) * go_9(1.0, -1.0);
|
|
result += mat4(-0.17930742, -0.01053119, -0.11175181, -0.30124366, -0.081431575, -0.09975408, -0.17038622, -0.08534343, -0.09969939, 0.2104658, -0.1172696, 0.1381588, -0.24914245, 0.039404184, 0.17355275, 0.119629845) * go_9(1.0, 0.0);
|
|
result += mat4(-0.07351458, 0.093320936, -0.0058235745, -0.17790769, 0.0693919, -0.23018666, -0.17459835, -0.07898885, 0.04704188, 0.19931187, 0.089028046, 0.34191388, 0.17239423, -0.8590941, 0.22069067, -0.13371286) * go_9(1.0, 1.0);
|
|
result += mat4(-0.021659652, 0.0596343, 0.09809217, -0.114521354, -0.03228968, 0.0021232646, 0.0024843607, 0.029243223, -0.030308204, 0.106703326, 0.14143166, -0.022322292, 0.011018205, -0.07935689, 0.004183473, 0.0076698516) * go_10(-1.0, -1.0);
|
|
result += mat4(-0.074400805, -0.11910534, 0.111161605, -0.032100126, 0.16561785, 0.13518748, 0.0345863, 0.0047545154, 0.08485281, 0.14942096, -0.042899903, 0.23645137, 0.23227501, 0.05083922, -0.026636956, 0.05403472) * go_10(-1.0, 0.0);
|
|
result += mat4(-0.026513461, -0.049109407, 0.09202237, 0.030235946, -0.17342173, -0.030104237, 0.091110766, -0.13734627, -0.16028439, 0.07546626, 0.18115082, 0.01043653, 0.04634011, 0.021617658, 0.042169586, -0.059248786) * go_10(-1.0, 1.0);
|
|
result += mat4(0.01128519, -0.11491087, 0.0907083, 0.1081566, -0.05466786, 0.15445654, 0.1315062, -0.019771684, 0.029632833, 0.055743653, 0.19378667, 0.13188277, 0.06950097, 0.078313515, -0.006067791, 0.01022987) * go_10(0.0, -1.0);
|
|
result += mat4(0.068262294, -0.060233478, 0.19918768, 0.17618087, 0.21149434, 0.11928132, 0.11870651, 0.02212344, -0.03266901, -0.118995406, 0.04804373, -0.015892304, 0.037071034, -0.00253787, -0.13720432, -0.07072093) * go_10(0.0, 0.0);
|
|
result += mat4(-0.14402227, 0.063517705, 0.079267904, 0.14983714, -0.12627459, 0.14174753, -0.1501261, 0.09006676, -0.24451745, 0.09123295, -0.05026607, 0.26328164, -0.038312912, 0.037259288, 0.019184643, -0.08652255) * go_10(0.0, 1.0);
|
|
result += mat4(-0.00668816, -0.10541211, -0.14581864, -0.2055832, -0.14783718, -0.021327376, 0.11329728, 0.10558466, -0.029225608, 0.07326217, 0.07498944, 0.07972432, 0.074004084, 0.031630237, 0.019151106, -0.009357146) * go_10(1.0, -1.0);
|
|
result += mat4(-0.018653547, 0.21787739, -0.17462632, -0.13148524, 0.11200567, 0.14532433, -0.13228138, 0.32105228, -0.10342311, -0.1822981, 0.11211725, -0.19741476, 0.0052198726, -0.08411603, 0.19707179, 0.07867219) * go_10(1.0, 0.0);
|
|
result += mat4(-0.015224949, -0.026501905, -0.022805678, -0.078470066, 0.0018121749, 0.03429563, 0.0071328436, 0.10200316, -0.10026459, 0.1610249, 0.08618862, -0.047482144, -0.035351157, -0.041184757, 0.034339007, 0.2878356) * go_10(1.0, 1.0);
|
|
result += mat4(0.009565796, -0.06341882, -0.1307022, 0.046785817, -0.11754792, 0.02504307, -0.08451268, -0.012885796, -0.06434744, 0.026688384, 0.19744295, -0.088847496, -0.020427136, 0.06386265, 0.1892719, 0.05393389) * go_11(-1.0, -1.0);
|
|
result += mat4(0.21420592, -0.12004367, -0.03872922, 0.23882823, -0.16208404, -0.080903426, -0.06846177, -0.07784802, -0.11628542, 0.28339043, 0.11626733, 0.08149339, -0.14976558, -0.072704576, 0.14271235, -0.051280484) * go_11(-1.0, 0.0);
|
|
result += mat4(-0.15804291, -0.083788745, 0.0358282, -0.23663841, -0.051368468, 0.007168362, -0.02854082, 0.051676966, -0.11432305, 0.17955177, 0.24253303, 0.06784164, 0.011659685, 0.025066586, -0.014875205, 0.16516766) * go_11(-1.0, 1.0);
|
|
result += mat4(-0.0017364305, 0.1752645, 0.1687761, 0.04750503, -0.09075856, 0.03463299, -0.1513477, 0.115331, 0.079649396, 0.039891604, -0.08449415, 0.07545372, -0.17591736, -0.116043635, 0.06824991, -0.079872) * go_11(0.0, -1.0);
|
|
result += mat4(-0.09101071, 0.18421331, -0.112927675, -0.32690185, -0.10048348, 0.040243298, 0.017532872, 0.21467596, 0.1523314, -0.20462959, -0.050985396, 0.13271794, -0.0061959573, 0.16391513, 0.049040224, 0.071009435) * go_11(0.0, 0.0);
|
|
result += mat4(0.014453387, 0.009315947, -0.069824345, 0.044752672, 0.07383553, -0.019049881, -0.17780595, 0.07198892, 0.115621634, 0.092388846, 0.03363379, 0.087414615, -0.08053186, 0.3045319, 0.08416612, 0.0844172) * go_11(0.0, 1.0);
|
|
result += mat4(-0.05759418, -0.012829334, 0.08718162, -0.15908475, -0.028479114, 0.032751795, -0.1781953, -0.04286176, -0.14323612, -0.07065428, -0.009661816, 0.01967103, -0.061163872, 0.1315325, 0.12270872, 0.25242472) * go_11(1.0, -1.0);
|
|
result += mat4(-0.15057954, 0.18370065, 0.016787117, -0.005158566, 0.053748388, -0.05377017, 0.05180913, 0.0602571, -0.18005271, 0.021457683, 0.13747539, -0.17785007, 0.07033052, -0.14811805, -0.08603062, 0.26217365) * go_11(1.0, 0.0);
|
|
result += mat4(-0.039533652, 0.18171355, -0.029857125, 0.092238694, -0.22026634, -0.09841343, -0.093978934, -0.12595356, 0.04279683, 0.15560903, 0.07057147, 0.010393603, -0.2277498, -0.25551313, -0.111277476, 0.017418556) * go_11(1.0, 1.0);
|
|
result += vec4(0.09888859, -0.11624722, -0.026914198, -0.01584398);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x48
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_18_tf
|
|
//!BIND conv2d_18_tf1
|
|
//!BIND conv2d_18_tf2
|
|
//!BIND conv2d_18_tf3
|
|
//!BIND conv2d_18_tf4
|
|
//!BIND conv2d_18_tf5
|
|
//!SAVE conv2d_19_tf
|
|
//!WIDTH conv2d_18_tf.w
|
|
//!HEIGHT conv2d_18_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv2d_18_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_18_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv2d_18_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max((conv2d_18_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv2d_18_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv2d_18_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv2d_18_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv2d_18_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_8(x_off, y_off) (max(-(conv2d_18_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_9(x_off, y_off) (max(-(conv2d_18_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_10(x_off, y_off) (max(-(conv2d_18_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_11(x_off, y_off) (max(-(conv2d_18_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.002193192, -0.042261805, 0.07109948, 0.14923841, -0.13248461, 0.080073096, 0.011535388, -0.033014186, -0.02179611, -0.05481589, 0.013205004, -0.06432557, -0.032458954, -0.17774436, -0.09197118, 0.08036731) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.035622098, -0.07965359, -0.06034561, -0.19035944, 0.021909773, 0.0119863525, -0.07859594, 0.24245961, 0.030365624, -0.042610373, -0.048347555, 0.07317682, -0.12780792, 0.11597661, -0.12042358, 0.088652216) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.06956494, -0.079655364, -0.10770752, -0.15179706, -0.0039742943, 0.110173285, -0.013177503, 0.03203005, 0.14259651, -0.102476425, -0.117107645, 0.12503904, -0.26890123, -0.0033093086, -0.1048431, 0.1542063) * go_0(-1.0, 1.0);
|
|
result += mat4(0.032727882, 0.078874804, -0.14322414, -0.1446762, -0.12953681, 0.0126853995, 0.25832146, 0.084545664, -0.1504443, -0.14652349, 0.10996791, 0.09425049, 0.04875598, -0.26126033, -0.076916106, -0.026861066) * go_0(0.0, -1.0);
|
|
result += mat4(0.04531922, -0.103644244, -0.094877385, 0.27728295, -0.02814035, 0.35444373, -0.3085985, 0.074895315, 0.049684495, -0.08211759, -0.04192221, -0.104108155, -0.08078257, -0.04917361, 0.04671215, -0.028015908) * go_0(0.0, 0.0);
|
|
result += mat4(0.22582525, -0.17485921, -0.083214, 0.14045434, 0.10126328, 0.08546109, -0.018187093, 0.0076931156, 0.014990203, -0.13237172, 0.026328612, -0.08460973, -0.044912193, 0.0141547, -0.2057187, 0.027005015) * go_0(0.0, 1.0);
|
|
result += mat4(0.07025283, 0.03244863, -0.037114605, 0.058472943, 0.00927378, 0.02573656, 0.064623125, 0.25351602, -0.033965386, -0.081859365, 0.021902164, -0.059646487, -0.08386151, 0.0044531566, -0.07981897, -0.0052931313) * go_0(1.0, -1.0);
|
|
result += mat4(0.040902656, 0.07454824, -0.16980127, -0.27911547, -0.10386623, 0.0704878, -0.16076146, -0.06865355, -0.029967673, -0.036783073, 0.06062345, 0.042351097, 0.0035419215, -0.10950948, 0.15142381, 0.25280622) * go_0(1.0, 0.0);
|
|
result += mat4(-0.009336759, -0.056630455, 0.07419643, -0.049459077, -0.059142366, 0.046070203, -0.018450886, 0.053808898, 0.041062888, -0.03562602, 0.060718, 0.0882974, 0.07710282, -0.061630193, 0.10763613, 0.05350342) * go_0(1.0, 1.0);
|
|
result += mat4(-0.020450486, -0.011880919, -0.007363816, 0.12051132, 0.060287032, 0.027351823, 0.027684, 0.065134645, 0.026344571, -0.01718191, 0.012091111, 0.10819656, 0.012489751, -0.055651907, -0.3052169, 0.23801135) * go_1(-1.0, -1.0);
|
|
result += mat4(-0.006679176, -0.021232704, -0.12289921, 0.0075646336, 0.030306183, 0.112274334, 0.11084893, -0.13184273, 0.043869425, -0.0031861656, 0.2694463, 0.11933495, 0.014888317, 0.37636602, -0.1779301, -0.032281462) * go_1(-1.0, 0.0);
|
|
result += mat4(-0.136952, -0.009426452, 0.11357073, -0.101462685, 0.0027537034, 0.08045252, -0.00045824054, 0.074634336, -0.03065803, -0.21796846, 0.09635278, 0.045298785, -0.098372094, -0.027023448, 0.14444962, 0.082249895) * go_1(-1.0, 1.0);
|
|
result += mat4(-0.041647006, -0.13523813, 0.23530544, 0.073069185, 0.025022307, -0.16954692, 0.010666242, -0.07538101, -0.06198965, 0.17912138, -0.087928206, 0.010304168, 0.144178, -0.1657585, 0.009903313, 0.20653883) * go_1(0.0, -1.0);
|
|
result += mat4(0.15094416, -0.036872182, 0.10671736, -0.13114278, -0.014813208, -0.014073636, 0.16108423, -0.13213168, -0.09114641, 0.050591763, 0.034805253, 0.14984289, -0.00083991815, 0.2592055, -0.11146767, 0.09284067) * go_1(0.0, 0.0);
|
|
result += mat4(-0.03443615, -0.009632173, -5.0834158e-05, 0.032840393, -0.04626959, 0.0214075, -0.067959234, 0.018600805, 0.07243428, -0.11371777, 0.07108997, 0.16970424, -0.17274366, -0.022495182, -0.10284114, -0.13287334) * go_1(0.0, 1.0);
|
|
result += mat4(-0.097537555, 0.13504034, 0.077744655, 0.012292173, -0.0013754322, 0.0159031, -0.010271781, -0.11714066, -0.08074134, -0.11793299, 0.17228343, 0.04485966, 0.26133835, 0.083562106, 0.13605748, 0.07842156) * go_1(1.0, -1.0);
|
|
result += mat4(0.101663284, 0.018784977, 0.18387516, 0.0698937, 0.1262871, -0.029016716, -0.017629897, 0.09679718, -0.16987988, -0.112552784, -0.17010437, 0.10333196, 0.089143276, 0.06880237, -0.07407336, -0.024248788) * go_1(1.0, 0.0);
|
|
result += mat4(-0.070928305, -0.05896541, -0.021075577, -0.0938322, 0.03576662, -0.12959592, -0.05424325, -0.09540346, -0.17149144, 0.15382169, 0.036050767, 0.022187999, 0.08186773, 0.06654187, -0.043740872, 0.015940702) * go_1(1.0, 1.0);
|
|
result += mat4(-0.05999628, -0.10346444, -0.03163929, 0.014764566, -0.042340584, 0.04377052, 0.08964147, 0.023697559, -0.11745726, 0.019980576, -0.060001764, -0.05739168, -0.03326478, 0.042291407, 0.01029446, -0.0006783697) * go_2(-1.0, -1.0);
|
|
result += mat4(0.039875668, 0.03890321, 0.044958238, -0.0637908, 0.057945263, -0.18010783, -0.08934327, -0.06983097, -0.05463022, 0.03769058, -0.03902542, 0.11251774, 0.032007236, -0.06351825, -0.027675375, 0.043577235) * go_2(-1.0, 0.0);
|
|
result += mat4(0.056573648, -0.07795712, -0.14080168, -0.015329227, 0.05720495, -0.0659066, 0.034519438, -0.10344216, 0.023347745, 0.06635434, 0.08761089, -0.020288715, 0.045780413, 0.06769359, -0.020654215, -0.026493737) * go_2(-1.0, 1.0);
|
|
result += mat4(-0.15549617, 0.22154036, -0.035022356, 0.037524547, 0.049251348, -0.031591, -0.036235563, 0.04339102, -0.03156591, 0.030291421, 0.49239767, 0.25064838, 0.18197893, -0.16288568, 0.0930576, -0.03423282) * go_2(0.0, -1.0);
|
|
result += mat4(-0.11033686, -0.04570853, 0.0016308138, 0.07834853, 0.07600955, -0.07968259, 0.14970061, 0.062669896, 0.09796333, -0.068940535, 0.1278605, -0.20915642, -0.009881375, -0.06508105, -0.023221906, 0.063692674) * go_2(0.0, 0.0);
|
|
result += mat4(0.07646927, 0.048639037, 0.13715656, 0.04969283, 0.04496575, 0.025304018, 0.023178697, -0.005805055, -0.073303185, 0.12425092, -0.062946446, -0.05067681, 0.053393174, -0.06318117, -0.029427962, -0.162013) * go_2(0.0, 1.0);
|
|
result += mat4(-0.03539342, -0.08837224, -0.058332633, -0.033148028, -0.039964523, 0.047577832, -0.015021742, 0.053788386, 0.24229313, -0.005967871, -0.06950038, -0.01753915, 0.05407492, -0.1369046, 0.034026932, -0.072949685) * go_2(1.0, -1.0);
|
|
result += mat4(0.014240931, -0.114709415, 0.013380771, 0.14814466, -0.21180479, 0.07065372, -0.07084882, -0.13009402, 0.25793126, 0.17758748, 0.1647275, 0.009904283, 0.06412116, 0.028754344, -0.011050801, 0.031021936) * go_2(1.0, 0.0);
|
|
result += mat4(0.009352941, 0.113679856, 0.035876002, -0.09654438, -0.07531333, -0.018089507, 0.072006464, -0.009339618, -0.07180257, -0.00043349672, -0.0071172966, -0.00748114, 0.15425408, -0.111805834, 0.047978718, 0.0840089) * go_2(1.0, 1.0);
|
|
result += mat4(-0.024762075, 0.05111211, 0.09316579, -0.009603998, 0.04225388, -0.101240866, 0.0008120324, 0.06027124, -0.08961942, 0.05418951, 0.12315066, 0.037511464, 0.078298986, 0.006887005, -0.022529332, -0.011942842) * go_3(-1.0, -1.0);
|
|
result += mat4(-0.22837932, -0.052757703, 0.52270764, 0.13333929, 0.052859746, 0.08084642, 0.01186978, -0.043609403, 0.02409766, -0.064920336, 0.02343404, -0.10359331, 0.07920226, -0.057824913, 0.05472609, -0.02210887) * go_3(-1.0, 0.0);
|
|
result += mat4(0.12200674, -0.07222997, -0.0077480553, 0.031614456, -0.060068175, -0.09296547, -0.02697552, -0.007998561, 0.0062316097, 0.016119024, -0.054522965, 0.0858926, 0.012595754, 0.02239382, -0.04811345, -0.034084607) * go_3(-1.0, 1.0);
|
|
result += mat4(-0.11571872, -0.10716141, 0.09136876, -0.048269544, 0.2036012, -0.009964111, -0.164098, 0.0062285536, -0.160461, -0.10802773, 0.034254774, -0.09396949, -0.035045605, -0.0038658823, -0.020748926, -0.058969058) * go_3(0.0, -1.0);
|
|
result += mat4(-0.029839784, 0.035316005, 0.12637286, -0.011018316, -0.24942681, 0.006155271, -0.064659946, 0.03878479, 0.007293056, -0.14911444, 0.09102551, 0.2214609, 0.2075301, -0.1415137, 0.038262144, 0.020079322) * go_3(0.0, 0.0);
|
|
result += mat4(0.03954482, 0.00161835, 0.24248002, -0.01908119, -0.11612393, -0.09628277, -0.18482316, -0.0037283704, -0.10087301, -0.05704098, 0.057598826, -0.037766546, 0.038450222, -0.05250815, -0.020858904, -0.04754174) * go_3(0.0, 1.0);
|
|
result += mat4(-0.025481295, -0.041959614, 0.040118624, -0.09142045, -0.15421867, -0.0932622, 0.020308455, 0.11280108, 0.008041164, -0.09340578, 0.0014632398, 0.012679065, 0.024054702, 0.0037555385, 8.470187e-05, -0.0026168944) * go_3(1.0, -1.0);
|
|
result += mat4(0.092563815, -0.041739643, 0.113452666, -0.12697452, -0.14597544, 0.07041192, 0.0073921285, 0.11001561, 0.05780155, 0.081369705, 0.01859894, -0.009346777, 0.08703558, 0.065806575, 0.06331098, -0.022295259) * go_3(1.0, 0.0);
|
|
result += mat4(-0.063127175, -0.0036738236, 0.07582986, -0.092346914, 0.04535636, -0.04299909, 0.02999664, 0.021044914, -0.117802285, 0.032623403, 0.016715014, -0.04867952, 0.032292146, -0.02733379, 0.019759627, 0.029224534) * go_3(1.0, 1.0);
|
|
result += mat4(-0.033157296, 0.06696175, 0.03564599, 0.042519007, 0.0424988, 0.075877026, -0.036232404, 0.05169811, 0.0034979465, 0.13048209, -0.052901644, -0.049846627, 0.0068034166, 0.01163485, -0.026329378, 0.038994797) * go_4(-1.0, -1.0);
|
|
result += mat4(-0.113001004, -0.106806695, 0.031668942, -0.006540794, -0.10414548, -0.15077831, -0.0052690995, -0.20494916, -0.037294906, 0.016445661, -0.05105855, 0.1396678, 0.06092325, -0.03662674, 0.085244715, 0.115935385) * go_4(-1.0, 0.0);
|
|
result += mat4(-0.030479306, -0.016440354, -0.055504587, 0.08523519, -0.09832142, -0.051361356, -0.01974164, 0.04646292, 0.13094828, 0.118371025, 0.01770395, -0.03144912, 0.036468696, 0.013719247, 0.075200096, -0.05179428) * go_4(-1.0, 1.0);
|
|
result += mat4(-0.11964952, -0.032451667, -0.12512554, -0.050573047, 0.030373964, 0.024024952, -0.13762453, 0.12840636, -0.04376352, 0.05668062, 0.037947364, -0.066112265, 0.0028260879, 0.030861724, 0.02219972, 0.035304546) * go_4(0.0, -1.0);
|
|
result += mat4(-0.2105805, 0.0863335, -0.0012344581, 0.019061513, -0.042461928, 0.119663686, -0.15733783, 0.01006595, 0.15633124, 0.01747602, -0.05381233, -0.09361219, 0.011560166, -0.015632732, 0.0494011, 0.055855803) * go_4(0.0, 0.0);
|
|
result += mat4(0.079113804, -0.089069344, -0.026545195, -0.0007340258, -0.077306196, -0.079094574, -0.052008536, 0.107602336, 0.03174382, 0.0072695096, -0.030184424, -0.07496981, -0.11374049, 0.240142, 0.18232502, -0.1921795) * go_4(0.0, 1.0);
|
|
result += mat4(0.046652786, 0.13005471, -0.001907763, -0.02354485, -0.08044523, 0.004347535, -0.09486797, 0.13142692, -0.039280824, -0.044051215, 0.019280003, 0.0763723, -0.07783228, 0.12394234, 0.0109562045, 0.114450656) * go_4(1.0, -1.0);
|
|
result += mat4(-0.12061396, 0.19032274, -0.02040124, -0.079091914, -0.16042966, 0.16574529, -0.07471835, 0.11175853, 0.021889772, -0.14593785, -0.0067855683, -0.032042842, 0.03092691, -0.103853814, -0.07564891, -0.033649214) * go_4(1.0, 0.0);
|
|
result += mat4(0.019420557, 0.08762085, 0.09729997, 0.046883028, -0.090403445, 0.13566826, -0.0060749603, -0.016417375, 0.00051667896, -0.10722795, -0.042404942, -0.029264381, -0.2637368, 0.04404824, -0.17676714, -0.03898909) * go_4(1.0, 1.0);
|
|
result += mat4(-0.017937362, -0.02021628, -0.011221574, -0.010981946, 0.077117115, 0.058008883, -0.02370349, -0.033171684, -0.04370235, 0.013696816, 0.04718911, 0.038686793, -0.05075274, -0.078141876, 0.01710806, -0.016280815) * go_5(-1.0, -1.0);
|
|
result += mat4(-0.0051029576, 0.028884215, 0.063299954, -0.12817588, 0.09635649, 0.01685252, 0.083583646, -0.07350102, -0.04044839, -0.065033, -0.10837623, -0.11883335, -0.0937995, -0.091614224, -0.023430234, -0.034762863) * go_5(-1.0, 0.0);
|
|
result += mat4(-0.037467998, -0.004959213, 0.039550744, -0.048472937, -0.053499777, -0.07164779, 0.081630275, -0.051635183, 0.04008334, -0.15719992, -0.10567595, 0.033473466, -0.033921987, -0.009474822, -0.029737448, 0.19411598) * go_5(-1.0, 1.0);
|
|
result += mat4(0.004936125, 0.04879588, -0.015972376, -0.0470118, 0.17473851, 0.09195339, 0.011075449, -0.06017266, 0.02264737, 0.18988189, 0.025514647, 0.09830298, 0.1988627, 0.0037007018, -0.10575926, -0.11683566) * go_5(0.0, -1.0);
|
|
result += mat4(-0.024983667, 0.1890932, 0.06626616, 0.050050464, 0.0027461515, 0.09686733, 0.17407647, -0.045637608, 0.03317272, 0.12532662, -0.044147827, 0.056859504, -0.094031505, 0.083065115, 0.028045049, 0.07287068) * go_5(0.0, 0.0);
|
|
result += mat4(-0.017450443, 0.0665469, 0.046039972, 0.0117158815, -0.027863976, -0.13173814, 0.120125115, 0.10620725, -0.019648628, -0.10245001, 0.07893902, -0.01169063, -0.002885391, -0.1618197, -0.019263452, 0.025576912) * go_5(0.0, 1.0);
|
|
result += mat4(0.062924445, 0.005899955, 0.080698565, 0.026559917, -0.015615001, 0.064574406, 0.010435832, -0.0012439915, -0.0032333238, -0.008854669, 0.017256236, 0.06180784, 0.050801486, -0.07340448, -0.073562406, -0.07342449) * go_5(1.0, -1.0);
|
|
result += mat4(-0.026997557, 0.017725596, 0.023694778, -0.06696343, 0.052086487, -0.0663138, -0.061097533, 0.0035091927, -0.0061530913, 0.16345571, -0.07810821, 0.06081369, -0.19654888, 0.027318882, -0.03747162, -0.06445535) * go_5(1.0, 0.0);
|
|
result += mat4(0.005569213, 0.08716896, 0.009564092, -0.031010542, -0.109795704, 0.025457779, -0.041763328, 0.056024272, -0.033540543, 0.07476806, -0.017657815, -0.041327264, -0.10583014, 0.09859916, -0.10492397, -0.12680435) * go_5(1.0, 1.0);
|
|
result += mat4(0.042307783, -0.20138371, -0.054159872, -0.008080132, -0.0049409764, -0.123782106, -0.10074382, -0.007782075, 0.021129344, 0.12963773, 0.007223677, 0.033266656, 0.07734324, 0.07292024, 0.026465673, -0.1153067) * go_6(-1.0, -1.0);
|
|
result += mat4(0.052287392, -0.109536976, 0.023995534, -0.01575321, 0.03393777, 0.1337645, -0.07153707, -0.025216443, -0.041070998, 0.07217233, -0.11914641, -0.26890114, 0.02313167, 0.23271154, 0.06703406, 0.09533676) * go_6(-1.0, 0.0);
|
|
result += mat4(0.07546838, 0.011592155, -0.046075065, -0.06642069, -0.004402625, -0.0652564, -0.017831367, -0.09308748, -0.051539812, 0.04005139, -0.11150738, -0.08175713, 0.014604422, -0.007214639, 0.098779745, -0.018378364) * go_6(-1.0, 1.0);
|
|
result += mat4(0.006603026, -0.014845266, 0.0026208498, -0.008357444, 0.0073595014, -0.14074865, -0.030904908, 0.024293974, 0.17369966, -0.048660155, -0.048974954, -0.089408986, 0.026791139, 0.22706681, -0.036981657, -0.02119953) * go_6(0.0, -1.0);
|
|
result += mat4(-0.05502304, 0.01853336, 0.10915187, -0.112274334, -0.063042596, 0.0043888465, 0.12429806, -0.06837296, -0.09884471, 0.26187462, -0.078214765, 0.105056636, 0.029996438, -0.131672, -0.1358863, 0.054225788) * go_6(0.0, 0.0);
|
|
result += mat4(0.0068557984, 0.033702783, 0.008050412, -0.037766565, -0.036427297, -0.046515323, 0.051857993, -0.10452691, -0.006243185, -0.039711174, 0.056767575, -0.038228292, -0.018759085, 0.119737215, 0.039318025, -0.07483938) * go_6(0.0, 1.0);
|
|
result += mat4(0.045509513, -0.14236167, -0.02726853, -0.01493912, 0.009043883, 0.055116396, 0.112568274, -0.045689043, 0.08086583, 0.022914976, 0.036111295, -0.036710598, 0.017608138, 0.118518315, 0.026354419, 0.012590016) * go_6(1.0, -1.0);
|
|
result += mat4(-0.12666366, 0.06377415, -0.041047554, 0.031393208, 0.033202175, 0.01293478, 0.0042672073, 0.045895174, -0.08109056, 0.2827398, -0.10949624, -0.029522505, -0.19850352, 0.038940806, -0.08525916, -0.16344538) * go_6(1.0, 0.0);
|
|
result += mat4(0.0008515389, -0.046620138, -0.028038643, -0.025426185, 0.05606938, 0.0061229076, 0.015445743, 0.0066051655, 0.03507471, 0.043772116, -0.05389813, -0.11928827, 0.005507504, 0.116020925, 0.03874032, 0.09864238) * go_6(1.0, 1.0);
|
|
result += mat4(0.05335771, 0.07025042, 0.024683822, -0.07459517, 0.013310433, -0.022622144, -0.038584214, -0.01572024, -0.013304405, 0.06437439, 0.008714939, 0.06922048, -0.06816085, 0.0034682539, -0.0541437, 0.010775999) * go_7(-1.0, -1.0);
|
|
result += mat4(0.061101787, 0.008284362, 0.021083428, -0.053963277, -0.06960679, -0.11620091, -0.014979146, 0.02621252, -0.0093596075, 0.065604895, -0.17972286, -0.085858494, 0.045264337, -0.03866745, 0.084133364, 0.077588424) * go_7(-1.0, 0.0);
|
|
result += mat4(0.21129635, -0.039057773, -0.07199796, 0.027164709, 0.031389885, -0.22101812, 0.15019675, -0.033421822, -0.04708109, -0.15552072, -0.19427232, -0.027601253, -0.032169215, -0.044620696, -0.0030545713, -0.084676005) * go_7(-1.0, 1.0);
|
|
result += mat4(0.06694448, -0.21478915, -0.052227136, -0.11007371, 0.01641538, 0.08138693, 0.09004288, 0.1469811, 0.13340457, -0.020153875, -0.03699176, -0.076706395, -0.017644217, -0.0675251, -0.0748928, 0.09038724) * go_7(0.0, -1.0);
|
|
result += mat4(0.028736364, -0.024210151, 0.06236118, 0.066564396, 0.003933215, -0.01394002, -0.074326284, -0.01448387, -0.071425505, -0.021284256, -0.001693088, -0.0066186395, -0.036212854, 0.077177964, -0.06398725, 0.106878705) * go_7(0.0, 0.0);
|
|
result += mat4(0.1363909, -0.009820995, -0.12983248, -0.0037245068, -0.001204842, -0.058121014, -0.09392078, 0.02885977, -0.020526886, 0.07213154, -0.029909864, 0.16680436, 0.039788317, 0.10533643, 0.057742797, -0.107928954) * go_7(0.0, 1.0);
|
|
result += mat4(0.11645586, -0.14840747, -0.026914807, -0.05374474, 0.06790178, -0.2556139, -0.097340286, 0.15263987, -0.018530536, 0.077240005, -0.1148909, -0.14282732, 0.051183544, -0.007965009, -0.2971616, -0.05872022) * go_7(1.0, -1.0);
|
|
result += mat4(0.014901608, -0.12677886, -0.064670384, -0.1623187, -0.047429133, -0.058445014, -0.119580954, 0.031700145, 0.088471524, 0.08435877, -0.1198159, 0.10743294, 0.018416684, -0.18108702, -0.06256368, 0.010405356) * go_7(1.0, 0.0);
|
|
result += mat4(0.031033225, -0.08165527, 0.015933517, -0.09163275, 0.0065211756, -0.14749087, -0.12069732, -0.03169653, -0.0068636923, -0.0047599906, -0.095241904, 0.028336, 0.06777312, 0.14869638, -0.11753921, -0.010243467) * go_7(1.0, 1.0);
|
|
result += mat4(0.049922884, 0.027459482, 0.035840012, -0.08961862, -0.3617356, -0.07949275, 0.21600586, 0.09545638, -0.034149855, 0.048127465, 0.096379556, -0.04866008, 0.11773822, 0.055485725, 0.12827916, -0.2618736) * go_8(-1.0, -1.0);
|
|
result += mat4(-0.041410808, 0.11304813, -0.03779883, 0.030872481, -0.116939746, 0.29407567, 0.1895875, -0.21217696, -0.025539953, -0.178478, 0.031897403, 0.16665661, -0.14774802, -0.005059717, 0.11978572, 0.18841389) * go_8(-1.0, 0.0);
|
|
result += mat4(-0.1750856, 0.07806208, 0.066590786, 0.06520769, 0.29628152, 0.06723724, -0.07372221, -0.13840312, 0.0066342093, -0.024352796, -0.11091368, -0.034200963, -0.05941726, 0.17785501, -0.09722458, 0.03481286) * go_8(-1.0, 1.0);
|
|
result += mat4(0.00040230202, 0.1386564, 0.0020965475, -0.032151967, -0.28119123, 0.23871318, 0.324673, 0.3079342, -0.114703484, 0.076918595, -0.07456807, -0.03860123, -0.27765638, 0.30093232, 0.040816836, 0.045392167) * go_8(0.0, -1.0);
|
|
result += mat4(0.11630024, 0.050958935, -0.07327745, -0.045112975, 0.020630276, 0.018679252, 0.1423691, -0.4634024, -0.05014015, -0.00094824797, 0.19475108, -0.112788685, -0.406272, 0.24608147, -0.04221695, -0.09761967) * go_8(0.0, 0.0);
|
|
result += mat4(-0.13764246, 0.0109156305, -0.016086185, 0.06516645, 0.14907628, 0.028398056, 0.19633707, -0.1179449, -0.064515114, 0.05141375, 0.018716468, 0.032537717, 0.07569254, -0.07768021, 0.044751454, -0.06309405) * go_8(0.0, 1.0);
|
|
result += mat4(-0.054568585, 0.036049586, 0.04581054, 0.03871819, 0.02642328, -0.17473157, 0.30538717, 0.04895256, -0.023432204, 0.012341845, 0.05849998, -0.09285376, 0.23424025, -0.012123604, 0.09310379, -0.10899807) * go_8(1.0, -1.0);
|
|
result += mat4(0.066122256, 0.103364795, 0.03855794, -0.14957069, -0.02184927, 0.0037020843, 0.3018487, -0.05228745, 0.057319008, -0.0108498, 0.028988574, 0.020548582, -0.11686366, -0.10226389, 0.17450128, 0.039843515) * go_8(1.0, 0.0);
|
|
result += mat4(0.08857053, 0.038873494, 0.108145475, 0.09587017, -0.085907966, -0.11013238, 0.17119284, -0.19787164, 0.09369054, -0.07448185, 0.028189272, 0.04458233, 0.06706104, -0.05152573, -0.01146787, -0.12001618) * go_8(1.0, 1.0);
|
|
result += mat4(0.081574865, -0.096744575, -0.047358852, 0.07842103, 0.04740539, -0.033352945, -0.01932972, 0.026056414, 0.116778195, 0.028540714, -0.13266987, -0.044292487, -0.023912204, -0.05143723, -0.014896608, 0.08691235) * go_9(-1.0, -1.0);
|
|
result += mat4(0.029974401, 0.07826115, 0.012582203, -0.12258423, -0.056660995, 0.1364201, 0.08420669, 0.01398612, -0.054994494, 0.13456269, -0.23503278, 0.07141847, -0.17400408, 0.102240436, 0.050492387, 0.08342294) * go_9(-1.0, 0.0);
|
|
result += mat4(0.025409801, 0.086305864, -0.013415441, 0.0124872485, -0.07219617, -0.06147636, 0.14614947, -0.007917027, 0.028016105, -0.03373043, -0.04327983, 0.32913202, -0.23671746, 0.09732567, -0.024344943, 0.31546018) * go_9(-1.0, 1.0);
|
|
result += mat4(0.06274294, -0.035500124, 0.08802067, -0.1728613, 0.051944792, -0.11495953, 0.03541574, 0.134216, 0.061973106, 0.095198765, -0.03813752, 0.14200106, 0.0027543372, 0.20998913, -0.094535634, 0.09406227) * go_9(0.0, -1.0);
|
|
result += mat4(0.0076270825, 0.14375834, 0.14316, -0.03582052, -0.18776836, 0.007991479, -0.10832663, -0.07583232, 0.19121449, -0.048892863, 0.0946921, -0.19325319, -0.4052315, 0.4400987, -0.24938348, 0.21615021) * go_9(0.0, 0.0);
|
|
result += mat4(-0.12362299, 0.039931603, -0.08478432, -0.012379307, -0.020896608, 0.18871778, 0.16965918, 0.026814751, 0.09404892, -0.047387924, 0.18000565, -0.20733628, -0.3831496, 0.057409447, -0.039851133, 0.24510218) * go_9(0.0, 1.0);
|
|
result += mat4(-0.042880148, -0.0047551137, -0.038754776, -0.16235387, -0.046985667, 0.07773914, -0.029753178, -0.06291566, -0.01791831, 0.11552606, -0.14261088, -0.15359794, -0.09109301, -0.012595764, -0.08461014, -0.025527714) * go_9(1.0, -1.0);
|
|
result += mat4(0.255039, -0.10217798, -0.095983505, -0.017773012, -0.010830123, -0.07421503, -0.00790136, 0.061961416, 0.2586941, 0.06726082, -0.017994221, 0.0039037676, -0.18585049, -0.17850985, -0.007449256, 0.19001636) * go_9(1.0, 0.0);
|
|
result += mat4(0.05356769, -0.029177073, -0.08434892, 0.029534379, -0.052398793, 0.029921837, -0.0379641, 0.08815421, -0.221968, 0.16212873, -0.097800635, 0.24519077, -0.21568449, -0.026571743, -0.10243165, 0.07986918) * go_9(1.0, 1.0);
|
|
result += mat4(0.18844943, 0.06663736, 0.04584477, -0.07739072, -0.031664416, 0.17509162, 0.08357242, -0.06851353, -0.10531447, 0.021919714, -0.10942753, -0.10573077, -0.080552444, 0.06253443, 0.13151503, -0.05751824) * go_10(-1.0, -1.0);
|
|
result += mat4(0.039860394, 0.06234854, 0.008617753, -0.08483321, 0.11080039, 0.10351877, -0.08282614, 0.06154943, 0.14106143, 0.06457279, -0.17962457, 0.029614823, 0.009903236, 0.009901688, 0.103305794, 0.02708714) * go_10(-1.0, 0.0);
|
|
result += mat4(0.027971132, 0.05056228, 0.013335152, -0.012521623, 0.084620796, 0.11628125, 0.09929561, -0.12234751, -0.047538497, 0.0013551811, 0.17503466, -0.00334921, -0.026149869, 0.08016518, 0.054481603, -0.11211239) * go_10(-1.0, 1.0);
|
|
result += mat4(0.19577688, -0.21044904, -0.14313206, -0.06094966, -0.1886681, 0.11948046, 0.009925262, 0.03785866, 0.03016602, -0.16213451, -0.053890828, 0.14754774, -0.16607349, 0.17302231, 0.055442728, 0.049238298) * go_10(0.0, -1.0);
|
|
result += mat4(0.04471434, -0.0050029103, -0.18449697, 0.052078173, -0.10225465, -0.03991549, 0.10741103, -0.0675637, -0.025177147, -0.07212037, -0.15245865, 0.06767271, 0.13010895, 0.03414782, 0.1448519, 0.060772084) * go_10(0.0, 0.0);
|
|
result += mat4(-0.09659163, 0.05841198, -0.020265874, -0.02538125, -0.034956124, 0.22157271, 0.025889639, -0.059703574, -0.16175202, -0.0048997067, -0.08251995, 0.021943517, 0.19059642, -0.060173947, 0.14169931, -0.004315918) * go_10(0.0, 1.0);
|
|
result += mat4(0.03190849, -0.035605464, -0.048360586, -0.054231796, -0.021754144, 0.16556646, 0.06434827, 0.16989109, 0.027081858, -0.06712905, -0.05332741, -0.062786296, -0.025473801, 0.00897238, 0.07331544, -0.026036164) * go_10(1.0, -1.0);
|
|
result += mat4(0.15740165, -0.0967638, 0.024736421, -0.013693698, 0.05880455, 0.048251428, 0.052370075, -0.04718833, 0.0184399, -0.038662773, 0.049148683, 0.17221244, -0.13244401, -0.013218936, 0.09345994, 0.00024175165) * go_10(1.0, 0.0);
|
|
result += mat4(-0.0064187744, -0.08920148, -0.028549816, 0.122657515, 0.016403764, 0.068500996, -0.03360275, 0.036848415, 0.022613775, -0.00604402, 0.011191968, 0.071645975, 0.032942034, 0.117463835, 0.07408682, -0.077945456) * go_10(1.0, 1.0);
|
|
result += mat4(-0.18648334, -0.073990986, 0.1035806, 0.12201333, -0.056298703, -0.06899704, 0.041714784, 0.028813941, -0.0073693376, -0.07419694, -0.019242344, -0.10421339, 0.06319362, 0.18498407, -0.040080044, 0.06591159) * go_11(-1.0, -1.0);
|
|
result += mat4(0.13646284, -0.18635146, -0.21405141, 0.3289027, 0.02735292, -0.031064082, 0.042403057, -0.13922094, -0.08272541, 0.27857855, -0.052545693, 0.040461276, 0.029613057, 0.047729794, 0.02729621, -0.18001) * go_11(-1.0, 0.0);
|
|
result += mat4(0.045724448, 0.07671115, 0.00063955085, -0.07451751, 0.108605005, 0.014488281, -0.042488173, 0.03577726, -0.060789686, 0.17350988, 0.01799855, -0.036396112, 0.09922527, -0.109561004, -0.12339479, -0.01871202) * go_11(-1.0, 1.0);
|
|
result += mat4(0.098541364, -0.12245533, 0.03954003, 0.032259263, -0.25460467, -0.09109193, 0.09300678, 0.1111729, -0.049395096, -0.030045439, -0.04501885, 0.0046626283, -0.07657543, -0.01989507, -0.030266184, 0.115504675) * go_11(0.0, -1.0);
|
|
result += mat4(0.033603728, -0.16179675, 0.107685976, -0.08050177, -0.11150716, 0.05341631, 0.015662108, 0.06453596, -0.018119879, 0.015083476, -0.032303285, 0.27767318, -0.012072633, 0.103727765, -0.3075054, 0.015533518) * go_11(0.0, 0.0);
|
|
result += mat4(0.120855056, -0.14289914, -0.013416328, 0.045103997, 0.09407005, 0.017286362, -0.17081043, 0.11026251, -0.04768381, 0.18125318, -0.110247165, 0.098635495, 0.054526508, 0.10071292, -0.07749401, -0.031911418) * go_11(0.0, 1.0);
|
|
result += mat4(-0.04815596, 0.010112698, -0.060083788, -0.116119795, -0.024647452, -0.05370981, 0.07770194, 0.18795432, -0.05123155, 0.03802874, -0.14434499, -0.26080537, 0.035182375, -0.03626466, 0.029075956, 0.15624163) * go_11(1.0, -1.0);
|
|
result += mat4(-0.087888286, -0.067626335, -0.02074024, 0.028201623, 0.025920108, 0.013126538, 0.09747174, 0.0708168, -0.0031367023, -0.1304692, 0.009458206, 0.12585516, 0.27185202, 0.17740375, -0.028984897, -0.0134149995) * go_11(1.0, 0.0);
|
|
result += mat4(0.015343054, -0.04067552, -0.05452715, 0.037334464, 0.14018174, -0.059763853, 0.15759844, -0.13691196, 0.03412337, -0.035051815, -0.0491391, 0.03383003, -0.117697716, 0.025332684, 0.019727515, -0.04177984) * go_11(1.0, 1.0);
|
|
result += vec4(0.05828695, -0.16925837, 0.053835716, 0.04817042);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x112
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_18_tf
|
|
//!BIND conv2d_18_tf1
|
|
//!BIND conv2d_18_tf2
|
|
//!BIND conv2d_18_tf3
|
|
//!BIND conv2d_18_tf4
|
|
//!BIND conv2d_18_tf5
|
|
//!BIND conv2d_20_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!BIND conv2d_16_tf
|
|
//!BIND conv2d_19_tf
|
|
//!SAVE conv2d_21_tf
|
|
//!WIDTH conv2d_18_tf.w
|
|
//!HEIGHT conv2d_18_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_18_tf_tex(conv2d_18_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_18_tf1_tex(conv2d_18_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_18_tf2_tex(conv2d_18_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_18_tf3_tex(conv2d_18_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_18_tf4_tex(conv2d_18_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_18_tf5_tex(conv2d_18_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_18_tf_tex(conv2d_18_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_18_tf1_tex(conv2d_18_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_18_tf2_tex(conv2d_18_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_18_tf3_tex(conv2d_18_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_18_tf4_tex(conv2d_18_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_18_tf5_tex(conv2d_18_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_24 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_25 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_26 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_27 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.18663658, 0.3184948, -0.03130499, 0.08619949, 0.1010918, -0.14248852, -0.19823664, 0.20816846, 0.1601186, 0.049822237, 0.19602141, -0.026865052, -0.0707687, 0.052736435, -0.044807665, 0.066063635) * g_0;
|
|
result += mat4(0.090361156, -0.14197296, -0.23846631, 0.030756485, -0.0624579, 0.0894411, -0.018925495, 0.09622091, -0.08767592, -0.22811596, -0.12307663, 0.053256057, -0.15243548, -0.037156895, -0.29896295, -0.13589491) * g_1;
|
|
result += mat4(-0.29185727, -0.03742425, 0.050431598, -0.05952872, 0.102163635, 0.04785122, -0.02358519, 0.16697437, 0.35186693, -0.19035606, -0.12011042, 0.004166742, -0.006959278, 0.06360376, 0.060225107, -0.15626898) * g_2;
|
|
result += mat4(0.17662838, -0.08894764, -0.14361143, 0.06789356, 0.07816827, 0.10883019, -0.037535142, 0.05493086, -0.041386984, -0.17820516, -0.06743507, 0.08163263, -0.00907744, 0.0041825743, -0.035713505, -0.09867839) * g_3;
|
|
result += mat4(-0.092638604, 0.0022278796, 0.12437326, 0.103134066, -0.27689874, 0.052095678, -0.042521577, -0.07290392, 0.14657746, -0.10676447, 0.035665326, -0.15043491, 0.0066268444, 0.247856, -0.10799263, 0.076561935) * g_4;
|
|
result += mat4(-0.014709424, -0.1234443, 0.09863729, -0.09065224, 0.03188603, 0.0851371, -0.18773592, -0.04526794, 0.04222761, 0.13524239, -0.0077108, 0.014710063, 0.0269728, 0.100834206, 0.00087144354, 0.017908119) * g_5;
|
|
result += mat4(0.065123245, 0.010967681, 0.27781358, -0.00086392177, -0.012103939, 0.21815085, -0.19618537, -0.21287219, -0.3108788, -0.0065051983, -0.10177379, 0.00486042, 0.06495405, 0.28793743, 0.1447245, -0.11581186) * g_6;
|
|
result += mat4(-0.19184732, 0.23525754, 0.14849417, -0.032214705, 0.06332956, 0.036836755, -0.17779079, 0.26069695, 0.017703978, -0.013938178, -0.0028144084, 0.024686655, 0.084200725, 0.0023977484, 0.0010214453, -0.11825634) * g_7;
|
|
result += mat4(0.114283256, -0.11113899, 0.0062027536, -0.11118651, -0.05354193, 0.0024898893, -0.10009308, -0.099993765, -0.09983121, -0.15856577, 0.13581747, 0.11929527, -0.15411879, 0.016686188, -0.15182848, 0.26796317) * g_8;
|
|
result += mat4(0.084827624, -0.08612916, 0.071429096, 0.17416593, -0.04714606, 0.0013476897, 0.013517696, 0.067101866, -0.14903635, 4.9428472e-05, 0.31473428, -0.2949479, -0.12335906, -0.13552824, 0.3479192, -0.19230734) * g_9;
|
|
result += mat4(0.028616413, -0.07255833, -0.021122474, -0.07113967, 0.11709503, -0.20123373, 0.08584415, -0.06978945, 0.03877887, 0.24208583, -0.18075196, 0.0062123733, -0.13526495, -0.04156013, -0.0016269569, -0.020975487) * g_10;
|
|
result += mat4(0.1310379, 0.055372015, -0.006403729, -0.11766523, -0.05418542, 0.03959835, 0.12431779, 0.15253036, -0.021798976, -0.06289866, -0.018096093, -0.021867894, 0.08258678, -0.19130546, -0.020614639, 0.09396607) * g_11;
|
|
result += mat4(-0.08746167, 0.072900996, 0.033214487, 0.04609681, -0.1540511, -0.097863495, -0.18814996, 0.07652809, -0.07314888, -0.12512076, 0.1748569, -0.090817355, 0.20444715, 0.056615118, 0.09610565, -0.25237694) * g_12;
|
|
result += mat4(-0.059253007, -0.30781618, 0.008390624, -0.016397322, -0.033560965, -0.039022774, 0.25333324, -0.1995156, -0.1036445, 0.050644662, -0.16967307, 0.1757263, 0.030297084, 0.046241727, 0.04354335, 0.1062731) * g_13;
|
|
result += mat4(0.2573244, -0.10674188, 0.089680746, 0.05325685, -0.15355112, -0.21602766, 0.3439777, 0.035753187, -0.0219718, -0.049062088, -0.08788193, -0.24782267, 0.07051089, -0.05783363, -0.02401024, -0.20907155) * g_14;
|
|
result += mat4(-0.33404592, -0.093173616, -0.2040588, 0.19875275, 0.12674141, -0.16908246, -0.2689318, 0.0823597, -0.032498408, 0.11139243, 0.020390712, 0.14647515, 0.113650456, 0.038491633, 0.15963453, -0.030297514) * g_15;
|
|
result += mat4(-0.04374134, -0.0129180765, -0.13164769, -0.07293398, 0.11262717, -0.15997183, 0.33422503, 0.073849976, -0.00015811941, 0.18877828, 0.07747786, -0.08188554, -0.18219465, 0.006220583, -0.011983187, -0.056153063) * g_16;
|
|
result += mat4(0.062033445, 0.07369542, -0.11406438, 0.14734034, 0.039975222, 0.07175253, 0.16200112, 0.14343244, -0.025669737, -0.24007507, 0.00080462516, -0.023895608, 0.23648714, -0.09611056, 0.21158028, 0.0735973) * g_17;
|
|
result += mat4(-0.08414368, -0.021285746, 0.0005669404, -0.10731338, -0.0064515774, 0.11334401, 0.03800766, -0.1455488, -0.1261212, -0.22332892, -0.0027348709, 0.2139515, -0.0738863, 0.17665327, 0.09825643, -0.13923496) * g_18;
|
|
result += mat4(-0.10201197, 0.21781366, 0.18577348, 0.14449175, 0.17314741, -0.1521729, 0.05358103, 0.13423039, -0.117372, -0.06376533, 0.0036501242, 0.24701707, -0.1009802, -0.09763199, -0.12387096, 0.04915735) * g_19;
|
|
result += mat4(0.12683278, 0.10003063, 0.026354205, 0.20679879, -0.05543329, 0.0609024, 0.12071361, -0.017081672, 0.09073765, 0.26451552, 0.11525583, 0.15612826, 0.15255655, -0.089416705, -0.066638984, 0.14400561) * g_20;
|
|
result += mat4(-0.035610262, -0.21110137, 0.16128647, 0.16987562, -0.075286984, 0.10626652, 0.02610956, 0.072617754, 0.08083012, -0.076612055, -0.20788178, -0.18980946, -0.124521755, -0.09931777, 0.058994036, -0.1573874) * g_21;
|
|
result += mat4(0.040990368, -0.076015316, 0.23061185, 0.06046172, -0.20775267, 0.07282112, -0.06703266, -0.15523846, -0.09839281, 0.04264288, 0.062170573, 0.050776828, 0.082359515, 0.08156233, 0.08537614, -0.15101717) * g_22;
|
|
result += mat4(-0.1249208, 0.13122208, -0.12867546, 0.1732467, 0.25579265, -0.012121687, 0.055682763, 0.16973646, 0.12742467, -0.18509331, -0.07107552, 0.18292974, 0.09319081, 0.05175007, 0.032850564, -0.22456838) * g_23;
|
|
result += mat4(0.081253335, 0.0648804, -0.15536025, -0.06642495, 0.16779053, -0.06261765, 0.20884722, 0.035119522, 0.10021793, -0.034050878, -0.20697917, 0.3424921, 0.14770742, 0.053394657, 0.03791968, -0.00457689) * g_24;
|
|
result += mat4(-0.30276582, 0.11398664, 0.23705474, 0.19467491, 0.03581071, 0.010649232, -0.059531577, -0.13225733, -0.05157955, -0.056399573, -0.05065601, 0.115134716, -0.06892023, -0.02327887, -0.026891273, -0.051847365) * g_25;
|
|
result += mat4(-0.0038954976, 0.30134967, 0.07478171, 0.27801678, -0.25552303, -0.3496495, -0.04389904, -0.073157154, -0.3068193, -0.14130415, -0.09492658, -0.07742016, -0.098369256, 0.07939278, 0.06842935, -0.058692418) * g_26;
|
|
result += mat4(0.033151552, -0.17501067, -0.24207892, -0.020800477, 0.40200472, 0.38354096, -0.09372771, 0.13056894, 0.1521215, -0.022638181, 0.076644436, 0.19175975, 0.17724091, -0.007068142, 0.08166245, 0.075242795) * g_27;
|
|
result += vec4(-0.06944472, -0.040001452, -0.014700824, -0.030359665);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x112
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_18_tf
|
|
//!BIND conv2d_18_tf1
|
|
//!BIND conv2d_18_tf2
|
|
//!BIND conv2d_18_tf3
|
|
//!BIND conv2d_18_tf4
|
|
//!BIND conv2d_18_tf5
|
|
//!BIND conv2d_20_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!BIND conv2d_16_tf
|
|
//!BIND conv2d_19_tf
|
|
//!SAVE conv2d_21_tf1
|
|
//!WIDTH conv2d_18_tf.w
|
|
//!HEIGHT conv2d_18_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_18_tf_tex(conv2d_18_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_18_tf1_tex(conv2d_18_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_18_tf2_tex(conv2d_18_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_18_tf3_tex(conv2d_18_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_18_tf4_tex(conv2d_18_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_18_tf5_tex(conv2d_18_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_18_tf_tex(conv2d_18_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_18_tf1_tex(conv2d_18_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_18_tf2_tex(conv2d_18_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_18_tf3_tex(conv2d_18_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_18_tf4_tex(conv2d_18_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_18_tf5_tex(conv2d_18_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_24 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_25 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_26 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_27 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.1756655, 0.2394621, -0.08748251, 0.12350313, 0.2136366, 0.07180196, -0.063014165, -0.052154776, -0.048294004, -0.11931733, -0.07316665, -0.016064208, -0.16288999, 0.17369701, -0.035828933, 0.0003992723) * g_0;
|
|
result += mat4(-0.28360948, 0.05576701, 0.044312038, -0.08181158, -0.17544775, 0.10725244, 0.19446151, -0.19915965, 0.20983706, -0.048648514, -0.06845115, -0.06666123, -0.058113296, -0.1400215, 0.018594868, 0.03359526) * g_1;
|
|
result += mat4(0.1685084, -0.073783316, -0.20972507, -0.113601886, 0.04464233, 0.1066123, 0.07970566, -0.12577637, -0.050229155, -0.13494389, -0.2558168, -0.0042490545, 0.005460988, 0.0076199966, 0.0025213186, 0.044763103) * g_2;
|
|
result += mat4(-0.0052317875, 0.0027467392, -0.14741494, 0.07422548, 0.069331884, 0.05495023, 0.011922025, -0.068583466, -0.09747392, -0.03871967, 0.019188546, -0.24301958, -0.09219407, 0.09321753, 0.13795844, 0.028697817) * g_3;
|
|
result += mat4(0.16926937, -0.0071689105, 0.1393118, -0.05259209, 0.12629338, 0.13920256, 0.12663081, -0.051457815, -0.17981507, 0.12771882, 0.09692452, 0.08349755, -0.09658173, -0.17841125, -0.20769149, -0.0763144) * g_4;
|
|
result += mat4(-0.21198377, -0.14739051, -0.08248044, 0.1661816, -0.05062238, -0.1363927, 0.13842218, 0.1367609, 0.04016191, -0.17620887, -0.056923762, 0.02746218, -0.07269395, -0.08043915, -0.10160525, 0.062392905) * g_5;
|
|
result += mat4(-0.14993137, -0.095249705, 0.17030515, -0.012608146, -0.07266432, 0.014926277, -0.0047261617, -0.010011702, 0.009128133, 0.07995534, 0.05507624, -0.26496184, 0.3488721, -0.09683456, 0.020622155, 0.06607447) * g_6;
|
|
result += mat4(-0.21903756, 0.34106353, 0.17070994, 0.077885374, -0.011344036, 0.012352647, -0.171021, 0.06153072, -0.012573895, -0.085864305, -0.07954067, -0.034453984, 0.0023422232, 0.26898122, -0.086993374, -0.12912525) * g_7;
|
|
result += mat4(-0.048054293, -0.058729056, 0.058039352, 0.0077087884, 0.07013047, -0.19018608, -0.17199957, 0.12733743, -0.11381175, 0.0036818564, -0.036225986, -0.04890944, 0.1931185, -0.050229732, -0.055666275, 0.010115753) * g_8;
|
|
result += mat4(-0.10551637, 0.015622803, 0.013705792, -0.2789802, 0.039018016, -0.11402238, 0.14938816, 0.08859123, -0.19127499, -0.21991971, -0.03997634, 0.2888021, 0.5119256, -0.0182172, -0.4097011, 0.0650889) * g_9;
|
|
result += mat4(-0.15852791, -0.008691007, 0.027062492, -0.021986786, -0.121833265, -0.032671, -0.109205626, -0.026337394, 0.14460158, 0.07089407, -0.16064858, -0.06329875, 0.16661745, 0.10511746, 0.069920555, 0.12870672) * g_10;
|
|
result += mat4(0.19965324, 0.2015641, 0.05944082, 0.076328635, -0.042850234, 0.100452326, -0.04502685, 0.15974133, 0.0432549, 0.16362476, 0.05391766, -0.20400761, 0.09843942, -0.114038505, -0.044906083, -0.084004216) * g_11;
|
|
result += mat4(0.0014203127, 0.072613284, 0.18832877, -0.1519538, 0.17094725, 0.023459934, -0.08103932, -0.18414992, 0.050177015, -0.06879559, -0.26551455, -0.20276074, -0.4067025, 0.06735142, -0.02654105, 0.108480014) * g_12;
|
|
result += mat4(0.11884444, -0.20847607, -0.39635405, -0.027750423, -0.17062746, -0.11462501, 0.03766563, 0.22330031, 0.08840299, -0.02593574, 0.30610138, 0.017082121, -0.073421106, -0.03310496, -0.022566084, 0.12895042) * g_13;
|
|
result += mat4(0.13146816, 0.03408076, 0.068583496, 0.040359933, 0.058004156, -0.18711473, -0.012030321, 0.054367706, -0.21604696, 0.029737698, -0.18165046, -0.032207813, 0.19296853, -0.06486989, 0.1930012, -0.26257816) * g_14;
|
|
result += mat4(-0.0003308146, -0.1018507, 0.10688593, -0.086943775, -0.06309165, 0.11305288, 0.40455562, 0.07220006, 0.17344922, 0.21377957, -0.106255956, -0.08522667, -0.081184156, -0.17647071, -0.056697357, -0.030556178) * g_15;
|
|
result += mat4(0.15709074, 0.13488838, -0.108037606, -0.049638074, 0.16628793, 0.22323613, 0.18880367, 0.110625856, -0.17176348, 0.0442544, -0.24436983, 0.20503913, -0.015147643, -0.087451935, -0.14789064, 0.015226477) * g_16;
|
|
result += mat4(-0.029338064, -0.058311418, 0.023408614, 0.23031227, 0.10385574, 0.027987834, 0.09013144, 0.28468946, 0.0031934478, -0.19209816, 0.034222614, -0.28228182, 0.16321793, -0.18102172, 0.018543411, -0.16518813) * g_17;
|
|
result += mat4(0.04458001, -0.13962908, -0.13753751, 0.08451667, -0.25742018, 0.21066302, 0.10019894, -0.15584072, -0.01348787, 0.0033656303, 0.04586261, 0.021628007, -0.036585297, 0.26717108, -0.15728012, 0.103385106) * g_18;
|
|
result += mat4(0.0044587324, -0.19981517, -0.22820733, -0.022784092, 0.05868396, 0.07768994, -0.03181301, 0.054078016, 0.14406122, 0.2340996, -0.2972908, -0.16759236, -0.27278668, 0.019484127, 0.032888357, -0.17713867) * g_19;
|
|
result += mat4(0.05132516, 0.002060976, -0.11749896, 0.005121125, -0.07908039, -0.07778476, -0.19288218, -0.113970414, -0.09135908, -0.009404741, -0.15993251, 0.15056853, -0.06927528, -0.03733133, -0.24843821, 0.15608594) * g_20;
|
|
result += mat4(0.11080882, 0.032175705, -0.04760623, -0.14559296, 0.03192353, 0.101781964, 0.12357085, -0.025075397, 0.12224393, 0.00500326, 0.05720067, -0.087521225, -0.032957695, 0.027808554, 0.13563655, -0.2128763) * g_21;
|
|
result += mat4(-0.12507181, -0.12221015, -0.024783826, -0.1233778, 0.15383248, 0.19294359, -0.10415819, -0.20353647, 0.119121395, 0.13289572, 0.030740019, -0.015015452, -0.07683901, 0.10667189, -0.041018065, 0.22529341) * g_22;
|
|
result += mat4(0.1489391, -0.059898213, -0.046357498, 0.022468781, -0.24517635, -0.13018654, 0.2039975, 0.21484332, 0.028208151, -0.20970574, -0.10110034, 0.12773193, 0.07744774, -0.118900456, -0.007357081, 0.018511213) * g_23;
|
|
result += mat4(0.10130345, 0.2007317, -0.02755449, -0.05844333, -0.09601821, -0.006501421, -0.05792646, -0.02546418, -0.12300777, -0.044581413, 0.08369023, 0.013736111, -0.117478505, -0.03133182, -0.07848863, 0.114977054) * g_24;
|
|
result += mat4(0.06206287, -0.13663986, -0.2633325, -0.06723374, -0.0368251, 0.10849614, -0.12641706, -0.101314045, 0.1668918, -0.1774165, -0.07337273, -0.14278898, 0.09879653, 0.11570133, 0.049410257, -0.28515536) * g_25;
|
|
result += mat4(0.075859904, 0.46286193, -0.0065651555, 0.019701669, 0.097126104, -0.21981543, 0.11008625, -0.24778378, 0.22997652, -0.08742972, 0.026607014, 0.0001746832, -0.183374, 0.35722917, -0.054048, -0.12029537) * g_26;
|
|
result += mat4(0.29831323, -0.24104582, -0.11618897, 0.10247404, 0.0058463574, 0.22800444, -0.069028065, 0.22541459, -0.18233538, -0.32635194, -0.13827065, -0.21868181, 0.25495726, -0.30253872, 0.055982653, 0.07193308) * g_27;
|
|
result += vec4(0.13571368, -0.145653, 0.09633155, 0.022155894);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x112
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_18_tf
|
|
//!BIND conv2d_18_tf1
|
|
//!BIND conv2d_18_tf2
|
|
//!BIND conv2d_18_tf3
|
|
//!BIND conv2d_18_tf4
|
|
//!BIND conv2d_18_tf5
|
|
//!BIND conv2d_20_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!BIND conv2d_16_tf
|
|
//!BIND conv2d_19_tf
|
|
//!SAVE conv2d_21_tf2
|
|
//!WIDTH conv2d_18_tf.w
|
|
//!HEIGHT conv2d_18_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_18_tf_tex(conv2d_18_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_18_tf1_tex(conv2d_18_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_18_tf2_tex(conv2d_18_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_18_tf3_tex(conv2d_18_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_18_tf4_tex(conv2d_18_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_18_tf5_tex(conv2d_18_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_18_tf_tex(conv2d_18_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_18_tf1_tex(conv2d_18_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_18_tf2_tex(conv2d_18_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_18_tf3_tex(conv2d_18_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_18_tf4_tex(conv2d_18_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_18_tf5_tex(conv2d_18_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_24 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_25 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_26 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_27 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.057084437, 0.073743545, 0.15843004, -0.06717984, -0.08257869, 0.011292643, 0.13310145, 0.10770132, -0.037585445, -0.08692588, -0.042781748, -0.15288189, -0.02788944, 0.034700274, -0.15450406, -0.1679772) * g_0;
|
|
result += mat4(0.011762893, 0.2054697, 0.1720081, 0.116406426, -0.00428441, 0.18313429, 0.03696885, -0.03316296, -0.117581464, 0.007917693, 0.10178334, -0.2611459, -0.058909763, 0.25219756, -0.16373555, 0.08321643) * g_1;
|
|
result += mat4(0.10082542, -0.13886023, 0.121554285, 0.22873613, 0.08418588, -0.013873943, -0.006858779, 0.19993706, 0.28209662, 0.21149608, -0.035288714, 0.56616104, 0.17169634, 0.057334855, 0.053658336, -0.05077785) * g_2;
|
|
result += mat4(0.12060641, 0.04010452, 0.11028481, 0.04508344, 0.016396279, 0.09882185, 0.18883766, 0.04364962, 0.04107997, -0.05457326, 0.022010474, 0.023509638, -0.017336952, -0.081470236, -0.04518081, -0.04369132) * g_3;
|
|
result += mat4(-0.05629898, 0.12955196, 0.03002122, 0.051797554, -0.11305776, 0.04543245, 0.024578502, -0.038622625, 0.09602566, 0.014378242, -0.123365864, 0.0759256, -0.22232716, -0.040782683, -0.042220388, -0.21084513) * g_4;
|
|
result += mat4(-0.020282147, -0.097285345, 0.23004697, 0.020806778, -0.18959303, 0.22034295, 0.0087907575, 0.010272914, 0.14997281, 0.07306408, 0.04324672, 0.15118538, -0.2749048, 0.11584738, -0.032733474, -0.2070121) * g_5;
|
|
result += mat4(0.037902478, -0.030573819, -0.029344141, 0.01939143, 0.06405306, -0.04419444, -0.101269715, 0.021172248, 0.11327619, -0.009161934, -0.1717592, 0.080221824, -0.06516155, -0.17314622, 0.07386541, 0.031790655) * g_6;
|
|
result += mat4(0.12349413, -0.19455901, -0.16831753, -0.13359772, -0.0037239022, -0.12868004, 0.096363924, -0.0721396, 0.10402346, 0.008250357, 0.012670624, 0.19257796, -0.06830968, -0.0021093774, -0.10247695, -0.26293632) * g_7;
|
|
result += mat4(-0.10189908, 0.075891085, -0.022459852, -0.09753182, -0.2543292, 0.30875823, -0.2053786, -0.15915114, -0.075460285, 0.018414717, 0.040453814, 0.06389237, -0.34178352, -0.022121403, 0.046201658, 0.25735933) * g_8;
|
|
result += mat4(-0.0002718784, 0.0032082999, -0.13571796, -0.2096398, -0.022996102, 0.12278952, 0.070943564, -0.19941543, -0.030735662, -0.095334, -0.24543534, 0.06891416, 0.11364924, -0.24653779, -0.05163778, -0.30017856) * g_9;
|
|
result += mat4(0.1838837, -0.10841437, 0.07848475, -0.08485395, -0.014254071, -0.31484497, 0.15543151, -0.06692559, -0.04198029, -0.11665087, 0.107262425, 0.0067980834, -0.03962521, -0.09969709, -0.12044282, 0.1482598) * g_10;
|
|
result += mat4(0.00026043277, 0.10293026, 0.0140016945, 0.07596427, 0.07216739, -0.024752667, -0.03748558, 0.16382839, -0.031407133, -0.07096495, -0.08130925, -0.16371527, 0.09901695, 0.035516758, 0.17092955, -0.117787674) * g_11;
|
|
result += mat4(0.10926692, -0.19847743, -0.35133052, -0.11942348, -0.0016101972, -0.11737663, 0.07856536, 0.210181, -0.08973985, -0.231985, 0.052060172, -0.07393469, -0.0038560238, -0.13686647, -0.049954094, 0.15444914) * g_12;
|
|
result += mat4(-0.18071556, 0.12298895, 0.41416138, -0.23190585, -0.048501194, 0.1643691, 0.22058153, -0.039875798, 0.0070992573, 0.48900208, -0.16106173, -0.017713644, 0.11375057, -0.038301516, -0.0138126705, 0.20367229) * g_13;
|
|
result += mat4(-0.10906326, 0.17701069, 0.122338474, 0.21938156, -0.31732517, -0.11000095, 0.23848571, 0.013629898, 0.2623052, 0.12693645, -0.13266647, 0.012624822, 0.13243206, -0.07178184, -0.12631601, -0.124319084) * g_14;
|
|
result += mat4(0.27514997, -0.20576999, -0.116263695, -0.17561655, 0.29180488, -0.0996977, -0.22064792, -0.0051669325, -0.008944824, 0.08274995, 0.15000445, 0.2706205, 0.19657025, 0.16320185, -0.048430063, -0.062193163) * g_15;
|
|
result += mat4(0.15720521, -0.1616783, 0.12148419, 0.032654256, 0.0748495, 0.089776576, -0.2883907, 0.16739035, -0.040992603, 0.094912894, -0.1876062, 0.017233582, -0.116178006, -0.3094946, 0.010963433, -0.1276047) * g_16;
|
|
result += mat4(-0.02279651, 0.124006964, 0.27308333, 0.07528875, 0.20459273, 0.044373933, -0.22371659, 0.1501472, 0.09959711, 0.0477301, -0.05257857, -0.05602578, 0.16206701, 0.046072427, -0.0018694117, -0.004612688) * g_17;
|
|
result += mat4(-0.21997832, -0.11779681, -0.07657034, 0.11835144, 0.10847735, 0.2865021, -0.28411987, 0.14887205, 0.069858804, 0.116345115, -0.07407542, 0.09080259, 0.15252139, -0.24571773, 0.09876683, 0.11463688) * g_18;
|
|
result += mat4(0.15223633, -0.00056938396, -0.032920565, 0.14372222, -0.024130384, -0.098482765, 0.028577512, 0.21373022, -0.14334433, 0.019196142, -0.0431513, 0.18337114, -0.032851133, 0.0646035, 0.028978348, -0.00956985) * g_19;
|
|
result += mat4(0.132797, 0.15113503, 0.0032765348, -0.20993358, -0.027147237, -0.08996456, 0.024522208, -0.015556702, -0.022943618, 0.030851666, -0.2941565, 0.04444335, -0.120237455, -0.06628891, 0.17706418, -0.13388899) * g_20;
|
|
result += mat4(0.034199353, -0.030496066, -0.12809198, -0.09803576, -0.014025315, 0.10408433, -0.12252633, 0.013718495, 0.00881372, 0.0976676, 0.119427025, -0.066808775, 0.055229302, -0.013018161, -0.08276607, 0.101116315) * g_21;
|
|
result += mat4(0.15429354, 0.15294066, 0.13662739, -0.11073299, 0.063615054, -0.011573362, -0.12094635, -0.19076118, 0.15640004, 0.13726933, 0.020506479, -0.027316077, 0.0131364865, -0.017896159, -0.06231624, 0.15114687) * g_22;
|
|
result += mat4(-0.047549162, -0.2276344, -0.066257186, 0.08916332, -0.017978407, 0.0068500796, -0.030843439, -0.17989396, -0.06743375, -0.13298953, 0.010617088, -0.22074251, -0.07921998, -0.003123787, 0.078639194, -0.10352951) * g_23;
|
|
result += mat4(0.19592485, 0.045601334, -0.05466065, 0.003048098, 0.21064979, 0.21149376, -0.06651742, -0.049799632, -0.1459615, 0.1450713, 0.025346246, -0.21891195, -0.24621584, 0.10275955, -0.045584872, -0.0059188902) * g_24;
|
|
result += mat4(-0.24433449, -0.056526583, -0.0063764798, 0.16827473, 0.036951, 0.15109439, -0.013099426, 0.088068865, 0.08357865, -0.018223299, 0.022397004, 0.13680162, 0.046609163, 0.13488059, -0.05136011, -0.2054995) * g_25;
|
|
result += mat4(-0.23189409, 0.058366276, 0.029186329, -0.22585711, 0.1441857, 0.0776702, 0.06341345, -0.22043568, 0.13492517, 0.14087246, -0.032663856, 0.10947018, 0.0016668879, 0.01664668, -0.0821675, 0.024196142) * g_26;
|
|
result += mat4(-0.02740043, -0.22889447, 0.24546339, 0.0032793654, -0.16380517, -0.16472526, -0.31983012, 0.05651817, 0.21478343, -0.08361714, 0.26880756, -0.39875728, -0.19244565, -0.09645046, -0.00071002246, -0.16191272) * g_27;
|
|
result += vec4(-0.022868104, 0.112042494, 0.11364425, -0.020370165);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x112
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_18_tf
|
|
//!BIND conv2d_18_tf1
|
|
//!BIND conv2d_18_tf2
|
|
//!BIND conv2d_18_tf3
|
|
//!BIND conv2d_18_tf4
|
|
//!BIND conv2d_18_tf5
|
|
//!BIND conv2d_20_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!BIND conv2d_16_tf
|
|
//!BIND conv2d_19_tf
|
|
//!SAVE conv2d_21_tf3
|
|
//!WIDTH conv2d_18_tf.w
|
|
//!HEIGHT conv2d_18_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_18_tf_tex(conv2d_18_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_18_tf1_tex(conv2d_18_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_18_tf2_tex(conv2d_18_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_18_tf3_tex(conv2d_18_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_18_tf4_tex(conv2d_18_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_18_tf5_tex(conv2d_18_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_18_tf_tex(conv2d_18_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_18_tf1_tex(conv2d_18_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_18_tf2_tex(conv2d_18_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_18_tf3_tex(conv2d_18_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_18_tf4_tex(conv2d_18_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_18_tf5_tex(conv2d_18_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_24 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_25 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_26 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_27 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.27637494, -0.09202861, -0.013164199, 0.08635429, 0.17066719, -0.25856876, 0.21184374, 0.25718108, -0.010693248, 0.032534968, -0.11440128, 0.067054555, 0.11179264, 0.08019385, 0.23691481, -0.053950187) * g_0;
|
|
result += mat4(0.012882109, 0.009293086, -0.0044346075, -0.0714009, 0.029489582, -0.11504061, 0.03372462, -0.20672967, 0.15053481, -0.018392192, -0.06602698, 0.3127282, -0.24036115, -0.121481776, 0.12850977, 0.058103368) * g_1;
|
|
result += mat4(-0.050445788, -0.13086995, 0.20903488, 0.123742394, 0.09780855, -0.01923089, -0.045269296, -0.14616507, 0.07690958, -0.26648474, -0.15403363, -0.14023678, -0.13179739, -0.11994684, 0.04328696, -0.16206603) * g_2;
|
|
result += mat4(0.0070284703, -0.11008815, -0.033269413, 0.19520764, -0.05634523, 0.11478342, 0.11389925, 0.16536203, 0.11200762, 0.07183994, 0.082404666, -0.045550685, 0.090172336, 0.15882301, -0.15579398, -0.010974849) * g_3;
|
|
result += mat4(0.29888794, -0.04338136, -0.054024898, -0.065943204, 0.016578928, 0.13387626, 0.19995537, -0.06902794, -0.1228455, 0.09062401, -0.16335657, 0.124492906, 0.13940965, -0.0930729, -0.019122176, -0.047092684) * g_4;
|
|
result += mat4(-0.17353038, -0.08980729, 0.05186378, 0.2782951, 0.04332866, -0.11484402, -0.13268284, 0.027477333, -0.09025209, -0.068026, 0.10645471, 0.010281115, 0.09622472, 0.060582876, -0.119002, -0.03843858) * g_5;
|
|
result += mat4(0.081018515, 0.160742, -0.108766116, -0.116166, -0.16662684, 0.045554698, 0.08607165, -0.108419865, -0.09143582, 0.19082823, 0.17698412, 0.07523821, -0.23612066, 0.02125469, -0.20589912, -0.04471549) * g_6;
|
|
result += mat4(0.007816593, 0.020379778, 0.06805535, 0.12345075, -0.1312113, 0.12551896, 0.10769008, 0.17810847, -0.20936163, -0.07681444, 0.10576635, -0.018500412, -0.12731677, -0.05931048, -0.008639975, -0.012557444) * g_7;
|
|
result += mat4(0.13184534, 0.2300916, -0.035759542, -0.11864276, -0.016759377, 0.0085068075, 0.020116294, 0.31680855, -0.07957325, 0.02108995, 0.04680425, -0.118219934, 0.12604867, -0.14069289, -0.1492076, -0.039757684) * g_8;
|
|
result += mat4(0.08435497, 0.08196142, -0.12370443, 0.17140263, 0.041375875, 0.0528549, -0.12367111, 0.22431542, -0.15647502, 0.23635507, -0.2558316, -0.035816293, -0.16943988, -0.03469032, 0.22173174, 0.35301638) * g_9;
|
|
result += mat4(0.10042114, 0.020310592, 0.12793465, 0.0505798, -0.030926188, -0.014382752, -0.1866182, 0.092339404, -0.34906712, -0.17414862, 0.11467679, -0.060113996, -0.18255027, 0.15265243, -0.058513764, 0.044470858) * g_10;
|
|
result += mat4(-0.109998055, -0.18857343, -0.06519679, -0.21169643, 0.17275392, 0.043956056, 0.19097583, -0.3453861, -0.20140389, -0.028911674, 0.051200256, -0.16441494, 0.09052695, -0.025728669, 0.12978639, -0.030866198) * g_11;
|
|
result += mat4(0.3553382, 0.2713839, -0.063492395, 0.17018923, -0.20084976, -0.20268555, 0.028258773, 0.25153455, -0.060663003, 0.030043183, -0.017477257, -0.2802546, -0.19472873, 0.030090192, -0.13361697, -0.096709855) * g_12;
|
|
result += mat4(-0.08196468, -0.059696443, -0.10413434, 0.15610062, 0.04612939, 0.033440653, 0.009418265, -0.11447027, 0.15325724, 0.05303549, 0.18088095, -0.18435246, 0.096069425, 0.1487366, 0.028163021, 0.033102416) * g_13;
|
|
result += mat4(0.12193662, 0.0070974063, 0.022380063, 0.01845218, 0.097900495, -0.10072656, -0.07087849, 0.1097737, 0.088353686, 0.117824815, 0.07981943, -0.058600288, -0.14337316, 0.23042083, 0.09003819, 0.15992849) * g_14;
|
|
result += mat4(-0.25127304, -0.13614081, -0.09878849, -0.019283785, -0.01723998, 0.19221759, 0.08611807, -0.057227675, -0.2849749, -0.106312715, 0.0721729, 0.09183881, -0.23607177, -0.14219683, 0.05553008, 0.08371223) * g_15;
|
|
result += mat4(0.18445374, 0.2633628, 0.023699492, -0.055874832, -0.21317463, 0.15699029, 0.06470851, 0.3203727, 0.012689787, 0.04068801, -0.0362694, -0.08463872, 0.022032904, 0.36295962, 0.40498146, 0.27317238) * g_16;
|
|
result += mat4(0.124197744, -0.21850279, 0.15408973, -0.26874685, -0.059596032, -0.078130245, 0.05881263, 0.21196629, -0.068842866, 0.009358261, -0.11701211, -0.1040061, -0.14287138, -0.37897316, -0.14483643, -0.21824312) * g_17;
|
|
result += mat4(-0.08589939, -0.075192496, 0.030483527, -0.06450602, -0.012149392, 0.17978314, 0.15634626, -0.2836322, 0.14882863, 0.10502833, -0.16009775, -0.10486963, 0.037842657, -0.038362924, -0.22343613, 0.101130985) * g_18;
|
|
result += mat4(-0.013563463, -0.024395624, -0.12761684, -0.09748699, -0.089499116, -0.08085164, 0.058557037, 0.13672954, -0.118551984, -0.13629481, 0.094393395, 0.029314406, -0.080707505, -0.038193874, 0.13417166, -0.02425689) * g_19;
|
|
result += mat4(-0.17519292, -0.10705887, 0.20562781, 0.010688353, -0.020396186, 0.14856702, -0.07595417, 0.10375755, -0.15135598, -0.05276549, -0.14925396, -0.019424599, 0.06944723, 0.16936864, 0.100991525, -0.0070587527) * g_20;
|
|
result += mat4(-0.09268212, 0.06558073, -0.28194323, 0.08364666, -0.02612452, 0.054087568, 0.14668237, 0.115088925, 0.04907736, -0.121807694, 0.28625855, 0.07017234, 0.11742178, 0.014940573, -0.0030790027, 0.09556736) * g_21;
|
|
result += mat4(-0.2570902, 0.09647556, 0.15780881, 0.08517732, -0.07699583, -0.026643768, -0.09048383, 0.047831554, 0.19601518, -0.14882582, -0.12081898, -0.21000117, 0.22658183, 0.32082006, -0.06317293, -0.07006582) * g_22;
|
|
result += mat4(0.1865291, -0.07663154, -0.07021094, -0.07830695, 0.076760985, -0.10160548, 0.16065563, -0.10210155, -0.13542733, -0.023234889, 0.10826387, 0.2707354, -0.07200074, -0.019201742, -0.045061752, -0.15168877) * g_23;
|
|
result += mat4(0.00804967, -0.14787929, 0.009206717, -0.021477034, -0.084476404, -0.015345305, -0.13645084, 0.17224337, 0.16686128, -0.012185714, 0.15809548, -0.18986331, 0.1008467, 0.04329404, -0.22691965, -0.0038823795) * g_24;
|
|
result += mat4(0.15417027, -0.06945452, -0.20023187, -0.067604445, -0.036015324, -0.053225037, 0.075553775, -0.031289067, -0.10324133, -0.22750708, -0.0687051, 0.2233988, -0.032612424, -0.14323196, 0.21441486, 0.12729624) * g_25;
|
|
result += mat4(-0.07149902, 0.26289824, 0.17770901, 0.005413293, 0.08461791, -0.12599528, 0.21661244, 0.1305935, 0.16592002, 0.100489244, 0.06736797, -0.21842687, 0.22388805, -0.017664155, 0.21695323, -0.108672984) * g_26;
|
|
result += mat4(-0.03011306, -0.12135366, 0.1701224, -0.069647305, -0.21244405, 0.16653134, -0.116377264, 0.28703618, -0.06256598, -0.4135873, 0.12806, 0.38643956, -0.29591087, 0.14771672, -0.085469425, 0.07862257) * g_27;
|
|
result += vec4(0.031112298, -0.004619042, 0.06137103, -0.028557438);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x112
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_18_tf
|
|
//!BIND conv2d_18_tf1
|
|
//!BIND conv2d_18_tf2
|
|
//!BIND conv2d_18_tf3
|
|
//!BIND conv2d_18_tf4
|
|
//!BIND conv2d_18_tf5
|
|
//!BIND conv2d_20_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!BIND conv2d_16_tf
|
|
//!BIND conv2d_19_tf
|
|
//!SAVE conv2d_21_tf4
|
|
//!WIDTH conv2d_18_tf.w
|
|
//!HEIGHT conv2d_18_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_18_tf_tex(conv2d_18_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_18_tf1_tex(conv2d_18_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_18_tf2_tex(conv2d_18_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_18_tf3_tex(conv2d_18_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_18_tf4_tex(conv2d_18_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_18_tf5_tex(conv2d_18_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_18_tf_tex(conv2d_18_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_18_tf1_tex(conv2d_18_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_18_tf2_tex(conv2d_18_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_18_tf3_tex(conv2d_18_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_18_tf4_tex(conv2d_18_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_18_tf5_tex(conv2d_18_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_24 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_25 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_26 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_27 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.1963867, 0.07699578, 0.14399086, -0.20231943, 0.1228945, 0.10025043, 0.21558635, -0.14002483, 0.18620099, 0.024811473, -0.006723965, -0.12215585, 0.19046861, -0.108267576, -0.12425069, -0.21237871) * g_0;
|
|
result += mat4(0.246677, 0.0881537, 0.03614809, 0.24940786, -0.12583077, 0.3362467, -0.015060226, 0.09434887, -0.19725238, 0.37675261, -0.007914419, -0.09965565, 0.0195271, 0.09688557, 0.18034142, 0.25808018) * g_1;
|
|
result += mat4(0.07988132, -0.15699178, -0.09968855, -0.05188315, 0.1189213, 0.2018036, 0.06732629, -0.049742103, -0.0012818838, 0.01787508, 0.17064866, 0.13609366, 0.045613803, -0.1356721, 0.0742584, 0.17483133) * g_2;
|
|
result += mat4(-0.09535376, 0.062276363, 0.02677763, 0.18110538, -0.056094047, -0.06404993, -0.24868925, -0.005307554, 0.0036259799, 0.16573818, 0.07203683, 0.33113593, 0.17214227, -0.044549335, -0.013462563, -0.044395987) * g_3;
|
|
result += mat4(-0.049357347, -0.20686656, -0.08514925, 0.13660856, -0.085490316, 0.1609961, 0.18058838, -0.043433487, 0.06679116, 0.020784464, 0.0350443, 0.11283589, 0.047845896, -0.15244545, -0.111651644, -0.13325566) * g_4;
|
|
result += mat4(-0.2407646, -0.036201578, -0.056687888, -0.14974321, 0.039803684, -0.085988104, -0.036733832, -0.14233889, 0.010312457, -0.14597215, -0.1345812, -0.09528502, -0.069463976, -0.017104028, -0.21093526, 0.13846932) * g_5;
|
|
result += mat4(-0.13820851, 0.02654045, -0.09661381, 0.17160213, 0.1978931, -0.12043106, -0.028641233, 0.08110245, -0.1875805, -0.06886384, 0.047143184, 0.33587673, -0.10415887, -0.18351205, 0.1407508, -0.1332706) * g_6;
|
|
result += mat4(0.13994217, -0.013123574, -0.05953133, 0.10043616, -0.27695277, 0.051396918, -0.15545999, -0.12036323, -0.050617583, 0.056553494, -0.079539895, 0.14741984, -0.021349153, 0.07863958, -0.07300714, -0.16282727) * g_7;
|
|
result += mat4(0.054927684, 0.16985811, 0.036917485, -0.0140152415, 0.08888437, -0.29275262, -0.03844096, -0.09088267, 0.1250863, -0.036014643, 0.054614082, -0.15399693, -0.110796444, 0.0925346, -0.22120771, 0.29702052) * g_8;
|
|
result += mat4(0.06883671, 0.058238175, -0.26987633, 0.17383234, -0.100885935, 0.090576224, -0.16625507, 0.033924226, 0.3471819, -0.15876703, -0.003714482, -0.22869875, -0.51020795, 0.13920946, -0.060082283, -0.07045547) * g_9;
|
|
result += mat4(0.02216123, 0.20307806, 0.1976366, 0.035313394, 0.21204922, 0.052470528, 0.03677106, -0.1063312, -0.019970786, 0.1678837, -0.13302676, 0.019388223, -0.10893328, -0.028289987, 0.042897556, -0.23842873) * g_10;
|
|
result += mat4(0.036743134, 0.034039408, -0.010375282, 0.16331595, 0.01155292, -0.051256556, 0.063319005, 0.03891694, 0.028058654, 0.23070037, -0.004834602, 0.12538977, -0.16574672, 0.10670458, -0.054559533, -0.13865025) * g_11;
|
|
result += mat4(0.34042284, -0.096626334, 0.1829246, 0.114188604, 0.088171884, 0.11710425, 0.14686471, 0.009725783, -0.12866455, 0.15149915, -0.13281596, 0.07473135, -0.11002946, -0.042536035, 0.35408425, 0.04991825) * g_12;
|
|
result += mat4(-0.4470486, -0.04748823, -0.14250289, 0.017064111, -0.15611976, -0.052947167, -0.16508208, -0.11881081, 0.13243856, -0.08291998, -0.14834203, -0.4627348, 0.14895794, -0.054990955, -0.2850958, 0.032338817) * g_13;
|
|
result += mat4(0.11025286, -0.047356833, -0.00029529104, 0.10499984, 0.115071274, -0.034509618, -0.17907608, -0.12972243, 0.14780535, -0.039031286, -0.23174866, 0.07155468, -0.2973685, -0.042398665, 0.011526313, 0.014337736) * g_14;
|
|
result += mat4(-0.13286439, -0.15258804, -0.08101948, -0.03865954, -0.0005274504, 0.06358946, 0.20435862, -0.0018249828, 0.13777693, 0.091889404, 0.26195052, -0.10732939, 0.12700158, -0.0029639623, 0.08968977, 0.10790943) * g_15;
|
|
result += mat4(-0.025876395, 0.04674395, 0.08705419, 0.11546646, 0.15677479, -0.09279832, 0.06123563, 0.027857538, -0.026071457, -0.07211418, 0.03904429, -0.07982592, -0.16422117, -0.022703126, -0.17293021, 0.14897922) * g_16;
|
|
result += mat4(0.15511294, -0.2735757, -0.033055518, 0.010482124, 0.07846025, -0.28522226, -0.103355184, 0.0907831, -0.22074161, -0.25466454, 0.14828296, -0.085437566, 0.11504318, -0.16773705, 0.08680487, -0.012820092) * g_17;
|
|
result += mat4(0.10127869, -0.18961814, 0.18196556, 0.08140379, -0.23042479, -0.11330197, 0.10758355, 0.027613612, -0.12754934, -0.030713173, 0.07453361, -0.1338413, -0.0014765146, 0.078984834, 0.019902518, 0.08373023) * g_18;
|
|
result += mat4(0.016189277, 0.094952025, 0.037799377, 0.033959743, 0.11591709, 0.13379039, -0.07359717, 0.2147113, -0.067016184, 0.0006450209, 0.13055131, 0.06845076, -0.027489938, -0.19194192, -0.007896561, -0.08913592) * g_19;
|
|
result += mat4(-0.04248823, -0.076337345, -0.10990166, -0.2680756, 0.08889121, -0.0177947, 0.21444084, 0.100478254, -0.016669227, 0.08470296, -0.069658354, -0.07584226, -0.05746039, 0.25226966, 0.009504905, 0.08502889) * g_20;
|
|
result += mat4(0.031891428, -0.053127673, 0.033998042, -0.057896897, -0.07441638, -0.10886511, 0.079562426, 0.057446953, 0.1934566, -0.074068144, 0.00525264, 0.10135101, 0.13110499, -0.10722797, -0.0841621, -0.050043304) * g_21;
|
|
result += mat4(0.066630974, 0.06632765, -0.18793635, -0.16781266, 0.13995983, 0.096131966, 0.123134784, -0.10111646, -0.12674555, -0.041563142, -0.0061982237, 0.023315776, 0.023906343, 0.019013697, -0.2010971, 0.04703861) * g_22;
|
|
result += mat4(-0.15652168, -0.24982816, 0.17870888, 0.06907672, -0.057334036, -0.032808617, 0.11526983, 0.119979076, -0.1791687, 0.1222946, -0.11300223, -0.17275636, 0.021404041, -0.15254661, -0.04140363, -0.03240875) * g_23;
|
|
result += mat4(0.027191963, -0.01434174, -0.14910434, -0.06411872, -0.061873678, 0.16904217, 0.047826875, 0.02332137, -0.14306058, 0.24481563, -0.033499192, -0.053609576, -0.056984827, -0.09177351, 0.10327636, -0.008282755) * g_24;
|
|
result += mat4(-0.0013305998, -0.16498545, 0.13777103, -3.852495e-06, 0.09852269, 0.049945284, -0.15420936, 0.012355145, -0.0884347, -0.042019103, 0.07325865, 0.12033873, -0.17453258, 0.25127375, 0.003513564, 0.14359626) * g_25;
|
|
result += mat4(0.088470936, -0.084289886, 0.12525322, -0.052040808, -0.02055114, 0.12212508, 0.0047877207, 0.0022971383, -0.16231592, -0.0012661765, -0.18805377, -0.01330223, -0.13868679, -0.07463934, 0.013851991, -0.39397895) * g_26;
|
|
result += mat4(-0.29183444, 0.08526801, -0.009475625, 0.012616094, 0.106093206, -0.15813065, -0.023291823, 0.026072321, -0.09510553, 0.28779894, -0.03740373, -0.22849992, 0.14980063, -0.056065757, 0.1896184, 0.18598676) * g_27;
|
|
result += vec4(-0.10836887, -0.05585613, 0.040955693, -0.094257936);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x112
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_18_tf
|
|
//!BIND conv2d_18_tf1
|
|
//!BIND conv2d_18_tf2
|
|
//!BIND conv2d_18_tf3
|
|
//!BIND conv2d_18_tf4
|
|
//!BIND conv2d_18_tf5
|
|
//!BIND conv2d_20_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!BIND conv2d_16_tf
|
|
//!BIND conv2d_19_tf
|
|
//!SAVE conv2d_21_tf5
|
|
//!WIDTH conv2d_18_tf.w
|
|
//!HEIGHT conv2d_18_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_18_tf_tex(conv2d_18_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_18_tf1_tex(conv2d_18_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_18_tf2_tex(conv2d_18_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_18_tf3_tex(conv2d_18_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_18_tf4_tex(conv2d_18_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_18_tf5_tex(conv2d_18_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_18_tf_tex(conv2d_18_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_18_tf1_tex(conv2d_18_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_18_tf2_tex(conv2d_18_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_18_tf3_tex(conv2d_18_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_18_tf4_tex(conv2d_18_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_18_tf5_tex(conv2d_18_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_24 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_25 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_26 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_27 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.037292957, 0.111278884, 0.0040617813, -0.13005154, -0.14574225, -0.04561907, 0.08651799, 0.26120758, 0.08891994, -0.088803776, 0.042923294, 0.25807977, -0.018256422, -0.0701701, -0.005195042, -0.003834101) * g_0;
|
|
result += mat4(0.02109605, -0.069872335, 0.019276647, 0.20458579, 0.19809006, 0.07492716, 0.08456779, 0.03991817, 0.17381856, -0.18353306, 0.033056915, 0.017351417, 0.27317572, 0.14745289, 0.112595454, 0.24492109) * g_1;
|
|
result += mat4(-0.14570235, -0.17424104, -0.06727217, -0.3086037, 0.02525411, -0.044770114, 0.033749532, -0.11228765, -0.15769076, 0.00451067, -0.1788018, -0.30820736, 0.0041043786, -0.024795217, 0.15125588, 0.047423594) * g_2;
|
|
result += mat4(-0.040195987, 0.044254698, 0.03855816, -0.20195895, 0.022790458, 0.096643284, -0.059985366, 0.08459743, 0.1324966, -0.040880192, -0.0043202005, 0.047319695, -0.032420613, 0.19165912, 0.00961678, 0.0183705) * g_3;
|
|
result += mat4(0.16408893, 0.13368279, -0.0021361106, -0.18459465, -0.01461956, -0.025040925, 0.023046397, 0.18937416, -0.029725153, 0.024626948, -0.12168845, -0.17462288, -0.0018600278, -0.21533066, -0.031245705, 0.016543053) * g_4;
|
|
result += mat4(-0.26195183, 0.01833496, -0.18704526, -0.021662816, 0.10616261, -0.043555334, 0.27241042, -0.14757007, -0.124572046, -0.02121388, 0.051727325, -0.0069818725, 0.043559317, -0.110680476, 0.04445242, 0.13625911) * g_5;
|
|
result += mat4(-0.038022455, 0.03635892, -0.2756826, 0.08211933, -0.023213604, -0.08972885, 0.032142006, -0.09148028, -0.19298528, 0.1790908, -0.089981236, -0.17479765, -0.16850077, -0.1224998, 0.26742375, -0.05020889) * g_6;
|
|
result += mat4(0.071032055, -0.00785422, 0.10790756, 0.0018305354, -0.027506126, -0.062212195, -0.23357867, 0.045895457, -0.1727715, 0.10876975, -0.230332, -0.17849782, -0.07430489, -0.18781832, -0.04600162, -0.11432774) * g_7;
|
|
result += mat4(-0.092788436, -0.024297832, -0.014884651, 0.34521446, 0.19182527, -0.0007828303, 0.2955958, 0.14103474, -0.118902594, -0.21362142, 0.03223166, 0.11770545, 0.052067857, -0.09909963, -0.090388335, 0.042580575) * g_8;
|
|
result += mat4(-0.1330214, 0.03868773, -0.11671803, 0.19015789, 0.10405984, -0.013677597, -0.045054883, 0.2648324, 0.091654226, 0.06342989, -0.18447904, -0.18814911, 0.08201126, -0.087983154, 0.19835882, 0.02320308) * g_9;
|
|
result += mat4(-0.16742142, 0.04889244, -0.04224858, 0.09795042, 0.0742024, 0.08524124, 0.08547024, -0.08971748, -0.06742199, -0.01264819, 0.01967524, -0.085037805, -0.006368631, 0.087310255, 0.033242185, -0.109046064) * g_10;
|
|
result += mat4(-0.036376826, -0.12445654, 0.2214164, 0.073704585, -0.057687093, 0.03161407, 0.030226182, 0.13798846, 0.004053758, -0.026847184, -0.18207215, 0.02327736, 0.15338598, 0.029355692, 0.15947832, 0.009741949) * g_11;
|
|
result += mat4(-0.14350525, 0.44122484, -0.27216923, -0.32400486, -0.06935376, -0.07826008, 0.013052485, -0.15577343, -0.0602264, -0.1378567, -0.0988297, -0.0520038, 0.16281459, 0.21593477, 0.015656868, 0.021682512) * g_12;
|
|
result += mat4(-0.110919766, -0.50870305, 0.13304098, 0.44846004, -0.11171717, 0.021876339, -0.1763441, 0.07960399, 0.19334543, 0.059901852, 0.35047033, 0.06759713, -0.1094105, -0.03440771, 0.12352318, -0.0851165) * g_13;
|
|
result += mat4(-0.0568668, -0.025527416, 0.025759742, -0.12103697, 0.422481, -0.08913437, -0.055062406, 0.34310246, 0.21279198, -0.078316584, -0.013654249, -0.09046805, -0.07094275, 0.115192436, -0.065263025, 0.17215906) * g_14;
|
|
result += mat4(0.07046529, -0.07284162, -0.11466734, -0.21302283, -0.03389403, 0.15734796, 0.1361196, 0.024044609, 0.029766176, 0.16577528, 0.024331262, 0.060340524, 0.44355944, 0.0003581332, 0.3078238, 0.2574837) * g_15;
|
|
result += mat4(0.00071162626, 0.07135437, 0.07894501, -0.0018909698, 0.056075454, 0.2710218, 0.05085683, -0.09762287, 0.3231151, -0.19741713, 0.17338343, 0.0155739505, -0.041763403, -0.1287588, -0.12640484, -0.23130493) * g_16;
|
|
result += mat4(0.07035256, -0.11294888, -0.14101484, -0.15230694, -0.10483314, -0.0016073174, 0.057297777, -0.09009508, -0.12830521, 0.03709873, -0.06290859, -0.08136984, 0.113198824, -0.1655927, -0.13494876, 0.24072471) * g_17;
|
|
result += mat4(-0.032724876, -0.09534773, -0.26204878, -0.3292954, -0.061760694, -0.0520527, 0.114927344, -0.19985563, -0.14206612, 0.29207164, -0.18231356, -0.023020215, -0.08598638, 0.14821911, 0.03660733, -0.19112201) * g_18;
|
|
result += mat4(0.037955362, 0.010134931, 0.36916158, -0.17044878, 0.21356396, -0.1560363, 0.26455376, 0.20915791, -0.1306162, -0.2429591, 0.1719089, 0.18352278, 0.0679352, -0.065386556, -0.022702005, -0.066387825) * g_19;
|
|
result += mat4(0.19960098, -0.14576043, -0.10151787, 0.09198339, 0.1231411, 0.087754674, 0.11652834, 0.013271647, 0.036118887, 0.15265918, 0.013385129, 0.14981005, -0.21563594, -0.08766662, -0.0654284, 0.12685579) * g_20;
|
|
result += mat4(-0.094955795, 0.24225567, 0.048474804, -0.07734907, 0.01806047, 0.14843795, 0.06016524, 0.35317475, -0.11599948, -0.07693678, 0.18482585, -0.019892018, 0.114919215, 0.1710398, -0.048565853, 0.13335803) * g_21;
|
|
result += mat4(-0.09855322, -0.025525704, -0.06842548, 0.1469744, -0.018368883, 0.15323098, 0.20133962, 0.12638539, -0.045463845, -0.08798743, 0.11472818, -0.033174478, 0.012110788, -0.06817629, -0.011605086, -0.16827421) * g_22;
|
|
result += mat4(-0.045262296, 0.13600074, 0.1300623, -0.034807224, -0.34226584, 0.017031498, -0.039954994, -0.08290169, 0.10082742, 0.021582376, -0.09534511, 0.20549543, -0.051487718, -0.1630972, 0.33449423, -0.048398267) * g_23;
|
|
result += mat4(0.029700171, 0.007352428, 0.18526569, 0.073091626, 0.11026601, 0.122599594, -0.11891045, 0.01342231, 0.15690641, 0.04361259, 0.2773186, 0.09948339, 0.19514516, -0.26567987, 0.27316755, -0.004506885) * g_24;
|
|
result += mat4(0.015102482, 0.5311715, -0.04495627, -0.29039982, 0.043197848, -0.045482073, -0.015217863, 0.12423151, 0.06713047, -0.28593946, -0.26324463, -0.10622171, 0.08733315, 0.26325643, -0.109262615, 0.032678623) * g_25;
|
|
result += mat4(0.20356876, 0.13201593, 0.54593295, -0.009429143, -0.047878712, 0.112797454, 0.10636369, -0.031002715, 0.04968258, -0.01192892, -0.08390279, 0.2962574, -0.037763555, 0.23986666, 0.2914927, -0.19597684) * g_26;
|
|
result += mat4(-0.17221802, -0.3117124, -0.30086198, -0.09605459, 0.06022855, 0.0932599, 0.21669184, 0.025771603, 0.10568125, 0.09046417, 0.23842993, 0.15542446, 0.085549235, -0.39743817, -0.35149595, -0.10991869) * g_27;
|
|
result += vec4(0.041429322, -0.04519541, -0.021303019, 0.03556548);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x48
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_21_tf
|
|
//!BIND conv2d_21_tf1
|
|
//!BIND conv2d_21_tf2
|
|
//!BIND conv2d_21_tf3
|
|
//!BIND conv2d_21_tf4
|
|
//!BIND conv2d_21_tf5
|
|
//!SAVE conv2d_23_tf
|
|
//!WIDTH conv2d_21_tf.w
|
|
//!HEIGHT conv2d_21_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv2d_21_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_21_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv2d_21_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max((conv2d_21_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv2d_21_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv2d_21_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv2d_21_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv2d_21_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_8(x_off, y_off) (max(-(conv2d_21_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_9(x_off, y_off) (max(-(conv2d_21_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_10(x_off, y_off) (max(-(conv2d_21_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_11(x_off, y_off) (max(-(conv2d_21_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.0069880835, -0.11854449, 0.019130541, 0.06131937, -0.12653148, -0.11386897, 0.026278017, -0.029769672, -0.04900336, -0.040183928, 0.14786887, 0.13839152, 0.023214985, 0.02170963, -0.0050535826, 0.11593161) * go_0(-1.0, -1.0);
|
|
result += mat4(0.18226194, -0.08764719, 0.007596958, -0.16714393, -0.013890971, -0.20315985, -0.1823182, 0.011473067, -0.0031021899, -0.08969826, -0.10007674, 0.10920222, -0.015446357, 0.036132008, -0.067185655, 0.13934731) * go_0(-1.0, 0.0);
|
|
result += mat4(0.015283827, -0.09229732, 0.0414126, 0.021944996, 0.14104785, 0.008045174, -0.06079496, 0.034749705, 0.0555263, -0.10242346, -0.060914904, 0.08464502, -0.011859913, 0.006455802, 0.10844761, 0.0134105105) * go_0(-1.0, 1.0);
|
|
result += mat4(0.018642211, -0.11451369, -0.14549, 0.025961792, 0.30536854, -0.12940758, -0.00767789, -0.041237094, 0.09311256, -0.031055698, -0.044830468, -0.024006868, 0.08701035, 0.040819246, -0.04263764, 0.11538945) * go_0(0.0, -1.0);
|
|
result += mat4(-0.054786954, -0.086928196, -0.13966377, -0.15393174, 0.1424234, -0.05512831, 0.056643385, 0.025964662, 0.07892287, -0.0106549505, -0.20436414, 0.14651425, -0.2473103, -0.25998104, 0.13307813, -0.09702979) * go_0(0.0, 0.0);
|
|
result += mat4(0.013059422, -0.21957332, -0.07801947, -0.0052945465, 0.0094043175, -0.2566915, 0.020264111, -0.084617026, 0.057397053, 0.15240598, -0.02216099, 0.05716462, 0.13927206, 0.004486894, 0.0016922898, 0.102252744) * go_0(0.0, 1.0);
|
|
result += mat4(0.07014947, -0.13902779, 0.031490333, -0.18859616, -0.014590556, 0.04007344, 0.09425186, -0.051375583, -0.06935742, -0.057554092, -0.10276669, -0.019557113, -0.09518076, -0.033071887, -0.048500758, 0.048819438) * go_0(1.0, -1.0);
|
|
result += mat4(0.16722094, 0.0344578, 0.018731082, 0.09678484, 0.15892155, -0.18919247, 0.021216132, 0.02931444, 0.021595579, 0.061666757, -0.10762524, 0.12676224, -0.03248062, -0.02504607, 0.18469785, -0.13702926) * go_0(1.0, 0.0);
|
|
result += mat4(0.13041268, -0.0619327, 0.022542154, 0.026681304, 0.020749563, -0.21606146, 0.114432104, -0.066451274, 0.015913267, 0.06163406, -0.057585176, 0.0644391, -0.044056248, 0.035255745, 0.03464814, -0.08578779) * go_0(1.0, 1.0);
|
|
result += mat4(0.08973615, 0.045222506, -0.09590073, -0.100004695, 0.05237453, -0.06722716, -0.02415732, -0.0075536054, 0.094202325, -0.050179597, -0.024599258, 0.020099288, -0.08596868, 0.055813123, 0.13340895, -0.16934091) * go_1(-1.0, -1.0);
|
|
result += mat4(0.06300078, 0.007818018, 0.09217224, 0.009206147, -0.15671419, -0.2783, -0.03584697, -0.020961186, -0.16284715, -0.0144862635, -0.11325322, -0.048829306, -0.07440494, 0.003520005, 0.022383792, -0.12780105) * go_1(-1.0, 0.0);
|
|
result += mat4(-0.013562683, -0.009709261, -0.098945156, 0.052830927, -0.006970199, 0.051590238, -0.06947861, 0.023755455, -0.06272423, -0.02977508, 0.02553348, -0.079587765, -0.22774328, -0.19316547, -0.06733863, 0.14218438) * go_1(-1.0, 1.0);
|
|
result += mat4(0.0628164, -0.065402724, -0.081423946, -0.014294701, 0.076882415, -0.16462187, 0.058887646, 0.17147242, -0.06266455, -0.033563286, 0.14262468, 0.077735715, -0.04773609, -0.15871379, 0.25418288, 0.00045479767) * go_1(0.0, -1.0);
|
|
result += mat4(-0.18470187, -0.057679847, 0.096446, -0.18015186, 0.00678714, 0.021908736, -0.20782757, -0.050982784, 0.022583686, 0.15980199, 0.030406693, 0.011787296, -0.13989478, -0.04320495, -0.085875444, -0.11700863) * go_1(0.0, 0.0);
|
|
result += mat4(-0.05523541, -0.025541743, 0.116241954, -0.020840911, 0.10067526, -0.16248223, -0.0012360907, 0.048425563, -0.1276002, -0.17499678, -0.01945251, 0.013212705, -0.16648263, 0.35500625, -0.135235, 0.017235618) * go_1(0.0, 1.0);
|
|
result += mat4(-0.073000446, -0.028381377, -0.0013608577, -0.016599078, -0.16571084, -0.07088432, -0.048842687, -0.07629005, -0.1381271, 0.065818846, 0.09421087, -0.03347382, 0.18608873, -0.045746375, -0.029741777, -0.095119506) * go_1(1.0, -1.0);
|
|
result += mat4(0.05358922, -0.040625416, -0.0019438072, -0.07843638, 0.19569466, -0.020356197, -0.0039346446, 0.003250757, -0.27383512, -0.16601264, 0.19187284, -0.107417405, 0.14909706, 0.06331532, -0.034985464, -0.06792424) * go_1(1.0, 0.0);
|
|
result += mat4(0.004034066, -0.054885756, -0.028200584, 0.06112716, 0.088295385, -0.020277997, -0.0020670767, 0.07127592, 0.013512765, -0.11650901, -0.055278458, 0.19233239, 0.1428892, 0.18658066, 0.10309081, -0.21165647) * go_1(1.0, 1.0);
|
|
result += mat4(-0.1705785, -0.12354222, 0.022113271, -0.07476554, -0.047615983, 0.061029002, -0.10020206, 0.17523453, 0.123563774, 0.0263436, -0.31404853, 0.11083086, -0.1827326, 0.046315327, 0.02357315, 0.08001404) * go_2(-1.0, -1.0);
|
|
result += mat4(-0.25918508, -0.09035259, -0.11229619, 0.08937231, -0.07499014, -0.13759968, -0.06618682, -0.117273055, 0.13919342, 0.04063526, 0.0072243907, -0.010585091, -0.039012935, 0.038917992, -0.10635016, -0.021612033) * go_2(-1.0, 0.0);
|
|
result += mat4(-0.0089387875, 0.10615507, -0.035624836, 0.21369669, -0.10219163, -0.041785926, -0.16842867, 0.14568092, 0.007918519, 0.17244598, -0.1169083, -0.05689179, -0.02399704, 0.01797599, -0.010986574, -0.017950263) * go_2(-1.0, 1.0);
|
|
result += mat4(-0.1522888, -0.113724284, -0.0508058, -0.16001092, 0.106977604, 0.053684708, -0.029986003, -0.110413074, 0.06492325, 0.17037806, 0.06288644, 0.23390365, -0.09741724, -0.06995056, -0.057531606, 0.01844941) * go_2(0.0, -1.0);
|
|
result += mat4(0.15611115, 0.040233236, -0.15241939, 0.21942209, -0.08196805, 0.04386631, 0.026889535, 0.28283122, -0.1527832, -0.046571508, 0.0018935538, -0.080615886, -0.12228735, -0.08016452, 0.0026405575, -0.070778325) * go_2(0.0, 0.0);
|
|
result += mat4(-0.042836025, 0.061742477, 0.26000306, -0.0013946262, 0.1407296, 0.24357088, 0.02941107, -0.31321937, -0.16753249, 0.15091048, -0.24045682, 0.08972196, 0.017686358, 0.08580807, 0.22204015, -0.0032575685) * go_2(0.0, 1.0);
|
|
result += mat4(0.05686254, 0.0023638983, -0.0822024, -0.06302648, 0.018615028, 0.06446251, 0.040583827, -0.015167025, -0.30382422, 0.032748684, 0.018681254, 0.075088434, 0.05812204, 0.029412095, -0.13035361, 0.12716398) * go_2(1.0, -1.0);
|
|
result += mat4(0.10954507, -0.0024484838, -0.04169171, 0.16917403, -0.035183076, -0.12553833, -0.22168499, -0.099494375, -0.118895225, -0.048939522, 0.038423754, -0.0077083064, 0.01274566, 0.044805672, -0.022168672, -0.057101645) * go_2(1.0, 0.0);
|
|
result += mat4(-0.10617008, -0.009070101, 0.05165893, -0.05298376, 0.11254456, 0.009726123, 0.06991818, -0.04886579, -0.09596588, 0.018851314, -0.08360388, 0.0025929522, -0.06251962, -0.042865653, -0.045322847, -0.026201174) * go_2(1.0, 1.0);
|
|
result += mat4(-0.049717374, 0.010736889, 0.15671317, -0.022999978, 0.019685196, -0.013085636, -0.008551068, -0.05243168, 0.002952741, 0.033997223, 0.07501866, 0.120448984, -0.08077145, 0.029829111, 0.03794393, -0.030543867) * go_3(-1.0, -1.0);
|
|
result += mat4(-0.25224376, -0.06768517, -0.07005058, 0.06228225, 0.03079539, -0.1084864, 0.0077283275, -0.050937615, 0.008869107, 0.0716059, -0.1658049, -0.045246806, -0.26357064, -0.021991378, -0.13131489, 0.13625829) * go_3(-1.0, 0.0);
|
|
result += mat4(-0.13381018, 0.035021957, 0.15034844, 0.13458283, 0.024573468, -0.0063623847, -0.056051284, -0.104659565, 0.036586266, -0.18148834, 0.027351456, 0.11023601, -0.13878205, 0.11888687, -0.03811043, 0.03087424) * go_3(-1.0, 1.0);
|
|
result += mat4(-0.37242985, -0.1407765, 0.20398182, -0.08089834, 0.012205813, 0.013402745, -0.00024050876, -0.0077133654, 0.11622889, -0.0049767373, -0.030082246, 0.009957579, -0.10164527, -0.0060521765, -0.0579422, 0.01945247) * go_3(0.0, -1.0);
|
|
result += mat4(-0.008741076, 0.13936417, -0.17995904, -0.09130485, -0.0074449205, -0.010273961, 0.044558648, 0.017304022, -0.21149126, 0.016885474, 0.058321353, -0.05664048, -0.13285065, 0.009403637, 0.08154729, 0.04631832) * go_3(0.0, 0.0);
|
|
result += mat4(-0.10989927, -0.062021922, 0.1487745, 0.007168839, 0.028093478, 0.14229786, 0.12533048, -0.05652466, -0.03958524, -0.1692561, 0.09212111, -0.12421803, 0.015370121, -0.03957488, 0.088210456, -0.0044525107) * go_3(0.0, 1.0);
|
|
result += mat4(0.0043160124, -0.061977856, 0.021317773, -0.11943341, -0.064133406, 0.07397345, 0.13196148, -0.015919702, -0.033692982, 0.041615795, -0.09160119, 0.026745725, 0.01504492, 0.093383975, 0.010174933, -0.057094634) * go_3(1.0, -1.0);
|
|
result += mat4(-0.07953229, 0.101896495, -0.010168308, 0.02396339, -0.085219055, 0.0010512068, -0.011841891, -0.08049679, 0.026517114, 0.02582323, -0.11858419, 0.059420392, -0.12342277, -0.047074217, -0.06347131, 0.002858185) * go_3(1.0, 0.0);
|
|
result += mat4(0.014326853, -0.08869476, -0.056715887, 0.004668106, -0.010806363, -0.046402488, 0.06119079, -0.057461627, -0.053133115, 0.12268668, -0.048906706, -0.015108306, 0.031009628, 0.03836039, 0.093381, -0.21037707) * go_3(1.0, 1.0);
|
|
result += mat4(0.08134721, -0.0934979, 0.10944199, -0.019524302, 0.0046149897, -0.028616823, 0.04847914, -0.057818424, -0.034710694, 0.04014125, -0.0364429, -0.06897909, -0.1878272, 0.016250238, -0.03700313, -0.06731215) * go_4(-1.0, -1.0);
|
|
result += mat4(0.10908451, -0.022687301, 0.050137516, -0.010541505, 0.21127963, -0.054874644, -0.0700352, -0.04913987, -0.1250425, 0.13569653, -0.07929906, 0.0010169582, 0.038114645, -0.042086445, -0.0019843192, 0.23153318) * go_4(-1.0, 0.0);
|
|
result += mat4(0.04310713, 0.057254057, -0.02167211, 0.009200921, 0.12851475, -0.14369237, -0.1346869, 0.019980187, -0.11089194, -0.15189494, -0.11591209, 0.01131138, 0.02846216, 0.0007677088, 0.23944266, 0.03081744) * go_4(-1.0, 1.0);
|
|
result += mat4(0.013688181, 0.05020314, 0.06840467, 0.099603474, 0.027732346, -0.03513163, -0.027012289, -0.14188248, 0.11790062, -0.14810887, 0.12666091, 0.42750952, 0.018835025, -0.14886224, -0.0063641993, -0.037943367) * go_4(0.0, -1.0);
|
|
result += mat4(-0.024243148, 0.07883424, 0.15658596, -0.17247504, 0.09594199, -0.06973682, -0.059469186, 0.02972273, -0.17408323, 0.16550143, -0.082254626, -0.23670337, 0.124770686, 0.16527455, 0.11569718, 0.03506502) * go_4(0.0, 0.0);
|
|
result += mat4(-0.032389782, 0.074448265, -0.10449024, 0.05341025, 0.10806637, -0.09637673, -0.13023008, -0.084475406, -0.07243098, 0.03239016, -0.10461865, -0.003481539, 0.13019899, 0.031104326, 0.06753554, 0.060100142) * go_4(0.0, 1.0);
|
|
result += mat4(-0.07535898, 0.008242841, -0.004561214, 0.05798962, 0.011912443, 0.032585215, 0.020705175, 0.0400687, -0.033268064, -0.01798792, -0.014587306, 0.18506528, 0.083169244, -0.08568325, 0.029904556, 0.115926266) * go_4(1.0, -1.0);
|
|
result += mat4(-0.13003345, 0.019583154, 0.08765133, -0.16674104, 0.12082818, 0.12958467, -0.071105525, 0.0858696, -0.08295776, 0.37291923, 0.022535155, 0.0989552, -0.042228278, 0.017537622, 0.095537156, -0.1284973) * go_4(1.0, 0.0);
|
|
result += mat4(-0.1327005, 0.03579554, -0.047649536, 0.029256782, 0.061056033, -0.1462003, 0.2609105, -0.120875165, -0.04610983, -0.030380502, -0.012423298, -0.06677635, -0.006553319, 0.024372678, 0.064584985, 0.13186966) * go_4(1.0, 1.0);
|
|
result += mat4(-0.081831686, -0.039730735, -0.16260423, -0.04378801, -0.09724497, -0.11115086, -0.107005775, -0.0656579, -0.063640535, -0.0064964327, -0.0420931, 0.059754472, -0.094980076, 0.061107792, 0.06692776, 0.048749704) * go_5(-1.0, -1.0);
|
|
result += mat4(-0.014279492, -0.08075597, -0.07969828, -0.057795126, -0.044708088, -0.03758876, -0.14196874, -0.0048927367, -0.045001503, 0.027585609, 0.019310012, -0.06802108, 0.121798925, 0.043796845, -0.06755184, -0.0088966135) * go_5(-1.0, 0.0);
|
|
result += mat4(-0.079431646, 0.067669995, -0.0629697, -0.062796526, 0.029771931, -0.01794665, 0.03573165, 0.12829529, -0.08649624, -0.0112341475, 0.060816634, 0.06000907, 0.1260396, 0.042080063, 0.07910779, -0.06198818) * go_5(-1.0, 1.0);
|
|
result += mat4(0.09501019, -0.07175458, -0.092828795, -0.0033303546, 0.14801711, 0.0076394225, 0.041459143, 0.09485121, -0.051112894, -0.05009014, -0.11743148, 0.11601241, -0.054599077, -0.14917238, 0.07605413, 0.16549622) * go_5(0.0, -1.0);
|
|
result += mat4(0.01804321, -0.062229037, 0.09943961, -0.26825753, 0.1242367, 0.023773152, -0.11542415, -0.046245337, 0.039902937, 0.14690155, 0.14292443, -0.033096712, -0.2004688, -0.13680407, -0.11613196, -0.13050957) * go_5(0.0, 0.0);
|
|
result += mat4(0.02046965, 0.23301902, -0.049699195, 0.0670193, 0.07440901, -0.0241305, 0.095373504, 0.09044557, -0.0503828, -0.047760323, -0.14202818, 0.08900512, 0.043249875, -0.06237001, -0.016857002, -0.046210334) * go_5(0.0, 1.0);
|
|
result += mat4(0.15186685, 0.011037357, -0.06901649, -0.035260003, 0.049713213, -0.007631359, -0.06837185, 0.0071897623, 0.027287314, -0.0033488686, -0.11366089, 0.03824804, 0.08662198, -0.034758914, 0.01733425, 0.07591191) * go_5(1.0, -1.0);
|
|
result += mat4(0.10714902, -0.023588402, 0.020249767, -0.11258079, 0.06949909, 0.03333288, 0.03675718, 0.0962656, 0.015865939, 0.13058801, -0.015100719, 0.10612382, 0.06852575, 0.06818764, -0.036699247, -0.010890609) * go_5(1.0, 0.0);
|
|
result += mat4(-0.028749213, 0.1270304, 0.020709433, -0.008646854, -0.006319349, 0.002876694, 0.08073896, 0.012850738, 0.02982129, 0.060001448, 0.014897999, 0.06421632, 0.008211786, -0.095982455, -0.047966313, -0.06887302) * go_5(1.0, 1.0);
|
|
result += mat4(0.011765878, -0.1560761, 0.028419627, 0.09770131, 0.022010745, -0.009805496, -0.049396887, 0.035067905, -0.16336244, 0.10416307, -0.077474035, -0.14091393, -0.04845585, 0.07146516, -0.14498278, -0.03334902) * go_6(-1.0, -1.0);
|
|
result += mat4(-0.17249902, -0.1369923, 0.16056894, -0.124602, 0.033402704, -0.13735686, 0.07206791, -0.09103378, -0.12977293, 0.07021646, -0.130565, 0.046290826, -0.029306449, -0.05839577, 0.042633913, -0.013713723) * go_6(-1.0, 0.0);
|
|
result += mat4(-0.057932694, -0.03594843, -0.094092764, -0.08417391, -0.11754973, -0.02735824, 0.03845372, 0.06594408, -0.05019138, 0.032027278, -0.009692472, -0.11167916, -0.073218435, -0.05804819, -0.060230266, -0.095734484) * go_6(-1.0, 1.0);
|
|
result += mat4(-0.028974215, 0.09610796, -0.039810438, 0.023835069, 0.09730948, 0.114034005, -0.019014787, 0.036080312, -0.012013382, 0.04129567, -0.10063804, 0.027935166, -0.12567501, -0.2196294, -0.039468378, -0.078189455) * go_6(0.0, -1.0);
|
|
result += mat4(0.17258449, -0.015159342, -0.003201201, 0.0434669, 0.23921692, 0.066728525, -0.026492871, -0.022766523, 0.08760509, -0.08222013, 0.16147149, 0.11158234, -0.014550519, 0.06217406, -0.03750209, 0.19907057) * go_6(0.0, 0.0);
|
|
result += mat4(0.06525901, 0.050871633, 0.058128685, 0.11077092, 0.004065273, 0.08671709, 0.16208285, 0.05810031, -0.09094384, -0.11943084, 0.06593253, -0.17899986, -0.19452626, -0.10464566, -0.19046801, -0.16835102) * go_6(0.0, 1.0);
|
|
result += mat4(0.07525091, 0.021716353, 0.0018433857, 0.014965701, 0.007007522, -0.15346079, 0.04730867, -0.10917385, 0.18842281, -0.0016988723, 0.11013558, -0.082603395, 0.16255169, 0.018193476, -0.17390668, -0.030786235) * go_6(1.0, -1.0);
|
|
result += mat4(-0.035498176, -0.19499347, 0.011399788, -0.02048109, 0.27687144, 0.12955186, -0.02254894, 0.11987418, 0.13866305, 0.10277428, 0.0560032, -0.24824081, -0.020840468, 0.044707865, -0.3378386, 0.24445173) * go_6(1.0, 0.0);
|
|
result += mat4(0.03282623, 0.12437772, 0.034364846, -0.114410184, 0.14123477, 0.11489304, 0.09349317, 0.028899781, 0.028397765, -0.029411774, 0.01825738, -0.020454096, -0.099450424, 0.013476895, 0.06911034, 0.021989046) * go_6(1.0, 1.0);
|
|
result += mat4(-0.004040288, 0.025118109, 0.004282638, -0.06503641, -0.0077800406, 0.03851912, 0.0059970575, -0.06911158, 0.010772937, 0.09543403, 0.030011812, 0.0055668824, -0.018088907, 0.0039552003, 0.025213696, 0.04647139) * go_7(-1.0, -1.0);
|
|
result += mat4(0.0015613356, 0.059214883, 0.10079195, 0.094318874, 0.034617897, -0.069798335, 0.107219554, 0.0051483414, 0.13880159, 0.1362381, -0.0074231327, 0.050913937, 0.20942143, -0.04950454, -0.0073430883, -0.040999684) * go_7(-1.0, 0.0);
|
|
result += mat4(-0.0037077703, 0.014000985, -0.019658884, -0.0024262706, 0.14824341, 0.041074853, 0.0156152565, -0.013938521, 0.03286799, 0.12727083, 0.046227213, 0.046221834, 0.06743431, -0.102282085, -0.016164223, -0.093975276) * go_7(-1.0, 1.0);
|
|
result += mat4(-0.03119865, -0.03312246, -0.12136074, -0.057890557, 0.024023848, 0.11058454, -0.0050210683, 0.043372292, -0.06799253, 0.0729772, 0.056313902, -0.0806389, 0.025213253, -0.02325896, -0.02560138, 0.0634847) * go_7(0.0, -1.0);
|
|
result += mat4(0.06360865, 0.011349906, 0.14926448, 0.07106804, 0.18288492, 0.018383801, 0.13807167, -0.1644954, -0.00544295, 0.13943602, 0.069695644, -0.066643015, 0.09847005, -0.06274543, -0.087997206, 0.039698638) * go_7(0.0, 0.0);
|
|
result += mat4(-0.04451962, 0.07100602, -0.06476852, 0.04610342, -0.09133099, -0.044458095, 0.053394422, -0.07136398, -0.027369678, -0.014199988, -0.07218346, -0.012736417, 0.063344404, -0.13564536, 0.0100170905, -0.008917721) * go_7(0.0, 1.0);
|
|
result += mat4(0.096585214, -0.081907056, -0.06123312, 0.068057954, -0.075309746, 0.09689756, 0.0012505499, 0.089823835, 0.105237834, 0.16730207, -0.021632383, -0.026819492, -0.034036633, -0.07847478, -0.014592861, -0.057672337) * go_7(1.0, -1.0);
|
|
result += mat4(0.07605288, -0.02486637, -0.023775922, 0.099300034, 0.0033312156, -0.040028885, 0.05505948, -0.25174525, 0.12118299, -0.093578465, -0.037082873, 0.17062703, -0.17074107, -0.123013474, -0.013681799, 0.079138085) * go_7(1.0, 0.0);
|
|
result += mat4(-0.07577073, 0.2217261, 0.013578049, -0.15505485, -0.14072753, -0.029969715, -0.14958392, 0.063965686, 0.049879476, 0.17617449, -0.08425422, -0.08204683, -0.10914215, -0.07847302, -0.019555492, -0.012018014) * go_7(1.0, 1.0);
|
|
result += mat4(0.06792231, 0.0044831755, -0.02620918, 0.27576953, 0.04270262, 0.14574005, 0.12898625, 0.028507214, -0.063540444, -0.016433526, 0.009520048, 0.048382808, 0.022429237, -0.04384335, 0.041377608, -0.0833542) * go_8(-1.0, -1.0);
|
|
result += mat4(0.17460293, 0.019206937, 0.03453427, 0.0009134727, 0.07100633, 0.016595127, -0.035355378, 0.044993892, -0.06672958, -0.028377654, -0.12397699, 0.06648999, 0.12059469, 0.015130094, 0.18219775, -0.17909163) * go_8(-1.0, 0.0);
|
|
result += mat4(0.16713336, 0.13575985, 0.038676504, -0.15138276, -0.0724845, 0.038978256, 0.11033223, 0.019161243, 0.023343462, -0.0010168983, 0.065426186, 0.03065909, 0.04458682, -0.074035086, -0.08909607, 0.02138337) * go_8(-1.0, 1.0);
|
|
result += mat4(0.09952613, -0.016984671, -0.04409617, 0.18817145, -0.09666824, 0.07400927, 0.12104504, -0.013182751, 0.050106943, -0.051792517, -0.06437911, -0.0042484365, -0.026693199, 0.033142142, -0.024158182, -0.03871271) * go_8(0.0, -1.0);
|
|
result += mat4(0.045538045, 0.0887923, 0.07346304, -0.041433837, -0.003453982, -0.019129949, -0.026396815, 0.015001767, 0.04293423, 0.05469441, -0.03848117, 0.027109614, 0.034081414, 0.1651076, 0.12631264, -0.06551816) * go_8(0.0, 0.0);
|
|
result += mat4(0.11156473, -0.044868644, 0.08807232, -0.043000016, -0.023902416, -0.025987212, -0.028414259, 0.11394663, 0.09727269, -0.11140669, 0.07813744, -0.16975576, -0.027452894, 0.07528256, -0.12184228, -0.1886155) * go_8(0.0, 1.0);
|
|
result += mat4(-0.07709758, -0.099323675, 0.07473009, 0.2754919, -0.031245071, -0.06709751, 0.023682723, 0.034528423, 0.11744557, 0.06357556, 0.008586241, -0.066709384, -0.032634113, -0.11260032, -0.06016416, 0.052459273) * go_8(1.0, -1.0);
|
|
result += mat4(-0.03536062, 0.16618316, -0.06997681, -0.25911033, 0.07330778, 0.07964729, 0.050815016, -0.042269565, 0.055337824, 0.041217215, -0.052118428, -0.0034286622, -0.10977683, -0.13231349, -0.10566766, -0.0604337) * go_8(1.0, 0.0);
|
|
result += mat4(0.101832174, -0.1918096, 0.18838517, 0.17609091, 0.009340354, -0.10303118, -0.08654778, 0.16247928, 0.025510713, -0.10982296, 0.036483496, 0.0027904355, -0.18435988, -0.067036085, -0.0029120399, -0.11961335) * go_8(1.0, 1.0);
|
|
result += mat4(0.06876337, 0.042338923, 0.02765794, -0.052441236, -0.06423485, -0.14854555, 0.06896901, 0.012909233, -0.003486955, 0.16777417, -0.12802757, -0.17533931, -0.12460719, 0.2612138, 0.025171904, -0.055894982) * go_9(-1.0, -1.0);
|
|
result += mat4(0.1214484, 0.019674076, 0.07405682, -0.08170348, -0.07403517, 0.1277416, 0.0743718, -0.12683785, -0.26315367, 0.033963945, -0.14907846, 0.10856253, 0.07750543, 0.1392015, 0.12018922, -0.039252818) * go_9(-1.0, 0.0);
|
|
result += mat4(0.10266759, -0.07020272, -0.0054496373, -0.06486304, -0.024195813, -0.0625625, 0.28768256, 0.008273708, -0.06341503, 0.04007451, 0.00047008428, -0.035673216, 0.21918093, 0.08433501, -0.006143216, -0.048308093) * go_9(-1.0, 1.0);
|
|
result += mat4(0.0449781, -0.017431937, 0.096861534, 0.0067550996, -0.028361911, -0.01000641, 0.06504384, 0.04209661, -0.26212123, -0.055139136, 0.046705984, 0.037207633, -0.09915632, 0.1503239, -0.124964535, -0.110592045) * go_9(0.0, -1.0);
|
|
result += mat4(0.061559457, -0.1020342, 0.17153032, -0.043774888, -0.42859337, -0.24905643, 0.32323125, -0.44891423, 0.023292232, 0.18651833, 0.034222018, 0.06285988, 0.35305637, 0.32526848, -0.17719568, 0.24293044) * go_9(0.0, 0.0);
|
|
result += mat4(0.0037996387, -0.05297437, -0.1689018, 0.05314843, -0.08689403, 0.22258975, 0.014946387, -0.026120821, 0.06823834, 0.019251974, -0.07434834, 0.19708487, 0.06587573, 0.44262806, 0.16318472, -0.023516994) * go_9(0.0, 1.0);
|
|
result += mat4(0.0233379, -0.0024273756, -0.03005202, -0.032282483, -0.03927204, -0.07099316, -0.11155208, 0.06318727, 0.1405887, -0.030640755, 0.03459993, -0.061110955, -0.09047155, 0.1601112, -0.013677439, -0.16509454) * go_9(1.0, -1.0);
|
|
result += mat4(0.009490245, -0.008072189, 0.022973398, 0.016606418, 0.1013836, 0.061581362, 0.09579702, -0.0744045, 0.07057026, 0.0054289084, -0.17252815, 0.10850029, 0.04104874, 0.22273603, 0.087035716, 0.2083312) * go_9(1.0, 0.0);
|
|
result += mat4(0.019000124, 0.062126126, -0.008888399, -0.010648336, -0.02214874, 0.09975152, 0.080602825, 0.04370231, -0.0431664, -0.08772232, 0.046385072, -0.009903082, -0.18314974, 0.050710335, -0.15213948, 0.20295005) * go_9(1.0, 1.0);
|
|
result += mat4(0.07735129, 0.07734856, 0.033517826, 0.07171924, 0.0061949333, 0.046915278, -0.09444245, 0.05527773, 0.13675945, -0.031538192, 0.026158364, 0.020119652, -0.038822245, -0.008736489, 0.12681441, -0.036986522) * go_10(-1.0, -1.0);
|
|
result += mat4(-0.0320571, 0.14015475, 0.056762595, -0.23470114, -0.09925409, -0.22458291, 0.022473779, -0.052811757, -0.12146114, 0.07147161, 0.00755138, 0.067693874, -0.0537536, -0.04895558, -0.11905466, -0.12070653) * go_10(-1.0, 0.0);
|
|
result += mat4(-0.03064348, 0.12593585, -0.0787228, 0.100105345, -0.069484666, -0.07473037, -0.08891059, -0.092456885, -0.08876873, 0.07422951, 0.13339978, 0.05017716, -0.02805476, 0.05464844, -0.15448321, -0.11486075) * go_10(-1.0, 1.0);
|
|
result += mat4(-0.044661205, -0.07948136, 0.13388704, -0.16309729, 0.04260037, 0.047987767, 0.047202986, -0.001614947, 0.040237345, 0.017897597, -0.0011386065, -0.16783398, 0.047689114, 0.046358828, 0.0057661133, 0.1370509) * go_10(0.0, -1.0);
|
|
result += mat4(0.02958124, -0.07839863, -0.0982092, 0.102068864, 0.0017932036, -0.05858819, 0.039588373, -0.020684792, 0.07956233, 0.13028911, -0.09081386, -0.118944034, -0.11206335, -0.033597928, -0.04488249, -0.008232634) * go_10(0.0, 0.0);
|
|
result += mat4(0.011597775, -0.055588562, 0.10501173, -0.17899369, 0.09324266, 0.13583738, 0.14483112, -0.09747359, 0.009214086, -0.06827894, 0.14694221, 0.15593632, -0.11254752, -0.0050783027, -0.22353044, -0.058920577) * go_10(0.0, 1.0);
|
|
result += mat4(-0.05378917, 0.086674206, 0.035829477, -0.10503677, 0.008429897, -0.13689163, 0.23580547, -0.106810965, 0.09773216, -0.09078484, -0.11861644, 0.02434357, 0.057524312, -0.074919604, -0.05725938, -0.095171385) * go_10(1.0, -1.0);
|
|
result += mat4(0.016109377, 0.013099856, -0.08617584, 0.03963428, 0.041205827, 0.08666136, 0.026972812, 0.0026053388, 0.02779692, 0.011868566, 0.018249149, -0.097442895, -0.17583683, 0.06786349, 0.037664376, 0.0797328) * go_10(1.0, 0.0);
|
|
result += mat4(0.047050953, -0.0731469, 0.08457175, -0.074505284, -0.05459736, 0.092681654, 0.048452456, -0.0008404358, -0.07282775, -0.008805529, -0.0038056236, 0.10644807, -0.05030183, 0.12713799, -0.08751896, -0.016655242) * go_10(1.0, 1.0);
|
|
result += mat4(-0.06307826, 0.014256774, -0.112667084, -0.004374373, 0.0016702815, -0.0012741702, -0.0703549, -0.049554512, -0.015644677, -0.004483042, 0.011172305, -0.267767, -0.026991133, 0.065580614, 0.0069980714, 0.111035265) * go_11(-1.0, -1.0);
|
|
result += mat4(-0.02440592, -0.06333373, 0.007379077, 0.1688759, 0.03798265, 0.09410997, -0.21902218, -0.003939251, -0.17722172, -0.08226677, -0.24438883, 0.121153526, -0.008109413, -0.14817086, -0.078997254, 0.03786915) * go_11(-1.0, 0.0);
|
|
result += mat4(0.030591737, -0.09482286, 0.12181502, 0.057631243, 0.08759884, -0.17105722, 0.0964372, -0.109260045, -0.052637015, -0.013185344, -0.11147237, 0.076789476, -0.07351503, 0.08667414, 0.096757755, 0.12759756) * go_11(-1.0, 1.0);
|
|
result += mat4(0.08471275, -0.16557701, 0.050174624, -0.025535649, -0.025810966, -0.04688176, 0.037069615, -0.09784653, 0.05009029, 0.027799185, 0.13554801, -0.05577445, -0.14021182, -0.05564169, -0.06002962, -0.00078120775) * go_11(0.0, -1.0);
|
|
result += mat4(0.067065805, 0.0047575375, 0.073646456, 0.11712173, 0.13899939, -0.14882548, 0.1768432, 0.246122, -0.102960475, -0.052807406, -0.15377884, -0.071115606, 0.024046259, 0.17466155, 0.027760359, 0.14437848) * go_11(0.0, 0.0);
|
|
result += mat4(0.033062924, -0.07700975, 0.09830998, -0.036917005, 0.14771664, 0.050855856, -0.14142801, -0.14804444, -0.046894778, 0.15373212, 0.019493164, -0.0064124498, 0.0590096, -0.10034818, 0.14113134, -0.15411709) * go_11(0.0, 1.0);
|
|
result += mat4(-0.029877083, -0.012765826, 0.103617184, -0.025865637, 0.10308, -0.013020275, 0.09340629, -0.021735948, -0.10842617, 0.039857816, 0.07585392, -0.0061892257, -0.09355829, -0.12881306, -0.07988342, 0.033735536) * go_11(1.0, -1.0);
|
|
result += mat4(-0.009701788, -0.051857222, -0.08697704, 0.052092426, -0.09670878, -0.09957194, 0.049242835, -0.014359006, 0.0899569, 0.023190506, -0.011281856, -0.09034019, -0.12512034, 0.028475331, -0.29740763, 0.13716742) * go_11(1.0, 0.0);
|
|
result += mat4(0.01507877, -0.17355633, 0.07485617, 0.04736884, 0.07656799, -0.033274084, -0.13986339, -0.042700406, -0.0043234834, 0.05111263, -0.07441735, 0.038007017, -0.05553268, 0.028594827, -0.09326329, 0.036843423) * go_11(1.0, 1.0);
|
|
result += vec4(0.07485647, -0.020073265, 0.10867479, 0.0028992307);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x48
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_21_tf
|
|
//!BIND conv2d_21_tf1
|
|
//!BIND conv2d_21_tf2
|
|
//!BIND conv2d_21_tf3
|
|
//!BIND conv2d_21_tf4
|
|
//!BIND conv2d_21_tf5
|
|
//!SAVE conv2d_22_tf
|
|
//!WIDTH conv2d_21_tf.w
|
|
//!HEIGHT conv2d_21_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv2d_21_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_21_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv2d_21_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max((conv2d_21_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv2d_21_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv2d_21_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv2d_21_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv2d_21_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_8(x_off, y_off) (max(-(conv2d_21_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_9(x_off, y_off) (max(-(conv2d_21_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_10(x_off, y_off) (max(-(conv2d_21_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_11(x_off, y_off) (max(-(conv2d_21_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.046997122, -0.12100286, -0.04884141, 0.026233625, 0.13419463, -0.1443756, -0.012541741, -0.09226546, -0.007145756, 0.08064256, -0.1497435, -0.15363759, 0.07059654, 0.05500106, -0.10462021, 0.05593005) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.12216866, 0.051958025, 0.009375743, -0.07210758, 0.068535455, 0.04285626, -0.25379446, -0.19455898, -0.049028367, 0.0013313026, -0.060532752, 0.02049411, 0.09910163, 0.061852667, -0.10383363, -0.044615768) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.061444093, 0.1475833, 0.08647051, -0.0930838, -0.14166534, 0.014049921, -0.11591214, -0.14689638, 0.0874891, -0.015281789, -0.0823502, -0.02594173, -0.010902944, -0.06132606, -0.11196707, -0.030080898) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.025793837, -0.15086421, -0.19421612, 0.049747333, -0.08230918, 0.05910996, -0.11782846, 0.12938577, -0.014073465, -0.026178546, -0.080913424, -0.11990293, 0.14808998, -0.28540215, -0.06472948, -0.010120146) * go_0(0.0, -1.0);
|
|
result += mat4(0.19346227, 0.13168143, -0.04456171, -0.031110242, 0.1958846, -0.097187325, 0.21183993, 0.014313686, 0.10280612, 0.029677134, 0.021590104, -0.0549455, 0.06909031, 0.18166044, 0.10388618, -0.08829224) * go_0(0.0, 0.0);
|
|
result += mat4(-0.0031296194, -0.06930685, -0.06413895, -0.06983414, 0.08569904, -0.016175283, -0.046621192, -0.09202774, 0.15233985, 0.024364363, -0.29214412, 0.044175327, 0.087574676, 0.06123415, -0.08159602, -0.011336161) * go_0(0.0, 1.0);
|
|
result += mat4(-0.062429257, -0.105471455, -0.016470768, -0.05267765, 0.08255332, -0.08158764, -0.047480583, 0.0019701628, 0.016991843, -0.006585283, -0.077434, -0.0606294, 0.050235912, -0.036302667, -0.0264623, -0.042568684) * go_0(1.0, -1.0);
|
|
result += mat4(0.023253636, -0.10328209, -0.16303001, -0.048888057, -0.039046, -0.111786336, -0.16389178, -0.070566714, 0.06927663, -0.06075797, 0.058570758, 0.08614872, -0.06420862, -0.11052116, -0.17195828, -0.0487142) * go_0(1.0, 0.0);
|
|
result += mat4(0.007835351, -0.11952224, -0.055611454, 0.06253066, -0.16406657, -0.026589788, -0.04881448, -0.072442584, 0.15065135, -0.020272309, 0.106116734, 0.10159893, -0.07763442, -0.1154798, -0.068373024, -0.019201068) * go_0(1.0, 1.0);
|
|
result += mat4(0.007881484, -0.018956061, -0.10238142, -0.065618366, -0.085468605, -0.10829776, 0.04466075, -0.033923257, -0.030379139, -0.112352885, -0.16573362, -0.0046788733, 0.10192286, 0.012241325, -0.008367136, 0.13939787) * go_1(-1.0, -1.0);
|
|
result += mat4(-0.12548573, -0.17437999, 0.044533756, -0.028276276, -0.025529345, -0.19759917, 0.018058592, -0.0155923525, -0.10641326, 0.0409181, 0.03527669, 0.047415253, 0.020718088, -0.30797186, -0.21207485, 0.0036288712) * go_1(-1.0, 0.0);
|
|
result += mat4(-0.088835835, -0.04088323, 0.09541493, 0.0036682652, -0.051487926, -0.040323682, -0.04281542, 0.04629765, -0.03342067, 0.08957436, 0.004126199, -0.008449139, -0.036389407, -0.14960203, -0.07720017, 0.07967078) * go_1(-1.0, 1.0);
|
|
result += mat4(0.1275389, 0.071911804, -0.089651175, 0.06027813, 0.05242023, -0.17800786, 0.033388127, 0.047203768, -0.0061615775, 0.18713911, -0.07540493, 0.033642605, -0.1332734, -0.033441074, -0.3789655, -0.20124121) * go_1(0.0, -1.0);
|
|
result += mat4(-0.21529193, -0.07309391, 0.13345052, -0.19792062, 0.017011393, -0.21173282, 0.07146319, -0.031750828, 0.13061215, -0.15527315, -0.16700245, 0.007335491, -0.2172841, 0.2143339, -0.22815406, 0.14065409) * go_1(0.0, 0.0);
|
|
result += mat4(-0.07513899, -0.034861445, 0.13694373, -0.076085225, 0.25725672, -0.0961054, 0.05299114, 0.12998691, -0.13058788, 0.06323388, 0.22868565, 0.10022399, 0.20160815, 0.08419191, -0.45523426, 0.038634546) * go_1(0.0, 1.0);
|
|
result += mat4(-0.03069317, 0.0020776265, -0.13730045, 0.017589461, -0.08978155, 0.034737073, 0.024451151, -0.13444564, 0.08189186, 0.0021741083, -0.07135305, -0.21313664, 0.18004654, -0.071943365, -0.062959984, 0.042037543) * go_1(1.0, -1.0);
|
|
result += mat4(-0.16266273, 0.032375176, -0.020130523, -0.019933598, -0.09530369, -0.055704728, -0.013548029, 0.15418105, -0.11459221, -0.009273215, -0.07004744, 0.08151815, 0.013939583, 0.0688238, -0.08441118, -0.09257367) * go_1(1.0, 0.0);
|
|
result += mat4(0.0012220248, -0.03341076, 0.014033425, -0.041355435, 0.1678779, -0.108265966, 0.03699756, -0.057082288, -0.026414966, -0.043634232, -0.07064977, 0.083690174, -0.014152075, 0.024385598, -0.15039313, 0.087886184) * go_1(1.0, 1.0);
|
|
result += mat4(0.03341343, -0.023580177, 0.017034482, 0.019147007, 0.003610678, 0.07257288, 0.027795065, -0.008015539, -0.020708026, 0.08782355, 0.20555335, 0.15255499, 0.030730275, 0.030919343, 0.055893462, -0.05121374) * go_2(-1.0, -1.0);
|
|
result += mat4(-0.07056404, 0.0008074058, 0.06927488, 0.0112707745, -0.03385172, 0.14753868, -0.02791015, 0.08394996, 0.025785098, 0.18524182, 0.11470624, 0.09741343, 0.032812912, 0.0019922904, -0.06400856, -0.056387126) * go_2(-1.0, 0.0);
|
|
result += mat4(0.013094418, 0.04240805, -0.13005644, -0.022992892, 0.026921153, 0.15785399, -0.12916863, -0.022955244, 0.13405393, -0.04121011, 0.36054406, 0.21023643, 0.030884495, 0.060173687, 0.07046953, 0.13063504) * go_2(-1.0, 1.0);
|
|
result += mat4(-0.17606279, 0.091486335, 0.11436753, 0.00015786696, 0.10205861, 0.082999766, -0.06630661, 0.040624302, 0.14982021, -0.044264138, 0.041062187, 0.086487375, -0.014876001, 0.21616699, 0.031135587, 0.11567944) * go_2(0.0, -1.0);
|
|
result += mat4(0.009459851, 0.092873424, -0.06803694, 0.10354333, 0.10086275, -0.25290945, 0.022528645, 0.14624892, -0.073030144, 0.10012705, -0.12167824, -0.19823883, -0.15097004, -0.038354833, 0.09062165, 0.094296865) * go_2(0.0, 0.0);
|
|
result += mat4(-0.058591783, -0.028607288, -0.20450185, -0.19339508, 0.16992015, -0.14210172, 0.011878018, 0.005437034, -0.048708122, 0.07122096, 0.3077209, 0.1362555, 0.032628812, -0.0398259, 0.124816954, 0.10254738) * go_2(0.0, 1.0);
|
|
result += mat4(0.05892028, 0.014137905, -0.07128729, 0.11104966, -0.05478398, -0.05298077, -0.17213196, -0.15966077, 0.085253194, -0.041901764, -0.0047290125, -0.15192038, 0.010950019, 0.103487924, 0.057453156, 0.19038135) * go_2(1.0, -1.0);
|
|
result += mat4(0.015610098, 0.075018175, 0.0012223121, 0.02704537, -0.059558786, -0.00981017, 0.035760045, 0.026199872, -0.07363584, -0.005702127, -0.002411957, -0.024275424, 0.104548156, 0.02570165, -0.027506622, 0.1147194) * go_2(1.0, 0.0);
|
|
result += mat4(-0.025113866, -0.0028404803, -0.09208876, -0.018119304, 0.060479216, 0.054358874, -0.0009980871, -0.06746933, -0.005560316, -0.09528241, 0.04668353, 0.102816455, 0.007219119, 0.12849133, 0.03796823, -0.07405976) * go_2(1.0, 1.0);
|
|
result += mat4(0.025279725, -0.2086932, -0.104468234, -0.018136755, -0.030640496, 0.023590315, -0.03503084, -0.006554279, 0.018687204, 0.059086647, 0.02467806, 0.004853845, -0.053034738, 0.015948862, 0.0058519407, -0.013386711) * go_3(-1.0, -1.0);
|
|
result += mat4(-0.14925107, -0.0009474308, 0.1585367, -0.012372946, -0.044659458, -0.053634737, -0.05216601, -0.0592839, -0.054201476, -0.015165192, -0.17266753, -0.024070794, 0.11370013, 0.031887148, 0.057068843, 0.15175273) * go_3(-1.0, 0.0);
|
|
result += mat4(0.1118406, 0.02640981, -0.15138902, 0.06516595, -0.05368937, 0.018493345, -0.06337737, -0.012523588, -0.030711057, -0.004243965, -0.10415173, -0.1297656, 0.036850087, 0.031256188, -0.06911153, -0.002682897) * go_3(-1.0, 1.0);
|
|
result += mat4(-0.042692896, -0.08249505, 0.19178525, -0.19799644, 0.10422664, 0.04309992, -0.021501752, -0.07692858, -0.01206334, -0.02407162, -0.036461856, -0.041852392, -0.076257735, 0.11912031, 0.005696978, -0.042241532) * go_3(0.0, -1.0);
|
|
result += mat4(-0.02871122, -0.275253, -0.06026321, 0.041147415, 0.00022554948, -0.1900363, 0.013367722, 0.011928886, 0.073590994, 0.026705895, 0.055335205, 0.08072782, -0.055277143, -0.15064028, 0.011789763, -0.16611154) * go_3(0.0, 0.0);
|
|
result += mat4(0.05368454, -0.10991119, 0.051114134, 0.11979519, 0.013257083, -0.005322003, 0.08496699, -0.05037192, 0.09517694, 0.12286991, 0.05019745, -0.0038502123, 0.08148237, -0.06907752, 0.0064364313, 0.06999926) * go_3(0.0, 1.0);
|
|
result += mat4(-0.052517924, -0.14661871, -0.056497082, 0.1144383, -0.017861186, -0.0060358653, -0.1314563, -0.025628474, -0.09131563, 0.047019433, 0.050449356, 0.04904481, -0.03492852, -0.009225151, 0.039983496, -0.036155675) * go_3(1.0, -1.0);
|
|
result += mat4(-0.08112401, 0.012658392, 0.16082676, 0.08919791, 0.07435944, -0.106316976, -0.010990006, -0.022582484, -0.0007324526, 0.18405382, 0.117646195, 0.009590701, -0.05057144, -0.08963242, -0.091133885, -0.06288282) * go_3(1.0, 0.0);
|
|
result += mat4(0.041868895, 0.012034553, -0.08494676, 0.032575436, 0.010422759, 0.06013177, -0.018280506, -0.059219655, 0.025697298, 0.11670765, 0.04770585, -0.0034011765, -0.04785896, -0.000260945, 0.024434252, 0.07608657) * go_3(1.0, 1.0);
|
|
result += mat4(0.0487557, 0.043031365, 0.02341455, 0.036415786, -0.053806238, 0.07092269, 0.10875814, -0.092647836, 0.014732621, -0.0010029125, -0.07482472, 0.016473573, -0.034810837, 0.079141185, 0.1312811, -0.036030013) * go_4(-1.0, -1.0);
|
|
result += mat4(0.010378125, 0.012537317, 0.06153961, 0.09208961, -0.0007830361, -0.060240563, -0.13480729, -0.13885787, -0.14105716, 0.04920337, -0.031995706, -0.13736074, 0.18244028, -0.0071414276, -0.17461161, 0.06479701) * go_4(-1.0, 0.0);
|
|
result += mat4(-0.038390495, 0.055263612, 0.02370651, -0.04647334, 0.11870489, -0.06032031, -0.19890672, 0.021211248, -0.14139023, -0.052458048, -0.0075077745, -0.022109684, 0.102123305, -0.08499851, 0.029855985, 0.024451595) * go_4(-1.0, 1.0);
|
|
result += mat4(0.09861641, 0.0069827167, 0.011803958, -0.026153803, -0.0060246573, -0.03787462, 0.043360688, 0.012235505, 0.017045997, -0.256788, 0.017880265, -0.034849543, -0.111704394, 0.17131205, 0.101895064, -0.15821253) * go_4(0.0, -1.0);
|
|
result += mat4(-0.08342609, -0.10629229, -0.015619444, -0.06318196, -0.115525015, -0.022523794, -0.027760634, -0.074508704, -0.046273187, 0.09818472, -0.02930276, 0.14277627, 0.15965527, 0.039112113, -0.16981691, -0.039574727) * go_4(0.0, 0.0);
|
|
result += mat4(-0.076295614, 0.002619374, -0.084814966, -0.06804759, 0.074534595, -0.11113554, 0.10076573, -0.13119984, 0.11308077, 0.111851715, -0.044262107, -0.0763218, -0.08360489, -0.10004514, 0.054715097, -0.119938605) * go_4(0.0, 1.0);
|
|
result += mat4(0.028483238, -0.020847226, 0.018413404, -0.02044137, -0.020564802, -0.046718765, 0.008471827, 0.119635455, -0.10286575, -0.11242132, 0.040438928, 0.18718356, 0.10018274, -0.13947287, -0.05125511, -0.024061255) * go_4(1.0, -1.0);
|
|
result += mat4(-0.036925066, 0.072045416, -0.05890915, -0.03136949, 0.06360041, -0.044191074, -0.20800789, 0.13599691, -0.051647387, -0.039340172, 0.02642389, -0.07103979, 0.15048401, -0.08553134, -0.008369293, -0.13114177) * go_4(1.0, 0.0);
|
|
result += mat4(-0.006130381, 0.04878346, -0.03107036, 0.03386889, 0.007767785, 0.009589193, -0.016151797, -0.06341557, -0.0420232, -0.020952266, 0.13160032, 0.08174703, -0.024778334, 0.05628847, -0.16828674, -0.021963263) * go_4(1.0, 1.0);
|
|
result += mat4(-0.10537195, -0.05939119, -0.025755845, 0.028216267, -0.071175165, -0.03789729, 0.0989378, 0.09601511, -0.063779436, -0.0053181713, 0.11608942, 0.037121516, 0.033576798, 0.032970928, -0.057529524, 0.0032640323) * go_5(-1.0, -1.0);
|
|
result += mat4(0.14286838, -0.1736398, -0.14800534, -0.08191206, -0.03953447, 0.23950607, -0.08597526, 0.08467724, -0.026279557, 0.05087598, -0.018359046, -0.059996203, -0.05042417, -0.07892299, -0.008090301, 0.08850499) * go_5(-1.0, 0.0);
|
|
result += mat4(-0.050231155, 0.022899833, -0.07956835, 0.056238122, 0.03741446, -0.033486012, -0.013336828, -0.039197847, 0.060159415, 0.12715352, -0.006698417, 0.006547076, -0.042515744, -0.027913654, 0.106082916, 0.078032985) * go_5(-1.0, 1.0);
|
|
result += mat4(-0.049618073, -0.034503065, 0.11388358, 0.17953554, -0.033589587, 0.036219664, 0.13397391, 0.14855874, 0.03990018, 0.13616882, 0.099754974, 0.24648736, 0.10884145, -0.27241188, -0.117821656, 0.0017401687) * go_5(0.0, -1.0);
|
|
result += mat4(0.021536272, 0.08642576, 0.037195385, -0.10996606, 0.12408479, 0.20812504, -0.036405202, 0.021270754, 0.002413637, -0.02607408, 0.047168825, -0.13180013, 0.08296119, 0.02184476, -0.04683944, 0.09263053) * go_5(0.0, 0.0);
|
|
result += mat4(-0.015811976, 0.032513253, 0.01968631, -0.006789273, -0.067220315, 0.018724639, 0.12747523, -0.08240558, 0.118411385, 0.11782252, -0.09517592, 0.12042714, -0.18742143, -0.036123615, 0.10736133, -0.08510149) * go_5(0.0, 1.0);
|
|
result += mat4(-0.104765184, 0.045517094, 0.041404158, -0.022314396, 0.003119899, -0.012113332, 0.06884947, 0.011183224, -0.050625607, 0.13943316, -0.033125933, 0.13191839, 0.023964286, 0.09083119, -0.099653915, 0.1721858) * go_5(1.0, -1.0);
|
|
result += mat4(0.06667882, 0.0877956, -0.1648527, -0.019580912, 0.03860593, -0.0009395115, 0.19213086, 0.0078106583, 0.0988048, 0.00043990058, -0.04125728, 0.0703245, -0.122475274, -0.033983942, -0.054373935, 0.14734876) * go_5(1.0, 0.0);
|
|
result += mat4(-0.056236964, -0.0061519835, -0.11115169, -0.05109547, 0.012102874, -0.108630724, -0.06607494, -0.15338409, 0.08441223, 0.015194968, -0.08372225, -0.016544623, -0.09700588, -0.05880861, 0.048582815, 0.076476656) * go_5(1.0, 1.0);
|
|
result += mat4(0.13776554, -0.052936643, 0.019647487, 0.0803212, -0.05559324, 0.035937853, -0.09924392, -0.11537048, -0.031881984, -0.13222241, -0.14957231, 0.022755388, -0.027397433, -0.03289762, 0.14141852, -0.03856619) * go_6(-1.0, -1.0);
|
|
result += mat4(-0.027278412, -0.08284734, -0.0026741424, -0.15944882, -0.13501692, 0.13683084, -0.08532989, -0.11161998, -0.054424882, 0.05800376, 0.006450865, -0.043620687, 0.08602417, -0.0441996, 0.032869156, -0.14823464) * go_6(-1.0, 0.0);
|
|
result += mat4(-0.009657575, 0.019114481, -0.017283678, -0.010072907, 0.04887251, 0.12496577, -0.011754461, 0.050500505, -0.013373958, 0.013354773, 0.029242652, -0.1336298, -0.1537079, 0.05677135, -0.00025009143, -0.07087617) * go_6(-1.0, 1.0);
|
|
result += mat4(-0.064487666, 0.3833942, 0.07499888, -0.07232146, -0.012026644, -0.28024527, -0.11542901, 0.0335399, -0.14551026, 0.07706906, -0.32337436, 0.1916734, -0.04155362, 0.12416085, 0.124845795, 0.173139) * go_6(0.0, -1.0);
|
|
result += mat4(0.073898025, -0.20087442, -0.026177447, -0.123689614, -0.06462293, 0.0655268, -0.093947105, 0.15252167, -0.049044438, -0.2487094, -0.10678368, 0.06719891, 0.030771753, -0.033488646, -0.06087604, -0.0046983394) * go_6(0.0, 0.0);
|
|
result += mat4(0.07337105, 0.012125323, 0.062068686, 0.014573014, -0.028191693, -0.0072010173, -0.10830296, -0.031032234, 0.017278565, 0.15247606, -0.03729882, -0.25167194, 0.018314663, 0.11340456, 0.12664345, 0.06373048) * go_6(0.0, 1.0);
|
|
result += mat4(0.10123864, 0.034113098, 0.12163688, -0.08201487, -0.06636731, 0.011072298, -0.07743282, -0.05912393, -0.062030002, -0.03242518, -0.14500205, 0.044862285, -0.02253723, 0.09928088, 0.21793252, 0.33012655) * go_6(1.0, -1.0);
|
|
result += mat4(0.02993751, 0.014383746, 0.06966778, 0.047888804, 0.07005458, 0.004509543, -0.06742165, 0.11573537, -0.1739774, -0.03920193, -0.18702276, 0.0046526985, 0.19641514, 0.13161592, 0.3338964, 0.08452334) * go_6(1.0, 0.0);
|
|
result += mat4(0.04609854, -0.015881665, -0.0079294285, 0.02657861, 0.15499793, 0.060544066, -0.15108198, 0.0006550436, -0.21288556, 0.013537893, -0.14667915, -0.13764863, 0.111430466, 0.098313995, 0.03934866, -0.040709537) * go_6(1.0, 1.0);
|
|
result += mat4(0.01575557, 0.110365376, -0.0371288, 0.053251684, 0.010210395, 0.069207594, 0.13639836, 0.032031704, 0.010463397, -0.012524667, 0.0056991763, 0.06042959, -0.045757174, 0.016123615, 0.032560863, -0.044926804) * go_7(-1.0, -1.0);
|
|
result += mat4(0.032096278, 0.12145507, 0.0071361787, 0.0064054704, 0.07929854, 0.14626405, 0.08352755, -0.064157896, 0.02674838, 0.0015989342, 0.017253343, 0.017584372, 0.06415425, 0.032211386, 0.052425314, -0.021224096) * go_7(-1.0, 0.0);
|
|
result += mat4(-0.0028588485, 0.008395203, 0.05465568, 0.07570458, -0.04314793, -0.026629142, -0.070622325, -0.09546035, 0.11359681, -0.13417086, 0.032110628, -0.03228526, -0.04069246, -0.025096787, 0.091136, -0.031508237) * go_7(-1.0, 1.0);
|
|
result += mat4(-0.09640368, 0.09025797, 0.039918896, -0.08550936, 0.17817599, 0.010808411, 0.20817462, -0.048559044, -0.020850636, -0.0570374, 0.16348915, -0.11251555, -0.015105217, 0.057098076, 0.04712703, 0.054102197) * go_7(0.0, -1.0);
|
|
result += mat4(0.14738365, -0.003500714, -0.13826074, -0.018422294, -0.060285367, -0.030951712, -0.011562778, -0.06650357, -0.023934143, 0.1775326, -0.15267935, -0.1525161, 0.07560726, -0.025668195, 0.023556855, -0.041194014) * go_7(0.0, 0.0);
|
|
result += mat4(0.029139442, -0.003239477, -0.08716659, 0.111837566, -0.008657237, 0.07745439, 0.040037196, -0.041069187, -0.11329177, -0.011007481, -0.05310564, 0.09779084, -0.09008995, -0.0243168, 0.037338905, -0.09701394) * go_7(0.0, 1.0);
|
|
result += mat4(-0.07903009, 0.093667746, 0.19312528, 0.08381446, 0.011933956, 0.106154636, -0.032793045, 0.035009373, -0.07801917, 0.045270134, 0.06788217, 0.0048924587, -0.044558134, 0.011507075, 0.018017467, -0.055140316) * go_7(1.0, -1.0);
|
|
result += mat4(0.16976239, -0.01553003, -0.01705739, 0.03858596, -0.0049418295, -0.112970755, 0.017095435, 0.012749947, 0.1280551, 0.046251047, 0.09894141, -0.04999836, -0.066941515, -0.018410202, 0.012274112, -0.05253831) * go_7(1.0, 0.0);
|
|
result += mat4(0.04575793, -0.028374217, 0.11475964, 0.12535663, -0.008098015, 0.06414253, 0.07119174, -0.011589727, -0.027308455, -0.064502135, 0.058660276, 0.079647355, -0.07786305, -0.0028918532, 0.08662991, 0.009141603) * go_7(1.0, 1.0);
|
|
result += mat4(-0.06572758, -0.02787416, -0.14234906, -0.017296555, 0.015555612, -0.14367816, 0.008122512, 0.006957724, -0.028010411, -0.036744803, 0.043893453, -0.011008589, 0.12574135, -0.04283378, -0.090457834, -0.07553403) * go_8(-1.0, -1.0);
|
|
result += mat4(-0.008518568, 0.07606125, -0.12869376, -0.052043673, -0.10871805, -0.013065079, -0.05764756, -0.021367943, 0.01955864, 0.033401143, -0.10848553, 0.07305825, -0.12323872, -0.18032722, 0.025824886, -0.15020397) * go_8(-1.0, 0.0);
|
|
result += mat4(-0.0037121738, -0.035729762, 0.050816752, 0.043678828, 0.03746141, 0.06848011, 0.022104677, -0.0055997795, 0.076091535, 0.004378326, 0.03515638, 0.021983122, 0.07813193, -0.0015230721, 0.09065004, 0.118295476) * go_8(-1.0, 1.0);
|
|
result += mat4(0.07074412, -0.1385215, -0.12606207, 0.028609358, -0.011605522, -0.09430896, 0.07647415, 0.026507745, -0.08281215, 0.042676542, 0.053245913, 0.2207012, -0.062067375, -0.0870901, -0.074340336, -0.09469978) * go_8(0.0, -1.0);
|
|
result += mat4(0.07762102, -0.040280715, -0.07493023, -0.1318729, -0.07614616, 0.07465706, 0.011662431, 0.13781011, -0.022527393, 0.035745207, -0.096200824, 0.0070643346, 0.043660577, -0.11191488, -0.03138543, 0.090094075) * go_8(0.0, 0.0);
|
|
result += mat4(-0.013964887, 0.010363963, 0.07191262, -0.0829104, 0.17538683, -0.033144612, -0.02125791, -0.011518183, -0.09983863, -0.025616664, -0.09147105, -0.053669717, -0.21337317, -0.15354706, -0.0718448, -0.22304805) * go_8(0.0, 1.0);
|
|
result += mat4(0.04420056, -0.10090975, 0.031569947, 0.03470538, -0.0036813458, -0.013265455, -0.056889914, 0.1066524, 0.0151702, 0.06005157, -0.017583331, 0.08430038, -0.018501299, -0.036312968, -0.010277279, -0.21999538) * go_8(1.0, -1.0);
|
|
result += mat4(0.04087802, 0.14486237, -0.03799331, -0.0926625, -0.06845606, -0.028196352, 0.027009577, 0.055904035, 0.010555561, 0.014958373, -0.03274619, -0.077591404, 0.033812538, 0.019690458, 0.03359833, -0.28944182) * go_8(1.0, 0.0);
|
|
result += mat4(0.11647528, 0.12951498, -0.05771055, -0.091486864, 0.034907598, -0.0030996082, 0.08349837, -0.022960749, 0.021309365, 0.027397644, 0.06503892, -0.024195915, -0.07038017, -0.110640444, 0.08167904, -0.053956065) * go_8(1.0, 1.0);
|
|
result += mat4(0.04372187, -0.014890846, 0.030876832, 0.005183268, -0.03773493, -0.0049523655, -0.13056865, 0.011849769, -0.035963655, 0.086398676, 0.10399313, 0.121177845, 0.062307674, 0.014804274, 0.13519627, -0.15734093) * go_9(-1.0, -1.0);
|
|
result += mat4(0.06270554, -0.10448038, 0.10387433, 0.037096098, 0.06353613, -0.2087482, -0.09397193, 0.101207666, -0.071682766, -0.20635937, 0.06152001, 0.0775382, -0.029367838, -0.049260423, -0.015819404, -0.22794764) * go_9(-1.0, 0.0);
|
|
result += mat4(-0.07975611, -0.13066694, 0.062664986, 0.08108414, -0.012226212, 0.075787455, -0.028298862, -0.047599275, 0.037168268, 0.13499227, -0.046876244, -0.0004290019, -0.07614362, -0.018529575, 0.029900322, -0.2140864) * go_9(-1.0, 1.0);
|
|
result += mat4(-0.004233121, 0.019047871, 0.030410836, -0.118899375, 0.029905774, -0.19907829, -3.0031915e-05, -0.061281253, -0.041311514, -0.047355343, -0.03591193, -0.036588125, -0.14483295, 0.125592, -0.051161528, -0.18530564) * go_9(0.0, -1.0);
|
|
result += mat4(-0.0013798283, 0.03669605, -0.05334034, -0.0057405806, -0.10062645, -0.03173633, 0.16853282, -0.27611253, -0.021475406, 0.031351935, 0.010960391, 0.140291, 0.20861414, -0.015575703, -0.05138634, 0.2110561) * go_9(0.0, 0.0);
|
|
result += mat4(-0.033924203, 0.03210479, 0.06908555, 0.054515798, 0.07332254, -0.11803057, -0.1892179, -0.11876434, 0.12660997, 0.2300797, -0.050066598, -0.17719114, -0.1316707, -0.11148541, -0.21429071, -0.28844672) * go_9(0.0, 1.0);
|
|
result += mat4(0.0801727, 0.014109311, 0.026903018, -0.036585886, -0.08323533, 0.001177735, 0.08436438, -0.03467472, -0.011911298, 0.007684363, 0.08533035, 0.05779875, -0.04243151, -0.038369488, 0.087331034, 0.042095695) * go_9(1.0, -1.0);
|
|
result += mat4(0.017717937, -0.033807732, 0.18295978, -0.08258257, 0.0053144027, -0.08301678, 0.103598915, 0.010985296, 0.16911945, -0.098946266, -0.045162726, -0.027147137, 0.09161604, 0.028441563, -0.00619679, 0.056958336) * go_9(1.0, 0.0);
|
|
result += mat4(0.017140677, -0.051757205, -0.015921509, 0.007633061, 0.12797745, -0.06414448, -0.009600306, -0.0015806507, 0.012253577, 0.02996018, -0.06196286, -0.0798213, -0.01852956, -0.09650337, 0.1283044, -0.04131959) * go_9(1.0, 1.0);
|
|
result += mat4(-0.019013386, -0.01101409, 0.0018240294, 0.09458199, -0.0052628797, 0.0103022875, -0.17696817, 0.021219578, -0.040432002, 0.006109138, 0.043556165, -0.020321526, 0.06994259, -0.045879155, 0.0074202423, -0.07321243) * go_10(-1.0, -1.0);
|
|
result += mat4(-0.13378519, 0.113363676, 0.10865509, -0.09366422, -0.07324081, 0.0029385458, -0.15210779, 0.07633753, 0.045514844, -0.0017260545, 0.034837127, -8.464822e-05, -0.045607667, 0.116768576, 0.07218652, -0.047912564) * go_10(-1.0, 0.0);
|
|
result += mat4(0.006481794, 0.09362028, 0.047157843, 0.0010180526, 0.029228318, 0.01581854, -0.13255803, 0.073627606, 0.09431813, 0.07132061, 0.07039797, -0.00284305, -0.08673728, 0.015395145, -0.15833478, -0.047947306) * go_10(-1.0, 1.0);
|
|
result += mat4(0.009914312, -0.16487928, -0.15010275, -0.28573194, -0.070994526, -0.07262389, -0.2207336, 0.056930132, -0.17332745, -0.07003511, 0.09353054, -0.09416084, 0.03118232, 0.15372173, -0.026521757, 0.123656) * go_10(0.0, -1.0);
|
|
result += mat4(-0.14514378, -0.03083442, 0.0016703903, -0.07165909, 0.081610695, -0.0014907691, 0.009103694, 0.011212978, -0.1061739, -0.0379394, 0.05888639, -0.10466225, -0.13205664, 0.074252844, 0.0032393865, -0.02634363) * go_10(0.0, 0.0);
|
|
result += mat4(-0.026916346, 0.008441376, 0.059570994, -0.12664525, 0.12565126, -0.07785502, -0.122168474, -0.030150527, 0.11903849, -0.0992599, 0.18073174, 0.051767893, -0.14959627, 0.004044785, 0.15121861, 0.16206947) * go_10(0.0, 1.0);
|
|
result += mat4(0.03653998, -0.024239745, 0.02813314, -0.015828544, -0.04878819, -0.07809865, -0.006367401, 0.007630891, 0.0981032, -0.015401163, 0.06639808, 0.097982354, -0.115853764, 0.07017812, 0.10402508, -0.011182731) * go_10(1.0, -1.0);
|
|
result += mat4(0.06496927, -0.018879699, 0.007150441, 0.09561157, -0.03019065, 0.06516263, -0.09582105, 0.049994342, 0.00073441875, 0.03121817, 0.06486874, -0.018686142, 0.017000668, 0.057988003, -0.0027845122, 0.10805613) * go_10(1.0, 0.0);
|
|
result += mat4(-0.03881939, 0.076584905, -0.01492404, 0.033622492, -0.11037585, -0.07232699, -0.08808092, -0.096008874, 0.07500696, 0.004172255, -0.01156086, -2.6804833e-05, -0.10544993, 0.0137853585, 0.13452797, 0.10919218) * go_10(1.0, 1.0);
|
|
result += mat4(0.1067839, 0.11458547, -0.15210697, 0.106905654, -0.07013997, 0.02439542, -0.03617087, 0.08792794, -0.026095055, -0.113202445, -0.061814103, -0.057736594, -0.0825329, 0.016664699, 0.12505697, -0.07956851) * go_11(-1.0, -1.0);
|
|
result += mat4(-0.0023664774, 0.030477716, -0.011014069, 0.11375161, 0.0972406, -0.1296506, 0.020159204, 0.19450316, -0.14332211, 0.1794009, 0.07538832, 0.22721584, -0.04874296, 0.043102115, 0.030196369, 0.013487852) * go_11(-1.0, 0.0);
|
|
result += mat4(0.06857275, 0.10448576, -0.013017544, 0.07311069, 0.101253785, -0.11299885, -0.035548594, 0.13139476, 0.0020682, -0.14186527, 0.044361796, 0.078766696, 0.06331404, 0.13389412, -0.04084606, -0.0872372) * go_11(-1.0, 1.0);
|
|
result += mat4(0.05418989, -0.09774494, -0.05101834, 0.06209719, 0.0017429863, 0.07042637, 0.056179468, 0.08281986, -0.13659456, -0.09141693, -0.026036166, -0.20621227, 0.16456048, -0.010656735, 0.0590252, 0.02991398) * go_11(0.0, -1.0);
|
|
result += mat4(-0.05809635, 0.026004037, 0.105304465, 0.1478988, -0.124559194, -0.13915893, -0.07614174, -0.030510869, -0.023634667, -0.07030466, -0.11203651, 0.10693823, 0.0061113364, -0.18696493, 0.13469142, -0.113276646) * go_11(0.0, 0.0);
|
|
result += mat4(0.23620829, 0.15531069, 0.12814721, 0.12327402, 0.0057051536, -0.09845884, -0.0878965, 0.20906226, -0.018309865, -0.098378375, 0.18283126, -0.043777615, 0.1285454, -0.07850623, -0.17400229, -0.23010467) * go_11(0.0, 1.0);
|
|
result += mat4(-0.04278017, 0.016623903, -0.10238115, 0.001230995, 0.034115463, -0.03978448, -0.016921068, -0.0013315293, 0.051550284, -0.08364091, 0.07625796, 0.034139283, -0.017048268, 0.0010402843, 0.01368044, 0.0369401) * go_11(1.0, -1.0);
|
|
result += mat4(-0.20118453, 0.019896206, 0.17102875, -0.027242621, 0.011553064, 0.07881877, -0.1011587, -0.036561944, -0.18488441, 0.033972885, 0.16720103, 0.023408182, 0.0817855, -0.029636094, 0.07032277, -0.27195182) * go_11(1.0, 0.0);
|
|
result += mat4(0.074986465, 0.0776098, 0.0077854274, -0.0011979108, -0.06837842, 0.050415438, 0.03322783, 0.11533592, -0.09028456, -0.014625525, 0.021684105, -0.025572475, 0.18052468, 0.11677459, -0.07460317, 0.07732749) * go_11(1.0, 1.0);
|
|
result += vec4(0.10080894, -0.0063164784, -0.01402726, 0.1341257);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x120
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_21_tf
|
|
//!BIND conv2d_21_tf1
|
|
//!BIND conv2d_21_tf2
|
|
//!BIND conv2d_21_tf3
|
|
//!BIND conv2d_21_tf4
|
|
//!BIND conv2d_21_tf5
|
|
//!BIND conv2d_23_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!BIND conv2d_16_tf
|
|
//!BIND conv2d_19_tf
|
|
//!BIND conv2d_22_tf
|
|
//!SAVE conv2d_24_tf
|
|
//!WIDTH conv2d_21_tf.w
|
|
//!HEIGHT conv2d_21_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_21_tf_tex(conv2d_21_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_21_tf1_tex(conv2d_21_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_21_tf2_tex(conv2d_21_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_21_tf3_tex(conv2d_21_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_21_tf4_tex(conv2d_21_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_21_tf5_tex(conv2d_21_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_21_tf_tex(conv2d_21_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_21_tf1_tex(conv2d_21_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_21_tf2_tex(conv2d_21_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_21_tf3_tex(conv2d_21_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_21_tf4_tex(conv2d_21_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_21_tf5_tex(conv2d_21_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_24 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_25 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_26 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_27 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_28 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
|
|
#define g_29 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.10701419, -0.19440664, -0.13657895, -0.117495134, 0.11351926, -0.08210127, 0.0051790676, 0.22163984, -0.12849367, -0.118760884, 0.028440215, 0.06271742, -0.05561763, -0.16148782, -0.052592654, -0.22535303) * g_0;
|
|
result += mat4(-0.123711504, -0.14676294, -0.115391895, 0.080983736, -0.017832119, -0.063273184, 0.059941225, -0.049034536, -0.052219674, 0.036749475, -0.29203734, -0.02856495, 0.22648478, 0.015175415, 0.21293166, -0.20832887) * g_1;
|
|
result += mat4(-0.081328556, 0.07598546, -0.13756523, -0.06107587, 0.25113305, -0.11791683, 0.113452606, -0.0078082574, -0.07442993, -0.2974806, -0.056567345, -0.21749294, 0.013611423, -0.032841083, -0.076977916, 0.19821857) * g_2;
|
|
result += mat4(0.10560456, 0.015013695, 0.13627833, 0.032404233, -0.02131817, -0.14500482, 0.120675825, 0.031823736, 0.11649639, 0.082596324, 0.08127175, -0.026048733, -0.012239797, 0.08369006, 0.1273803, 0.12210886) * g_3;
|
|
result += mat4(-0.0892015, 0.07059692, 0.069719285, -0.061874084, 0.044701215, 0.09245424, -0.022817707, -0.02148644, 0.18068357, -0.11995518, 0.24286029, -0.045054384, 0.07323844, 0.06554761, -0.16207513, 0.07595062) * g_4;
|
|
result += mat4(0.18337601, 0.07568856, -0.09610938, -0.06572019, -0.23225725, -0.045913246, -0.16005549, 0.10841484, -0.047294065, -0.0044971597, -0.11600348, -0.0985696, 0.01994268, 0.009345386, -0.12112187, -0.07728449) * g_5;
|
|
result += mat4(-0.02642385, 0.12577803, 0.18099304, 0.09237617, -0.14517787, 0.015473747, 0.01148567, -0.1976294, 0.13244452, 0.026473833, -0.04026099, -0.08005897, 0.09972515, 0.014148667, 0.17150447, 0.07458103) * g_6;
|
|
result += mat4(0.103025176, -0.14280592, 0.011362381, -0.002615672, -0.0019504991, -0.1244238, -0.176323, -0.0409311, -0.13593708, 0.09121169, 0.16169107, 0.064790055, -0.17050834, 0.004790829, -0.20973155, 0.040783066) * g_7;
|
|
result += mat4(-0.08482106, -0.06313967, 0.053659916, -0.045122232, -0.173445, -0.10196347, -0.21512675, 0.030526979, -0.04609878, 0.02864437, -0.13620801, -0.05330683, 0.10560492, -0.086872876, 0.2332013, -0.11290048) * g_8;
|
|
result += mat4(-0.12032245, 0.083415076, 0.013942395, 0.12558693, -0.09643306, -0.08665224, -0.08364215, -0.15714419, -0.012963433, -0.018926837, 0.17045903, -0.03450577, 0.05467565, 0.1176962, -0.029627452, -0.17721933) * g_9;
|
|
result += mat4(0.06413174, 0.07644954, 0.015619154, 0.0406442, -0.09510097, 0.082857184, 0.07081759, -0.06094168, -0.10623127, 0.11465217, -0.21940763, 0.06440103, -0.14007917, -0.20644121, 0.062006976, -0.21401502) * g_10;
|
|
result += mat4(-0.090416506, -0.118475, 0.14939576, -0.01684449, 0.14943695, 0.03052435, 0.080091365, -0.0773867, 0.12932321, 0.12060135, 0.14845312, 0.04718311, 0.13032377, -0.16439119, 0.048975646, -0.118689515) * g_11;
|
|
result += mat4(-0.14264718, -0.20367233, -0.10508499, 0.014003226, 0.122711256, 0.12533264, -0.20902152, -0.08875033, -0.13099793, -0.022472287, 0.17604207, -0.13671063, -0.040429622, 0.6475939, -0.017244961, -0.23879616) * g_12;
|
|
result += mat4(0.1600574, -0.18023758, 0.1184686, 0.1348991, 0.037446063, -0.011027512, 0.17671643, -0.199355, 0.2725076, -0.20256595, -0.099972546, 0.23075041, -0.18912004, -0.008967372, 0.040337812, 0.0011864579) * g_13;
|
|
result += mat4(-0.0153634995, 0.02991675, -0.07471954, 0.025803613, -0.18960874, -0.23163852, -0.010988217, 0.22258236, 0.45717034, -0.041301187, 0.059016965, -0.1418097, -0.42032385, -0.009557171, 0.18662642, -0.11312428) * g_14;
|
|
result += mat4(-0.043423057, 0.18310834, 0.2572519, 0.1374164, 0.1505133, 0.18733694, -0.23037662, -0.10971462, -0.32504216, 0.15508054, 0.15461947, -0.3731339, 0.58277595, -0.2969173, 0.084127784, 0.054632857) * g_15;
|
|
result += mat4(-0.18833053, 0.3626468, -0.10378585, -0.18636744, -0.07215689, -0.0340568, -0.2014818, 0.39376506, 0.092539184, 0.019427503, 0.08621937, -0.029048063, 0.04170551, 0.03303338, 0.12886372, 0.22093524) * g_16;
|
|
result += mat4(0.13748164, -0.10530546, -0.059407894, 0.24885765, 0.25748453, -0.2322867, -0.047119506, 0.18135284, -0.12410837, 0.10820877, -0.076054335, 0.14305715, 0.07893051, 0.025212046, -0.06861065, -0.14078265) * g_17;
|
|
result += mat4(0.12955414, 0.10334285, -0.1339673, -0.07533481, -0.09940921, 0.07574928, -0.029290935, -0.0074044047, -0.047509745, 0.12616187, 0.15918884, 0.22636813, 0.0627, 0.13627514, -0.11840879, 0.25489545) * g_18;
|
|
result += mat4(0.12401844, 0.018437453, 0.14081988, 0.20443875, 0.22617432, -0.23241785, 0.019566217, -0.1470485, 0.06928665, -0.012560286, -0.11640072, -0.09635026, 0.19372395, -0.18137501, 0.095964, -0.36745393) * g_19;
|
|
result += mat4(-0.07812969, -0.13952559, -0.08575349, 0.1270944, -0.012434522, 0.09118943, -0.1844579, 0.057183933, 0.17054899, 0.055602986, 0.020217096, -0.17830917, 0.033711255, -0.040958434, -0.0656027, 0.08316588) * g_20;
|
|
result += mat4(0.008265117, -0.0440992, 0.18142514, -0.11072275, -0.035788976, 0.0045379996, 0.10519265, -0.0025924263, 0.1416068, -0.0076917615, -0.107548796, 0.14070505, 0.048619375, -0.08055219, 0.15124267, -0.14900993) * g_21;
|
|
result += mat4(0.023191221, -0.088463016, -0.03773182, 0.09279135, 0.030037321, -0.047114536, 0.0411644, 0.117513955, 0.02564984, 0.3634533, -0.07842253, 0.03945798, -0.09705065, -0.00073423475, -0.116537966, 0.09805546) * g_22;
|
|
result += mat4(0.16699894, 0.06968313, -0.025299484, 0.057924386, -0.13151881, -0.14149357, 0.019038316, -0.27727044, 0.02826252, -0.049611922, 0.19707511, 0.08938078, 0.107304506, -0.06147075, -0.021948906, 0.03686705) * g_23;
|
|
result += mat4(-0.012881243, -0.094086275, 0.23042965, -0.044305936, 0.07882307, 0.04138532, -0.04374878, -0.028959524, -0.014689813, -0.04448379, 0.033379626, -0.010935875, 0.049693886, -0.012109875, -0.07495743, 0.07254774) * g_24;
|
|
result += mat4(0.1349909, 0.113079466, -0.17218146, -0.082038075, -0.041794095, -0.12584618, 0.012202269, -0.07666811, 0.016668953, 0.16685286, 0.062669456, -0.02282906, 0.08557955, -0.07436991, 0.108987726, -0.02062727) * g_25;
|
|
result += mat4(0.0975699, -0.042854395, -0.27839357, -0.02017465, 0.07523807, 0.06038207, 0.19882318, -0.042623498, -0.1643381, -0.06454315, 0.12813903, 0.018587556, -0.07143471, -0.055071846, 0.007254701, 0.08625719) * g_26;
|
|
result += mat4(0.0040934216, 0.21434385, 0.15655868, 0.17250434, -0.0183287, 0.05514319, -0.19112857, -0.07169756, 0.37303272, -0.03185245, -0.052846085, -0.033713702, 0.057584986, 0.06311142, -0.20161806, 0.013350911) * g_27;
|
|
result += mat4(-0.12516226, 0.13068974, -0.00090003706, -0.27179503, 0.11163459, -0.018370617, -0.077084556, -0.37971583, 0.10331944, -0.077023275, -0.07891338, -0.012240651, -0.25734505, -0.061364602, 0.13029832, 0.23223366) * g_28;
|
|
result += mat4(0.16159123, -0.09218027, 0.054632008, 0.115622655, 0.027251892, 0.047268346, 0.11801297, 0.08485814, -0.29647812, 0.119895175, 0.19110309, 0.1580456, 0.16836183, -0.09640805, -0.14934723, -0.16124077) * g_29;
|
|
result += vec4(-0.009459555, 0.08955687, 0.06774535, 0.11750715);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x120
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_21_tf
|
|
//!BIND conv2d_21_tf1
|
|
//!BIND conv2d_21_tf2
|
|
//!BIND conv2d_21_tf3
|
|
//!BIND conv2d_21_tf4
|
|
//!BIND conv2d_21_tf5
|
|
//!BIND conv2d_23_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!BIND conv2d_16_tf
|
|
//!BIND conv2d_19_tf
|
|
//!BIND conv2d_22_tf
|
|
//!SAVE conv2d_24_tf1
|
|
//!WIDTH conv2d_21_tf.w
|
|
//!HEIGHT conv2d_21_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_21_tf_tex(conv2d_21_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_21_tf1_tex(conv2d_21_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_21_tf2_tex(conv2d_21_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_21_tf3_tex(conv2d_21_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_21_tf4_tex(conv2d_21_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_21_tf5_tex(conv2d_21_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_21_tf_tex(conv2d_21_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_21_tf1_tex(conv2d_21_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_21_tf2_tex(conv2d_21_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_21_tf3_tex(conv2d_21_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_21_tf4_tex(conv2d_21_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_21_tf5_tex(conv2d_21_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_24 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_25 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_26 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_27 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_28 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
|
|
#define g_29 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.071940355, 0.2520996, 0.09685728, -0.0401572, -0.020982517, -0.04016773, 0.1032851, 0.15116775, -0.1194921, -0.13441806, -0.15435277, 0.00857813, 0.117160164, -0.013084895, -0.12161744, 0.044572134) * g_0;
|
|
result += mat4(0.082026035, -0.16376685, 0.045928918, -0.04447462, 0.10981917, 0.054794677, 0.07120542, 0.084866405, 0.045389425, -0.021687545, 0.028005822, -0.210078, 0.04063033, 0.115505874, -0.27422935, 0.21725571) * g_1;
|
|
result += mat4(0.22438343, 0.29941106, -0.012607681, 0.058178894, -0.08457912, -0.20864323, -0.07985059, 0.22438551, -0.06932785, 0.03345395, 0.28202337, 0.034280214, -0.1215527, 0.07437099, 0.20735577, -0.15139194) * g_2;
|
|
result += mat4(-0.14662248, 0.022648463, -0.005571487, -0.07256508, 0.06747346, 0.0043868935, 0.094813496, 0.10695963, -0.14902529, 0.063808665, -0.08206709, -0.060363546, -0.0005435626, -0.15917943, 0.061691567, 0.09855836) * g_3;
|
|
result += mat4(0.017799556, -0.009981281, -0.10833081, -0.13543043, -0.14525245, -0.06271629, 0.0726242, 0.07933559, -0.064622484, 0.08688535, -0.08111695, 0.013164932, 0.08823724, 0.006742534, -0.101684675, 0.017604306) * g_4;
|
|
result += mat4(-0.031298436, -0.08050973, -0.18454958, -0.07897026, -0.0374373, -0.23446067, 0.038722772, 0.014162436, -0.15375976, -0.2147507, -0.095423505, 0.20034626, 0.028895382, 0.039372966, 0.06964464, 0.10350529) * g_5;
|
|
result += mat4(0.21796271, -0.25407016, -0.098337315, -0.023319852, 0.030746967, 0.018345634, -0.010781914, -0.11792986, 0.28487346, 0.00467481, -0.040187147, 0.050997503, -0.060900237, 0.17249253, 0.055063184, -0.025005285) * g_6;
|
|
result += mat4(0.049115237, 0.09444041, 0.07742757, -0.004662866, -0.14920074, -0.15653574, 0.14555736, -0.07487493, 0.08641984, -0.06845398, -0.15090026, 0.14357427, -0.07476173, 0.009871881, 0.19720715, -0.08900054) * g_7;
|
|
result += mat4(-0.1306777, -0.12845808, 0.11419963, -0.006885182, 0.008033006, 0.06334985, -0.0060840836, -0.006333369, -0.02772289, -0.07669655, -0.07227849, 0.014051398, 0.111269996, -0.11380638, -0.10760507, -0.08484392) * g_8;
|
|
result += mat4(0.2309008, 0.0027662152, -0.036648475, -0.02116145, -0.052217614, -0.19290513, -0.08249262, 0.060923748, 0.1697141, 0.04970059, 0.11332741, -0.02550202, -0.055906452, 0.3661976, -0.09877092, 0.1200653) * g_9;
|
|
result += mat4(0.021928959, -0.050234713, 0.018235236, -0.050222646, 0.09582609, 0.021217717, -0.085548654, 0.10058183, -0.053230625, -0.082145125, 0.11671694, -0.07539133, -0.14239438, -0.13499749, -0.119287185, 0.11536136) * g_10;
|
|
result += mat4(0.14766274, 0.016457219, 0.14650516, -0.17780317, -0.0026669295, 0.25558603, 0.09041751, -0.0301739, 0.03781546, 0.31132954, 0.080671474, -0.066909626, 0.022474205, 0.031319484, -0.22102872, 0.18719581) * g_11;
|
|
result += mat4(0.08785325, 0.012904848, -0.16835691, -0.09674578, -0.25299898, 0.080151744, -0.04051892, -0.020169353, -0.16149361, 0.020387627, 0.12841122, -0.22339927, -0.18225776, 0.13121991, -0.094190426, -0.0002138417) * g_12;
|
|
result += mat4(-0.36095276, -0.21171942, 0.17676146, -0.022404185, 0.4154611, -0.19463924, -0.10602125, 0.2693611, 0.10176359, -0.150534, 0.018383717, 0.19981897, 0.14625713, -0.13406813, -0.16022418, 0.2644558) * g_13;
|
|
result += mat4(-0.06377917, 0.008183962, -0.006316106, -0.21600586, -0.26798826, -0.11782882, 0.06906469, -0.12426933, -0.27595305, 0.10574508, 0.3301182, -0.1685902, 0.17062853, 0.09983599, -0.08783116, 0.02585788) * g_14;
|
|
result += mat4(0.18317774, -0.12538116, -0.28490618, 0.08996663, 0.42957532, 0.26287696, 0.10370257, 0.14557624, 0.70839125, 0.28065285, 0.009297889, -0.080495015, -0.14877662, 0.15308489, 0.07313569, 0.1318443) * g_15;
|
|
result += mat4(0.08888086, -0.23179686, 0.17731842, 0.2988673, 0.021801222, -0.19859089, 0.011203003, -0.010040333, -0.054594494, -0.12354569, -0.21615268, 0.2763243, -0.099458195, -0.020375904, -0.13495544, 0.11390239) * g_16;
|
|
result += mat4(-0.09784923, 0.1944123, 0.2601614, -0.28403583, -0.12053281, 0.028450225, 0.35481617, -0.027033992, 0.12224312, 0.12257788, -0.03696105, -0.050443426, 0.19214073, -0.035758987, 0.17233865, -0.21286553) * g_17;
|
|
result += mat4(0.19778739, 0.19405492, 0.08939406, -0.06725612, 0.00286375, -0.071152225, 0.11470776, 0.1390715, -0.15622304, 0.06087436, 0.13643411, -0.046493623, 0.13816592, -0.13400874, -0.066770785, 0.09377127) * g_18;
|
|
result += mat4(0.093480326, 0.11511413, -0.014940799, -0.300682, -0.07999973, 0.03399139, 0.122863345, -0.21434176, 0.10897804, 0.0074770562, -0.007341148, -0.11243166, -0.030653583, 0.11616559, 0.018601365, -0.23593631) * g_19;
|
|
result += mat4(-0.07589857, -0.02816285, 0.10634287, -0.018159848, 0.10259108, 0.09316107, 0.114035785, 0.1632097, -0.16202134, 0.014525685, -0.057170212, 0.038775932, 0.18918377, 0.096198745, -0.26848194, 0.18337348) * g_20;
|
|
result += mat4(-0.2151602, 0.1066596, 0.14015315, -0.16308795, 0.11991323, 0.043978903, 0.0656563, 0.03562853, 0.1823667, 0.22206141, 0.09851152, 0.10862079, -0.1730631, 0.07102773, 0.17776415, -0.24044661) * g_21;
|
|
result += mat4(0.0060158237, -0.19177158, 0.10502828, -0.013080114, -0.08032154, 0.13057697, -0.076577656, 0.03263069, -0.11365605, -0.026887862, -0.09828686, -0.05051089, 0.04763855, 0.062761344, 0.013665174, 0.013192335) * g_22;
|
|
result += mat4(-0.024832191, 0.054555204, 0.04472656, 0.015691593, 0.042494036, 0.06770802, -0.016350098, -0.1738042, 0.18029715, 0.08776134, 0.1073352, -0.0917886, -0.083804026, 0.0037783678, 0.018796401, 0.011723983) * g_23;
|
|
result += mat4(-0.22104199, 0.046134423, -0.06569704, -0.19891003, 0.16334966, 0.3763836, -0.019122118, -0.19262604, 0.007953619, 0.035609093, -0.023634747, 0.05284935, 0.14042082, 0.012188833, -0.090246305, 0.09179504) * g_24;
|
|
result += mat4(0.03651659, 0.024162583, 0.04007273, 0.2573568, -0.09408693, -0.15685976, -0.052655444, 0.07787627, -0.052549917, 0.012946145, -0.17698365, 0.016063817, 0.09167271, -0.024874488, 0.07187681, 0.033850722) * g_25;
|
|
result += mat4(0.004172805, 0.022183372, -0.11286437, 0.08598362, -0.13067168, 0.16070427, 0.05422221, -0.029724583, -0.030735672, -0.00447319, 0.23366688, -0.016390052, 0.12756462, 0.24891639, 0.024162434, 0.080731995) * g_26;
|
|
result += mat4(0.089021474, -0.06563795, 0.27291998, -0.13451853, 0.122246146, 0.34007818, -0.18697657, 0.009945519, 0.05180866, -0.12638813, -0.1173521, -0.05986753, -0.0337749, 0.064504266, 0.0034679365, -0.1219767) * g_27;
|
|
result += mat4(-0.06837359, -0.07258382, 0.0140398, -0.07469804, 0.18686692, 0.19984262, -0.22008726, 0.26256636, -0.10768354, -0.18561411, 0.1427139, -0.030018665, 0.09759611, 0.103011966, 0.05294409, -0.016820678) * g_28;
|
|
result += mat4(-0.11673777, 0.051226504, -0.034002636, -0.2731483, -0.08450124, 0.31373835, 0.22628455, 0.03579624, 0.08832027, 0.11600223, -0.03500645, -0.23789707, -0.18811859, -0.2895229, -0.31334436, -0.09072995) * g_29;
|
|
result += vec4(0.028765388, 0.015914816, -0.010572618, -0.046241153);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x120
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_21_tf
|
|
//!BIND conv2d_21_tf1
|
|
//!BIND conv2d_21_tf2
|
|
//!BIND conv2d_21_tf3
|
|
//!BIND conv2d_21_tf4
|
|
//!BIND conv2d_21_tf5
|
|
//!BIND conv2d_23_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!BIND conv2d_16_tf
|
|
//!BIND conv2d_19_tf
|
|
//!BIND conv2d_22_tf
|
|
//!SAVE conv2d_24_tf2
|
|
//!WIDTH conv2d_21_tf.w
|
|
//!HEIGHT conv2d_21_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_21_tf_tex(conv2d_21_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_21_tf1_tex(conv2d_21_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_21_tf2_tex(conv2d_21_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_21_tf3_tex(conv2d_21_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_21_tf4_tex(conv2d_21_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_21_tf5_tex(conv2d_21_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_21_tf_tex(conv2d_21_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_21_tf1_tex(conv2d_21_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_21_tf2_tex(conv2d_21_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_21_tf3_tex(conv2d_21_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_21_tf4_tex(conv2d_21_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_21_tf5_tex(conv2d_21_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_24 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_25 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_26 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_27 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_28 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
|
|
#define g_29 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.092858694, -0.05931229, 0.08649155, -0.19388752, 0.09477594, -0.22718045, -0.1061536, -0.1075417, 0.070740245, -0.06802919, 0.011984387, 0.04561339, -0.123741224, 0.108184166, 0.08394222, -0.14939074) * g_0;
|
|
result += mat4(0.058254354, -0.0013696381, 0.016420096, -0.13577567, -0.08013081, -0.32121193, 0.10837322, -0.027337125, 0.006335759, -0.022232484, 0.08410539, -0.19057351, 0.124672756, 0.07544909, 0.25975785, -0.12386142) * g_1;
|
|
result += mat4(0.124638155, -0.047200475, 0.18284287, -0.066423684, -0.013056071, -0.10780445, -0.046076063, 0.16543722, 0.011813712, 0.18919142, -0.054241043, -0.14428662, -0.072056115, 0.22149223, 0.020946557, -0.19635367) * g_2;
|
|
result += mat4(-0.011655322, -0.02780763, -0.041065313, 0.07305037, 0.065463156, -0.055100318, 0.053504564, 0.12533133, 0.1791797, 0.07803201, 0.14791118, -0.17383428, -0.13258645, -0.057591084, -0.06590273, 0.24618948) * g_3;
|
|
result += mat4(-0.076750286, 0.16913669, -0.041372858, -0.04987621, -0.09025659, 0.04717571, 0.17061087, -0.0018001683, 0.088723816, -0.1515349, -0.09417965, 0.025807919, 0.10298056, -0.07137411, 0.0913601, -0.0032140615) * g_4;
|
|
result += mat4(0.076089844, -0.18487781, -0.031016396, 0.04298503, -0.07412648, -0.05946974, -0.029923726, -0.17263255, 0.044034805, 0.07122984, -0.022364214, -0.16337745, -0.3163445, 0.20027465, 0.006309955, -0.25441465) * g_5;
|
|
result += mat4(-0.05660039, -0.03776745, -0.062613666, 0.1953333, 0.027620526, -0.081940845, 0.13821705, -0.030160451, 0.30174896, -0.063806735, -0.21273777, -0.23096886, 0.028107658, -0.035367317, 0.06729705, 0.18349262) * g_6;
|
|
result += mat4(-0.024347452, -0.10386407, -0.0013563661, 0.09973845, 0.07293425, -0.04880119, -0.05229062, -0.18888217, 0.11884971, 0.05060733, -0.0013016739, 0.18116015, -0.038804606, 0.022207338, -0.043657467, 0.10695812) * g_7;
|
|
result += mat4(-0.16758966, 0.15170631, 0.12204208, 0.1287092, -0.032021195, -0.1063502, -0.08161841, -0.2446335, -0.02391331, -0.061028045, 0.13008249, 0.10459833, -0.04717144, 0.05381585, -0.33450723, 0.291269) * g_8;
|
|
result += mat4(0.07273305, 0.13187234, 0.04062448, 0.081797674, 0.00045577955, 0.09757571, -0.37391075, -0.17263971, 0.021420933, -0.07653126, 0.055799145, 0.04442693, 0.11818517, -0.044239108, 0.044269893, -0.41765675) * g_9;
|
|
result += mat4(0.018076504, -0.085451566, 0.09415942, 0.12273072, 0.41912425, -0.2747585, -0.07259103, 0.08299482, -0.20763668, 0.14662866, 0.026512189, -0.10415019, -0.09460718, 0.17926225, -0.1907316, -0.058848727) * g_10;
|
|
result += mat4(-0.13229714, 0.2401772, 0.08083883, 0.008972119, 0.090474635, 0.18910415, 0.14324625, 0.15242074, 0.16881411, -0.18706103, 0.1793161, -0.10074233, 0.2067493, -0.3289337, 0.13461551, 0.20269714) * g_11;
|
|
result += mat4(0.07219379, -0.11565219, 0.028837852, 0.26118317, -0.13906774, 0.10994847, 0.1192699, 0.097068354, -0.10574048, -0.010274859, -0.041781224, -0.0022481561, 0.12714253, -0.41399276, 0.19635102, -0.23090687) * g_12;
|
|
result += mat4(-0.100183904, -0.18720408, -0.13301018, 0.03502532, 0.031246057, -0.06721582, -0.17222083, -0.063806996, -0.08393857, -0.19553204, -0.05699341, -0.20882502, 0.048502672, -0.015325282, -0.14586648, 0.07136885) * g_13;
|
|
result += mat4(-0.09550682, -0.09559199, 0.0093339095, 0.20071933, -0.07908767, 0.19251561, -0.13115655, 0.0072511537, 0.14562629, -0.20998305, -0.2212794, 0.061366275, -0.10772557, 0.29247293, 0.25483248, -0.06853779) * g_14;
|
|
result += mat4(0.19130619, -0.08254158, -0.41616592, -0.12058406, 0.26799643, 0.018203866, 0.02795237, -0.026012532, -0.24163988, 0.27320904, 0.075838536, -0.43140167, 0.14748523, 0.2741325, 0.0313845, 0.0612638) * g_15;
|
|
result += mat4(0.32383236, -0.05585864, 0.087669775, -0.15189308, -0.07285363, -0.10978753, 0.038074855, -0.20369512, 0.0534748, 0.09033383, -0.3636552, 0.2022929, 0.1410257, 0.0006435122, 0.31075886, 0.09591187) * g_16;
|
|
result += mat4(-0.056077003, 0.22655378, -0.3908979, 0.3520772, 0.27514228, 0.028264234, -0.33393502, 0.12211863, -0.12077039, 0.3201821, 0.15064837, -0.2715489, 0.2161978, 0.2011329, -0.15005851, -0.19502445) * g_17;
|
|
result += mat4(-0.006493266, -0.067167185, 0.1981182, -0.2185078, -0.098532386, 0.0012275389, 0.014535081, 0.022241963, -0.065986834, -0.13995624, -0.08640626, -0.036836196, -0.24935777, -0.12563467, -0.22868343, -0.043145802) * g_18;
|
|
result += mat4(-0.24015582, -0.1428461, -0.10846771, -0.03822917, 0.25849542, 0.21787684, -0.10540706, -0.15437967, 0.09093761, 0.16064538, -0.040830817, 0.03802804, 0.07929484, 0.22184348, 0.17115451, -0.020434693) * g_19;
|
|
result += mat4(-0.16424751, 0.18149984, -0.08263852, 0.10497438, -0.0057385676, -0.18649873, 0.1049834, 0.0753644, 0.07605413, -0.024556413, 0.16013342, 0.006168524, 0.14073265, 0.02001347, -0.08537071, -0.24739261) * g_20;
|
|
result += mat4(0.014010803, -0.057850603, 0.0732021, -0.1718671, 0.024967216, 0.19706325, -0.14325745, -0.0021808648, -0.039533336, 0.058277003, -0.09344739, -0.004221897, 0.13857067, 0.081996195, 0.030180087, -0.013901144) * g_21;
|
|
result += mat4(0.024102923, 0.056380466, 0.008602807, 0.09951257, 0.04897817, 0.045386482, 0.13025592, -0.21351977, -0.11473196, 0.1844349, 0.07928108, 0.1533404, 0.07377011, -0.1464216, 0.096964546, -0.007197212) * g_22;
|
|
result += mat4(0.22597581, -0.13459527, 0.22883248, 0.14732298, -0.063105844, -0.034603957, -0.07247968, 0.19268765, 0.10675177, 0.0975782, 0.00033931955, 0.08774923, -0.12306441, 0.025208015, 0.04571016, 0.13542841) * g_23;
|
|
result += mat4(0.013317153, -0.09033908, 0.033545654, -0.054263383, 0.1317443, -0.05465494, -0.074301384, -0.30426916, -0.007050128, 0.12030467, -0.11348823, 0.19741662, -0.04095728, -0.017503742, 0.0642433, -0.28208658) * g_24;
|
|
result += mat4(0.02021165, 0.17795627, 0.043012455, 0.053738635, -0.017870188, 0.15490524, 0.040613562, 0.15851468, -0.12762383, 0.10450818, -0.0020172964, -0.25615835, -0.012736579, 0.06002046, -0.04626082, 0.019401643) * g_25;
|
|
result += mat4(-0.0025097467, -0.02072768, 0.034803562, -0.08400342, -0.14013165, 0.2091311, -0.03782157, 0.0023983517, 0.19771661, 0.04676574, -0.03392009, 0.20773077, 0.076976426, 0.04612587, 0.22233194, -0.13806564) * g_26;
|
|
result += mat4(-0.032217447, 0.073498376, -0.07565292, 0.05969695, 0.16941096, -0.3131595, 0.07141137, -0.15926841, 0.108835146, -0.0040562055, 0.15678787, -0.0012778786, -0.13674988, 0.034171615, -0.19931208, -0.13748777) * g_27;
|
|
result += mat4(-0.18563417, 0.106456436, 0.078709476, -0.1308007, -0.1398474, 0.11156628, -0.33099747, -0.19933923, -0.12798372, 0.04342623, 0.074146606, 0.21212427, 0.09915748, -0.09082417, 0.3366307, -0.23036873) * g_28;
|
|
result += mat4(0.14234035, -0.072425894, -0.18067764, 0.1100069, 0.10129257, 0.10165853, 0.18862309, -0.04466708, -0.037151866, 0.011230992, -0.013572791, 0.20083474, -0.18335798, 0.13396202, -0.2539405, 0.1323329) * g_29;
|
|
result += vec4(-0.02703924, 0.18005958, -0.12375494, 0.031321514);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x120
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_21_tf
|
|
//!BIND conv2d_21_tf1
|
|
//!BIND conv2d_21_tf2
|
|
//!BIND conv2d_21_tf3
|
|
//!BIND conv2d_21_tf4
|
|
//!BIND conv2d_21_tf5
|
|
//!BIND conv2d_23_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!BIND conv2d_16_tf
|
|
//!BIND conv2d_19_tf
|
|
//!BIND conv2d_22_tf
|
|
//!SAVE conv2d_24_tf3
|
|
//!WIDTH conv2d_21_tf.w
|
|
//!HEIGHT conv2d_21_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_21_tf_tex(conv2d_21_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_21_tf1_tex(conv2d_21_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_21_tf2_tex(conv2d_21_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_21_tf3_tex(conv2d_21_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_21_tf4_tex(conv2d_21_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_21_tf5_tex(conv2d_21_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_21_tf_tex(conv2d_21_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_21_tf1_tex(conv2d_21_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_21_tf2_tex(conv2d_21_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_21_tf3_tex(conv2d_21_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_21_tf4_tex(conv2d_21_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_21_tf5_tex(conv2d_21_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_24 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_25 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_26 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_27 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_28 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
|
|
#define g_29 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.011141579, 0.09674723, -0.13645004, -0.10970149, -0.04369547, 0.08311355, 0.021767681, -0.08375845, 0.022200847, 0.05360177, 0.16593163, -0.15328388, 0.08149341, -0.09137854, -0.040580057, 0.08350056) * g_0;
|
|
result += mat4(-0.0026481631, -0.004045956, 0.012659179, 0.09567999, -0.04221551, 0.10712957, -0.056656756, -0.27661186, -0.053574864, -0.089751564, -0.17745095, 0.16676143, 0.34287563, -0.13643502, 0.33259082, 0.27071705) * g_1;
|
|
result += mat4(0.18119478, -0.11287872, 0.24201767, -0.009600413, 0.048217695, 0.062931724, -0.06455807, 0.0013528515, 0.1764802, -0.08022894, 0.01977552, 0.014862132, -0.119611226, 0.06065237, -0.2003538, 0.057908155) * g_2;
|
|
result += mat4(0.10390714, 0.03061146, 0.07345203, 0.020925567, -0.03771494, -0.055771235, -0.10182023, -0.0453298, 0.030018989, 0.020321988, -0.13780262, -0.10419699, -0.1531079, 0.08695891, -0.10523552, 0.0031262166) * g_3;
|
|
result += mat4(0.013357037, 0.11706443, 0.02651922, 0.12551948, -0.03562916, 0.07041351, -0.22412951, 0.19341606, -0.06120095, 0.1594309, -0.25910634, 0.03911061, -0.030200286, 0.039532397, -0.04693854, 0.107756086) * g_4;
|
|
result += mat4(0.26856127, -0.062083863, 0.26156938, -0.06557537, -0.06786968, 0.061135814, -0.18566874, -0.11154961, 0.06399305, 0.068129785, -0.0010524218, 0.039409623, 0.0527229, 0.16223872, 0.11896118, 0.13470948) * g_5;
|
|
result += mat4(-0.09019031, -0.11750688, 0.08919765, 0.06305572, -0.110997446, -0.09387827, -0.024580022, -0.1923812, -0.011291289, -0.06320932, 0.15289676, -0.14364418, 0.041966986, 0.25329712, -0.19619554, 0.035929594) * g_6;
|
|
result += mat4(-0.06743388, -0.08509898, -0.07433386, -0.025805349, 0.01812382, -0.02492702, -0.2482932, 0.28510815, 0.119341426, 0.2147701, 0.06835619, -0.07081952, -0.038794495, 0.10975482, -0.2239901, -0.124213785) * g_7;
|
|
result += mat4(-0.026220966, 0.14319815, -0.1700538, -0.0335693, 0.07769912, 0.12722708, -0.26494396, -0.10431099, -0.08059116, 0.12723474, -0.15197968, 0.0060984325, -0.013070423, -0.25334156, 0.2920123, 0.110061795) * g_8;
|
|
result += mat4(-0.25060546, 0.057933453, 0.041256662, -0.11589921, 0.3209416, 0.12978804, -0.017460592, 0.19088507, 0.08740428, 0.038495142, 0.26864913, -0.08148351, 0.05588537, -0.027696, 0.47028908, -0.08718974) * g_9;
|
|
result += mat4(-0.028379083, -0.16510524, -0.0720884, 0.024243379, 0.030889094, -0.09380263, 0.10451546, -0.21832433, 0.20901899, -0.055639133, -0.051839713, 0.033683445, -0.029481068, 0.048284974, -0.08840896, 0.17702715) * g_10;
|
|
result += mat4(-0.13655269, -0.009485257, -0.27257246, -0.027732212, 0.11677922, -0.08578314, 0.1272782, -0.033684663, -0.070519574, 0.01601166, 0.11166362, -0.2742834, 0.17340335, -0.19997278, -0.040465057, -0.2970155) * g_11;
|
|
result += mat4(-0.20593609, 0.07950713, 0.05642528, 0.19129497, 0.3180778, -0.07194427, -0.19385284, -0.09050803, 0.23494293, 0.02127147, -0.014160815, 0.16873649, -0.045696944, -0.025910616, 0.10135493, -0.07330387) * g_12;
|
|
result += mat4(0.11845643, -0.06579577, -0.10600301, 0.12729774, -0.30510858, 0.0974965, 0.114875704, 0.06391382, 0.14807853, 0.22989006, -0.072495855, 0.1800837, 0.028062822, 0.044472497, 0.27929953, -0.037439365) * g_13;
|
|
result += mat4(-0.29070517, 0.2584094, -0.12230044, 0.29064023, -0.23902515, 0.29584745, 0.20774792, 0.41733524, 0.06608569, -0.04484478, 0.15128273, -0.3068231, 0.22654179, -0.080022156, -0.48213294, -0.037669115) * g_14;
|
|
result += mat4(0.17929457, -0.073897004, 0.033858683, -0.24681814, 0.38705662, -0.31330046, -0.3057931, -0.30628645, 0.06434401, -0.040364057, -0.30331135, 0.09151124, -0.15681383, 0.29307282, 0.28045842, -0.06732098) * g_15;
|
|
result += mat4(0.024120888, 0.06291463, -0.39767843, -0.199806, -0.18294619, 0.44507617, -0.20719141, 0.022910457, -0.04779181, 0.07508541, 0.12258552, 0.019429758, -0.10943762, -0.20337181, 0.072106324, -0.18230085) * g_16;
|
|
result += mat4(-0.010640077, -0.15392596, 0.042594627, -0.0009270454, 0.3621191, -0.28109482, 0.080440365, -0.2073678, 0.052669737, 0.01759761, -0.0909907, -0.0051524066, 0.025632787, 0.15993036, -0.04525641, 0.05836689) * g_17;
|
|
result += mat4(0.20725772, 0.05976848, 0.15562478, -0.22970834, -0.006273422, -0.0024398018, -0.15024984, -0.06983079, 0.037917525, -0.06959094, -0.30672732, 0.11463107, -0.103878215, 0.16795799, 0.123742215, -0.076316774) * g_18;
|
|
result += mat4(-0.041884482, -0.048946526, -0.040261485, 0.145805, 0.18649343, -0.0044576614, -0.2316234, 0.08005378, 0.13540603, -0.13486005, -0.048867103, -0.039551396, 0.015187719, -0.113004565, -0.09270747, 0.053628337) * g_19;
|
|
result += mat4(0.026232086, -0.05916773, 0.09088294, 0.059865057, -0.08295995, 0.04218031, 0.0016741708, 0.08783662, 0.12226684, -0.0601888, 0.14152455, -0.15758237, -0.118071996, -0.053882107, 0.22713134, -0.08549201) * g_20;
|
|
result += mat4(0.030266033, 0.08861499, 0.04543061, -0.09845329, 0.29042727, -0.1387298, -0.27544942, 0.06959186, -0.06818984, -0.07793028, -0.26279172, 0.051999256, 0.13853306, -0.028943995, -0.1616878, 0.0055545145) * g_21;
|
|
result += mat4(0.06571001, -0.15409341, -0.10983791, -0.10024373, 0.06786836, -0.034203686, 0.06702562, -0.13785091, 0.014078426, -0.118333764, 0.10679032, -0.11793583, -0.17936374, 0.08035579, -0.065410405, 0.012682481) * g_22;
|
|
result += mat4(-0.08627442, 0.09910777, 0.06451081, -0.032909464, 0.016304161, 0.11485424, 0.075068, 0.17560685, -0.21859545, 0.03553843, -0.029545823, 0.0020583326, -0.09749895, 0.10549555, -0.13807511, 0.04073702) * g_23;
|
|
result += mat4(0.013445668, -0.106096625, -0.14386144, -0.047453087, 0.030295242, -0.07128061, 0.18820919, -0.14116964, -0.08358127, 0.017694646, -0.22504877, -0.0870977, 0.159292, 0.1511803, 0.13363734, 0.059592243) * g_24;
|
|
result += mat4(0.09585648, 0.13820451, -0.025589576, 0.14250357, -0.098605, -0.033331417, -0.26585752, 0.046970017, 0.0064765653, 0.15291844, 0.2051226, -0.033412863, -0.15486592, -0.10399778, -0.11634391, 0.00032476272) * g_25;
|
|
result += mat4(0.09576212, -0.052482244, -0.11748363, -0.022807717, 0.18996853, -0.119998, -0.11650178, 0.15346055, -0.056865185, 0.17039599, 0.019453784, -0.15516305, -0.07541472, 0.05255179, -0.18442616, 0.13752738) * g_26;
|
|
result += mat4(0.08866666, -0.037314344, -0.08462723, 0.01123993, -0.048002165, 0.08966719, -0.008348263, 0.022855654, -0.13039067, -0.026170973, 0.22115219, 0.061224397, 0.16689171, 0.06845198, -0.08873581, -0.050191987) * g_27;
|
|
result += mat4(-0.08112671, -0.1593253, 0.19252764, 0.060990997, 0.29255992, 0.2258008, 0.05192984, -0.22563158, -0.005943522, 0.092420675, 0.12934043, 0.1422232, 0.0047882204, 0.034547567, -0.03979875, -0.13211358) * g_28;
|
|
result += mat4(0.19852357, -0.09415307, 0.18439335, 0.09917704, -0.0036918402, -0.11341272, 0.14594431, 0.036229003, -0.3779797, -0.1963225, -0.05158393, -0.286296, 0.09826625, -0.11089739, 0.08578653, 0.032530606) * g_29;
|
|
result += vec4(0.044129565, -0.091767386, -0.075459845, 0.066399455);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x120
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_21_tf
|
|
//!BIND conv2d_21_tf1
|
|
//!BIND conv2d_21_tf2
|
|
//!BIND conv2d_21_tf3
|
|
//!BIND conv2d_21_tf4
|
|
//!BIND conv2d_21_tf5
|
|
//!BIND conv2d_23_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!BIND conv2d_16_tf
|
|
//!BIND conv2d_19_tf
|
|
//!BIND conv2d_22_tf
|
|
//!SAVE conv2d_24_tf4
|
|
//!WIDTH conv2d_21_tf.w
|
|
//!HEIGHT conv2d_21_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_21_tf_tex(conv2d_21_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_21_tf1_tex(conv2d_21_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_21_tf2_tex(conv2d_21_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_21_tf3_tex(conv2d_21_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_21_tf4_tex(conv2d_21_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_21_tf5_tex(conv2d_21_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_21_tf_tex(conv2d_21_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_21_tf1_tex(conv2d_21_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_21_tf2_tex(conv2d_21_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_21_tf3_tex(conv2d_21_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_21_tf4_tex(conv2d_21_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_21_tf5_tex(conv2d_21_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_24 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_25 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_26 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_27 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_28 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
|
|
#define g_29 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.064318754, -0.18948539, 0.15593126, -0.06304488, 0.06629931, -0.12705792, 0.06512428, 0.063008524, -0.14651999, 0.097759366, -0.23798478, -0.24931762, -0.08670739, -0.040990945, -0.114390776, 0.023151657) * g_0;
|
|
result += mat4(0.016485719, -0.09634283, -0.14198488, -0.04438048, -0.21505983, -0.26128006, -0.04784944, -0.09402356, 0.06304391, -0.15288098, 0.00068967254, 0.068428546, 0.19094922, 0.26162505, 0.012422096, 0.0019210136) * g_1;
|
|
result += mat4(0.09429176, 0.17532441, 0.04093382, 0.23090097, -0.039049014, -0.029371511, -0.22049028, 0.087878235, -0.16436112, -0.16126816, -0.13443045, 0.11702453, 0.011557647, 0.0860798, -0.13721867, 0.04339029) * g_2;
|
|
result += mat4(-0.13857365, 0.07155365, -0.026300088, 0.030843856, -0.003029181, -0.16634469, 0.009277505, -0.0477318, 0.08176135, -0.025760109, -0.14980459, -0.23881069, 0.04395779, -0.020711109, -0.003765235, 0.16139714) * g_3;
|
|
result += mat4(-0.029404152, -0.14717855, 0.08600079, 0.10087113, -0.0015481604, 0.12785077, -0.017091133, 0.11298956, 0.0135069, 0.048736177, -0.16933975, -0.010427592, -0.0710784, 0.035118822, -0.05988874, 0.05704193) * g_4;
|
|
result += mat4(0.118158385, 0.05269367, 0.023569904, -0.1657988, 0.046414927, 0.192022, -0.038966145, -0.0991989, 0.052595813, 0.09601838, -0.09776323, -0.10896508, -0.03430822, 0.04195307, -0.03257825, -0.051419284) * g_5;
|
|
result += mat4(-0.030581048, 0.17614278, 0.14005136, 0.25032252, -0.041909087, 0.03415134, 0.18558922, -0.013872336, 0.15255652, -0.21187684, 0.14342351, 0.03002535, 0.09936515, 0.07143285, 0.10832944, 0.07492966) * g_6;
|
|
result += mat4(0.117437966, 0.20312095, 0.16551267, 0.036241867, 0.15959081, -0.15883422, 0.13650912, 0.13133384, -0.08531496, 0.22273071, -0.09418646, 0.16729115, 0.050657116, -0.15333027, 0.09318966, 0.038184803) * g_7;
|
|
result += mat4(-0.18683884, -0.16802727, -0.01640892, -0.033356212, 0.13456257, -0.040969536, 0.12549457, -0.1290507, -0.04681963, 0.040288992, 0.05573994, -0.14020221, -0.08451734, 0.084726095, 0.027533028, -0.062352005) * g_8;
|
|
result += mat4(0.16800499, 0.068888284, -0.06970656, -0.11694171, 0.027877143, 0.08590325, -0.41597658, 0.19020869, 0.18468907, 0.10396149, 0.2688539, -0.051384643, 0.082193665, -0.0061698114, 0.10528453, -0.039762035) * g_9;
|
|
result += mat4(-0.13182193, 0.13022594, -0.04265935, -0.031845935, -0.031530503, 0.0028220103, -0.075633064, -0.038005225, 0.08944671, -0.038589507, 0.1264931, 0.04362325, -0.017746134, -0.074040845, 0.22195354, 0.02025781) * g_10;
|
|
result += mat4(-0.010372041, -0.054928456, -0.11535243, -0.08789095, -0.25536317, -0.14206916, -0.18415648, 0.20086259, -0.08668259, -0.06832273, 0.00049483957, 0.0037794516, 0.022831686, 0.11659795, -0.06669702, -0.19588953) * g_11;
|
|
result += mat4(-0.28961572, -0.4749287, -0.028464912, 0.052383482, -0.22320336, 0.24375547, -0.12413771, 0.13081387, -0.1111063, -0.07677365, -0.07474673, 0.13839811, 0.13673459, 0.008945309, -0.16129646, 0.083366215) * g_12;
|
|
result += mat4(0.29712868, 0.29954886, 0.096922785, 0.16342036, 0.087328605, -0.31575698, 0.033533126, -0.01676748, -0.05085677, 0.10915346, -0.009143204, -0.08164666, 0.02106476, -0.08223177, -0.13560964, -0.06952909) * g_13;
|
|
result += mat4(0.12253968, 0.10194223, -0.18962221, -0.019411137, -0.02967273, 0.07758143, 0.11593596, 0.0006656379, 0.4334612, -0.23675393, -0.10674996, 0.07835363, 0.10412569, 0.08455689, -0.036294702, -0.14943564) * g_14;
|
|
result += mat4(-0.08402736, -0.19991463, 0.18588512, 0.07676709, 0.07191373, -0.07213601, -0.1128286, 0.053900886, 0.24843894, 0.15576254, 0.11854475, -0.26013455, 0.06444892, -0.105995424, -0.02662165, 0.23990677) * g_15;
|
|
result += mat4(-0.048506703, -0.0874562, 0.09056293, 0.079049595, -0.27113122, 0.042350817, 0.08988192, -0.3137793, 0.0747184, 0.032512806, 0.017864892, 0.14460078, -0.03651161, 0.074389, 0.24303643, -0.099042624) * g_16;
|
|
result += mat4(-0.007119913, 0.09615741, -0.03428203, 0.33762857, 0.065405674, -0.49520698, 0.13928282, 0.36657473, -0.023395495, -0.039354183, 0.11659457, -0.07508826, -0.086808786, 0.037178524, -0.08136895, 0.14095466) * g_17;
|
|
result += mat4(0.13255325, 0.05039712, -0.1868099, -0.09327347, 0.24704066, 0.18458563, -0.096471004, -0.18579604, 0.01985749, -0.01758252, 0.3442843, 0.053911295, -0.048990734, 0.14512312, 0.068960086, -0.21552262) * g_18;
|
|
result += mat4(-0.05009779, -0.07166913, -0.0064091743, 0.12607603, 0.22009291, -0.12833357, 0.07912463, 0.24400796, 0.07644523, -0.09144226, -0.04527602, 0.023284711, 0.14405306, 0.06575743, 0.02459841, -0.025973033) * g_19;
|
|
result += mat4(0.008448822, 0.054047976, 0.0909093, 0.037993927, -0.05116312, -0.2986432, -0.07816385, 0.024441332, -0.14043695, 0.027960885, -0.14233884, -0.1725978, 0.048629027, -0.04404273, -0.3075077, 0.06929521) * g_20;
|
|
result += mat4(0.093220495, -0.055684812, -0.055064965, 0.028901886, 0.19592312, 0.1363604, 0.076918535, -0.19113176, 0.36366606, -0.013933859, 0.03314929, -0.03575491, 0.07210199, 0.106656946, 0.15615965, -0.19988714) * g_21;
|
|
result += mat4(0.12586692, -0.013626416, -0.02413242, 0.0756625, 0.09772758, -0.09996077, -0.008041489, 0.1159643, 0.1241683, 0.14317046, -0.0932358, 0.31132537, -0.0020806575, 0.020223314, -0.2438224, 0.06940367) * g_22;
|
|
result += mat4(-0.0016025436, 0.060878396, 0.17611162, -0.100864336, 0.028983932, 0.09252143, 0.10481248, -0.06146908, -0.31934208, -0.13838133, 0.13185565, -0.035758033, -0.13044602, 0.10710358, 5.8081503e-05, -0.00454267) * g_23;
|
|
result += mat4(-0.059576258, 0.06968948, -0.008232615, -0.06129336, -0.08833713, -0.054481387, -0.004371116, -0.1964046, 0.022765493, 0.025811723, 0.0067215296, 0.02305441, 0.10606636, -0.086005725, -0.21056533, 0.12253492) * g_24;
|
|
result += mat4(-0.00835301, -0.15535109, 0.12221956, 0.19185501, 0.05132267, 0.16891663, -0.11666316, -0.03017235, -0.13267665, 0.046521697, 0.027762229, 0.059645366, 0.00027471577, -0.11043438, 0.10424315, -0.1086128) * g_25;
|
|
result += mat4(0.05075079, 0.019918585, -0.031245248, 0.116343796, -0.15688774, 0.13276225, 0.043608118, 0.038603537, 0.09514637, -0.12972692, -0.15088506, -0.19487189, 0.12054755, 0.014158436, -0.017870666, 0.244829) * g_26;
|
|
result += mat4(0.16140082, 0.12640321, 0.1969524, 0.14234789, -0.0387056, -0.16567732, 0.13261116, 0.13626204, -0.08689124, -0.13475373, 0.18032974, -0.034728065, 0.016112087, -0.07409384, 0.009190101, -0.13319102) * g_27;
|
|
result += mat4(0.13840085, -0.1503008, -0.28004104, 0.0004458277, 0.085771725, 0.18693484, -0.38570777, -0.0015788627, -0.22876291, -0.05482633, -0.19387709, 0.065617, -0.015152447, 0.11920871, -0.10714691, 0.15455256) * g_28;
|
|
result += mat4(-0.44118914, 0.15384102, 0.470851, -0.14082034, 0.30934575, 0.16286017, 0.23737209, 0.035161156, 0.035742745, 0.14005975, -0.103563346, -0.0142445285, 0.1746347, 0.13249661, 0.0984072, -0.23170716) * g_29;
|
|
result += vec4(0.023260193, 0.094669305, 0.13180539, 0.011011345);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x120
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_21_tf
|
|
//!BIND conv2d_21_tf1
|
|
//!BIND conv2d_21_tf2
|
|
//!BIND conv2d_21_tf3
|
|
//!BIND conv2d_21_tf4
|
|
//!BIND conv2d_21_tf5
|
|
//!BIND conv2d_23_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!BIND conv2d_16_tf
|
|
//!BIND conv2d_19_tf
|
|
//!BIND conv2d_22_tf
|
|
//!SAVE conv2d_24_tf5
|
|
//!WIDTH conv2d_21_tf.w
|
|
//!HEIGHT conv2d_21_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_21_tf_tex(conv2d_21_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_21_tf1_tex(conv2d_21_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_21_tf2_tex(conv2d_21_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_21_tf3_tex(conv2d_21_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_21_tf4_tex(conv2d_21_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_21_tf5_tex(conv2d_21_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_21_tf_tex(conv2d_21_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_21_tf1_tex(conv2d_21_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_21_tf2_tex(conv2d_21_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_21_tf3_tex(conv2d_21_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_21_tf4_tex(conv2d_21_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_21_tf5_tex(conv2d_21_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_24 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_25 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_26 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_27 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_28 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
|
|
#define g_29 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.035401143, 0.11828543, 0.16110167, -0.07777353, -0.075349845, -0.013435769, -0.01727356, 0.033077683, -0.30605403, -0.11320239, 0.18582572, 0.060256433, 0.016494479, 0.14741373, -0.07789023, -0.008053446) * g_0;
|
|
result += mat4(-0.09569302, -0.114564046, 0.042041153, 0.22988442, -0.19345377, -0.13841586, 0.19079803, 0.064525254, -0.24899781, -0.21335086, -0.040545136, -0.06732098, -0.054337524, -0.16457275, -0.09898493, 0.076531336) * g_1;
|
|
result += mat4(0.14414783, -0.09589099, -0.018284459, 0.006014089, -0.14312598, 0.07321137, 0.16399357, 0.120017864, -0.09322919, 0.22950031, 0.034323998, 0.22690134, -0.12497395, 0.026865529, 0.045670614, 0.02153663) * g_2;
|
|
result += mat4(-0.0885093, -0.20960386, 0.09523425, -0.001182881, -0.13660184, -0.0988858, -0.10529192, 0.151602, -0.019795151, -0.0056292973, -0.090651646, -0.058967516, -0.034077972, -0.087830566, 0.06904268, 0.01972361) * g_3;
|
|
result += mat4(-0.041968595, 0.07223882, 0.028611, -0.05274203, 0.09716402, 0.14615181, -0.008819137, 0.19477727, -0.22391073, -0.188192, -0.23159504, -0.0659422, 0.038915258, 0.06506808, 0.026602015, 0.106757455) * g_4;
|
|
result += mat4(-0.03167345, 0.09288782, 0.06510763, -0.1371696, 0.0670977, 0.13643882, -0.16221057, 0.007994042, 0.12745698, -0.13189419, 0.18003656, -0.19340996, 0.054663222, 0.064832725, -0.11706334, 0.03498881) * g_5;
|
|
result += mat4(0.054250732, 0.050205093, -0.094529144, -0.073639154, -0.104345, -0.16036876, -0.116890386, -0.019142069, 0.11151763, 0.024416454, -0.21662898, -0.24609119, 0.012618986, -0.050505374, -0.05748476, -0.03385181) * g_6;
|
|
result += mat4(0.07575929, 0.20168582, 0.07593563, -0.120610684, 0.39353558, 0.092859395, -0.09407357, 0.11197022, 0.092431, 0.17169674, -0.052467786, -0.12509912, -0.04317581, 0.15022431, 0.053311728, -0.07824366) * g_7;
|
|
result += mat4(-0.19801709, 0.19595057, -0.03813935, 0.15429677, 0.043275412, -0.055777457, 0.051823862, -0.12536551, 0.054815408, -0.07399522, 0.111323185, -0.11293141, 0.112620935, 0.0036300484, -0.058666084, 0.0770841) * g_8;
|
|
result += mat4(0.055198528, 0.053080693, -0.07051254, 0.01369659, -0.064398214, 0.21947123, 0.25785065, 0.25085342, -0.18726042, -0.1834884, -0.05625831, -0.14207363, -0.08842582, -0.17124884, 0.017937114, 0.064309366) * g_9;
|
|
result += mat4(0.15159117, 0.07519266, -0.15370396, 0.042692114, -0.24344702, 0.09258916, -0.11990244, -0.17198385, 0.18952729, 0.1369525, 0.0025766129, 0.0012663774, 0.12561531, -0.14913428, 0.18643859, -0.29388568) * g_10;
|
|
result += mat4(-0.1093067, -0.12366066, -0.17348427, -0.007389768, -0.073157415, -0.060100462, 0.15647408, 0.09652795, -0.23171946, -0.13775213, -0.13687882, -0.030829927, -0.021940507, -0.0020031824, 0.028924773, 0.03574328) * g_11;
|
|
result += mat4(0.05167366, -0.097687796, -0.015811214, -0.03937127, 0.06846119, -0.020211786, 0.08710146, -0.098835036, 0.18396588, 0.31018186, -0.14081873, 0.16264582, -0.12390926, -0.20042141, 0.06262468, -0.10123357) * g_12;
|
|
result += mat4(0.24855806, 0.2536586, -0.06454596, 0.119326875, 0.12777822, 0.16621375, 0.124711774, 0.12201052, -0.012619612, -0.15139428, 0.24413742, -0.07166333, -0.07884437, 0.23534073, -0.024630731, -0.004739806) * g_13;
|
|
result += mat4(-0.14524974, 0.16234787, -0.3117823, -0.09532448, -0.38612852, 0.21183789, -0.024396734, 0.17140463, 0.27414736, 0.18016195, -0.18706764, -0.26449355, -0.19747467, -0.26563227, 0.06794068, -0.08063504) * g_14;
|
|
result += mat4(0.23652636, -0.21808079, 0.14081404, -0.08695713, 0.35874066, -0.3812793, -0.0042363345, -0.14822814, -0.7956462, 0.02542554, 0.18249872, 0.22436006, 0.04767605, 0.12073363, -0.13262282, -0.13139577) * g_15;
|
|
result += mat4(-0.052691665, 0.20573047, 0.091659784, 0.11605743, -0.49105322, -0.4048146, -0.15038882, 0.038508125, 0.08319267, -0.13713421, 0.19062464, -0.08124661, -0.27485934, 0.015815433, -0.021215012, 0.013882374) * g_16;
|
|
result += mat4(0.13657252, -0.117852926, -0.2632923, 0.20954777, 0.16333477, 0.35176206, 0.32558918, 0.07111971, -0.19528575, 0.022703214, -0.06283952, 0.0202241, 0.00062078034, -0.23761322, -0.0077519086, 0.25658375) * g_17;
|
|
result += mat4(0.020799367, 0.01067424, 0.083184645, -0.14095265, -0.037889767, 0.0034220286, 0.066995576, -0.05181846, 0.17500187, 0.034532286, -0.0034174314, 0.03789843, -0.043532915, -0.13418876, -0.2510271, -0.09374864) * g_18;
|
|
result += mat4(-0.13373125, -0.11939298, -0.18171094, -0.04362375, -0.09802522, 0.16033037, 0.033167798, 0.19249743, -0.09332724, -0.2715352, -0.016817318, -0.014301543, 0.20644864, -0.028817968, 0.362786, 0.14023119) * g_19;
|
|
result += mat4(0.09587087, 0.0074727098, 0.116851576, 0.023743093, -0.046995968, -0.069463834, 0.13753393, 0.17122227, -0.025173381, 0.13880321, 0.16658309, -0.022459678, -0.31136268, -0.027422085, -0.109531336, 0.18219715) * g_20;
|
|
result += mat4(-0.08894726, 0.19153637, -0.08311822, -0.074581176, 0.14477897, -0.21017817, 0.10784192, -0.16820575, -0.315781, -0.2630948, 0.08973418, -0.064013824, 0.075658046, 0.11888417, 0.13260478, -0.10950925) * g_21;
|
|
result += mat4(-0.11899363, -0.14369829, 0.008216912, 0.023432927, 0.06846148, 0.1828149, 0.06274231, -0.15299112, -0.0715763, -0.09635764, 0.13176271, -0.06144056, 0.059470557, 0.17273234, -0.08176308, 0.011923788) * g_22;
|
|
result += mat4(0.0061189565, -0.11297907, 0.09527446, 0.0046028066, 0.04282835, 0.055091605, -0.04165817, -0.025770452, -0.145678, 0.15372074, -0.11806497, 0.16658548, -0.10533239, -0.05720886, 0.0138695035, 0.11329029) * g_23;
|
|
result += mat4(-0.011732977, -0.12060142, -0.12039149, 0.03636631, -0.036845826, -0.054367594, -0.029417133, -0.17178303, -0.16985205, -0.06948697, 0.15569125, -0.0024068935, 0.17779039, 0.117133036, 0.034714937, 0.011719064) * g_24;
|
|
result += mat4(0.19989638, 0.071537495, -0.005817529, 0.024970375, -0.002606085, -0.23609988, 0.08164997, -0.004351663, -0.014960431, 0.021064563, -0.20076638, 0.012635818, -0.10835814, -0.10891674, -0.10495171, -0.1400281) * g_25;
|
|
result += mat4(0.22666031, -0.18522328, 0.11348862, -0.09860567, 0.039617456, 0.026495604, 0.1451495, 0.0882103, -0.17118423, -0.20988964, 0.14257617, 0.13353662, 0.026001312, 0.15666062, -0.10690302, 0.13496387) * g_26;
|
|
result += mat4(-0.18023312, 0.013624079, -0.059931513, 0.1235221, -0.22089219, -0.040241662, -0.13695398, -0.1404048, -0.052548394, 0.14687216, 0.14727584, -0.007241884, 0.08400108, -0.023925923, 0.004576988, 0.05896513) * g_27;
|
|
result += mat4(-0.03961407, 0.06747111, -0.06864713, -0.1582473, -0.13148493, 0.05195487, 0.07935757, 0.00300328, 0.10378651, -0.0113868695, 0.031623606, 0.12116739, -0.04027843, -0.14253578, 0.033800546, -0.44795546) * g_28;
|
|
result += mat4(0.13076074, 0.13541101, -0.06876114, 0.06036409, -0.09881141, -0.12100859, -0.14494787, -0.14920674, -0.040267494, -0.103508234, -0.092922576, 0.034120508, 0.17455834, -0.03198111, -0.021821547, 0.1617248) * g_29;
|
|
result += vec4(0.01765179, -0.014072011, -0.040658478, 0.06147996);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x48
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_24_tf
|
|
//!BIND conv2d_24_tf1
|
|
//!BIND conv2d_24_tf2
|
|
//!BIND conv2d_24_tf3
|
|
//!BIND conv2d_24_tf4
|
|
//!BIND conv2d_24_tf5
|
|
//!SAVE conv2d_25_tf
|
|
//!WIDTH conv2d_24_tf.w
|
|
//!HEIGHT conv2d_24_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv2d_24_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv2d_24_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv2d_24_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max((conv2d_24_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv2d_24_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv2d_24_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv2d_24_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv2d_24_tf1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_8(x_off, y_off) (max(-(conv2d_24_tf2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_9(x_off, y_off) (max(-(conv2d_24_tf3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_10(x_off, y_off) (max(-(conv2d_24_tf4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_11(x_off, y_off) (max(-(conv2d_24_tf5_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.06166647, 0.09529486, -0.076007046, 0.008835734, -0.022746278, -0.020524498, 0.036484558, -0.18692645, 0.16612884, 0.08695116, -0.03444985, -0.036625423, -0.019618431, -0.2497179, 0.04713828, 0.03941277) * go_0(-1.0, -1.0);
|
|
result += mat4(0.051320158, 0.09188963, 0.05934812, -0.028814953, -0.08214986, -0.38381183, -0.21082996, 0.08931178, -0.1478504, 0.050554104, 0.15775944, -0.082824536, -0.09758805, 0.03501315, 0.048326474, 0.20755234) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.11912697, -0.1639047, -0.028712267, 0.05257035, -0.057109438, 0.016257055, 0.010102283, 0.02258497, 0.0067762802, 0.06568727, 0.13412032, -0.12839553, -0.0052478323, -0.04582172, 0.046101846, 0.03895225) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.2623996, -0.04643623, -0.025350014, 0.11266074, 0.31318957, -0.10205316, 0.20703012, -0.09878432, 0.050212078, -0.041905947, 0.1928805, -0.081413575, 0.029278766, -0.05722498, 0.23603556, -0.02379054) * go_0(0.0, -1.0);
|
|
result += mat4(-0.07829222, -0.014891703, -0.02923015, -0.04891082, -0.07685137, 0.13036327, -0.2605194, 0.18862042, -0.032530565, -0.078955844, 0.2125311, -0.06390657, 0.074358515, -0.0944192, 0.04031576, -0.24017791) * go_0(0.0, 0.0);
|
|
result += mat4(-0.095015146, 0.08709823, -0.085220866, 0.101875454, -0.21940547, 0.095429935, 0.017325258, -0.26081812, 0.06708058, 0.13191286, -0.24980421, -0.036090303, 0.053236503, -0.11681413, 0.06696659, 0.25558624) * go_0(0.0, 1.0);
|
|
result += mat4(-0.057251945, -0.15470527, 0.097741194, -0.0055207037, 0.13810219, -0.098230235, -0.08999586, 0.022224225, 0.09270033, 0.046485137, 0.019203654, -0.019220348, 0.06337505, 0.006301626, -0.04131858, 0.05920149) * go_0(1.0, -1.0);
|
|
result += mat4(-0.20077895, -0.060091857, -0.012030675, -0.14897619, -0.12295632, -0.0979341, 0.14699385, -0.05202889, 0.124067515, -0.083887726, 0.17461719, 0.15780336, 0.15766764, 0.04728613, -0.10863424, 0.043001574) * go_0(1.0, 0.0);
|
|
result += mat4(-0.12690245, 0.035600208, -0.025356498, -0.06894206, -0.121579856, 0.0327393, -0.113368034, 0.085112944, 0.06670692, -0.09475299, 0.017179368, -0.059762985, 0.021771181, -0.050836626, 0.05944231, -0.011734899) * go_0(1.0, 1.0);
|
|
result += mat4(-0.054920316, -0.030304149, -0.11105109, 0.012385413, 0.020577729, -0.008300987, 0.06316654, -0.02620882, -0.034891594, -0.004976834, 0.08395707, 0.035198126, -0.011377179, 0.09300824, 0.048836518, -0.09094534) * go_1(-1.0, -1.0);
|
|
result += mat4(-0.1148677, 0.0498467, -0.10771813, 0.03301452, -0.038163044, 0.004233585, 0.0025002265, -0.06302246, 0.019796815, 0.05062893, 0.044480775, -0.031719808, 0.1712331, -0.07693259, -0.022257818, -0.09355782) * go_1(-1.0, 0.0);
|
|
result += mat4(0.09685269, -0.05529166, 0.031147264, 0.07655294, 0.041224808, 0.12501086, 0.012886804, -0.031120846, -0.018883346, -0.07191267, -0.02080282, -0.0028901217, 0.06751031, 0.09451318, -0.031583074, -0.09243835) * go_1(-1.0, 1.0);
|
|
result += mat4(0.015515191, -0.15584822, 0.08790507, -0.111271165, 0.13384461, -0.020855654, 0.01786342, -0.019626036, -0.021073133, 0.048412234, -0.07784231, 0.00589801, 0.10902915, -0.045021616, -0.025299137, 0.030494161) * go_1(0.0, -1.0);
|
|
result += mat4(-0.10588466, -0.0012355493, 0.26903358, 0.099189214, -0.116908744, -0.18496048, -0.063001394, 0.14649987, -0.04212112, -0.058351398, -0.20649049, -0.06755194, 0.042475656, -0.28886446, -0.10462373, -0.19176544) * go_1(0.0, 0.0);
|
|
result += mat4(-0.048238985, 0.12038389, 0.05851023, -0.13195232, -0.027325528, -0.05691749, -0.020259382, 0.059841767, -0.04831857, 0.05612525, 0.045930166, 0.103542075, 0.17056717, 0.07153741, -0.0005695847, -0.09222333) * go_1(0.0, 1.0);
|
|
result += mat4(-0.015188975, -0.028330345, 0.06475087, 0.039649922, 0.08015208, -0.03343779, -0.09342346, 0.027704729, -0.01873157, -0.017396448, -0.05463655, -0.036627814, 0.065141775, -0.009173005, -0.027537009, -0.03491342) * go_1(1.0, -1.0);
|
|
result += mat4(0.16886939, -0.016664919, -0.05489729, -0.0646156, 0.07947758, 0.070160225, -0.054875035, 0.07487143, -0.0018300108, 0.14340875, 0.019120038, -0.14778864, 0.02120198, 0.20431966, -0.057769198, -0.063412786) * go_1(1.0, 0.0);
|
|
result += mat4(-0.059609845, -0.044698156, -0.11887421, -0.053155288, 0.11937625, -0.011380284, 0.035726782, -0.0032809346, -0.02390899, 0.028173469, 0.11605503, 0.042460438, 0.04107498, -0.025382359, 0.0055907466, -0.060491074) * go_1(1.0, 1.0);
|
|
result += mat4(0.13950574, -0.031398408, 0.05869317, -0.0041932254, -0.08233649, 0.04118637, -0.034838192, 0.030280882, -0.10698509, -0.009384861, 0.022907369, 0.03362852, -0.049687177, 0.010223036, -0.025809834, -0.05944809) * go_2(-1.0, -1.0);
|
|
result += mat4(0.013511201, 0.12180669, 0.0092064915, 0.0680192, -0.07001209, 0.19408299, -0.024325037, -0.035347454, 0.09694826, -0.13425222, 0.036686067, 0.051675696, 0.0067466674, 0.039925743, -0.013616589, 0.09895118) * go_2(-1.0, 0.0);
|
|
result += mat4(0.022670267, 0.11051658, 0.01280793, -0.00506743, 0.13905488, -0.037899602, 0.0116324285, -0.11736314, -0.12509562, -0.13450992, 0.044298768, 0.07256763, -0.034111246, 0.031499702, -0.024342692, -0.04012807) * go_2(-1.0, 1.0);
|
|
result += mat4(-0.054806143, -0.039433837, 0.20688836, -0.06932758, -0.055505864, 0.033591345, -0.011807642, 0.13377409, 0.013202392, 0.030601578, -0.044044554, 0.019092588, 0.15104452, -0.04736436, 0.07933319, 0.0808442) * go_2(0.0, -1.0);
|
|
result += mat4(-0.08120661, 0.096976824, 0.035287824, -0.07752623, -0.1088452, 0.009262103, -0.06772187, 0.0851409, 0.10140327, 0.17055623, -0.16858724, -0.020316882, 0.05838598, 0.09759389, -0.08185687, -0.15058544) * go_2(0.0, 0.0);
|
|
result += mat4(-0.07288273, 0.048684817, -0.050840862, -0.07740546, -0.0293663, -0.011155543, -0.018436499, -0.09088947, -0.13848811, 0.16170098, 0.047927193, 0.04666957, 0.092211105, -0.016306465, 0.00071041065, 0.14366496) * go_2(0.0, 1.0);
|
|
result += mat4(0.0010082172, -0.06622412, 0.032247175, -0.06717882, -0.0640833, -0.051457766, -0.052786853, 0.09610263, -0.016265746, -0.10230698, -0.09378997, 0.032618906, 0.13324349, 0.042409174, -0.080133736, -0.1741766) * go_2(1.0, -1.0);
|
|
result += mat4(-0.056840084, -0.106264874, -0.0022399705, 0.033432458, -0.012551941, 0.03538272, -0.029066289, 0.026861634, 0.06871675, 0.039153498, 0.20519088, -0.145508, -0.023353614, 0.12257076, -0.10474505, -0.0018490221) * go_2(1.0, 0.0);
|
|
result += mat4(-0.113193035, 0.07080721, 0.01030223, 0.006177725, 0.075466745, 0.04482333, -0.07071907, -0.016957464, -0.07380668, 0.036033623, -0.004883166, -0.024313578, 0.04330381, -0.03380222, 0.047028575, -0.055949286) * go_2(1.0, 1.0);
|
|
result += mat4(0.0065355953, -0.106070854, 0.046797846, 0.054897975, -0.073402844, -0.026886068, 0.07788056, -0.0063465633, 0.02009201, 0.0532501, -0.21889481, 0.028795658, -0.06233731, -0.031046558, 0.02490095, 0.060170352) * go_3(-1.0, -1.0);
|
|
result += mat4(-0.03175583, 0.13402268, -0.06509575, 0.05536282, -0.043879837, -0.017241556, -0.14183941, -0.10554382, 0.23820382, 0.05799508, -0.04913701, -0.17487198, -0.0036701688, 0.19644801, 0.09490716, -0.096341126) * go_3(-1.0, 0.0);
|
|
result += mat4(-0.019748677, 0.06276037, -0.0710753, 0.021939961, 0.023091486, -0.010296817, -0.013234315, -0.070667446, -0.043426152, -0.12873076, -0.10405566, -0.13278995, -0.07841859, -0.09935093, 0.16365989, -0.10874392) * go_3(-1.0, 1.0);
|
|
result += mat4(0.0034429682, 0.0777451, -0.20297584, -0.034304563, -0.20821045, -0.06967927, 0.0069935727, 0.06818987, 0.11493428, -0.13941486, 0.09426282, 0.113237746, -0.18580022, -0.14258705, -0.08273845, 0.10751073) * go_3(0.0, -1.0);
|
|
result += mat4(-0.21328938, -0.012580941, -0.1820024, -0.08053879, 0.07931148, -0.03035549, -0.0114164995, 0.030046796, 0.040258206, 0.058445115, 0.087784424, -0.05276828, -0.05584388, 0.05649799, 0.10458559, 0.117295496) * go_3(0.0, 0.0);
|
|
result += mat4(0.0004067625, 0.009013988, -0.11189667, 0.18077454, 0.044584297, -0.0075380174, 0.027782472, 0.023007099, -0.15650754, -0.0016945648, -0.117185384, -0.12843834, -0.21347368, -0.06306287, -0.038481444, -0.04364172) * go_3(0.0, 1.0);
|
|
result += mat4(-0.012604359, -0.1458971, 0.0025814052, -0.10555279, 0.08536396, 0.056438394, -0.073529385, 0.11475026, 0.04129833, 0.038889654, -0.050739683, -0.10685405, -0.17847179, -0.023147365, -0.021397736, 0.012562349) * go_3(1.0, -1.0);
|
|
result += mat4(0.061623327, 0.032743514, -0.092126705, -0.009911827, 0.11853501, -0.04201077, -0.06540546, -0.0004200978, 0.36105943, -0.013727552, 0.15243492, -0.37710276, -0.16434546, 0.0027665482, 0.09155056, -0.05159514) * go_3(1.0, 0.0);
|
|
result += mat4(0.063556105, -0.038802505, 0.098308414, -0.022572387, 0.01916856, -0.046118446, -0.023157543, -0.0030076469, 0.006978761, -0.07691966, 0.049419176, -0.014772799, -0.13417888, -0.09242537, 0.06894446, -0.07848624) * go_3(1.0, 1.0);
|
|
result += mat4(0.01280834, -0.052721504, -0.01706708, 0.0028470804, 0.020805791, 0.006617784, -0.010675241, -0.017558832, -0.09362381, 0.0043864, -0.035955433, 0.001065764, 0.058542565, -0.032927778, 0.07916248, -0.03997376) * go_4(-1.0, -1.0);
|
|
result += mat4(0.060645532, 0.104732536, 0.11815832, 0.05011748, 0.0055031423, 0.20799986, -0.050977442, -0.21806534, -0.00055571686, -0.21356145, -0.0147209745, 0.072338395, 0.11485665, -0.022358414, -0.01575413, 0.11097265) * go_4(-1.0, 0.0);
|
|
result += mat4(-0.07599235, -0.070393614, -0.042556494, -0.027536979, 0.03244002, -0.009717755, -0.10595384, -0.05508222, -0.060975544, -0.033835378, -0.08520762, 0.1234127, -0.04340964, 0.029099535, -0.055060316, 0.10189488) * go_4(-1.0, 1.0);
|
|
result += mat4(-0.11586163, -0.10339468, 0.018628253, 0.11294932, -0.08137997, -0.12097089, -0.004096637, -0.15007496, -0.11381295, -0.11907909, 0.0019885178, -0.06317762, 0.082184374, 0.16213977, 0.17092547, 0.05194319) * go_4(0.0, -1.0);
|
|
result += mat4(0.015809923, 0.031414498, 0.06770427, -0.040179458, 0.009551585, -0.03656711, -0.015123795, 0.2606833, 0.12001062, -0.09206469, 0.05211573, -0.10032222, -0.066903725, -0.10153829, 0.006569603, 0.15233746) * go_4(0.0, 0.0);
|
|
result += mat4(-0.13016693, -0.05837558, 0.03728972, 0.013845801, -0.0963519, 0.043406032, -0.11162186, 0.17593586, 0.16878426, -0.023199903, 0.018601537, 0.064760186, -0.02338956, -0.030894913, -0.023887586, 0.09656904) * go_4(0.0, 1.0);
|
|
result += mat4(0.046886213, 0.059098363, 0.117162004, -0.019554192, 0.06123918, -0.03775235, -0.17667934, -0.020468798, -0.10859388, 0.0027064981, 0.032114375, -0.08948968, 0.022602081, 0.019939497, -0.035069417, -0.017369915) * go_4(1.0, -1.0);
|
|
result += mat4(0.05927567, -0.04385093, 0.029050631, -0.0122622885, 0.124886535, -0.047030345, 0.12648477, 0.21384676, 0.06860462, 0.11381426, -0.20935951, 0.03660723, 0.07183579, -0.0505358, -0.13215779, -0.09444421) * go_4(1.0, 0.0);
|
|
result += mat4(0.12360126, -0.01841402, -0.019791638, -0.009799932, -0.0067030676, 0.077652015, -0.09030087, -0.05485269, 0.10192293, -0.026423357, 0.024067886, 0.010795157, 0.05065528, -0.021747395, 0.11369635, 0.071461305) * go_4(1.0, 1.0);
|
|
result += mat4(-0.15664753, -0.3001536, -0.03629498, 0.060492914, 0.009496274, 0.028094364, -0.009191958, -0.0577588, -0.06539721, -0.011572763, -0.15954313, 0.102323525, -0.05494961, -0.0023975812, 0.040828995, -0.051322095) * go_5(-1.0, -1.0);
|
|
result += mat4(0.12627518, 0.18399099, 0.16070911, 0.16220057, 0.057850912, 0.04689522, -0.075267516, -0.022188958, 0.16158912, -0.11660483, 0.045059294, 0.06380398, 0.025790306, -0.008863167, -0.08780004, -0.06612076) * go_5(-1.0, 0.0);
|
|
result += mat4(0.14227939, -0.027410321, 0.13737302, -0.12113999, 0.029474085, 0.00757624, 0.019095859, 0.12143887, 0.060082193, 0.1189196, -0.06993007, 0.03063737, 0.047921035, 0.01861652, -0.03395391, -0.08596215) * go_5(-1.0, 1.0);
|
|
result += mat4(-0.13546674, -0.095134504, 0.13793515, 0.14019996, -0.076285966, -0.07444076, 0.08611525, -0.094507635, 0.010120621, 0.022456804, 0.0432159, 0.05690138, -0.041333348, 0.112625234, -0.07680725, -0.057620674) * go_5(0.0, -1.0);
|
|
result += mat4(-0.0306885, -0.1369895, -0.095055066, -0.16577624, -0.14029223, -0.2401948, 0.09099631, 0.1894274, 0.091891415, 0.18598725, -0.016354626, 0.073076904, -0.13816236, -0.050228953, 0.09365188, 0.2218683) * go_5(0.0, 0.0);
|
|
result += mat4(0.2252823, 0.24741633, -0.062608674, -0.049572356, 0.13114338, 0.027443433, 0.05400542, -0.13648489, -0.04472984, -0.0016671685, 0.048863463, -0.11504105, -0.06100274, -0.0878448, -0.06880304, 0.053783167) * go_5(0.0, 1.0);
|
|
result += mat4(-0.10332402, -0.055568, -0.008943689, 0.052060086, 0.13946952, 0.07737958, -0.013550045, 0.12413722, -0.08039647, 0.06550823, -0.009702849, -0.07330266, 0.041070487, -0.029019738, 0.17718314, -0.047616117) * go_5(1.0, -1.0);
|
|
result += mat4(-0.007685302, -0.05005613, -0.16978261, 0.1673353, -0.01058089, -0.009134079, 0.056686405, -0.032724455, -0.23283169, -0.015320123, -0.07628575, 0.1583336, 0.10090872, -0.08577921, 0.009976957, -0.08556881) * go_5(1.0, 0.0);
|
|
result += mat4(-0.069601454, -0.16285476, -0.14907263, 0.008809696, -0.090793215, 0.040755514, -0.052355014, 0.059863154, -0.09268102, 0.061798856, -0.06748168, 0.11184569, 0.033429194, -0.016948707, 0.04313349, -0.040461414) * go_5(1.0, 1.0);
|
|
result += mat4(0.19497512, -0.0467561, 0.023610603, -0.06681841, -0.062420018, -0.1856033, -0.052360386, 0.03759329, 0.021207232, -0.018927721, -0.004877006, -0.119918, -0.038005788, 0.03264522, -0.045749072, -0.10774479) * go_6(-1.0, -1.0);
|
|
result += mat4(0.03304711, -0.10518301, 0.047590237, 0.15113771, -0.038459413, 0.033557326, 0.04411137, -0.0009139046, 0.04881818, 0.014962995, 0.07928227, -0.04755859, -0.11342892, -0.13751194, 0.008316373, -0.025914624) * go_6(-1.0, 0.0);
|
|
result += mat4(-0.011008603, 0.045551877, -0.0081338845, -0.047599968, -0.041662537, 0.0406822, -0.05794957, -0.004118748, 0.09639767, 0.034570917, 0.004335613, -0.072743304, -0.06002741, -0.027849816, 0.010462201, 0.07306804) * go_6(-1.0, 1.0);
|
|
result += mat4(0.038866248, -0.08543851, -0.11141201, -0.005390378, 0.0561201, 0.10566394, -0.18883973, -0.20431116, -0.0900862, 0.14404656, -0.035239823, 0.11301996, 0.16515182, -0.050829098, -0.031654615, -0.27990615) * go_6(0.0, -1.0);
|
|
result += mat4(-0.007277367, 0.12595385, -0.11913772, 0.046281498, 0.028128926, 0.072584935, 0.23264836, 0.07615621, -0.002138678, 0.041904695, 0.0031731776, -0.050394382, -0.07322431, -0.06341686, -0.20411542, 0.14221752) * go_6(0.0, 0.0);
|
|
result += mat4(0.031282783, 0.040795453, 0.208459, 0.049378183, -0.015543645, -0.04021312, 0.007385161, 0.12940495, 0.037410237, -0.014123586, 0.04817765, 0.2954283, 0.02939279, 0.073805846, 0.07340725, 0.053781614) * go_6(0.0, 1.0);
|
|
result += mat4(0.14374124, 0.019307, 0.089477286, -0.07718816, -0.07112429, 0.004047335, 0.13103326, -0.16484602, -0.03885213, 0.0077970796, 0.0064952304, 0.051825427, 0.0664705, 0.020351974, 0.029119588, -0.15641749) * go_6(1.0, -1.0);
|
|
result += mat4(-0.05202113, -0.054551017, 0.33602884, 0.048029248, -0.043523017, 0.044123486, -0.018491492, -0.09169264, -0.013394848, -0.06573222, 0.13456802, -0.1149609, -0.044688087, -0.00718599, 0.1767986, -0.053084526) * go_6(1.0, 0.0);
|
|
result += mat4(0.07546729, -0.032875005, 0.042173672, 0.05048262, 0.01590828, -0.09853918, 0.06093201, -0.002626066, -0.03542386, -0.15628773, 0.060038045, 0.12942557, -0.0070227217, -0.03641083, 0.10482737, 0.025141418) * go_6(1.0, 1.0);
|
|
result += mat4(0.016529802, 0.0043892316, -0.10654008, -0.024906425, 0.063835494, 0.062191088, -0.03386337, -7.391122e-05, 0.017360928, -0.081854485, -0.049970977, -0.18043153, 0.07422766, -0.052274927, -0.10796201, 0.02522134) * go_7(-1.0, -1.0);
|
|
result += mat4(-0.13193989, -0.39976606, -0.08711887, 0.11760426, 0.0400159, 0.04344605, -0.025972437, 0.017632293, -0.08930181, -0.06918609, -0.100745395, 0.12591058, 0.047575995, 0.20105389, 0.15187413, 0.14879894) * go_7(-1.0, 0.0);
|
|
result += mat4(-0.092015155, 0.046027385, -0.06561636, -0.024732815, -0.13749364, -0.11767722, -0.081770845, 0.08132994, 0.059361424, 0.08782322, 0.069658145, -0.016498579, 0.06615127, -0.04983712, -0.072412446, -0.041010287) * go_7(-1.0, 1.0);
|
|
result += mat4(0.24117598, -0.027253859, 0.105331935, 0.0037912133, -0.05223233, -0.075537495, 0.02798587, 0.11465205, -0.029297842, 0.04478198, 0.08314539, -0.26526174, 0.020445049, -0.0023376262, -0.04505236, -0.0006044712) * go_7(0.0, -1.0);
|
|
result += mat4(0.09227631, 0.13715367, -0.056893453, -0.052973308, 0.40374655, -0.08798927, 0.058961708, -0.19479023, -0.086991675, -0.1769822, -0.07190271, 0.15482901, 0.09349237, 0.1288526, -0.11294257, 0.25005454) * go_7(0.0, 0.0);
|
|
result += mat4(0.07191734, 0.027553475, -0.06921294, -0.29639876, -0.09307168, 0.031660758, 0.0066143875, -0.010571511, 0.16258438, -0.023288634, -0.008395366, -0.00199625, -0.0017766656, 0.033006024, 0.007838229, -0.0069438727) * go_7(0.0, 1.0);
|
|
result += mat4(-0.21871254, -0.18168172, -0.13938524, 0.11240828, -0.0069276206, 0.06823823, 0.07300479, 0.13021785, 0.05081249, 0.094866015, -0.032590266, -0.00373966, 0.06404947, 0.020337617, 0.05815261, 0.05636723) * go_7(1.0, -1.0);
|
|
result += mat4(-0.14583783, 0.13061316, -0.16108353, 0.07912993, 0.10734204, 0.058502458, 0.17339855, -0.016800068, 0.015104513, -0.08744899, 0.03314292, 0.00884198, 0.012148305, -0.13259661, -0.0024382567, 0.09106286) * go_7(1.0, 0.0);
|
|
result += mat4(0.011463585, 0.030946795, -0.011552501, -0.035901964, -0.041020002, 0.09250339, -0.020290852, 0.024048228, 0.05744567, 0.026032735, -0.073170856, -0.104456924, 0.071367934, 0.003912922, 0.025425302, 0.047988683) * go_7(1.0, 1.0);
|
|
result += mat4(-0.22191837, -0.2257593, -0.15251155, 0.07586268, 0.06943342, -0.007574967, 0.19480947, -0.02960502, 0.20693396, 0.12508106, 0.079586156, -0.06614329, 0.10324912, -0.011199283, -0.032664742, 0.01517784) * go_8(-1.0, -1.0);
|
|
result += mat4(-0.16461048, -0.14455634, -0.07863425, 0.10448297, -0.16391546, -0.3440858, 0.061637916, 0.10821992, -0.11559868, -0.124102026, -0.07010831, -0.043542713, 0.005122282, -0.22303511, 0.10319967, 0.11136304) * go_8(-1.0, 0.0);
|
|
result += mat4(-0.085814305, 0.0671181, -0.09666471, 0.0709856, -0.08612543, 0.06824724, -0.02760584, 0.120118774, 0.025091501, 0.1524465, -0.08756672, 0.03332349, 0.037369296, -0.019516885, 0.08425569, -0.048828572) * go_8(-1.0, 1.0);
|
|
result += mat4(-0.14368273, -0.061557032, 0.059682447, 0.038857657, -0.09985489, 0.13392676, 0.09205029, -0.08138969, 0.06367527, 0.08306289, 0.051590085, 0.009205435, 0.11429562, -0.03924382, -0.103099965, -0.16046633) * go_8(0.0, -1.0);
|
|
result += mat4(-0.03116845, -0.161036, 0.16455984, 0.15823524, 0.057797033, 0.10055296, -0.021965846, -0.1707231, -0.1316759, -0.18603332, 0.3289355, -0.17060469, -0.09103268, -0.015564387, -0.0051795538, 0.004206438) * go_8(0.0, 0.0);
|
|
result += mat4(0.090225436, -0.06456529, 0.0039322153, 0.13748786, -0.00029579244, 0.05173729, -0.012565472, 0.014817849, -0.15867415, -0.1161162, -0.067584015, -0.04968183, -0.010860482, -0.03713543, -0.045595832, -0.023706641) * go_8(0.0, 1.0);
|
|
result += mat4(-0.05970663, -0.027418336, 0.11284707, 0.101240784, -0.07298847, 0.11284481, -0.0078089354, 0.06006012, -0.16067922, 0.07320997, -0.1914743, 0.042251594, -0.048038073, 0.007961409, 0.1175661, -0.09223836) * go_8(1.0, -1.0);
|
|
result += mat4(-0.1683908, 0.045841098, -0.09786102, 0.09460191, -0.017222371, -0.035355564, 0.0690435, -0.030392602, -0.27776477, 0.034729514, -0.3573131, 0.19292149, -0.09288385, -0.03694833, 0.19795837, 0.08169002) * go_8(1.0, 0.0);
|
|
result += mat4(0.10526859, -0.033842515, -0.00038688057, -0.043641835, -0.03687145, 0.0163753, 0.07397885, -0.025366662, 0.06565965, 0.0792511, 0.03835641, 0.07304188, -0.12286303, -0.006640694, -0.078515835, 0.03172248) * go_8(1.0, 1.0);
|
|
result += mat4(0.121351756, -0.0763981, 0.09827231, -0.10602815, 0.04846232, 0.06795368, 0.035164706, 0.055941246, -0.017775094, -0.060437303, 0.04069536, -2.5598622e-05, 0.10354173, 0.03151618, -0.054484546, -0.06755197) * go_9(-1.0, -1.0);
|
|
result += mat4(0.052247375, -0.06516116, 0.09588556, -0.003264454, 0.022573326, -0.13400207, 0.1418172, 0.19728236, -0.079901055, -0.13343193, -0.021878898, -0.0290019, -0.09528025, -0.1114056, -0.10429659, -0.16927998) * go_9(-1.0, 0.0);
|
|
result += mat4(-0.017356968, -0.00969671, -0.022002133, -0.108752415, -0.06782034, -0.105500594, 0.02407946, 0.18143432, 0.07188958, -0.03473495, 0.08828998, 0.10953856, 0.006947472, -0.03331379, -0.17057602, 0.033569362) * go_9(-1.0, 1.0);
|
|
result += mat4(0.10608698, 0.1378534, -0.026160153, 0.039835528, 0.113831565, 0.009820958, 0.07269987, 0.17601271, 0.0034729815, 0.08407026, -0.01897768, 0.05271668, -0.016592437, 0.05929509, -0.15702367, 0.00019891327) * go_9(0.0, -1.0);
|
|
result += mat4(-0.0732074, -0.14815444, 0.33618078, 0.024749054, 0.10881424, 0.024599079, -0.21665074, -0.20229015, -0.017055713, 0.11797696, -0.0604084, -0.13081324, -0.007022633, -0.18243237, 9.758133e-05, 0.14844951) * go_9(0.0, 0.0);
|
|
result += mat4(0.030599771, -0.14666091, 0.1246702, -0.23767127, -0.1542676, 0.08274036, 0.017111259, 0.17739242, 0.09385083, -0.008990236, -0.008731476, 0.0078490805, 0.10616891, -0.0045042736, -0.015150148, 0.093863346) * go_9(0.0, 1.0);
|
|
result += mat4(-0.238582, -0.12888226, 0.062746584, -0.013613244, -0.15023652, 0.00604485, -0.03942331, 0.049745943, -0.03517055, 0.0266165, -0.0053780763, 0.11204057, 0.04067464, -0.010735517, -0.02092895, -0.055166125) * go_9(1.0, -1.0);
|
|
result += mat4(-0.21076983, 0.00020977294, 0.057701807, 0.11936158, -0.043244675, 0.15999554, 0.07520316, -0.03134187, -0.047411434, -0.08266884, 0.03400874, 0.058285017, 0.15107161, -0.029803991, -0.061899424, 0.029055532) * go_9(1.0, 0.0);
|
|
result += mat4(0.059893206, 0.15408796, -0.06683036, -0.033143673, 0.026131466, 0.046894383, 0.09191239, 0.024258284, -0.035980422, 0.0048372583, -0.053550158, 0.0045745485, 0.103011794, 0.00410687, -0.032758884, -0.026524084) * go_9(1.0, 1.0);
|
|
result += mat4(-0.18295364, -0.17585278, 0.17137699, -0.08619195, -0.13111612, 0.051858477, -0.029036282, -0.006265607, 0.11600521, -0.061429944, 0.07723731, 0.025352364, -0.03384655, 0.08169898, 0.011377913, 0.054112416) * go_10(-1.0, -1.0);
|
|
result += mat4(-0.0845478, -0.2210954, 0.0278858, -0.12316875, -0.08059248, 0.1765885, 0.0012807783, -0.05785069, -0.16184571, 0.13207576, -0.1969308, 0.085367665, 0.0320036, 0.049941804, 0.0961744, 0.030920865) * go_10(-1.0, 0.0);
|
|
result += mat4(0.006473092, -0.28939396, 0.045139372, 0.1506751, -0.039407697, 0.05958992, 0.025343666, 0.013108786, -0.07745663, 0.04343992, -0.014802551, -0.060424045, 0.1636588, 0.0062321406, 0.15372176, -0.09329484) * go_10(-1.0, 1.0);
|
|
result += mat4(0.100206874, 0.09197898, 0.09058029, -0.0635527, 0.055971082, -0.051781185, 0.018404432, 0.13257432, 0.24335167, -0.0018386962, 0.013339353, -0.05098463, 0.059486944, 0.009329367, -0.081478484, -0.015244286) * go_10(0.0, -1.0);
|
|
result += mat4(0.12779732, 0.089683644, 0.21342328, -0.08844181, -0.2867166, -0.15493292, -0.14888553, 0.16488807, -0.1831781, 0.020893812, -0.10749461, 0.058019836, -0.028827542, 0.0013639918, -0.017985959, -0.18188177) * go_10(0.0, 0.0);
|
|
result += mat4(0.29080325, 0.14193642, -0.038238116, -0.18710017, -0.16504124, -0.010206886, -0.11935492, -0.100392096, 0.04072275, 0.033194207, 0.030005952, -0.1253406, 0.15270533, -0.010144447, 0.092550725, -0.019711375) * go_10(0.0, 1.0);
|
|
result += mat4(-0.11841741, -0.07162508, -0.061306775, -0.031790234, 0.032855142, 0.0009371411, -0.03394299, 0.13660134, 0.051604748, 0.058614805, -0.010754542, 0.10677512, 0.0937737, 0.03432094, -0.027782435, 0.109737664) * go_10(1.0, -1.0);
|
|
result += mat4(-0.14472151, 0.09398292, -0.15900728, 0.05097848, 0.075774, 0.04932654, -0.02454701, -0.08406903, -0.056312535, -0.042069953, -0.071291484, 0.098381884, 0.004548807, 0.05215396, -0.015525509, 0.12574632) * go_10(1.0, 0.0);
|
|
result += mat4(-0.11654189, 0.013088836, -0.02402389, -0.036904175, -0.12132315, 0.014733159, -0.028042665, 0.003102871, -0.020543652, -0.020059172, -0.089582056, 0.008796405, 0.02454187, -0.066452146, -0.060199965, -0.02707342) * go_10(1.0, 1.0);
|
|
result += mat4(0.05652919, 0.042058658, -0.015599604, -0.05833937, -0.13732237, -0.041316792, -0.07279584, 0.07993067, -0.11355821, 0.054718003, 0.080026165, 0.064056605, -0.035523087, -0.08941014, -0.025958898, 0.061026268) * go_11(-1.0, -1.0);
|
|
result += mat4(-0.0058581834, 0.015453918, -0.09214841, -0.022040304, 0.10705177, 0.085769184, 0.113192774, -0.04181053, 0.042530615, 0.16765572, 0.060522784, -0.017345218, -0.044598486, 0.034881953, -0.13498019, 0.23769027) * go_11(-1.0, 0.0);
|
|
result += mat4(-0.023105798, -0.020430628, -0.0071207415, 0.006704128, -0.002355791, -0.0752171, 0.061575998, 0.015624271, -0.023365654, -0.1427836, 0.06126982, -0.050201222, -0.06720442, -0.13793977, 0.011413775, 0.058962625) * go_11(-1.0, 1.0);
|
|
result += mat4(-0.029752081, -0.0032342975, 0.099601224, -0.08883965, -0.010183654, 0.11812346, -0.109437235, -0.027385335, -0.10880765, 0.026722083, 0.099590175, 0.11692624, 0.1614155, -0.0004482927, 0.057256628, -0.18714856) * go_11(0.0, -1.0);
|
|
result += mat4(0.14083168, -0.050669212, -0.007808056, 0.13454509, 0.20497486, 0.004596911, -0.027377158, 0.22557732, -0.029528921, -0.38164106, -0.020178597, -0.1270025, 0.058526114, 0.27948564, 0.00021355593, -0.21633019) * go_11(0.0, 0.0);
|
|
result += mat4(-0.1697489, -0.1534659, 0.06745331, 0.06836403, 0.05527775, 0.01585226, -0.008290084, 0.00372169, 0.05588411, -0.07853263, 0.21021011, -0.10604325, 0.0037866917, 0.23453033, -0.034253817, 0.20989835) * go_11(0.0, 1.0);
|
|
result += mat4(0.046102192, -0.0130096115, 0.021954251, -0.108732164, 0.04381521, -0.032636926, 0.080669895, -0.08031942, -0.08951513, -0.02696031, 0.0046885624, -0.022610806, -0.099242695, 0.032632332, -0.0016390269, -0.07711874) * go_11(1.0, -1.0);
|
|
result += mat4(-0.044159513, 0.07067756, 0.094432525, -0.17828992, -0.12117777, -0.013418155, -0.007921758, -0.02032334, 0.07187493, 0.18236518, -0.037667807, -0.099229, -0.15891619, 0.09857986, 0.0473225, -0.14218943) * go_11(1.0, 0.0);
|
|
result += mat4(0.05981301, 0.028920583, 0.07183061, -0.0028005976, -0.04035995, -0.037211154, -0.04457544, -0.0063461177, 0.10543609, -0.07223556, -0.0030153142, -0.22591156, 0.022075815, 0.0039744987, 0.010785018, 0.057664506) * go_11(1.0, 1.0);
|
|
result += vec4(0.00025627183, -0.015120007, 0.01494957, -0.053881075);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x128
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_24_tf
|
|
//!BIND conv2d_24_tf1
|
|
//!BIND conv2d_24_tf2
|
|
//!BIND conv2d_24_tf3
|
|
//!BIND conv2d_24_tf4
|
|
//!BIND conv2d_24_tf5
|
|
//!BIND conv2d_23_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!BIND conv2d_16_tf
|
|
//!BIND conv2d_19_tf
|
|
//!BIND conv2d_22_tf
|
|
//!BIND conv2d_25_tf
|
|
//!SAVE conv0ups
|
|
//!WIDTH conv2d_24_tf.w
|
|
//!HEIGHT conv2d_24_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_24_tf_tex(conv2d_24_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_24_tf1_tex(conv2d_24_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_24_tf2_tex(conv2d_24_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_24_tf3_tex(conv2d_24_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_24_tf4_tex(conv2d_24_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_24_tf5_tex(conv2d_24_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_24_tf_tex(conv2d_24_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_24_tf1_tex(conv2d_24_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_24_tf2_tex(conv2d_24_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_24_tf3_tex(conv2d_24_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_24_tf4_tex(conv2d_24_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_24_tf5_tex(conv2d_24_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_24 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_25 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_26 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_27 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_28 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
|
|
#define g_29 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
|
|
#define g_30 (max((conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
|
|
#define g_31 (max(-(conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.10379351, 0.18366472, -0.014283382, 0.037760813, -0.19799379, -0.0018981653, -0.059591044, 0.13041328, 0.022382444, 0.08731348, 0.059271958, 0.03694388, 0.038578022, -0.15092373, -0.2403975, 0.15757182) * g_0;
|
|
result += mat4(-0.13118985, 0.09737578, 0.04058633, 0.15121624, -0.050244283, -0.058344584, 0.056500804, -0.025770865, -0.005228628, -0.12770256, 0.21192689, -0.12730236, 0.07307438, 0.089528576, -0.14202845, 0.16739286) * g_1;
|
|
result += mat4(-0.09291285, 0.049908094, -0.08641805, -0.0994023, -0.13827445, 0.06629267, -0.012042626, 0.14321536, -0.20399944, -0.09279058, 0.08082924, 0.22459853, 0.101080395, -0.03917803, -0.0055141104, -0.056043904) * g_2;
|
|
result += mat4(0.09961629, 0.018202445, 0.070070334, -0.08061635, -0.025480092, 0.07361016, -0.09318115, 0.0467741, -0.08614961, -0.2969266, -0.044264156, -0.034117006, 0.0013521328, 0.14935707, -0.11521471, -0.18149963) * g_3;
|
|
result += mat4(-0.02796338, 0.07482737, 0.077914014, 0.008720861, 0.113995664, -0.16486213, 0.02044073, -0.26344302, -0.022359366, 0.10770358, -0.28904364, 0.1708076, 0.048541255, 0.056811094, 0.009464462, -0.15483724) * g_4;
|
|
result += mat4(0.21674214, -0.056123927, 0.026049627, -0.24166808, 0.106360875, 0.13033913, 0.06690134, -0.102156475, -0.2146559, 0.043410923, 0.052054137, 0.07441795, -0.19243327, 0.080124944, 0.050383605, -0.031940952) * g_5;
|
|
result += mat4(0.15253735, -0.14331368, 0.11689908, 0.19804358, 0.09282296, 0.13205051, 0.01873634, -0.16300555, 0.0960226, -0.16211699, 0.108940765, -0.0054207807, -0.10787891, 0.12311903, 0.15282704, 0.02691786) * g_6;
|
|
result += mat4(-0.060586907, -0.08894053, -0.11878285, 0.16953108, -0.012478705, -0.053086035, -0.17722923, 0.08350076, 0.07320384, 0.058841225, 0.06174459, 0.17676029, 0.020537157, -0.08562913, 0.19099198, -0.17127311) * g_7;
|
|
result += mat4(0.16016012, 0.013196712, 0.014020182, -0.04458684, 0.09496452, -0.013175905, 0.117158264, -0.06100676, 0.035590272, 0.23623185, 0.04740066, -0.16814622, -0.04528422, 0.054107446, -0.007874635, -0.05462888) * g_8;
|
|
result += mat4(-0.064958826, 0.062455025, -0.060231823, 0.04726689, -0.08692075, -0.13570185, 0.027609564, 0.058563568, -0.08078551, 0.026376098, -0.092572846, 0.1144904, 0.16768721, -0.055053793, 0.08884567, -0.0039492855) * g_9;
|
|
result += mat4(0.08873042, 0.034452096, -0.08266588, -0.064171374, -0.014811351, -0.031750735, 0.039068844, 0.15075831, 0.1469489, -0.15084769, 0.045364805, -0.110339, 0.06251466, 0.032046065, 0.057865307, 0.08985475) * g_10;
|
|
result += mat4(-0.07245567, 0.051501337, 0.0042395876, 0.033770293, -0.031408194, -0.05472587, 0.09442824, -0.11996058, 0.24455559, -0.018954042, -0.16885613, -0.01632158, -0.0013987822, 0.06844135, -0.0111589795, 0.05573825) * g_11;
|
|
result += mat4(0.004076213, 0.01192855, -0.015088375, -0.08436373, 0.021499854, 0.11274089, -0.10327082, 0.059402663, -0.07375569, 0.07293562, 0.04328945, 0.07769358, -0.00626241, 0.00084008416, -0.085746236, 0.023070317) * g_12;
|
|
result += mat4(-0.09255245, 0.085858874, 0.05233346, 0.06957257, 0.0484713, -0.14642376, 0.12319201, -0.19496371, -0.08323385, -0.06796162, 0.10835355, 0.0060179066, -0.18043493, 0.06015162, 0.10672543, -0.005817063) * g_13;
|
|
result += mat4(0.3232499, -0.1989966, -0.049172856, 0.076056555, 0.33830073, -0.21595804, -0.10094274, -0.004869525, 0.10147264, -0.04128893, 0.10962383, -0.2672602, -0.0242305, 0.08097903, -0.19162776, -0.10605484) * g_14;
|
|
result += mat4(-0.22968711, 0.02579494, 0.11823294, 0.059410084, -0.3657473, 0.035860255, 0.24233946, 0.015638743, -0.30643675, -0.05283249, 0.017403604, 0.29657462, 0.056514356, -0.10457145, 0.13097277, -0.01019346) * g_15;
|
|
result += mat4(0.13813877, -0.20461698, -0.23769434, -0.044042442, -0.0980774, -0.16314495, -0.18455383, -0.22081804, 0.08652147, -0.005959925, 0.08006801, -0.056305975, 0.27703115, -0.19184026, -0.20616496, 0.05559955) * g_16;
|
|
result += mat4(-0.051795844, 0.00823916, -0.029457001, 0.11031028, 0.3818378, -0.10899863, -0.0840712, 0.2996256, -0.11754779, -0.07541523, 0.013602051, -0.056690898, -0.10979357, 0.079053424, 0.08714793, -0.061318632) * g_17;
|
|
result += mat4(-0.11119865, -0.20492773, 0.054974385, -0.07364314, -0.1528288, 0.028022958, -0.00607566, 0.086783506, 0.04634063, -0.032565832, -0.045977455, 0.101378955, -0.09641133, 0.0043743537, 0.08885213, 0.33897394) * g_18;
|
|
result += mat4(-0.04481023, 0.097230285, 0.10430489, 0.10649403, 0.21939069, -0.1500718, 0.05880893, -0.10914413, -0.044258267, 0.05826005, 0.066263, -0.06499524, 0.07086308, -0.044233378, 0.021092411, -0.24664259) * g_19;
|
|
result += mat4(0.005507752, -0.012920197, -0.073212765, -0.02703035, 0.13821156, 0.08859407, -0.1497461, -0.021670796, 0.10447694, 0.021847986, 0.040287685, 0.08332262, -0.113355346, -0.05927782, 0.0033077523, 0.016749239) * g_20;
|
|
result += mat4(-0.13260053, 0.08340849, -0.057220932, 0.050883524, 0.046069406, 0.02517257, 0.07518926, -0.1041817, 0.04734083, -0.13760519, -0.06936529, -0.1629241, 0.06663661, 0.051238295, 0.0026632578, 0.026618795) * g_21;
|
|
result += mat4(0.043251, -0.00019805098, -0.0067067496, -0.008556112, -0.07886367, 0.047598533, 0.12148756, -0.21429478, 0.010308021, 0.018492302, -0.089294665, 0.026199404, -0.07520715, 0.0356786, 0.015251901, 0.022741525) * g_22;
|
|
result += mat4(0.11324991, -0.048524857, 0.04142719, -0.023030233, 0.014004447, -0.13249397, -0.07014101, 0.07292874, 0.074551955, -0.13850869, -0.0725583, -0.031064156, 0.10623482, -0.013893804, -0.041833505, 0.0536592) * g_23;
|
|
result += mat4(0.024236089, 0.021549981, -0.020722905, 0.1031231, -0.06631272, 0.021624254, 0.0040281564, 0.121802464, 0.07268475, -0.13640176, -0.014991021, -0.03396125, 0.012678531, -0.030477472, 0.007851547, 0.032361716) * g_24;
|
|
result += mat4(-0.10445165, -0.054380383, 0.116709106, -0.120440856, 0.065207876, -0.037177384, -0.0010802799, -0.09903962, -0.014772104, -0.015991863, -0.011176849, 0.08159087, -0.04181037, -0.045783844, 0.05329981, -0.017217785) * g_25;
|
|
result += mat4(0.07567822, 0.047062293, 0.03619995, -0.04219767, 0.10531482, -0.08139784, 0.04502375, 0.01837867, 0.039460644, -0.034145698, -0.14567985, 0.10103348, 0.051675834, -0.068317145, 0.0077824956, -0.09261776) * g_26;
|
|
result += mat4(-0.030655192, -0.11313884, -0.12541282, -0.0032168734, -0.005504764, 0.004722538, 0.09903894, -0.10796175, -0.0062598013, 0.06569805, 0.070193775, -0.039988127, 0.09546041, -0.04402558, -0.037034012, 0.014417219) * g_27;
|
|
result += mat4(-0.17705046, 0.088174336, -0.01729608, 0.19739969, 0.028319644, -0.021543927, -0.031175073, 0.1129947, 0.03287802, 0.10785583, -0.06357378, 0.005723139, -0.04233204, 0.15263905, 0.046576403, 0.038148563) * g_28;
|
|
result += mat4(0.1636625, -0.100117125, -0.070475556, -0.12688895, 0.05384177, -0.12399162, -0.10938886, -0.003527758, -0.025538636, 0.083223015, -0.07737418, -0.030358527, 0.02227781, -0.114781424, -0.016678223, 0.034633335) * g_29;
|
|
result += mat4(0.09671474, -0.015161189, -0.032330167, -0.027161723, -0.016465846, 0.033814523, -0.22615166, 0.047766432, -0.028019844, -0.003297678, 0.035333525, 0.0144364005, -0.25640464, 0.23690245, 0.1899895, 0.11149848) * g_30;
|
|
result += mat4(-0.012340286, 0.029724559, 0.0727296, -0.03882306, -0.0059372387, 0.010122618, 0.0059355027, 0.034666758, -0.031731993, 0.03645842, -0.23056214, -0.050197847, 0.1743216, -0.10116961, -0.28167897, -0.05476145) * g_31;
|
|
result += vec4(0.056676798, -0.061795954, 0.009313649, -0.0061434037);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x128
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_24_tf
|
|
//!BIND conv2d_24_tf1
|
|
//!BIND conv2d_24_tf2
|
|
//!BIND conv2d_24_tf3
|
|
//!BIND conv2d_24_tf4
|
|
//!BIND conv2d_24_tf5
|
|
//!BIND conv2d_23_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!BIND conv2d_16_tf
|
|
//!BIND conv2d_19_tf
|
|
//!BIND conv2d_22_tf
|
|
//!BIND conv2d_25_tf
|
|
//!SAVE conv0ups1
|
|
//!WIDTH conv2d_24_tf.w
|
|
//!HEIGHT conv2d_24_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_24_tf_tex(conv2d_24_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_24_tf1_tex(conv2d_24_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_24_tf2_tex(conv2d_24_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_24_tf3_tex(conv2d_24_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_24_tf4_tex(conv2d_24_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_24_tf5_tex(conv2d_24_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_24_tf_tex(conv2d_24_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_24_tf1_tex(conv2d_24_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_24_tf2_tex(conv2d_24_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_24_tf3_tex(conv2d_24_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_24_tf4_tex(conv2d_24_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_24_tf5_tex(conv2d_24_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_24 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_25 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_26 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_27 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_28 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
|
|
#define g_29 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
|
|
#define g_30 (max((conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
|
|
#define g_31 (max(-(conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.04541149, -0.0050366437, -0.015469368, 0.085441045, 0.00990414, 0.06771481, -0.037142653, 0.010778902, 0.0044673462, 0.051542062, 0.08994092, 0.13987154, -0.042845074, -0.16132447, 0.023451751, -0.22481805) * g_0;
|
|
result += mat4(-0.09941504, 0.15387146, -0.051998027, -0.11480554, 0.062280208, -0.005401726, -0.17179395, -0.03911185, 0.0854519, 0.062706485, -0.019981606, 0.24536288, -0.030532219, 0.007958136, -0.13649222, -0.024381576) * g_1;
|
|
result += mat4(0.03832889, 0.048103765, 0.12716842, 0.113495626, 0.0440496, 0.07310629, -0.0028000488, 0.17484048, 0.011438359, 0.07389019, 0.02776241, -0.069316044, -0.022972163, 0.10774051, -0.0938801, -0.046535835) * g_2;
|
|
result += mat4(-0.19215232, 0.05232597, 0.10455481, 0.023444505, 0.10927069, 0.08145, -0.08996904, -0.04260127, -0.064315274, 0.026296314, -0.032755814, -0.03785644, 0.27563438, -0.07841699, -0.18636514, 0.12306294) * g_3;
|
|
result += mat4(-0.048399806, 0.0760641, -0.05177265, 0.033973522, 0.067749225, -0.004380821, -0.0774159, -0.009233096, -0.16465154, -0.011200447, 0.21356043, -0.019024562, -0.20229931, -0.07075142, -0.15664288, 0.015643707) * g_4;
|
|
result += mat4(-0.094351426, -0.12644641, 0.05531359, 0.056707513, 0.030638099, 0.07659976, -0.17997725, 0.19117208, -0.17829312, -0.12216621, 0.09648017, 0.14906263, -0.05786116, -0.07496384, 0.09830126, -0.014810007) * g_5;
|
|
result += mat4(0.036279242, -0.06603527, 0.023111718, -0.02337117, 0.02710492, -0.006981581, -0.20071441, -0.1842067, -0.03716068, 0.04709737, 0.045576848, -0.06879641, 0.0679718, 0.23346439, 0.09709889, -0.057084534) * g_6;
|
|
result += mat4(0.053583074, -0.14553311, -0.005482713, 0.12731002, -0.089931406, -0.07933109, 0.19270168, 0.11797083, -0.16010518, -0.060825907, 0.18154316, -0.20427613, -0.094507605, 0.02467587, 0.14440428, 0.039989635) * g_7;
|
|
result += mat4(0.097599536, -0.09245783, -0.20063862, 0.06792256, -0.039978925, -0.05130527, 0.0061799865, -0.09635809, 0.042743832, -0.058897775, 0.0623141, 0.08815142, 0.00898274, -0.27158666, 0.18644404, 0.12572071) * g_8;
|
|
result += mat4(0.13333327, -0.11141384, 0.0189257, 0.07486067, -0.1887069, -0.20007583, 0.13411185, 0.024675677, -0.06711045, -0.071214765, 0.14236219, 0.016948408, -0.17799276, -0.05374693, 0.15060847, 0.067363665) * g_9;
|
|
result += mat4(0.038455024, -0.14224243, 0.100015596, 0.07427762, -0.09106503, 0.032443333, -0.14614339, 0.007896408, 0.022800734, 0.07946349, -0.16902667, -0.09839048, 0.14083186, 0.08481537, 0.011087685, 0.032849867) * g_10;
|
|
result += mat4(0.085465506, -0.039180238, -0.057328876, 0.103486076, -0.019720137, -0.09047379, 0.08041987, -0.2419467, 0.15151846, -0.06660591, 0.08598306, -0.086127274, 0.15807416, 0.21837251, 0.14295265, -0.009427875) * g_11;
|
|
result += mat4(-0.06841592, -0.047096353, 0.06594589, 0.04006714, 0.093568385, 0.11080303, -0.02862795, -0.24802656, 0.0015378788, 0.06396377, -0.06855018, -0.068710275, 0.072966084, -0.012504705, -0.065130696, -0.122934654) * g_12;
|
|
result += mat4(0.12186286, 0.063676104, -0.029995052, -0.016781203, 0.019202778, -0.08175405, -0.10161839, 0.15557866, 0.05808489, -0.0065964856, 0.12905426, 0.20926952, 0.07859256, -0.008686442, 0.07933362, 0.027106019) * g_13;
|
|
result += mat4(0.270541, -0.22690733, -0.1241414, 0.11304112, 0.31634018, -0.21323228, -0.18280524, 0.21687673, 0.0849898, -0.12234687, 0.21007027, -0.0402851, -0.12860335, 0.08126234, 0.08792168, 0.16685387) * g_14;
|
|
result += mat4(-0.33927166, 0.29690525, -0.019686026, -0.25433338, -0.31825894, 0.14450845, 0.102088116, -0.07890628, 0.039674938, 0.30625406, -0.13709925, -0.10864652, 0.13764969, -0.11079243, -0.20283377, -0.121819116) * g_15;
|
|
result += mat4(0.05846476, 0.25823107, 0.24806418, 0.055018846, 0.041051112, 0.14231546, 0.26531783, -0.13815305, -0.0347555, 0.0021447854, 0.035343073, 0.083788805, -0.009663775, -0.2863793, -0.09310482, -0.28089014) * g_16;
|
|
result += mat4(0.0034832477, -0.1229684, -0.34263536, -0.2484542, -0.28131288, -0.22963811, 0.014533452, -0.059620526, 0.05972659, 0.0315117, -0.0146327, 0.0036656864, -0.16042776, 0.11570312, -0.13519408, 0.1524639) * g_17;
|
|
result += mat4(-0.07282957, 0.022656137, 0.22041114, -0.08377895, 0.06489512, -0.036208138, 0.24620621, -0.3203503, -0.0572401, 0.13856757, 0.09503737, -0.18688709, 0.045257136, 0.08645792, 0.092612706, 0.0051408974) * g_18;
|
|
result += mat4(0.15591198, -0.06501203, -0.066183835, 0.2039885, -0.041642334, 0.03326719, -0.1649146, 0.18826574, 0.041689713, 0.05594161, -0.21183926, 0.025191378, 0.041054897, -0.16157486, -0.17657453, 0.06918169) * g_19;
|
|
result += mat4(0.017149586, -0.00056166644, 0.051872972, -0.032802667, -0.12568107, 0.039902873, 0.125781, 0.053033836, -0.03665155, 0.027094372, 0.02308107, -0.098191015, -0.018361865, 0.14320368, 0.01797281, 0.07521308) * g_20;
|
|
result += mat4(0.033408675, 0.02283129, 0.02997752, -0.15788378, 0.07751225, -0.0834777, -0.1002591, -0.0842283, 0.004094495, -0.08941768, 0.015826201, 0.07211303, -0.007596218, 0.086126134, -0.016881859, -0.12621973) * g_21;
|
|
result += mat4(0.09811428, 0.009112735, -0.03894858, -0.017335944, 0.059483584, -0.026246855, 0.1123727, 0.0808981, 0.1304059, 0.056278635, 0.1863773, 0.037938364, -0.09004633, -0.009749274, 0.152544, 0.067436) * g_22;
|
|
result += mat4(-0.07445963, -0.08267445, 0.028935976, 0.07464005, -0.067380376, -0.08914155, 0.07307107, -0.080588445, -0.11806715, -0.08066856, -0.08647821, -0.049984932, -0.107150786, 0.0059908605, 0.014040852, -0.020190625) * g_23;
|
|
result += mat4(-0.01459231, 0.059856355, -0.0875324, 0.027868854, 0.08657608, 0.06361718, -0.035373274, -0.0904787, 0.019741405, -0.018468766, 0.029145246, -0.05455427, -0.030421326, -0.009832721, 0.13064435, 0.12649667) * g_24;
|
|
result += mat4(0.011868002, -0.07753596, 0.066872604, -0.04274739, -0.053444482, -0.005729885, -0.018525766, -0.00016065332, -0.058514312, 0.0052640345, -0.03733426, 0.0045842915, 0.011884783, 0.012894087, -0.072470754, -0.041928362) * g_25;
|
|
result += mat4(0.018619414, 0.1113799, 0.022361143, 0.052643936, 0.046952497, 0.04414177, -0.20046502, -0.033954926, -0.05493111, 0.0051490664, 0.047908846, -0.10915426, -0.13786307, -0.011663383, 0.02886674, 0.029417193) * g_26;
|
|
result += mat4(0.082477964, -0.122627676, -0.009119556, 0.00893143, -0.102564596, -0.012067043, 0.12668522, 0.049084503, 0.24883293, -0.14231145, -0.08492953, 0.056602266, 0.03987694, 0.015669636, -0.052809853, -0.04570298) * g_27;
|
|
result += mat4(0.071245566, -0.0025086792, 0.16800047, -0.10551504, 0.029111952, 0.057431195, 0.07436777, -0.106048554, -0.111476324, -0.08960098, -0.056703247, 0.01733813, 0.017663429, 0.16780144, 0.088644154, -0.09442747) * g_28;
|
|
result += mat4(-0.095035836, -0.060732454, -0.28546825, 0.04226247, -0.04221599, -0.07030749, -0.0042552785, 0.045604907, -0.028733522, 0.0071931393, 0.03753302, -0.018106647, 0.026788713, -0.0751185, -0.090948716, 0.09595944) * g_29;
|
|
result += mat4(-0.20686343, -0.15346256, -0.023360955, 0.19853018, -0.0714482, -0.061878093, -0.12700674, -0.16375071, -0.11983135, 0.04651, -0.03974687, -0.01663389, 0.20360872, 0.103487924, -0.07434735, 0.20740858) * g_30;
|
|
result += mat4(0.18442543, 0.05037994, 0.02335825, -0.12077025, 0.045586806, 0.13201606, 0.11823723, -0.17146091, -0.10422535, -0.12337711, 0.088312276, -0.059173893, -0.1398436, -0.11372023, 0.0055838027, -0.105238646) * g_31;
|
|
result += vec4(-0.03529498, -0.032170508, -0.021623377, -0.0031779222);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x128
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_24_tf
|
|
//!BIND conv2d_24_tf1
|
|
//!BIND conv2d_24_tf2
|
|
//!BIND conv2d_24_tf3
|
|
//!BIND conv2d_24_tf4
|
|
//!BIND conv2d_24_tf5
|
|
//!BIND conv2d_23_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!BIND conv2d_16_tf
|
|
//!BIND conv2d_19_tf
|
|
//!BIND conv2d_22_tf
|
|
//!BIND conv2d_25_tf
|
|
//!SAVE conv0ups2
|
|
//!WIDTH conv2d_24_tf.w
|
|
//!HEIGHT conv2d_24_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_24_tf_tex(conv2d_24_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_24_tf1_tex(conv2d_24_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_24_tf2_tex(conv2d_24_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_24_tf3_tex(conv2d_24_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_24_tf4_tex(conv2d_24_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_24_tf5_tex(conv2d_24_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_24_tf_tex(conv2d_24_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_24_tf1_tex(conv2d_24_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_24_tf2_tex(conv2d_24_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_24_tf3_tex(conv2d_24_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_24_tf4_tex(conv2d_24_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_24_tf5_tex(conv2d_24_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_24 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_25 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_26 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_27 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_28 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
|
|
#define g_29 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
|
|
#define g_30 (max((conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
|
|
#define g_31 (max(-(conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.23695897, 0.0008707441, -0.09535488, -0.107918955, -0.053035147, -0.012367683, -0.12371392, -0.09360587, 0.0070371917, 0.03025939, -0.067142904, -0.30728218, 0.0043842546, 0.06634453, 0.0034304627, -0.21123153) * g_0;
|
|
result += mat4(-0.052475177, 0.13422863, -0.10639677, -0.0040811207, -0.26918682, -0.10198708, 0.18605421, 0.10457146, -0.118532345, -0.08069245, -0.0146069005, 0.06658151, -0.008995181, 0.12555914, -0.0065608234, -0.26427776) * g_1;
|
|
result += mat4(-0.10251951, -0.08644078, 0.06929046, 0.12174946, 0.036641974, 0.060216624, 0.0073353215, -0.0030551606, 0.08728512, 0.15798406, -0.11238869, 0.042528275, -0.08227845, -0.06437879, -0.29687157, 0.035045058) * g_2;
|
|
result += mat4(-0.2118616, -0.28126746, -0.0044101025, 0.032711912, 0.13250305, 0.112085946, 0.11919149, 0.019229135, -0.01793138, 0.0706358, -0.2932021, 0.032647975, -0.16981576, 0.15942986, 0.19010448, 0.12454923) * g_3;
|
|
result += mat4(0.1315925, -0.1174062, 0.04584264, 0.10420388, -0.09118308, 0.055226937, -0.21253887, -0.17592257, -0.108380735, 0.082634084, 0.046399225, -0.10313927, 0.048476033, -0.2919353, 0.12174614, 0.22060218) * g_4;
|
|
result += mat4(-0.23951934, -0.2581748, -0.10439337, 0.12529592, -0.08995228, -0.020404166, 0.03317947, 0.10584384, 0.03332401, 0.009280485, 0.022306783, -0.021489294, 0.25585315, 0.141186, 0.24060152, -0.18092757) * g_5;
|
|
result += mat4(-0.11795161, 0.083966084, -0.03625905, -0.014661008, 0.104938276, -0.017483791, 0.34065375, 0.2541225, -0.044073306, 0.024952037, -0.14324227, 0.15807992, 0.07525055, -0.07074876, 0.09318746, 0.09101949) * g_6;
|
|
result += mat4(-0.032153923, -0.13424215, 0.12560824, 0.08011693, 0.12895289, 0.13427536, -0.19034676, -0.14222759, -0.020231325, 0.12888151, -0.061404597, -0.13986583, 0.00984618, -0.17769751, -0.022091439, 0.16932856) * g_7;
|
|
result += mat4(0.12616049, 0.2158069, -0.018368874, -0.09398254, -0.03559572, -0.084191844, -0.05094808, 0.051870555, 0.00082472386, -0.19847158, 0.23022321, 0.01599307, 0.03259911, 0.13212477, 0.12290365, -0.123374574) * g_8;
|
|
result += mat4(0.15702528, 0.17880908, -0.09648207, 0.11680119, -0.28308877, -0.07930958, -0.039864592, 0.1533101, -0.0639061, -0.06088989, 0.092195325, -0.18879996, 0.12157474, -0.16310088, -0.0705742, -0.13419336) * g_9;
|
|
result += mat4(-0.08162867, 0.17165285, -0.009754279, -0.09535414, -0.05133128, -0.05637743, 0.08150842, 0.017400654, 0.01506642, -0.16506091, 0.17735358, 0.1311172, 0.042689405, 0.22685364, -0.049387306, -0.14177462) * g_10;
|
|
result += mat4(0.07369564, 0.14358056, -0.0123517625, 0.027063616, 0.026721044, -0.036328644, 0.01727211, -0.004169973, -0.06480533, 0.05179935, -0.089173846, 0.014242428, -0.026303759, -0.09621599, -0.19990425, 0.20575584) * g_11;
|
|
result += mat4(-0.08702241, -0.11758268, 0.056043744, -0.15513507, 0.041612398, 0.06331151, 0.13647927, 0.078682, -0.0037741002, 0.08883121, -0.029957289, 0.03741986, -0.012796586, -0.005116995, -0.005864093, 0.032396786) * g_12;
|
|
result += mat4(0.071541294, 0.2706407, -0.1646492, 0.06099449, -0.1382612, -0.086235724, -0.083391994, 0.09620373, 0.030570114, -0.032223936, -0.028057259, 0.060482156, 0.052891836, -0.035898015, 0.12505446, 0.1045583) * g_13;
|
|
result += mat4(0.1836627, 0.18400975, -0.06898472, 0.15293436, 0.17102835, 0.2577789, -0.1431052, -0.010170343, 0.041604683, -0.47781685, -0.19841458, 0.20508106, -0.1168606, 0.14722034, -0.15521841, -0.112339936) * g_14;
|
|
result += mat4(-0.2590894, -0.1739389, 0.097751245, -0.1625812, -0.09160245, -0.26803684, -0.08304184, -0.039023403, -0.06551546, 0.7900237, 0.09004902, -0.2700218, 0.3924898, -0.22098823, 0.14447868, 0.09300293) * g_15;
|
|
result += mat4(0.1459711, 0.076514535, -0.27012572, -0.05584663, -0.19236547, 0.3263724, 0.123078234, -0.36640257, -0.063692175, -0.10517102, 0.079691075, 0.03320508, -0.18557668, 0.09733424, -0.038860522, -0.03146454) * g_16;
|
|
result += mat4(0.19119984, -0.017070724, 0.020692987, -0.06097901, -0.31390896, -0.3539774, -0.011533943, 0.10555, 0.14474893, 0.13138455, -0.07301415, 0.020723976, 0.09968003, -0.21684577, -0.137175, -0.07195843) * g_17;
|
|
result += mat4(-0.09807417, -0.024705391, -0.10559853, -0.036330625, 0.026295185, 0.21305019, -0.1816326, -0.089984804, -0.0364186, 0.08726375, -0.16934377, 0.11783747, -0.046499886, 0.17409094, 0.08606283, -0.1168394) * g_18;
|
|
result += mat4(0.061683584, 0.11610398, -0.08963952, -0.04148586, 0.07784646, -0.09693603, -0.05919322, 0.06880165, 0.09901537, -0.053908728, 0.2938966, 0.08008906, 0.027354255, -0.17792425, -0.23622033, 0.07445066) * g_19;
|
|
result += mat4(-0.04568423, -0.00313172, -0.024554191, -0.063268654, -0.06823803, -0.035975594, -0.10337797, 0.04157335, -0.032975934, -0.13067393, 0.20014502, 0.1481426, -0.06280778, -0.018023374, -0.09856674, 0.03219835) * g_20;
|
|
result += mat4(-0.0044540535, 0.03704335, 0.031475496, -0.0067796065, 0.08216529, -0.021360176, 0.22419196, 0.099668056, 0.08082446, 0.14377055, -0.14571224, -0.013343019, 0.04265009, 0.021519618, -0.048166685, 0.11342666) * g_21;
|
|
result += mat4(-0.1029852, 0.084569484, -0.005401726, -0.05848864, 0.112962306, 0.061313655, -0.016030408, -0.023173615, -0.039970405, 0.016853292, 0.16551012, 0.08645207, 0.0019092544, -0.0044910526, -0.058364812, -0.044804156) * g_22;
|
|
result += mat4(0.021829009, -0.028762918, -0.079494335, -0.08709858, -0.064889856, -0.012763213, -0.042257447, -0.097328104, -0.0061033736, -0.12146131, -0.09006795, -0.072025664, -0.11667517, -0.05674677, 0.028285908, 0.024131753) * g_23;
|
|
result += mat4(0.11134934, 0.0702602, -0.10646791, -0.06896185, 0.13430294, 0.083099216, 0.019172838, -0.11650263, 0.0350792, 0.030151369, -0.062105265, -0.03180261, -0.006595122, -0.008993945, -0.09649205, 0.0076333126) * g_24;
|
|
result += mat4(0.026408633, -0.015846157, 0.019721631, 0.10062779, -0.09073072, -0.046461828, 0.03372097, 0.06839955, -0.10907823, -0.04953608, -0.0047381003, -0.014376053, 0.018715208, 0.031804316, 0.053606145, 0.040583223) * g_25;
|
|
result += mat4(-0.07934853, -0.01886096, 0.036152482, 0.036394343, 0.084199846, 0.07159742, -0.09901409, 0.055700894, -0.07464093, -0.0674405, 0.007886281, 0.0023414039, -0.04075728, -0.031404145, -0.090607546, -0.02444832) * g_26;
|
|
result += mat4(0.09701536, 0.10618154, -0.18954206, -0.014639526, 0.030508006, -0.05885271, 0.026794225, -0.05864953, -0.047004845, 0.03347945, -0.08720657, -0.044724233, 0.07059345, 0.022511845, -0.06694698, -0.0028311196) * g_27;
|
|
result += mat4(-0.05472616, 0.006845548, 0.15480581, -0.03908139, 0.037825912, 0.08026918, 0.123195745, 0.022326771, -0.05692749, -0.06646566, 0.25716424, 0.026999693, 0.051669773, 0.08991333, 0.07640691, -0.046126388) * g_28;
|
|
result += mat4(0.18714797, 0.029189898, -0.10664823, -0.14234583, 0.014911294, 0.062173508, -0.18819608, -0.16823918, -0.09951189, 0.014782654, -0.11520717, -0.07961905, -0.063739575, -0.023488827, 0.06487948, -0.014286412) * g_29;
|
|
result += mat4(0.092983104, -0.044436947, -0.039822012, -0.08590545, -0.13959287, -0.042890385, 0.2564963, -0.026489962, -0.08040444, -0.06900039, 0.3113829, 0.114533454, 0.22869009, 0.054564685, 0.08793378, 0.14634606) * g_30;
|
|
result += mat4(-0.13077435, 0.04096513, 0.023417156, 0.10560146, 0.20399679, 0.025704898, -0.23313741, -0.0064721326, 0.16098051, 0.04165071, -0.08543627, -0.17094019, -0.3327795, -0.06824183, 0.107437834, -0.03377226) * g_31;
|
|
result += vec4(0.05935789, -0.027414799, -0.105965964, -0.015992867);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x128
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_24_tf
|
|
//!BIND conv2d_24_tf1
|
|
//!BIND conv2d_24_tf2
|
|
//!BIND conv2d_24_tf3
|
|
//!BIND conv2d_24_tf4
|
|
//!BIND conv2d_24_tf5
|
|
//!BIND conv2d_23_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!BIND conv2d_16_tf
|
|
//!BIND conv2d_19_tf
|
|
//!BIND conv2d_22_tf
|
|
//!BIND conv2d_25_tf
|
|
//!SAVE conv0ups3
|
|
//!WIDTH conv2d_24_tf.w
|
|
//!HEIGHT conv2d_24_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_24_tf_tex(conv2d_24_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_24_tf1_tex(conv2d_24_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_24_tf2_tex(conv2d_24_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_24_tf3_tex(conv2d_24_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_24_tf4_tex(conv2d_24_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_24_tf5_tex(conv2d_24_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_24_tf_tex(conv2d_24_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_24_tf1_tex(conv2d_24_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_24_tf2_tex(conv2d_24_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_24_tf3_tex(conv2d_24_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_24_tf4_tex(conv2d_24_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_24_tf5_tex(conv2d_24_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_24 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_25 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_26 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_27 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_28 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
|
|
#define g_29 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
|
|
#define g_30 (max((conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
|
|
#define g_31 (max(-(conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.1545368, -0.051471695, -0.16140307, 0.09652848, -0.090248555, -0.12066054, 0.1767361, -0.08471509, -0.0811788, -0.14072022, -0.04303012, -0.007702722, 0.13935736, -0.21132554, 0.097583875, -0.12626477) * g_0;
|
|
result += mat4(-0.077009946, 0.11341266, -0.014190827, -0.05731186, 0.14598061, -0.08561752, -0.087692715, 0.024827115, 0.15067159, -0.031084314, -0.103702016, 0.16679642, -0.007304722, -0.05382251, -0.006476595, -0.034540307) * g_1;
|
|
result += mat4(-0.12478302, 0.0998608, -0.020768842, 0.178967, -0.22397885, 0.17558582, 0.011471913, 0.098842315, -0.026981229, -0.073270254, 0.07100908, 0.06399087, -0.07116806, -0.08182064, -0.0014849032, 0.2541588) * g_2;
|
|
result += mat4(0.028780911, -0.09417787, 0.045969326, 0.10704354, -0.052760195, 0.08555782, -0.12812418, 0.1158547, -0.17714353, -0.04976, 0.041316688, 0.11038423, -0.27241063, 0.1855846, 0.23411646, -0.095824756) * g_3;
|
|
result += mat4(-0.062022362, 0.12351213, 0.01305296, 0.04862448, -0.1472528, 0.036500677, 0.03666005, -0.11136876, 0.05285479, -0.18208516, -0.1316372, 0.04148666, -0.18160903, 0.056404397, -0.12911144, 0.083729036) * g_4;
|
|
result += mat4(-0.14088988, -0.025164073, -0.4434851, 0.14736041, 0.04358233, 0.044943232, -0.0739642, -0.018053154, -0.14036542, -0.21224444, 0.08923161, 0.09663615, -0.08434565, 0.09656238, 0.024680674, 0.02995749) * g_5;
|
|
result += mat4(0.16193505, -0.15713358, 0.2953047, -0.1257473, 0.019233074, 0.15819971, -0.17022912, 0.085982986, 0.17535183, 0.0613968, -0.015774077, 0.12607461, 0.079570904, 0.08338391, -0.11603918, 0.011505312) * g_6;
|
|
result += mat4(-0.23952027, -0.13513869, 0.13461575, 0.17394428, -0.12297233, 0.07278597, 0.0699106, -0.10590944, 0.035547413, -0.043262303, 0.0038226866, -0.084128775, -0.08980834, -0.14883213, 0.11605759, -0.041146316) * g_7;
|
|
result += mat4(-0.018182833, -0.12238664, 0.029634932, -0.25285953, 0.11828485, -0.05314554, 0.12802395, -0.07008308, -0.039349154, 0.26426378, -0.0057150517, -0.07171924, 0.098983854, 0.077945545, 0.0065407343, -0.26814637) * g_8;
|
|
result += mat4(-0.08471211, -0.00053506374, 0.038021266, -0.087428264, 0.11662403, -0.038277518, -0.005095678, -0.009521368, 0.123804964, 0.14995687, -0.010620397, -0.035754666, 0.086847916, 0.06264173, -0.16579615, 0.02262065) * g_9;
|
|
result += mat4(-0.09577556, -0.07982795, 0.024376906, -0.119355425, -0.092210874, -0.010486195, -0.04363388, 0.16995241, -0.13924848, 0.055487193, 0.1950311, -0.06857552, 0.14275251, -0.012629571, 0.10879939, -0.085644074) * g_10;
|
|
result += mat4(0.057831254, -0.16999005, 0.15140204, -0.0647146, -0.012351427, -0.041099787, -0.03375414, -0.045616575, 0.026101796, 0.08556994, 0.02738961, -0.18606578, 0.028242199, 0.03386683, -0.061823543, 0.03558579) * g_11;
|
|
result += mat4(0.023425754, 0.13217138, 0.032228522, -0.0340593, 0.07340007, -0.0020185385, 0.082099736, -0.06587912, -0.073847964, 0.009864729, -0.020948, 0.02759752, -0.24116306, -0.04943008, -0.041696478, 0.0475257) * g_12;
|
|
result += mat4(-0.056659773, 0.003150759, 0.01840173, -0.062517665, -0.0787802, 0.045061097, 0.05366462, 0.042851992, 0.17394984, 0.05068143, -0.068130635, 0.03182271, 0.11936796, 0.034630287, -0.030017216, 0.0371981) * g_13;
|
|
result += mat4(-0.04782677, -0.13856164, 0.102476485, 0.3168497, -0.029490076, -0.25574568, -0.15335694, 0.17697816, 0.06968332, -0.064986385, -0.19446203, 0.35532042, -0.10142414, -0.098764315, -0.008530768, -0.22272345) * g_14;
|
|
result += mat4(0.003918355, 0.11477308, -0.03541845, -0.060774248, 0.01986403, 0.053085316, 0.020022528, -0.18842602, -0.06607439, -0.117085874, 0.19558486, -0.15384434, 0.14042355, -0.0805339, -0.042012088, 0.16506344) * g_15;
|
|
result += mat4(-0.054274496, -0.3048171, 0.15363297, -0.48028508, -0.17355531, 0.15534942, 0.2397687, -0.3212727, -0.0069116117, 0.07829633, -0.12942782, 0.08540519, -0.16048779, -0.045530356, -0.106820785, -0.02039107) * g_16;
|
|
result += mat4(-0.17271078, 0.05973828, -0.13368936, 0.18137284, 0.14774464, 0.01207385, -0.48741424, 0.37316188, 0.12304343, 0.033921722, 0.013900458, -0.13834685, 0.00724766, -0.009822602, 0.0048219366, -0.1497808) * g_17;
|
|
result += mat4(0.046022985, -0.12942328, 0.106665194, 0.05104162, 0.08260261, 0.037978876, 0.05067675, -0.2878266, -0.15604153, -0.019456798, -0.09279057, -0.023125123, 0.13392529, -0.06734104, 0.03425348, -0.26038775) * g_18;
|
|
result += mat4(0.08024023, -0.026217932, -0.0866867, 0.060902715, 0.047891118, -0.18346305, -0.00030129295, 0.06640321, 0.09371082, 0.12981345, 0.1371371, 0.047095854, -0.08373677, -0.075474314, -0.050123196, 0.16816519) * g_19;
|
|
result += mat4(-0.06669337, -0.07323153, -0.005088308, -0.022087181, -0.13836318, 0.047315314, -0.098298065, 0.024197588, 0.11019521, -0.049888365, -0.010593423, 0.03579472, 0.13806434, 0.06568386, 0.09670891, -0.13850671) * g_20;
|
|
result += mat4(0.033669885, 0.053267747, 0.0055295937, 0.0054150443, -0.14349131, -0.07215267, 0.14743172, -0.08989396, -0.13482799, 0.21353206, -0.015100392, -0.15850681, -0.023853622, -0.081464685, -0.17575328, 0.22396886) * g_21;
|
|
result += mat4(-0.013254256, 0.05835715, 0.026902638, -0.036534548, 0.012239494, 0.024609983, -0.011468827, -0.00601273, 0.25535154, 0.039145224, -0.14032148, 0.06934234, 0.078024134, 0.08141313, -0.053155545, 0.058907513) * g_22;
|
|
result += mat4(0.09006769, 0.0061046197, -0.05551385, -0.07883374, 0.21045619, -0.071170084, 0.045874875, -0.05969718, -0.06051193, 0.032679733, 0.059326146, -0.11344708, 0.0516495, -0.044130474, 0.021864831, 0.01791737) * g_23;
|
|
result += mat4(-0.149584, -0.034539673, 0.056925774, 0.01407683, -0.14341363, 0.07235219, 0.029278886, 0.1040686, 0.044569943, -0.095220655, 0.06324637, -0.11561818, 0.14884533, 0.04400451, 0.030963998, -0.0480698) * g_24;
|
|
result += mat4(0.09445444, -0.07705517, -0.04044035, -0.067266196, 0.12994061, -0.08685293, -0.028491655, -0.06546642, -0.06588555, -0.035200167, -0.054667167, 0.12181174, -0.08149457, -0.11196082, 0.022286078, 0.0011389274) * g_25;
|
|
result += mat4(0.037566386, -0.0863645, 0.10746364, -0.062283915, -0.0828546, -0.059049137, 0.049943667, -0.09679541, 0.05570479, 0.10147355, 0.09882042, -0.09511045, 0.013920045, -0.13209742, -0.0231511, -0.008779095) * g_26;
|
|
result += mat4(-0.049381115, 0.05511609, -0.08505539, -0.011759351, -0.0037505692, 0.02891526, -0.08524465, 0.13446826, 0.066822246, -0.07883564, 0.03159159, -0.114850216, -0.15590072, 0.08861297, 0.049592584, -0.06742877) * g_27;
|
|
result += mat4(0.14131398, -0.019512732, 0.07624492, 0.17723484, 0.06855258, -0.11992505, 0.17618321, 0.035750873, 0.19290908, 0.10616057, 0.05006961, -0.10286499, 0.086485304, 0.017133571, -0.059471656, 0.153928) * g_28;
|
|
result += mat4(-0.19372323, 0.06717175, -0.17909515, -0.10981143, -0.091010526, -0.03731334, -0.10764653, -0.042411704, -0.25248966, -0.15291771, -0.11685329, 0.097305104, 0.012290167, -0.06666997, 0.06516673, -0.084403165) * g_29;
|
|
result += mat4(-0.22607833, 0.05895028, 0.04708332, 0.0361819, -0.18047495, 0.02135859, -0.048527088, -0.09720482, 0.071364224, 0.16597964, 0.058581673, 0.013964815, -0.26778197, 0.16814141, 0.04136449, -0.026651997) * g_30;
|
|
result += mat4(0.22577362, -0.13153969, -0.0812206, 0.014283776, 0.14782336, 0.070584215, 0.06939886, 0.07700839, -0.0880132, -0.06622987, -0.088982984, -0.23417433, 0.3470509, -0.03866589, -0.08971988, 0.072038345) * g_31;
|
|
result += vec4(-0.083648406, -0.040792946, -0.0071813604, -0.0033592125);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x128
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_24_tf
|
|
//!BIND conv2d_24_tf1
|
|
//!BIND conv2d_24_tf2
|
|
//!BIND conv2d_24_tf3
|
|
//!BIND conv2d_24_tf4
|
|
//!BIND conv2d_24_tf5
|
|
//!BIND conv2d_23_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!BIND conv2d_16_tf
|
|
//!BIND conv2d_19_tf
|
|
//!BIND conv2d_22_tf
|
|
//!BIND conv2d_25_tf
|
|
//!SAVE conv0ups4
|
|
//!WIDTH conv2d_24_tf.w
|
|
//!HEIGHT conv2d_24_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_24_tf_tex(conv2d_24_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_24_tf1_tex(conv2d_24_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_24_tf2_tex(conv2d_24_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_24_tf3_tex(conv2d_24_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_24_tf4_tex(conv2d_24_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_24_tf5_tex(conv2d_24_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_24_tf_tex(conv2d_24_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_24_tf1_tex(conv2d_24_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_24_tf2_tex(conv2d_24_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_24_tf3_tex(conv2d_24_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_24_tf4_tex(conv2d_24_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_24_tf5_tex(conv2d_24_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_24 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_25 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_26 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_27 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_28 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
|
|
#define g_29 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
|
|
#define g_30 (max((conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
|
|
#define g_31 (max(-(conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.02987822, -0.14156254, -0.006805638, -0.06491689, -0.023117961, -0.11864792, -0.020782726, 0.016718477, -0.12822492, -0.2627571, -0.10936498, -0.020479368, -0.08946875, -0.07078646, -0.14763172, 0.079474844) * g_0;
|
|
result += mat4(-0.07517533, 0.14936899, 0.005200026, 0.15833679, -0.20985723, 0.015140312, 0.16891868, -0.12731305, 0.001276647, 0.10806773, 0.07292632, -0.0230428, 0.22559881, -0.024635307, 0.05207048, 0.016969835) * g_1;
|
|
result += mat4(0.033257335, -0.004516727, 0.08077173, 0.07780093, 0.2343147, 0.16830377, -0.16836162, -0.008906441, -0.09850461, -0.08738698, -0.26028165, -0.029635794, -0.05397607, -0.25291416, 0.08932801, -0.17621125) * g_2;
|
|
result += mat4(0.021441426, 0.089970976, 0.087451175, 0.01982307, -0.00534548, 0.0016146855, -0.32349735, 0.020162579, 0.0049562925, -0.065152735, 0.046657056, -0.15083495, 0.11233022, -0.04739685, -0.09070248, 0.17958602) * g_3;
|
|
result += mat4(0.1273905, 0.007927681, 0.08298969, -0.022412037, 0.035267398, 0.07840721, 0.08048102, -0.03691808, 0.016431633, 0.012698254, -0.008662408, -0.13933934, 0.12972483, 0.21850783, 0.23307513, 0.000571898) * g_4;
|
|
result += mat4(0.0100407, -0.39405826, 0.32025802, 0.2832041, 0.33294165, -0.05958231, -0.1577708, -0.028620213, -0.048587576, 0.039346397, -0.027196862, 0.025590241, 0.00061374693, -0.01180234, -0.018360002, 0.25070924) * g_5;
|
|
result += mat4(0.22246312, -0.04815649, 0.08736281, 0.016199166, 0.077316865, 0.045456205, -0.07477754, 0.12618002, 0.07883082, 0.0686953, 0.06405744, 0.0009818063, -0.02092714, -0.030966131, 0.09841693, -0.10895756) * g_6;
|
|
result += mat4(0.26012385, -0.10243986, -0.06322028, -0.09087655, 0.06912959, 0.07663046, -0.23804459, 0.053852726, 0.05078947, -0.109246224, -0.14178644, -0.052218866, -0.101676404, -0.023825765, 0.026447691, -0.14865609) * g_7;
|
|
result += mat4(0.041431427, -0.015064366, -0.2236117, -0.030924913, -0.08685426, -0.13520546, 0.11651171, 0.053487726, 0.02606458, 0.24306768, 0.16120963, 0.051762126, 0.022511886, 0.081198335, -0.034219068, 0.0092173265) * g_8;
|
|
result += mat4(0.19416513, -0.13046128, -0.09250759, 0.033059027, -0.15878743, 0.0041482826, 0.25107592, -0.04122384, -0.12977393, 0.08382433, -0.12364666, 0.10107232, -0.015173569, 0.103763856, 0.026309956, -0.09117284) * g_9;
|
|
result += mat4(-0.05419911, 0.00058963, -0.12988667, 0.20055313, 0.030918771, -0.014228711, -0.16702838, 0.020387288, -0.027360002, 0.014445924, -0.022155182, 0.14796254, 0.020506943, -0.111637115, -0.15514074, 0.059505507) * g_10;
|
|
result += mat4(0.13351838, 0.15389496, -0.16921681, -0.15721107, -0.23370336, 0.10680521, 0.0915842, 0.10845563, 0.13528366, -0.10152182, -0.023946082, 0.004758842, -0.0053138984, -0.039067965, 0.10247054, -0.2013928) * g_11;
|
|
result += mat4(0.0940642, 0.18500984, -0.051960737, -0.007081406, -0.0057662693, -0.056610145, -0.08623894, 0.085122645, -0.0117327655, 0.09875138, -0.0043660044, 0.05047526, 0.04188438, 0.20341921, 0.04265216, 0.056258943) * g_12;
|
|
result += mat4(-0.08604029, -0.05491035, 0.059321914, -0.052624896, 0.13617016, 0.11754236, 0.11821107, -0.09910127, 0.07241852, -0.120371416, 0.09970373, -0.17198959, -0.14523451, -0.03410314, 0.015047165, 0.029333182) * g_13;
|
|
result += mat4(0.33456117, -0.1694432, -0.33715236, 0.10869151, -0.11678155, -0.12573223, -0.37280464, 0.08583611, -0.050305888, -0.10936392, -0.0093005, -0.16355872, -0.031578295, 0.019013532, 0.12860784, -0.105620846) * g_14;
|
|
result += mat4(-0.32792798, 0.1792595, 0.1993371, -0.08149261, 0.046808135, 0.009618961, 0.24690527, 0.017353626, -0.21925704, 0.065837644, 0.29835764, 0.05139222, 0.12341928, -0.11190375, 0.170546, 0.056202386) * g_15;
|
|
result += mat4(-0.31099838, -0.06758222, 0.06285113, -0.07353864, -0.047731224, 0.15535083, -0.64979374, 0.099978834, 0.089411214, -0.100012384, 0.08959716, -0.15088384, 0.059998848, -0.15229112, -0.17324549, -0.08506205) * g_16;
|
|
result += mat4(0.19391792, -0.16036808, -0.11902212, 0.07436227, 0.10363112, -0.074310906, 0.91709113, 0.084803954, -0.082337715, -0.047767054, -0.04131998, 0.11194046, -0.083899155, 0.17141213, 0.29864565, -0.026448477) * g_17;
|
|
result += mat4(0.05156777, -0.049753625, 0.015471171, 0.052691612, -0.02994984, -0.024420734, 0.11585649, -0.20938542, 0.018834207, -0.20320056, -0.13085459, -0.0086262915, -0.04427753, 0.13335848, -0.064420775, -0.04642022) * g_18;
|
|
result += mat4(0.16542359, 0.058639698, -0.08314426, -0.14000902, -0.05393692, -0.028636307, 0.10156203, 0.073714875, 0.07786534, 0.08234555, -0.0094138095, 0.056138765, 0.12131325, -0.12354777, 0.073989555, -0.04605284) * g_19;
|
|
result += mat4(-0.037727747, 0.018552719, -0.06636154, -0.01930026, 0.04758094, -0.034193367, -0.008783199, -0.07046236, -0.06284397, 0.14185563, 0.15161303, 0.019813264, -0.013503992, 0.10599879, -0.03256722, -0.033422105) * g_20;
|
|
result += mat4(-0.065330975, 0.021591648, 0.079216816, 0.10628196, 0.12180891, 0.01777432, -0.00906628, -0.08466977, 0.024665624, -0.1072835, 0.03337738, 0.0034946792, -0.15655187, -0.054999005, 0.110962674, -0.07868374) * g_21;
|
|
result += mat4(0.033571556, -0.117526256, 0.027212862, 0.025825463, -0.074807905, 0.05171015, 0.058270566, -0.03289996, -0.18173727, -0.14643425, 0.013240775, -0.054958276, -0.040303323, 0.10216123, -0.021644054, -0.08853978) * g_22;
|
|
result += mat4(0.028159522, 0.053900108, 0.056507323, -0.04859119, 0.09431302, -0.027665535, -0.07907181, 0.13235402, 0.06084304, 0.07409592, -0.06193444, 0.04139512, 0.042664766, 0.019047534, 0.09258238, 0.05521245) * g_23;
|
|
result += mat4(0.11870216, 0.055985536, 0.0019851802, -0.0021985958, 0.23987925, 0.013639941, -0.05615768, 0.09740685, -0.04664704, -0.07862708, 0.009283556, -0.022454312, 0.0049701035, 0.14134249, 0.0716289, -0.0737223) * g_24;
|
|
result += mat4(-0.30323797, -0.09561487, 0.017899506, -0.048141718, -0.056937806, -0.04146931, 0.060856055, -0.09340158, -0.06772142, -0.060182527, 0.017792957, 0.06672238, -0.050410192, -0.07002814, 0.0774449, -0.02395373) * g_25;
|
|
result += mat4(0.09439649, 0.008914242, -0.004399012, -0.06303121, 0.12567714, -0.052876584, -0.04600808, -0.03413656, 0.0473433, 0.027317489, -0.035305254, -0.0049644914, 0.0038185562, -0.019911442, 0.012968243, -0.088209115) * g_26;
|
|
result += mat4(-0.05984137, -0.09097414, -0.07085692, -0.007414078, -0.059817106, 0.0005326131, 0.06701414, 0.093250066, -0.07503431, -0.048183344, 0.045087397, -0.022639273, 0.0227802, 0.14528684, 0.047489513, 0.032764312) * g_27;
|
|
result += mat4(-0.0060594324, -0.08082185, -0.060745455, 0.11094361, -0.010657223, -0.1381517, 0.004693926, 0.09341289, 0.05251002, 0.19687954, 0.0047872537, 0.08393252, -0.10891673, -0.1535456, 0.031703554, -0.007602281) * g_28;
|
|
result += mat4(0.1211426, 0.0037113805, 0.0053533735, 0.06705086, -0.0113079185, -0.14421159, -0.091448925, -0.00971443, 0.064816035, -0.1309255, -0.03377283, -0.054445747, -0.023829643, 0.11046322, -0.04438854, 0.027087016) * g_29;
|
|
result += mat4(0.14089139, 0.061144315, 0.05492873, 0.08141859, 0.013321813, 0.11854551, -0.0523245, 0.02350885, 0.027290756, 0.20114194, -0.04875496, 0.1252922, 0.13713759, -0.055055924, 0.01316475, 0.061486248) * g_30;
|
|
result += mat4(-0.084306486, -0.0730094, -0.02533989, -0.045629617, -0.1022427, -0.16021572, 0.06772375, -0.027088458, -0.24639171, 0.046187285, 0.08361509, -0.08620142, 0.00507411, 0.037024546, -0.11199879, 0.039523087) * g_31;
|
|
result += vec4(0.055495262, -0.051167354, 0.028084511, -0.043321524);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x1x1x128
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_24_tf
|
|
//!BIND conv2d_24_tf1
|
|
//!BIND conv2d_24_tf2
|
|
//!BIND conv2d_24_tf3
|
|
//!BIND conv2d_24_tf4
|
|
//!BIND conv2d_24_tf5
|
|
//!BIND conv2d_23_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_7_tf
|
|
//!BIND conv2d_10_tf
|
|
//!BIND conv2d_13_tf
|
|
//!BIND conv2d_16_tf
|
|
//!BIND conv2d_19_tf
|
|
//!BIND conv2d_22_tf
|
|
//!BIND conv2d_25_tf
|
|
//!SAVE conv0ups5
|
|
//!WIDTH conv2d_24_tf.w
|
|
//!HEIGHT conv2d_24_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_24_tf_tex(conv2d_24_tf_pos)), 0.0))
|
|
#define g_1 (max((conv2d_24_tf1_tex(conv2d_24_tf1_pos)), 0.0))
|
|
#define g_2 (max((conv2d_24_tf2_tex(conv2d_24_tf2_pos)), 0.0))
|
|
#define g_3 (max((conv2d_24_tf3_tex(conv2d_24_tf3_pos)), 0.0))
|
|
#define g_4 (max((conv2d_24_tf4_tex(conv2d_24_tf4_pos)), 0.0))
|
|
#define g_5 (max((conv2d_24_tf5_tex(conv2d_24_tf5_pos)), 0.0))
|
|
#define g_6 (max(-(conv2d_24_tf_tex(conv2d_24_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_24_tf1_tex(conv2d_24_tf1_pos)), 0.0))
|
|
#define g_8 (max(-(conv2d_24_tf2_tex(conv2d_24_tf2_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_24_tf3_tex(conv2d_24_tf3_pos)), 0.0))
|
|
#define g_10 (max(-(conv2d_24_tf4_tex(conv2d_24_tf4_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_24_tf5_tex(conv2d_24_tf5_pos)), 0.0))
|
|
#define g_12 (max((conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
|
|
#define g_14 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_15 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_16 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_17 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_18 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_19 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
|
|
#define g_20 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_21 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
|
|
#define g_22 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_23 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
|
|
#define g_24 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_25 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
|
|
#define g_26 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_27 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
|
|
#define g_28 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
|
|
#define g_29 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
|
|
#define g_30 (max((conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
|
|
#define g_31 (max(-(conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.011561234, -0.012465957, 0.061722398, 0.004109507, 0.11449728, 0.30646765, 0.11597718, 0.044809423, -0.15796961, 0.09144391, 0.025600316, -0.016890302, -0.06273143, -0.09406291, -0.13892512, 0.107323244) * g_0;
|
|
result += mat4(0.26843497, 0.07754772, -0.040967893, 0.14208253, -0.22981443, 0.09998915, 0.12629654, 0.05489728, 0.20781358, -0.06494287, 0.107708186, -0.12273423, 0.03810808, -0.00919042, 0.07503909, -0.10436984) * g_1;
|
|
result += mat4(-0.04123376, 0.061480578, 0.09167497, 0.0717715, 0.08920449, -0.059116304, -0.051456068, 0.1435225, -0.0054245745, -0.07957629, 0.012718112, -0.1371298, -0.05244197, -0.001466458, 0.018672079, 0.16870362) * g_2;
|
|
result += mat4(-0.0711777, 0.083937705, 0.0055865357, 0.086037554, -0.0026764858, -0.09261858, 0.11146104, 0.034576505, -0.059654012, -0.16707183, -0.010578452, -0.22554928, -0.032461595, 0.023646196, 0.10213768, 0.039538495) * g_3;
|
|
result += mat4(-0.08187879, -0.14176089, -0.11134647, -0.0014680476, -0.01505771, 0.0028695054, 0.13650699, 0.09581829, 0.08451168, 0.0593946, -0.022487655, -0.053191096, -0.13652085, -0.18934551, 0.081316985, -0.10670004) * g_4;
|
|
result += mat4(0.3095398, 0.15461108, 0.08192997, 0.36671337, -0.23491316, 0.16552022, 0.06679685, -0.014910402, 0.17080174, 0.07363078, -0.05000375, -0.10863247, -0.17515467, -0.13650203, 0.17658728, 0.09099435) * g_5;
|
|
result += mat4(0.24561775, 0.085898094, -0.09029496, -0.062148836, -0.13314761, -0.1805575, 0.072130956, 0.010657738, 0.12118199, -0.10993774, -0.2077007, 0.13921109, 0.032653514, 0.099179596, 0.029785015, -0.07210813) * g_6;
|
|
result += mat4(0.05213782, 0.02070249, -0.1519397, -0.15459941, 0.12078409, -0.1018201, -0.15649813, -0.09451276, 0.08978216, 0.033983372, -0.325133, 0.03649046, 0.034768645, 0.01820811, -0.1476437, -0.05215747) * g_7;
|
|
result += mat4(0.25730282, -0.03574445, -0.26939863, 0.056570202, -0.03860821, 0.064086504, 0.049936775, -0.09219466, -0.23501472, 0.11891639, 0.16585156, -0.06937759, 0.17275843, -0.005933774, -0.038747568, -0.1872246) * g_8;
|
|
result += mat4(0.29699612, -0.12036312, -0.17994614, 0.06254196, 0.052887265, 0.10139881, -0.015890123, 0.014276093, -0.08473576, 0.20360646, 0.0719401, 0.116043195, -0.04480997, -0.16405116, 0.06848916, 0.029303674) * g_9;
|
|
result += mat4(0.039084256, 0.16812262, -0.045461234, 0.15141405, -0.053278796, 0.0499866, -0.09262412, 0.024975844, -0.10941919, 0.020637758, -0.13150725, 0.120833196, 0.080852345, 0.14054763, 0.11314371, 0.11749595) * g_10;
|
|
result += mat4(-0.07858139, -0.11847648, -0.08926328, 0.04630698, 0.20156343, -0.11537608, -0.042400904, 0.08154081, 0.27824274, -0.18951182, -0.19521928, 0.16003811, 0.10160072, 0.084651895, -0.081367895, -0.1803879) * g_11;
|
|
result += mat4(-0.015178554, 0.1453211, 0.0029462255, -0.015893389, -0.0070375055, 0.20207931, -0.05530542, 0.08762223, -0.029634364, -0.023058303, 0.04852642, 0.028570767, 0.0017521627, -0.038801666, 0.008321414, 0.013272434) * g_12;
|
|
result += mat4(0.112933494, 0.00077646604, 0.15631917, 0.12212562, -0.035100516, -0.15636574, 0.0869713, -0.040045064, -0.043343354, -0.17186165, 0.040316343, -0.040707536, 0.033326153, -0.07299361, 0.10777621, 0.044213336) * g_13;
|
|
result += mat4(-0.057331394, -0.29746646, -0.21014963, -0.27668902, -0.07744173, -0.19646992, -0.1978878, -0.148482, -0.038296875, 0.023684174, -0.011479595, -0.3131539, 0.1081339, 0.17462969, 0.23045957, 0.06817404) * g_14;
|
|
result += mat4(-0.05616912, 0.44082153, 0.13635121, 0.5260593, 0.068167746, 0.1159533, 0.18762758, 0.06370536, 0.24268357, -0.031904045, -0.03593457, 0.1761274, -0.25467318, -0.27158144, 0.21026418, -0.35541326) * g_15;
|
|
result += mat4(0.04480854, 0.40541658, 0.12650406, 0.14116916, -0.12694973, 0.070857644, -0.1654552, -0.38093325, 0.1730254, 0.23093973, -0.17948884, 0.18496381, 0.19546366, -0.11564827, -0.10936328, -0.13326254) * g_16;
|
|
result += mat4(0.02783123, -0.16448286, -0.27236226, -0.10730039, -0.10582441, 0.2894545, -0.12485313, 0.09168738, -0.13905063, -0.32243901, 0.12184465, -0.078383766, -0.20384146, 0.10552737, 0.1335408, 0.19632344) * g_17;
|
|
result += mat4(-0.036966056, -0.07765606, -0.042519376, -0.18071535, 0.094343245, -0.11750975, -0.115932606, -0.14168039, 0.10521408, -0.1797702, -0.2014665, 0.06983729, -0.043030553, -0.20928553, -0.1358945, -0.19139649) * g_18;
|
|
result += mat4(0.014309759, -0.029078862, 0.11430482, 0.15110584, 0.059152886, -0.05306251, 0.08139934, 0.02904774, -0.15470253, 0.10313861, 0.30107433, -0.16773193, -0.094181724, 0.057134327, 0.00092695246, 0.08184109) * g_19;
|
|
result += mat4(0.02506316, 0.0867775, -0.08693349, 0.0878035, 0.030453114, 0.042106513, -0.017756486, 0.02601538, -0.054069374, 0.048818395, 0.02386837, 0.024829991, 0.023034105, 0.0051381323, -0.020198671, -0.09797366) * g_20;
|
|
result += mat4(-0.023844786, 0.0016428459, 0.123326644, 0.08708688, -0.01703554, -0.06808432, -0.12352092, -0.08645188, 0.009277621, -0.07319661, 0.011372869, -0.22492659, -0.014993174, 0.058244362, -0.105234556, 0.00219484) * g_21;
|
|
result += mat4(0.08174906, 0.12529619, 0.053283885, -0.009235874, -0.04773854, -0.12894803, 0.081467494, 0.016731197, 0.05052568, 0.14297223, 0.10280411, -0.03163778, 0.0055582365, -0.012498803, 0.0059484374, -0.031531356) * g_22;
|
|
result += mat4(-0.05330085, -0.04974306, -0.079764664, 0.010079839, 0.11561185, 0.026386917, -0.1173086, 0.07318347, 0.022758875, -0.053391833, -0.14447209, -0.0064598285, -0.0024759816, -0.006995636, 0.0007184077, -0.069488235) * g_23;
|
|
result += mat4(0.07302404, -0.08720752, -0.037079513, 0.0003512964, 0.02232102, -0.095264226, 0.036082335, -0.00036828392, 0.08033609, -0.04303644, -0.05187976, -0.066657886, -0.059702326, -0.06550579, 0.034914013, -0.038357385) * g_24;
|
|
result += mat4(-0.04311525, 0.04406852, 0.0022629597, 0.055104118, -0.058384016, 0.062843435, -0.03903992, -0.024547735, 0.0030863932, 0.12553258, 0.004523987, 0.041851215, 0.02736582, 0.0037202195, 0.008346716, -0.00066181086) * g_25;
|
|
result += mat4(-0.10727989, 0.033605255, -0.028996287, -0.10822878, 0.14796142, -0.10711968, -0.19416648, 0.07545809, -0.011922665, 0.15432714, -0.07223956, -0.0389031, 0.056309763, -0.031701643, -0.15709357, -0.085562445) * g_26;
|
|
result += mat4(0.015703637, -0.06475049, -0.14153144, 0.059910253, -0.14977545, -0.06390219, 0.13375331, -0.14298701, 0.1305803, -0.050405364, 0.03631835, 0.22620685, -0.050843332, 0.038208447, 0.026526114, -0.017080935) * g_27;
|
|
result += mat4(0.12688361, 0.056371618, 0.10022545, 0.15378883, -0.118205115, -0.013227478, 0.07664092, -0.13813822, -0.16385357, 0.03870268, 0.17708874, 0.008884885, -0.2010594, 0.11686294, 0.19129558, 0.020952912) * g_28;
|
|
result += mat4(0.019549163, -0.15760489, -0.10022573, 0.15503788, 0.14201608, 0.042376533, -0.052286524, 0.11653048, 0.13872318, 0.07111845, -0.12428939, -0.0038820026, 0.15195651, 0.0346821, -0.08822089, -0.003574916) * g_29;
|
|
result += mat4(0.006056049, -0.07287368, -0.18514961, 0.04915554, 0.091064215, 0.27121982, -0.051693153, -0.22751212, -0.18204577, 0.0221348, 0.07865922, -0.22364894, 0.010186452, -0.012915454, 0.049386848, 0.03228151) * g_30;
|
|
result += mat4(0.109998666, 0.012412288, 0.1361162, 0.06420964, -0.19105789, 0.100528404, 0.12032071, 0.11792962, -0.16980593, -0.13456152, -0.08864147, -0.23975545, -0.015304083, 0.054322414, 0.032784272, 0.01145087) * g_31;
|
|
result += vec4(0.07406925, -6.918896e-05, -0.08913489, -0.016446702);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x48
|
|
//!HOOK MAIN
|
|
//!BIND conv0ups
|
|
//!BIND conv0ups1
|
|
//!BIND conv0ups2
|
|
//!BIND conv0ups3
|
|
//!BIND conv0ups4
|
|
//!BIND conv0ups5
|
|
//!SAVE conv1ups
|
|
//!WIDTH conv0ups.w 4 *
|
|
//!HEIGHT conv0ups.h 4 *
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv0ups_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv0ups1_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv0ups2_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_3(x_off, y_off) (max((conv0ups3_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv0ups4_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv0ups5_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv0ups_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv0ups1_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_8(x_off, y_off) (max(-(conv0ups2_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_9(x_off, y_off) (max(-(conv0ups3_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_10(x_off, y_off) (max(-(conv0ups4_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_11(x_off, y_off) (max(-(conv0ups5_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.12926783, 0.017635763, -0.013476121, -0.06546863, -0.0020913617, 0.04573165, -0.064033605, -0.018238, -0.06351373, 0.06524707, -0.0715566, 0.048930883, 0.08370062, 0.07703095, 0.037626196, -0.019011294) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.0017422242, 0.015704002, -0.0065484517, 0.0034917945, -0.203504, -0.052581586, 0.059170052, 0.034942575, 0.18350169, 0.07801102, 0.0016214083, -0.042796984, -0.095814526, -0.0494608, -0.06263077, -0.08761381) * go_0(-1.0, 0.0);
|
|
result += mat4(0.028449956, -0.030443287, -0.01351158, -0.00224811, 0.026770886, -0.11713719, 0.008776065, -0.06586146, -0.22359546, -0.067533895, 0.0816704, 0.12743919, 0.06571477, 0.06255163, 0.041541066, -0.0058448445) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.09489079, -0.036623634, 0.081674, -0.03636195, 0.13697773, -0.019518752, -0.17432365, 0.019992169, -0.047911603, -0.13385351, 0.10042773, 0.016029052, 0.030136164, -0.027172877, -0.001031953, 0.06582866) * go_0(0.0, -1.0);
|
|
result += mat4(-0.055866733, -0.11699785, -0.063725546, -0.054495048, -0.14631337, 0.31479597, -0.03280792, -0.058542997, 0.1398103, -0.06698283, -0.07163176, -0.037448023, -0.060457975, -0.14894441, -0.118958615, 0.02970854) * go_0(0.0, 0.0);
|
|
result += mat4(0.16954796, 0.1455119, 0.16188881, 0.12931493, 0.08463092, 0.12101101, -0.013273191, 0.10293549, -0.034920808, 0.041531533, 0.042880267, -0.13770556, 0.13387385, -0.0970746, -0.06980967, -0.023200486) * go_0(0.0, 1.0);
|
|
result += mat4(-0.07359327, 0.051948566, 0.026285969, -0.032924615, 0.16437969, -0.1889214, 0.0039336556, 0.043706615, -0.0578081, 0.11538013, 0.07444846, -0.060747445, 0.024889646, 0.15488148, 0.08899952, -0.09964372) * go_0(1.0, -1.0);
|
|
result += mat4(0.16784054, -0.058858477, -0.16401602, -0.029084012, -0.019850904, 0.05644765, 0.03163883, -0.021911565, -0.11589579, -0.11843019, -0.111589305, 0.052809834, 0.11501516, -0.07648356, 0.052230515, 0.092886955) * go_0(1.0, 0.0);
|
|
result += mat4(0.031150786, 0.05277218, 0.0728661, 0.020861644, 0.029089052, -0.016410865, 0.011665696, -0.046898734, -0.031717364, -0.0127168065, -0.019639771, 0.012864874, -0.21498284, 0.07779946, -0.0077480283, -0.044006687) * go_0(1.0, 1.0);
|
|
result += mat4(-0.066615745, -0.011580077, 0.120639496, 0.016614268, 0.026132276, -0.07641368, -0.05658998, -0.069772206, 0.03740111, 0.03333487, 0.098400064, -0.0016500775, 0.05839071, 0.05309518, -0.027565097, -0.03938075) * go_1(-1.0, -1.0);
|
|
result += mat4(0.06351996, 0.006185661, -0.036918275, 0.10029065, 0.23438206, 0.15663382, -0.022865077, -0.06931367, -0.011048514, -0.005193203, 0.17288761, -0.024304895, -0.008036278, -0.008113838, -0.054147683, -0.060182277) * go_1(-1.0, 0.0);
|
|
result += mat4(0.1689985, 0.077035755, -0.05028808, -0.0762494, 0.008202717, -0.03334299, -0.0504141, -0.023240203, -0.0036260819, 0.022127533, 0.017539665, 0.026891403, 0.019779956, -0.0025955478, -0.008754468, 0.0033192693) * go_1(-1.0, 1.0);
|
|
result += mat4(-0.044042338, 0.08709768, 0.06859617, -0.025569353, 0.0595332, -0.21848544, -0.16065672, 0.036280297, -0.12523848, -0.06271851, -0.017368471, -0.07711223, 0.048871677, -0.010382488, -0.0437693, 0.07148062) * go_1(0.0, -1.0);
|
|
result += mat4(0.23993973, 0.20499702, 0.123574704, 0.027592948, -0.08493277, -0.055818275, 0.18304282, 0.028260557, -0.044152625, -0.060114615, -0.22076544, -0.20473787, -0.11050344, 0.023228854, -0.00012463839, -0.030457003) * go_1(0.0, 0.0);
|
|
result += mat4(-0.008641321, -0.08481431, 0.02876154, 0.15506335, -0.033304676, -0.088077515, 0.07852544, 0.1433104, -0.03732285, -0.0483456, -0.02697428, 0.058970585, 0.06524768, -0.055602137, -0.053783342, 0.049392965) * go_1(0.0, 1.0);
|
|
result += mat4(-0.042998265, -0.10999974, -0.06887704, -0.00034993226, -0.074804835, 0.16616777, 0.008689715, 0.000355656, 0.012254178, -0.0717238, -0.006859269, 0.06594322, 0.041172463, -0.03180735, -0.02101005, 0.053185012) * go_1(1.0, -1.0);
|
|
result += mat4(0.12952714, 0.09727997, 0.08795567, -0.04953458, -0.027699426, 0.047990426, 0.07493966, -0.06163423, -0.07408061, -0.032931533, -0.0812497, -0.05302238, 0.14796886, 0.06534311, 0.10097287, -0.021323942) * go_1(1.0, 0.0);
|
|
result += mat4(-0.14974716, 0.0891444, -0.037996378, -0.02638308, 0.13232549, 0.044330686, 0.09446334, -0.0044896854, 0.031743973, -0.023852853, -0.06806164, -0.029796021, 0.11711989, 0.014950628, 0.0047842227, -0.03379406) * go_1(1.0, 1.0);
|
|
result += mat4(-0.08197355, 0.001979392, 0.1395889, -0.024046708, -0.060789634, -0.022009525, -0.031653315, 0.020120833, 0.00514834, -0.02104124, 0.026771626, 0.0032965564, 0.04075344, -0.07198045, 0.032448653, -0.068035536) * go_2(-1.0, -1.0);
|
|
result += mat4(0.07843731, 0.026901783, -0.08478698, -0.048486933, 0.19225356, 0.037023634, 0.07265866, -0.099053726, -0.03593816, 0.03370276, 0.0052682273, 0.021495577, -0.025080455, 0.07389491, -0.0017847505, -0.038959842) * go_2(-1.0, 0.0);
|
|
result += mat4(0.053258836, 0.04078207, 0.09295192, -0.021825904, -0.004807724, -0.08454232, 0.037102774, 0.033683676, -0.10423599, -0.0039763353, 0.008574363, 0.040606398, 0.38930696, -0.007596849, -0.05715637, -0.08239566) * go_2(-1.0, 1.0);
|
|
result += mat4(0.0025093122, -0.050177783, -0.14211158, 0.0037644645, -0.13623556, -0.10453635, 0.016650122, -0.055829223, 0.17538422, -0.09304271, -0.040046915, 0.027603863, -0.06155893, -0.00430452, 0.0023342837, -0.026793983) * go_2(0.0, -1.0);
|
|
result += mat4(0.11151169, -0.0684153, -0.05891965, -0.053996798, 0.29509687, 0.087223604, -0.02806932, 0.07231259, 0.16447857, 0.057506807, 0.08907169, -0.039158184, 0.16317198, 0.14243555, -8.347532e-05, 0.13343206) * go_2(0.0, 0.0);
|
|
result += mat4(-0.0684127, 0.17917678, -0.024445476, -0.089603886, -0.032717735, 0.028147785, 0.00046893195, -0.13545133, 0.041829295, 0.06302451, 0.040085375, -0.091134705, -0.16327454, -0.15937452, -0.11208865, -0.017756606) * go_2(0.0, 1.0);
|
|
result += mat4(-0.1622828, -0.064290136, -0.077471234, 0.20325996, 0.1151283, 0.020182231, -0.06235399, -0.04841261, 0.09205608, -0.037943326, -0.11841134, 0.13129303, 0.10001631, 0.04616772, 0.0076468824, -0.033766087) * go_2(1.0, -1.0);
|
|
result += mat4(0.1885096, -0.11946506, -0.04664517, 0.12106764, 0.0017019847, -0.05392451, 0.015514662, 0.12835595, -0.07317445, -0.013959309, -0.056324873, -0.084675394, 0.13411997, -0.08355416, -0.05116357, 0.043123398) * go_2(1.0, 0.0);
|
|
result += mat4(-0.09976046, 0.007247968, 0.09458126, -0.0085549485, 0.06640138, -0.07579545, -0.07787044, 0.04111281, 0.052593518, -0.025167007, -0.10260703, 0.039726503, 0.04463933, -0.0073404177, 0.06893751, 0.023595389) * go_2(1.0, 1.0);
|
|
result += mat4(-0.13209677, -0.05905579, 0.0037172579, -0.03777616, 0.023850411, -0.03794249, 0.025315933, 0.039317388, -0.12761319, -0.00029748064, 0.027399754, 0.048066862, -0.12295361, -0.057715088, -0.084890746, -0.0018534939) * go_3(-1.0, -1.0);
|
|
result += mat4(-0.009622064, 0.009828997, -0.16343904, 0.012290232, 0.10141595, 0.032614756, -0.0722343, -0.058248762, 0.08752965, -0.016058937, -0.14033443, -0.14247452, 0.044392906, -0.0509482, -0.076671004, -0.09944826) * go_3(-1.0, 0.0);
|
|
result += mat4(-0.11801312, -0.078754544, -0.028907303, 0.020204972, -0.00807525, 0.009592218, 0.013587085, 0.03268732, -0.016237395, 0.12613463, -0.07606922, -0.048611153, 0.120404065, 0.07353506, -0.018308502, -0.0928186) * go_3(-1.0, 1.0);
|
|
result += mat4(0.103043616, -0.043690745, -0.08926332, 0.10926608, 0.07650447, 0.05985906, -0.08143925, -0.09329927, -0.18575777, 0.02601556, 0.05060885, 0.009454815, -0.09776849, 0.040663064, -0.021093182, -0.071754314) * go_3(0.0, -1.0);
|
|
result += mat4(-0.01630674, 0.15167665, 0.014230864, -0.07259589, -0.023406526, -0.12963332, 0.003772267, 0.031429663, 0.14110763, -0.19529745, -0.014899895, 0.15883322, -0.022979617, -0.11828465, -0.010775711, 0.20699823) * go_3(0.0, 0.0);
|
|
result += mat4(-0.07463863, -0.024185626, 0.13400939, 0.092735745, -0.11007727, -0.05803818, -0.09885388, -0.049603596, -0.062891036, 0.04989709, 0.03151034, 0.04456592, 0.06673375, -0.00042276783, 0.0015201987, 0.031183513) * go_3(0.0, 1.0);
|
|
result += mat4(-0.14637282, -0.15434839, 0.062445384, 0.14046007, 0.008121208, 0.042827062, 0.047031205, -0.09278757, -0.018279193, 0.0036310495, -0.01854531, -0.034663606, -0.05098561, -0.010678129, -0.022653349, 0.014830333) * go_3(1.0, -1.0);
|
|
result += mat4(0.024634285, 0.12405944, 0.19948581, -0.08734437, 0.03176105, -0.04027108, 0.045582317, 0.044037554, -0.10807711, 0.09467486, -0.027631609, -0.08217483, -0.035664476, 0.15146695, 0.007925873, -0.078050405) * go_3(1.0, 0.0);
|
|
result += mat4(-0.097154036, 0.014364971, -0.020642182, -0.020220386, -0.0357456, 0.09496227, 0.110210314, -0.027332012, -0.10335405, 0.015467342, 0.023559198, 0.035299074, 0.010270126, -0.035228938, -0.035314877, -0.037740685) * go_3(1.0, 1.0);
|
|
result += mat4(0.07677437, -0.099041484, 0.08227524, 0.028451044, -0.048090696, 0.048308548, 0.02002402, 0.020593867, -0.16374537, -0.0025611143, -0.008507379, -0.029656677, 0.06198073, 0.0621251, -0.0878884, 0.027271627) * go_4(-1.0, -1.0);
|
|
result += mat4(0.13326712, 0.09568612, -0.09955783, -0.06464995, -0.1080553, -0.013177989, -0.091879115, 0.0043980163, 0.096038, 0.00082379446, 0.1077031, 0.051108915, 0.11449326, -0.04742037, 0.075871214, 0.06832458) * go_4(-1.0, 0.0);
|
|
result += mat4(-0.11432613, -0.02575731, 0.10285911, 0.060753386, 0.10450503, 0.031528436, 0.032356616, 0.020612843, 0.005137281, 0.041043267, -0.053449225, -0.04739492, -0.022107469, -0.04305694, -0.014828701, -0.07910592) * go_4(-1.0, 1.0);
|
|
result += mat4(-0.016649982, -0.033692267, -0.16380711, 0.04840447, -0.08704325, 0.03223745, 0.06618067, -0.058747917, 0.002078949, -0.012481651, -0.001862833, 0.073793836, -0.10783936, -0.026685616, 0.09464906, 0.007958871) * go_4(0.0, -1.0);
|
|
result += mat4(-0.09529156, -0.011030221, 0.04811921, -0.058335345, -0.16198096, 0.11942748, -0.0012879033, 0.086001225, 0.07690128, 0.079917476, 0.049061555, 0.008218703, -0.05253061, -0.106854506, 0.0075482167, 0.3111194) * go_4(0.0, 0.0);
|
|
result += mat4(-0.027775658, 0.059103772, -0.015098427, -0.014103374, 0.038190566, 0.02724517, 0.03320597, 0.019851912, -0.024970068, -0.01468647, -0.12384575, -0.05543631, 0.0740412, -0.016058838, -0.08206018, 0.04608353) * go_4(0.0, 1.0);
|
|
result += mat4(-0.02381974, 0.012398538, 0.06616886, 0.01347415, -0.03536895, -0.062602445, -0.018591968, -0.05038233, -0.008164494, -0.07909477, -0.033094108, -0.044485636, -0.18243223, 0.06168974, 0.07344958, -0.036536235) * go_4(1.0, -1.0);
|
|
result += mat4(-0.015181048, -0.054964907, -0.09671139, 0.061632328, -0.041971393, -8.0521546e-05, 0.030624658, -0.04471539, 0.008768315, -0.052731395, 0.015046845, 0.12035036, 0.027298013, 0.0076451087, 0.14871614, 0.17427884) * go_4(1.0, 0.0);
|
|
result += mat4(0.16830003, -0.017028246, 0.05205674, 0.024545586, -0.016899908, 0.025148457, 0.046180926, 0.015857594, -0.06316512, 0.058127988, 0.02513703, -0.025115915, 0.028232403, -0.03080844, 0.07889233, 0.025056005) * go_4(1.0, 1.0);
|
|
result += mat4(0.045276914, 0.017918674, -0.045485076, -0.037483674, 0.06683662, 0.023648288, -0.015354532, -0.00810877, 0.15075907, 0.074351266, 0.003833842, 0.02196497, 0.09251617, -0.0144700715, 0.05222211, 0.05908784) * go_5(-1.0, -1.0);
|
|
result += mat4(0.11436125, 0.046093784, 0.033021253, 0.14947179, -0.073261544, 0.0044895527, -0.070047304, 0.063634634, -0.12451059, -0.059948344, 0.06743303, -0.049537323, 0.12232392, 0.006624019, 0.00017795655, 0.0069139977) * go_5(-1.0, 0.0);
|
|
result += mat4(-0.05903832, -0.030206619, 0.013915073, -0.03697008, -0.11873987, -0.07172067, 0.07667946, 0.034099083, 0.212897, -0.014532608, -0.021231264, 0.10551015, 0.05757128, 0.022817556, 0.015584272, -0.05811226) * go_5(-1.0, 1.0);
|
|
result += mat4(0.11333232, -0.02307842, 0.055530388, -0.037579533, -0.01775949, 0.13781238, -0.084853075, -0.045908786, -0.035615377, -0.029440416, 0.06898324, -0.0211324, 0.10898682, -0.032409493, 0.026761126, 0.0593887) * go_5(0.0, -1.0);
|
|
result += mat4(0.028792053, -0.0711117, -0.031095935, -0.06691037, -0.036494207, 0.04325232, -0.01044192, 0.019699099, -0.135968, 0.026980419, -0.08115253, 0.09324798, -0.14339764, 0.011957557, -0.028268812, -0.076987006) * go_5(0.0, 0.0);
|
|
result += mat4(-0.0037685733, 0.017815486, -0.0311176, 0.07849914, -0.052071363, 0.039468136, -0.05379765, -0.055341784, 0.10867571, -0.043736573, 0.017801274, -0.012468974, -0.07847819, -0.055475883, -0.018192763, 0.054612897) * go_5(0.0, 1.0);
|
|
result += mat4(-0.12339551, -0.042736895, 0.031139426, 0.055459928, 0.02735317, -0.00223694, 0.035595044, 0.0099047795, 0.09026148, 0.11343199, 0.12809223, 0.07653464, 0.04741737, 0.06920812, -0.023478316, 0.010022906) * go_5(1.0, -1.0);
|
|
result += mat4(-0.0013142643, 0.032478604, -0.100527644, -0.107406884, 0.19205165, -0.062054783, -0.026734158, 0.07746309, -0.12282383, 0.027779505, 0.0489351, -0.102970384, 0.05754637, -0.0407643, -0.045871045, -0.08728004) * go_5(1.0, 0.0);
|
|
result += mat4(0.07999647, 0.037737604, 0.0018015103, 0.027340624, 0.029681504, 0.051112622, 0.07510517, -0.005115188, 0.13523845, -0.042190503, -0.033306144, 0.0021249955, -0.046934023, 0.023981353, 0.09313002, -0.016826976) * go_5(1.0, 1.0);
|
|
result += mat4(-0.019876158, -0.10024854, 0.1092125, 0.09021781, 0.1946136, -0.06411127, 0.033485923, 0.030906223, -0.10872131, 0.017895319, 0.011919747, 0.062073786, 0.15985118, -0.067493014, -0.07976057, -0.042163573) * go_6(-1.0, -1.0);
|
|
result += mat4(-0.10323808, 0.005511113, 0.009527565, -0.015006099, 0.069202155, -0.026323676, -0.061706487, -0.030945215, 0.15723042, 0.19260678, 0.18506604, 0.022006249, -0.028875409, -0.030105352, 0.02791428, 0.09315079) * go_6(-1.0, 0.0);
|
|
result += mat4(-0.07159283, 0.012191451, -0.048083134, 0.025891535, 0.14953457, 0.051475618, -0.030437365, -0.079766236, -0.039878514, -0.15460435, -0.021840231, -0.052903946, 0.21059886, -0.0024842704, -0.042435605, -0.043039396) * go_6(-1.0, 1.0);
|
|
result += mat4(0.042905815, 0.014010391, -0.025319157, -0.00425917, 0.07286237, -0.1379992, -0.0020224063, 0.004999196, 0.05806229, -0.046335798, -0.06254037, -0.037656475, 0.112142295, -0.030341217, -0.057973728, -0.06612895) * go_6(0.0, -1.0);
|
|
result += mat4(-0.065106615, 0.08555576, -0.0555809, 0.058661778, -0.06703048, 0.00757035, 0.2853245, 0.065487936, -0.043718137, 0.14329132, 0.056263465, -0.057933383, -0.060439464, 0.13277435, 0.050928883, -0.019675303) * go_6(0.0, 0.0);
|
|
result += mat4(0.058651224, 0.033697523, -0.08894027, -0.12380978, 0.04701405, -0.068525575, -0.10160738, -0.091192864, 0.051913194, 0.123846985, -0.057066478, 0.110756285, 0.13515612, 0.1319968, 0.054159746, 0.032216214) * go_6(0.0, 1.0);
|
|
result += mat4(0.04651348, 0.1435761, 0.027906023, -0.021019146, -0.08287222, 0.116047196, 0.096292056, 0.025322463, 0.06550447, 0.07559469, -0.09061949, 0.059102707, -0.038015757, -0.12853391, -0.0974969, 0.0720349) * go_6(1.0, -1.0);
|
|
result += mat4(-0.03694829, -0.144419, 0.057593826, 0.09401981, -0.08426838, -0.019106563, -0.098343626, 0.0035400165, -0.004882411, -0.020896483, 0.15085591, -0.02877296, 0.0050168475, 0.12667508, -0.032590915, -0.0025977234) * go_6(1.0, 0.0);
|
|
result += mat4(0.08555901, -0.08812998, 0.014633639, 0.0071074716, -0.0024737378, -0.04788443, -0.12100031, 0.009737524, 0.014586274, 0.096846946, 0.09984849, 0.02886416, 0.022972917, -0.04357125, 0.03608454, 0.08369692) * go_6(1.0, 1.0);
|
|
result += mat4(0.018398179, -0.011733849, -0.08888223, 0.009763868, -0.15132993, 0.036217462, 0.09026627, 0.030259093, -0.05344084, 0.0013394047, -0.023476386, 0.021226766, 0.014191311, -0.023437658, -0.01486143, -0.009443682) * go_7(-1.0, -1.0);
|
|
result += mat4(-0.040501222, -0.04698822, -0.014550345, -0.058862526, 0.038385723, 0.078983694, 0.030705776, -0.031161394, -0.061136663, -0.048850644, -0.07004682, 0.022786641, -0.03311709, -0.06084822, 0.009284337, 0.1005589) * go_7(-1.0, 0.0);
|
|
result += mat4(-0.08333313, 0.053781126, 0.0987624, 0.04839388, 0.038077936, -0.09682916, 0.07501481, 0.052941784, -0.08676212, 0.059663836, 0.005592122, -0.029373128, -0.039431266, -0.011054677, -0.0033718846, -0.010363397) * go_7(-1.0, 1.0);
|
|
result += mat4(-0.25438857, -0.14106423, -0.1095653, 0.044371713, -0.012792314, 0.057438467, 0.093233176, 0.01343747, 0.014012183, 0.06930022, 0.03238247, 0.12067357, 0.04201719, 0.052826792, 0.011205695, -0.13735019) * go_7(0.0, -1.0);
|
|
result += mat4(0.2513968, 0.18878548, -0.08494262, -0.033912707, -0.012401661, 0.04466303, -0.064235725, 0.09484076, -0.087512895, 0.024816869, 0.12460444, 0.048196383, -0.102229714, 0.011390139, -0.012901067, 0.019761408) * go_7(0.0, 0.0);
|
|
result += mat4(0.04083165, -0.026981898, -0.08314919, -0.15494491, -0.016309442, 0.06318721, -0.11398031, -0.123434715, 0.06272964, 0.120257705, -0.047213808, -0.022864863, 0.08250964, -0.0008748767, -0.026923966, -0.11886819) * go_7(0.0, 1.0);
|
|
result += mat4(-0.0572505, 0.09574997, -0.026416877, -0.016468205, 0.042582452, -0.045658376, 0.007977456, -0.034145076, -0.16414487, -0.064831346, -0.12984416, -0.07189931, -0.026000094, -0.022171123, -0.052279275, 0.02196819) * go_7(1.0, -1.0);
|
|
result += mat4(0.13977319, -0.1856338, 0.055264283, 0.11615191, 0.018945813, 0.036192402, -0.16559355, 0.044231236, 0.06992585, -0.019265816, -0.01624885, -0.0035805993, -0.07164422, -0.0613412, -0.029790098, 0.07381362) * go_7(1.0, 0.0);
|
|
result += mat4(-0.042297278, -0.03600898, -0.0060803858, 0.024386367, -0.024764905, -0.009892563, -0.05306169, -0.009156582, -0.014004544, -0.049380273, -0.00926321, 0.104207546, 0.12639539, -0.011966896, 0.0036679953, 0.04123563) * go_7(1.0, 1.0);
|
|
result += mat4(0.087914266, 0.030034786, 0.047800478, 0.026684161, -0.07388588, -0.014753155, -0.062804505, 0.008365165, -0.28619346, 0.046332654, -0.04817101, -0.04654128, -0.0077529238, -0.00076770195, -0.0015271158, 0.0900951) * go_8(-1.0, -1.0);
|
|
result += mat4(-0.14336522, -0.035474308, 0.07077806, -0.018279878, 0.122582555, 0.011476352, 0.0005371589, 0.03614031, -0.16100433, -0.034190886, -0.015602055, -0.018996995, 0.0463623, -0.0024787814, -0.131681, -0.028286051) * go_8(-1.0, 0.0);
|
|
result += mat4(-0.0016493958, 0.02163245, -0.17860246, -0.010473623, 0.05961081, -0.055462852, 0.032510478, 0.04406735, -0.06955566, 0.027825706, -0.022638146, -0.016986169, 0.072017424, -0.023437198, -0.020352025, 0.03992186) * go_8(-1.0, 1.0);
|
|
result += mat4(0.14270854, 0.10076204, 0.057706565, 0.040002447, 0.12933765, 0.045798033, 0.06888362, 0.09035585, 0.09493696, 0.066836774, -0.055931687, -0.010011159, -0.043964043, -0.053119596, 0.0056152856, -0.014694015) * go_8(0.0, -1.0);
|
|
result += mat4(-0.106826395, 0.0880726, 0.066187285, -0.08792187, 0.21838719, -0.058248095, 0.063199945, -0.022022499, 0.006144834, -0.08456441, 0.06484306, 0.22722279, 0.15705083, 0.054175496, 0.106256135, 0.017333955) * go_8(0.0, 0.0);
|
|
result += mat4(0.03056621, -0.16886939, 0.08014906, 0.0916789, -0.1283127, 0.06408635, 0.06269094, 0.10062364, 0.113416724, -0.013479412, -0.084817424, -0.00586942, -0.08222616, 0.0054284483, 0.19320546, 0.14727722) * go_8(0.0, 1.0);
|
|
result += mat4(0.12847276, -0.14197338, -0.022223303, -0.0763214, -0.09447677, -0.005780052, 0.057818405, -0.027136158, 0.085074365, -0.006220301, 0.20058243, -0.063831784, -0.08056169, 0.022678059, 0.008363496, 0.020072738) * go_8(1.0, -1.0);
|
|
result += mat4(-0.11202945, 0.17998086, 0.15104616, -0.03520308, -0.19648468, 0.006217564, -0.008981938, -0.15311359, -0.08388434, 0.1426307, 0.045980457, -0.0005135447, -0.08663974, -0.025008831, 0.06003114, -0.06509856) * go_8(1.0, 0.0);
|
|
result += mat4(-0.110868916, -0.014249358, -0.09942069, 0.030057356, -0.041898925, 0.05822055, -0.043200213, -0.01686225, 0.11234988, -0.009146895, 0.10784546, 0.06355475, -0.046102762, 0.09267515, -0.1140694, -0.08802013) * go_8(1.0, 1.0);
|
|
result += mat4(0.03740659, 0.043335274, 0.02336008, 0.027831735, -0.048603576, -0.067655705, -0.017101498, -0.05746645, 0.1795867, 0.01116057, 0.06140174, -0.026575146, 0.11071209, 0.017581625, -0.017244188, 0.04221752) * go_9(-1.0, -1.0);
|
|
result += mat4(-0.09093498, -0.03359564, 0.08415435, 0.050293516, -0.08931786, -0.030898308, -0.04302454, -0.049844395, -0.06899083, 0.065314196, 0.07381234, 0.044382907, 0.00913639, 0.014838099, 0.131941, 0.11661075) * go_9(-1.0, 0.0);
|
|
result += mat4(0.09359514, 0.043119717, -0.0048988657, -0.0051532434, 0.06493134, -0.019396067, -0.030236453, 0.062512025, -0.08210076, -0.13371024, 0.07324078, 0.01707155, -0.009836148, -0.04419792, 0.018726762, 0.056868013) * go_9(-1.0, 1.0);
|
|
result += mat4(0.002404406, 0.039502855, 0.015906025, -0.04441748, -0.049217764, 0.09813344, -0.021763066, 0.03266165, 0.14830649, 0.0039867344, -0.030537432, -0.07398194, 0.0707336, -0.022324476, 0.12472202, -0.05196246) * go_9(0.0, -1.0);
|
|
result += mat4(-0.07723416, -0.14285773, -0.04613492, -0.008971669, -0.18420465, 0.11103098, 0.19152859, 0.16272612, 0.078922726, 0.15539406, 0.04024863, 0.00097146304, 0.010272412, 0.102893874, -0.0527275, -0.09105491) * go_9(0.0, 0.0);
|
|
result += mat4(0.105623804, -0.056557592, -0.014577096, -0.06719428, -0.10969176, 0.001400308, 0.10562884, 0.009752116, -0.12308614, -0.016182574, 0.14960748, 0.010221066, -0.07155968, 0.017553782, -0.0031618178, -0.022520179) * go_9(0.0, 1.0);
|
|
result += mat4(0.24548957, 0.1017951, 0.12329441, 0.011988662, -0.021322595, -0.03971211, -0.06909687, 0.04851306, 0.068949245, -0.05179331, 0.018596865, 0.05922509, 0.06147395, -0.029042587, -0.018740827, 0.10346284) * go_9(1.0, -1.0);
|
|
result += mat4(-0.12127875, -0.0073253955, -0.03200258, 0.072222985, -0.0152465915, 0.14565548, -0.022320282, -0.050823502, 0.16004644, -0.083479956, 0.18272156, -0.02837223, 0.028845333, -0.0913557, -0.06520153, -0.012195518) * go_9(1.0, 0.0);
|
|
result += mat4(0.043713868, 0.017148755, -0.053153165, -0.04907823, 0.010491636, -0.07181496, -0.052873563, 0.002196607, 0.05668932, 0.007818972, -0.09365786, -0.03236268, 0.076133415, 0.014877766, 0.07280689, 0.04943823) * go_9(1.0, 1.0);
|
|
result += mat4(0.020023782, 0.12642653, -0.1257193, 0.0010849107, -0.1028841, -0.0012805086, 0.03139218, 0.051852815, 0.02855834, 0.010926398, -0.08425039, -0.027257154, 0.22177386, -0.11761942, -0.06212804, 0.04763189) * go_10(-1.0, -1.0);
|
|
result += mat4(0.098133035, 0.009496852, 0.021568218, -0.15673152, 0.16544092, 0.03957531, -0.20369442, -0.19420235, 0.016424185, 0.036622413, -0.03185247, -0.09215779, 0.07319639, 0.002547832, -0.049706724, 0.030483197) * go_10(-1.0, 0.0);
|
|
result += mat4(-0.2281417, -0.023024509, 0.09659972, 0.26335388, -0.0045844577, -0.009834229, -0.018298753, 0.122718684, -0.02647466, 0.002877703, 0.024655823, 0.094881535, 0.12731706, 0.080654815, -0.044072278, -0.03565267) * go_10(-1.0, 1.0);
|
|
result += mat4(0.029326709, -0.11864519, 0.09787174, 0.12850013, 0.15769617, 0.13107847, 0.116214424, 0.15526375, 0.115055986, 0.0056176763, -0.03891455, 0.12182736, -0.08285683, 0.00386448, 0.20372197, -0.12381204) * go_10(0.0, -1.0);
|
|
result += mat4(0.005426268, -0.012844199, 0.07341806, 0.057192266, 0.17609712, -0.21841417, 0.22905084, 0.3726449, 0.10430437, 0.010538873, 0.05979287, -0.01995585, -0.07817501, 0.00043512616, 0.13539863, -0.06603449) * go_10(0.0, 0.0);
|
|
result += mat4(0.050650224, 0.00340572, -0.087897, -0.07721568, -0.11787272, 0.055441145, 0.11856778, -0.07839249, -0.06705796, -0.03665792, 0.051945772, -0.029940791, -0.088110745, -0.09544122, 0.17977637, 0.029465398) * go_10(0.0, 1.0);
|
|
result += mat4(0.009884356, 0.17486453, 0.025220042, -0.07008002, 0.02835983, 0.028899308, -0.053842478, -0.05901161, 0.02033701, 0.017125512, 0.072237976, -0.016422039, 0.069241695, -0.020792386, -0.16026399, 0.07822056) * go_10(1.0, -1.0);
|
|
result += mat4(-0.048933912, 0.16797939, 0.13613503, -0.08531724, 0.005136678, -0.033446345, 0.10688266, 0.101555996, 0.09844126, 0.03428401, -0.014949532, -0.05729196, -0.028571986, -0.014022329, -0.24312006, -0.19816753) * go_10(1.0, 0.0);
|
|
result += mat4(-0.020860989, 0.051978905, -0.2651558, 0.08423122, -0.10601855, 0.078817755, -0.10306769, -0.020730799, -0.07786028, -0.012762303, 0.0060952823, -0.019439751, -0.009204351, -0.05893443, -0.07034564, -0.007940594) * go_10(1.0, 1.0);
|
|
result += mat4(-0.11925938, 0.061081305, 0.070605464, 0.04138998, -0.00285024, -0.029746482, 0.0076757227, 0.018701859, -0.008902949, 0.03618365, -0.07888318, -0.014662468, 0.035089407, 0.065284885, -0.033326365, 0.0041100197) * go_11(-1.0, -1.0);
|
|
result += mat4(0.23211081, -0.012683885, -0.16230011, -0.06169017, -0.029079294, -0.05057387, 0.028562393, 0.03973977, 0.011671771, 0.0002469616, -0.10245703, 0.022923809, -0.04913737, 0.06672865, 0.2349864, 0.033900134) * go_11(-1.0, 0.0);
|
|
result += mat4(0.027792582, 0.06683438, -0.01994665, -0.08401307, -0.04207342, -0.03136845, -0.11143335, -0.05174425, 0.023732347, -0.05457688, 0.07948721, -0.012630631, -0.1056173, -0.09855591, 0.03653026, 0.15765673) * go_11(-1.0, 1.0);
|
|
result += mat4(0.18211314, 0.05596375, -0.026444219, 0.014798311, -0.19993293, -0.06994261, 0.11906855, -0.02982133, 0.077721216, -0.030902708, -0.06709148, 0.020592675, -0.11447125, 0.07233842, 0.058984987, -0.05455586) * go_11(0.0, -1.0);
|
|
result += mat4(-0.12273281, -0.06268619, 0.027741548, 0.103232265, 0.24827266, 0.16316475, 0.0018391153, 0.05124184, 0.36562333, 0.17595989, 0.094240285, 0.0637318, 0.0020632134, -0.014479322, -0.06842763, -0.0893124) * go_11(0.0, 0.0);
|
|
result += mat4(-0.31125456, 0.05318476, 0.03722545, -0.0060882545, 0.045448862, 0.016022528, 0.06722857, 0.0044223024, -0.14124873, 0.19641967, 0.030438993, -0.08689759, -0.019156175, 0.11258338, -0.09206476, -0.054254737) * go_11(0.0, 1.0);
|
|
result += mat4(0.035201553, -0.06374724, 0.03458915, 0.0069704987, 0.06520022, 0.04545108, 0.02105428, -0.12958455, 0.024686553, 0.028201332, -0.033172153, -0.05649908, -0.0712372, 0.067082554, -0.03792186, 0.023705954) * go_11(1.0, -1.0);
|
|
result += mat4(-0.04699416, 0.045852963, 0.08933013, 0.084006645, -0.077285916, -0.22383444, 0.021708012, 0.05893315, -0.050455105, -0.117869325, -0.012480179, 0.13151298, 0.063093714, -0.12260243, -0.040925674, 0.15162276) * go_11(1.0, 0.0);
|
|
result += mat4(0.050113168, 0.053220626, 0.0047162045, -0.022349441, -0.049446188, -0.0018918745, -0.004781672, -0.094967455, -0.12124878, -0.053543426, 0.037635185, -0.04079288, 0.061883993, 0.043724388, -0.056232758, 0.03481704) * go_11(1.0, 1.0);
|
|
result += vec4(0.019732969, 0.036610305, 0.01305684, 0.013542827);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x48
|
|
//!HOOK MAIN
|
|
//!BIND conv0ups
|
|
//!BIND conv0ups1
|
|
//!BIND conv0ups2
|
|
//!BIND conv0ups3
|
|
//!BIND conv0ups4
|
|
//!BIND conv0ups5
|
|
//!SAVE conv1ups1
|
|
//!WIDTH conv0ups.w 4 *
|
|
//!HEIGHT conv0ups.h 4 *
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv0ups_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv0ups1_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv0ups2_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_3(x_off, y_off) (max((conv0ups3_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv0ups4_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv0ups5_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv0ups_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv0ups1_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_8(x_off, y_off) (max(-(conv0ups2_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_9(x_off, y_off) (max(-(conv0ups3_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_10(x_off, y_off) (max(-(conv0ups4_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_11(x_off, y_off) (max(-(conv0ups5_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.011346536, -0.010189852, 0.01468662, 0.011538957, -0.018452257, 0.031463463, 0.0031875803, -0.015967736, -0.048622895, 0.04981561, 0.19536598, -0.022376228, 0.014811388, -0.044611003, 0.042312432, 0.0105891) * go_0(-1.0, -1.0);
|
|
result += mat4(0.01407665, 0.057906494, -0.043176714, -0.04686223, -0.044944234, -0.0129517885, -0.07199873, -0.021725824, -0.025745254, -0.09307928, -0.07122306, 0.04601772, 0.14772682, 0.05474974, 0.062001463, -0.082451254) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.01707023, -0.05511701, 0.027142549, -0.12741084, 0.026500257, 0.016689515, 0.039026648, 0.0058688438, 0.012205586, 0.09375726, -0.10034814, -0.17154972, -0.007961532, 0.03802082, -0.050602123, 0.16963868) * go_0(-1.0, 1.0);
|
|
result += mat4(0.13590911, -0.10969817, -0.0017061695, 0.05243086, -0.09378781, 0.023477294, 0.06416785, -0.03312143, 0.0676838, 0.08458608, 0.023695331, -0.092540056, -0.06777747, -0.04017276, -0.05510425, -0.095139146) * go_0(0.0, -1.0);
|
|
result += mat4(0.10133463, 0.0760041, 0.012741356, -0.06967072, -0.15163842, -0.091654524, 0.119649194, 0.10344799, -0.04721513, 0.0010481137, 0.077184685, 0.11766245, 0.07247049, 0.074190564, -0.024995033, -0.009145566) * go_0(0.0, 0.0);
|
|
result += mat4(-0.17371134, -0.104388446, 0.17345135, 0.026755063, 0.15404625, -0.051054668, -0.02018181, -0.06619917, -0.036865357, -0.04570358, 0.07079423, 0.11516949, -0.1797122, -0.049163837, 0.014738985, 0.04657914) * go_0(0.0, 1.0);
|
|
result += mat4(0.034890473, -0.05995724, -0.032354966, 0.06666679, -0.13994579, -0.08765461, -0.0036824804, -0.15497409, -0.011645552, -0.038018197, 0.034332644, 0.15941373, -0.008529513, 0.029604074, 0.0858699, -0.029017976) * go_0(1.0, -1.0);
|
|
result += mat4(0.08998875, 0.08112867, -0.099883065, 0.044013463, -0.02016892, -0.03194337, -0.01919129, -0.12692481, 0.05599388, -0.07186521, -0.06314103, 0.12600331, 0.080855615, -0.0111736385, -0.109203525, -0.061154358) * go_0(1.0, 0.0);
|
|
result += mat4(-0.08379919, -0.008933122, 0.16047752, -0.06960835, 0.035622384, 0.04627194, 0.05591613, -0.10179673, 0.023425609, -0.010385273, -0.09213081, 0.08659878, 0.025480824, -0.011364837, -0.1625303, 0.049823724) * go_0(1.0, 1.0);
|
|
result += mat4(0.034424074, -0.009408429, 0.033215035, 0.02420301, 0.021150611, 0.10608603, 0.058309395, 0.089898825, 0.018230092, -0.07854764, -0.057673525, 0.040332563, 0.10875167, -0.07030883, 0.031787585, -0.010897151) * go_1(-1.0, -1.0);
|
|
result += mat4(-0.0443787, 0.05504108, 0.09131229, -0.099139705, -0.04701309, -0.009591658, 0.06669618, 0.2015056, -0.056293335, 0.008075372, -0.07677628, 0.004702445, 0.021260587, 0.09744715, 0.057423804, 0.021359375) * go_1(-1.0, 0.0);
|
|
result += mat4(-0.051712368, -0.13244982, 0.07139737, 0.10835864, 0.0021893524, -0.1166478, 0.032233547, -0.064695075, -0.004389391, -0.0006074538, -0.032327574, 0.025842449, 0.15086086, 0.011622154, 0.065773465, 0.053508304) * go_1(-1.0, 1.0);
|
|
result += mat4(0.16315337, -0.0960404, -0.015643299, -0.037323635, 0.011508587, 0.04948558, -0.2871154, -0.14281087, 0.030323455, 0.078583434, 0.042384572, 0.12129205, -0.14123607, 0.087236665, 0.00889755, -0.167402) * go_1(0.0, -1.0);
|
|
result += mat4(-0.10391628, -0.06562147, 0.16477463, -0.20144655, -0.13973404, -0.19467448, -0.22762212, 0.029091561, 0.04566389, -0.09161383, 0.0008052232, 0.06389014, -0.15395997, -0.04903166, -0.092670366, 0.24895951) * go_1(0.0, 0.0);
|
|
result += mat4(-0.06552579, 0.073258355, -0.048055243, -0.12984315, 0.13946985, 0.026553746, -0.086942226, -0.021019895, 0.108548835, 0.07589171, -0.07590544, 0.043813374, -0.049252693, -0.033001482, -0.10167677, -0.004061408) * go_1(0.0, 1.0);
|
|
result += mat4(0.055682752, 0.035191942, -0.012800461, 0.061034914, -0.034456123, -0.025950838, 0.048463937, 0.007615106, 0.026728414, 0.03593474, -0.031136641, -0.05859427, 0.044800963, -0.0120887635, 0.07071209, -0.08164673) * go_1(1.0, -1.0);
|
|
result += mat4(0.17031406, -0.075592056, -0.028005876, 0.21785976, -0.050383326, -0.025190461, 0.102980904, 0.044166747, -0.023629388, -0.017228302, -0.08063423, 0.06228589, -0.106073886, -0.05417417, 0.01384367, -0.13417888) * go_1(1.0, 0.0);
|
|
result += mat4(-0.078987636, 0.12849496, 0.002592266, 0.057576377, 0.032209363, 0.06408963, 0.12294599, 0.07883444, 0.032161426, 0.06155877, 0.010895797, 0.0041334014, 0.02162249, -0.025320755, 0.07935094, -0.03933022) * go_1(1.0, 1.0);
|
|
result += mat4(-0.10999319, -0.071749605, 0.016940862, -0.06689887, 0.06562708, 0.015421828, -0.10038977, 0.022351438, 0.0072378516, -0.024689745, -0.009900782, -0.062202867, 0.070968285, -0.11074895, -0.13759296, -0.013251953) * go_2(-1.0, -1.0);
|
|
result += mat4(0.05854622, 0.09259871, -0.08797134, 0.088989675, 0.024802083, -0.029615134, -0.084783845, 0.13236238, -0.020588808, -0.042224985, -0.18020448, -0.04156565, 0.053059112, 0.045463946, -0.14048785, 0.11717459) * go_2(-1.0, 0.0);
|
|
result += mat4(-0.08766928, -0.041452006, 0.117475726, 0.010223308, 0.0733292, 0.014873856, -0.051121786, -0.07365082, 0.05471446, -0.0041644056, -0.030100634, 0.0044434085, -0.12453169, 0.004249513, 0.10762343, -0.04802087) * go_2(-1.0, 1.0);
|
|
result += mat4(0.15042898, 0.11271491, 0.17064768, -0.14598627, 0.0046017463, -0.016604707, 0.12100557, -0.07047844, 0.00046655512, 0.07742004, 0.13596372, -0.26504397, 0.104628205, -0.020363433, 0.074614085, 0.048167326) * go_2(0.0, -1.0);
|
|
result += mat4(0.12558675, -0.0046868515, 0.11997075, 0.030146364, -0.24822445, 0.09035629, 0.09392945, -0.01282837, -0.14198944, -0.07914039, 0.14079341, 0.049647167, -0.10037791, 0.08510244, 0.060112644, -0.05828877) * go_2(0.0, 0.0);
|
|
result += mat4(0.0038134505, -0.0009776007, 0.021530341, -0.03960861, -0.08656342, -0.026612714, 0.16857505, 0.10419946, 0.039362654, 0.008928767, -0.063425034, 0.014230696, -0.038191617, -0.061117157, 0.12815697, 0.076420926) * go_2(0.0, 1.0);
|
|
result += mat4(0.105563276, 0.07188178, -0.1257647, 0.010952779, -0.006922382, -0.02450461, -0.060794815, 0.09487304, -0.050465595, -0.02540529, -0.05827751, -0.021716394, 0.12369245, 0.0341066, 0.015743105, -0.012569158) * go_2(1.0, -1.0);
|
|
result += mat4(-0.026761103, -0.13780616, -0.13580202, -0.08337423, 0.013252865, 0.058387537, 0.01327199, -0.112468764, -0.027649863, -0.1197769, 0.11468971, 0.11502767, 0.052262947, -0.0058312807, -0.086597145, -0.35570583) * go_2(1.0, 0.0);
|
|
result += mat4(-0.11599564, -0.031244904, -0.017109923, -0.05101123, -0.0004512701, -0.07973053, -0.09035307, -0.023658501, 0.014839398, 0.028093025, 0.0234968, -0.18863517, -0.13489392, 0.051918108, -0.07010214, -0.07362468) * go_2(1.0, 1.0);
|
|
result += mat4(-0.022967706, 0.03409257, -0.13011228, 0.018934863, -0.039100666, -0.020177094, 0.13811639, -0.053306706, 0.00033211143, -0.039420232, 0.048290595, 0.08621673, -0.06638511, 0.022031369, 0.03948355, 0.027415393) * go_3(-1.0, -1.0);
|
|
result += mat4(0.0733964, -0.15682685, 0.24674796, 0.015979934, 0.103295825, 0.029281138, -0.00640193, 0.13705851, 0.04091665, 0.14897555, -0.003959307, 0.09191084, 0.07552526, 0.20486775, 0.054813545, -0.11239579) * go_3(-1.0, 0.0);
|
|
result += mat4(-0.008331485, -0.012025073, 0.03492921, 0.019618858, -0.03954045, -0.071347415, 0.12705332, 0.0075824475, -0.052891266, -0.009689185, 0.062378254, 0.04014343, -0.11668825, -0.009087395, 0.1857334, 0.11280801) * go_3(-1.0, 1.0);
|
|
result += mat4(-0.15169081, 0.1754912, 0.09287187, -0.0774441, 0.058556065, 0.059686765, -0.060081564, -0.04313811, -0.016350636, -0.027055483, -0.13249923, 0.006526878, 0.14684454, -0.013140385, -0.1353234, 0.10173243) * go_3(0.0, -1.0);
|
|
result += mat4(-0.025216255, -0.11498921, -0.0048903055, 0.07295964, 0.004382687, -0.013619205, -0.13797475, -0.058054335, -0.13391814, 0.13050263, -0.14202392, -0.2533213, 0.011737626, -0.06215436, -0.08448346, -0.23070122) * go_3(0.0, 0.0);
|
|
result += mat4(-0.021087795, 0.036483947, 0.01711435, -0.114880696, 0.105158284, 0.05111301, -0.07166783, 0.11605991, 0.045191426, -0.16015877, -0.11853486, -0.10897978, -0.17802416, -0.03555868, -0.0211633, -0.03494978) * go_3(0.0, 1.0);
|
|
result += mat4(-0.13263, -0.11029696, -0.033902865, -0.30437568, -0.075444214, 0.013206511, -0.0035109608, 0.124780156, -0.09391511, 0.038073853, 0.12877125, 0.3194643, 0.022432188, 0.05839717, 0.015229111, 0.03161354) * go_3(1.0, -1.0);
|
|
result += mat4(0.07500255, -0.0544746, -0.0057444978, 0.085524514, 0.0039521367, -0.02846398, 0.0058501028, -0.31636232, 0.02293016, 0.056456707, 0.00027596892, 0.025130993, 0.047589883, 0.155542, 0.017633265, 0.07390622) * go_3(1.0, 0.0);
|
|
result += mat4(-0.0062066396, 0.0316163, 0.14144021, 0.030221554, -0.00863229, 0.06580719, 0.059968337, 0.07765083, -0.015134933, 0.035973195, 0.10988175, 0.11437035, -0.023520702, -0.08846395, 0.013739085, 0.050823744) * go_3(1.0, 1.0);
|
|
result += mat4(0.008106373, -0.0023063454, -0.0024802976, 0.032234177, -0.04088235, 0.015171077, 0.029296082, -0.08079965, 0.034948766, -0.0010730241, -0.08728237, 0.070416205, 0.0045650583, 0.05538079, 0.19528446, -0.052673608) * go_4(-1.0, -1.0);
|
|
result += mat4(0.016898211, 0.0050003855, -0.04341598, 0.022770751, 0.085336484, 0.05628842, -0.0014142266, -0.10267082, 0.18624198, -0.03292003, -0.07424303, 0.08008146, 0.05010332, -0.015901754, 0.05890648, 0.06925725) * go_4(-1.0, 0.0);
|
|
result += mat4(-0.018265042, -0.010869422, -0.07447807, -0.014413915, 0.09715455, -0.064607695, 0.1956236, -0.16954915, 0.035966706, 0.01662019, 0.0035679787, -0.108899355, 0.016283005, 0.014987783, 0.039045602, 0.0048528756) * go_4(-1.0, 1.0);
|
|
result += mat4(0.014170341, 0.03811794, 0.04387719, 0.018673718, -0.059142195, -0.07665744, 0.00953344, -0.031336244, -0.30863273, 0.021407362, 0.11213431, -0.0688236, 0.012107985, -0.068919726, 0.04908253, 0.033023857) * go_4(0.0, -1.0);
|
|
result += mat4(-0.009969555, -0.032109927, -0.03331378, 0.11773186, -0.10909507, 0.006639517, -0.04539575, -0.0579204, -0.15170537, 0.056941837, 0.10823326, 0.07401396, -0.090091236, -0.06865221, 0.089120984, 0.016806215) * go_4(0.0, 0.0);
|
|
result += mat4(-0.092228875, 0.07815842, 0.076902114, 0.02190536, -0.04174865, -0.06646516, 0.0176217, -0.029791437, -0.0035171576, -0.027853405, 0.028345402, -0.019673025, 0.012397768, -0.025244448, -0.076721594, 0.056545198) * go_4(0.0, 1.0);
|
|
result += mat4(0.013751089, 0.028710453, -0.03519501, -0.110917166, -0.038981955, -0.004856431, -0.028126277, 0.09069896, -0.10534752, -0.010651089, -0.0866404, -0.041926295, -0.00065560994, -0.005656592, -0.1740303, 0.0106397625) * go_4(1.0, -1.0);
|
|
result += mat4(0.09781949, 0.029838594, -0.023950173, -0.028789546, 0.04113645, 0.06742668, 0.041924026, -0.14799178, 0.17004259, 0.034131896, -0.0086515965, 0.028065475, -0.00021416941, 0.02135054, -0.09778746, 0.007861735) * go_4(1.0, 0.0);
|
|
result += mat4(0.06710593, -0.06341859, -0.028064046, -0.1677076, 0.011845988, 0.12466771, 0.01782362, -0.06517061, 0.102153264, -0.034240305, 0.011049182, -0.027621388, -0.09351915, -0.02335411, -0.1708267, -0.013902164) * go_4(1.0, 1.0);
|
|
result += mat4(0.042084724, -0.09187555, -0.01763735, -0.07258012, 0.017196022, 0.009109215, 0.0012129606, -0.054706305, -0.027335504, -0.0051592705, 0.069727525, -0.17291252, -0.038160447, 0.080340855, 0.039895944, -0.11056116) * go_5(-1.0, -1.0);
|
|
result += mat4(-0.102107584, -0.041565824, -0.042674188, -0.015800798, 0.04497329, -0.016620796, 0.022366378, -0.013556663, 0.032126855, 0.041012876, -0.14174919, -0.1560601, -0.081136726, -0.014138632, 0.056592766, -0.16777231) * go_5(-1.0, 0.0);
|
|
result += mat4(0.10150729, 0.008907809, 0.10614623, -0.07286546, 0.10723833, 0.021950519, -0.005111765, 0.06091595, -0.02421664, -0.019942336, 0.12972529, 0.009076642, 0.06539415, -0.022795863, -0.075288706, 0.014927523) * go_5(-1.0, 1.0);
|
|
result += mat4(-0.014244343, -0.000929902, -0.060213383, 0.09852084, -0.053474598, -0.048381846, 0.10211108, 0.024139889, -0.013204734, -0.071033664, -0.123871826, 0.0054151136, -0.12164578, 0.081909955, -0.028816964, 0.01169573) * go_5(0.0, -1.0);
|
|
result += mat4(-0.07056067, 0.04857147, 0.061022542, -0.049719986, -0.17551526, 0.1161503, 0.15292794, -0.035287943, -0.29109716, -0.0018822167, -0.010201887, -0.055536415, -0.067613594, -0.1992745, -0.09841933, -0.123833716) * go_5(0.0, 0.0);
|
|
result += mat4(0.1412714, 0.049180016, -0.03390746, -0.046064492, -0.023715207, -0.032539513, -1.6744474e-05, 0.028718626, 0.11656023, 0.040432427, -0.043946996, -0.024617044, -0.04319868, 0.05100717, -0.10793789, -0.054517962) * go_5(0.0, 1.0);
|
|
result += mat4(0.009468791, -0.04127448, -0.042937916, 0.06944511, 0.08705993, 0.021766761, 0.057793774, 0.06747134, -0.0021050486, 0.035647735, 0.045688458, 0.17192644, -0.09825212, 0.07496541, 0.020065174, 0.019740075) * go_5(1.0, -1.0);
|
|
result += mat4(-0.033311404, 0.007491604, 0.040468596, 0.023317045, -0.12160635, -0.05972934, 0.03746047, -0.07959294, -0.05877447, -0.017430093, 0.16329257, 0.101292275, -0.008307186, -0.12543157, 0.11821003, -0.040085237) * go_5(1.0, 0.0);
|
|
result += mat4(-0.01930621, -0.051717315, 0.080195114, 0.03196475, -0.00016059505, -0.08457369, -0.046941303, -0.022827666, 0.07095548, 0.033528283, -0.000117218326, 0.030527927, 0.06767608, 0.06405806, 0.07108598, 0.014807144) * go_5(1.0, 1.0);
|
|
result += mat4(-0.029079122, -0.015964817, 0.033776768, -0.0064601395, 0.074425496, -0.06249402, 0.08085541, -0.0328853, 0.045291834, 0.057221, -0.0290186, -0.08744155, -0.0019775776, 0.030526869, 0.021371083, -0.12569618) * go_6(-1.0, -1.0);
|
|
result += mat4(0.0105911875, -0.005750151, 0.04260309, 0.014210322, 0.015407955, 0.00060751993, 0.049610585, -0.07466906, -0.040390488, -0.08162035, -0.061898038, -0.124972105, -0.050505, -0.092164226, 0.044362675, 0.111919016) * go_6(-1.0, 0.0);
|
|
result += mat4(0.0023963703, 0.041282196, -0.05646783, 0.05777507, 0.011205205, 0.034503374, -0.061611064, 0.12293142, 0.03772801, -0.07229799, 0.17227742, -0.12071008, -0.056806654, -0.008114281, 0.14452657, -0.08887878) * go_6(-1.0, 1.0);
|
|
result += mat4(-0.21772021, -0.021077266, -0.1770528, 0.083148256, 0.08415942, 0.061095197, -0.029297728, -0.037614755, 0.02089666, -0.08475015, -0.121696874, 0.1493812, 0.066780515, 0.035673257, -0.065779, 0.061450582) * go_6(0.0, -1.0);
|
|
result += mat4(0.021123944, 0.059452675, 0.08180326, -0.19369176, 0.039034773, 0.03499539, 0.048452575, -0.07801659, -0.05485538, -0.105147846, 0.0068246434, -0.015414475, -0.1417038, 0.006331833, 0.014578991, 0.012340914) * go_6(0.0, 0.0);
|
|
result += mat4(0.094774865, -0.011211499, 0.059985403, -0.028005127, -0.0649738, 0.07220796, -0.030932115, -0.011833521, 0.0043799044, 0.15417443, 0.034783, -0.20707501, 0.07021401, 0.009785066, 0.14368738, -0.17200746) * go_6(0.0, 1.0);
|
|
result += mat4(-0.09100167, 0.045779057, 0.15219277, -0.0050024926, 0.023136042, -0.11590488, 0.027398195, 0.14377147, -0.010942484, 0.068835154, 0.034892514, -0.123761274, 0.04814801, -0.023703141, 0.0013907297, -0.13976863) * go_6(1.0, -1.0);
|
|
result += mat4(-0.012781681, -0.042058986, 0.09873809, -0.044842128, 0.107526705, 0.08875909, 0.06501842, 0.0016359149, 0.08201313, -0.003446927, 0.09634223, 0.023682993, -0.12472837, 0.04145395, 0.033324856, -0.031588905) * go_6(1.0, 0.0);
|
|
result += mat4(0.035773195, -0.05701548, -0.17205292, 0.04882352, -0.08240135, -0.094785504, -0.025757896, 0.12895074, 0.0059648356, 0.02510323, 0.022789897, -0.06383224, 0.09968879, -0.10530578, 0.09228151, -0.00908396) * go_6(1.0, 1.0);
|
|
result += mat4(-0.053807683, 0.014884302, -0.03485459, 0.04246955, -0.032471776, -0.05131093, -0.018564003, -0.12595583, 0.005416638, 0.076546475, 0.0888337, 0.036004946, -0.10503138, 0.07228829, -0.05705534, 0.0231448) * go_7(-1.0, -1.0);
|
|
result += mat4(0.09341325, -0.01457277, -0.13981566, 0.100088514, -0.043855526, 0.015064728, -0.05971226, -0.07256148, -0.06452353, -0.108638905, 0.17481643, 0.08273329, -0.04073856, -0.060100254, 0.030729054, -0.21446918) * go_7(-1.0, 0.0);
|
|
result += mat4(-0.017811695, 0.062441234, -0.13309179, -0.09893964, -0.029610047, 0.033209465, 0.0660493, -0.052885335, 0.059748773, 0.016739162, -0.022443991, 0.119800024, -0.11143448, 0.023552373, -0.09487124, 0.025983935) * go_7(-1.0, 1.0);
|
|
result += mat4(-0.07614831, 0.15428677, -0.047756683, -0.3037738, 0.09638902, -0.07732393, 0.04147059, 0.17367123, -0.020671597, -0.13251007, -0.0395828, -0.05635809, 0.15072255, -0.042935852, -0.053226065, 0.12370819) * go_7(0.0, -1.0);
|
|
result += mat4(-0.27525103, -0.04073109, 0.16350949, 0.20433354, 0.113841645, 0.12456919, 0.0816484, -0.12243652, 0.1026797, 0.08587923, 0.063499786, 0.271656, 0.20372516, 0.0852106, -0.0027942986, 0.021396933) * go_7(0.0, 0.0);
|
|
result += mat4(0.15381213, 0.055414464, 0.21920305, 0.08396253, -0.10687372, -0.05462973, 0.087039314, 0.049340785, -0.07201125, -0.07180551, 0.058433067, -0.08389158, 0.094524354, 0.020410871, 0.12129854, 0.10572133) * go_7(0.0, 1.0);
|
|
result += mat4(0.0063117095, 0.073915385, -0.0045561646, 0.23483635, 0.031295463, 0.021003345, 0.07599019, -0.1594618, -0.0046872846, 0.0046049682, -0.038429365, 0.11511904, -0.00202024, -0.020265123, 0.009970022, -0.002929838) * go_7(1.0, -1.0);
|
|
result += mat4(-0.15797547, -0.10167035, -0.16430044, -0.20414145, -0.015431138, 0.101441555, 0.10162573, -0.050201286, -0.061392978, 0.021117665, 0.061082195, -0.1049562, -0.03447892, 0.098404795, 0.038732957, -0.12037957) * go_7(1.0, 0.0);
|
|
result += mat4(0.07782655, -0.033355527, -0.069240056, -0.04502161, -0.05999249, -0.08142937, -0.091957174, -0.055714294, -0.022586087, -0.10378274, -0.0930635, 0.06935779, -0.050071422, -0.067814715, -0.029975692, -0.095001936) * go_7(1.0, 1.0);
|
|
result += mat4(0.05315389, -0.1195346, -0.061223388, -0.0036692426, -0.030498018, 0.024816493, 0.15196335, -0.030596355, 0.0021912062, -0.022041973, 0.007224774, 0.12549329, -0.1313336, 0.028405745, 0.05510692, -0.079236254) * go_8(-1.0, -1.0);
|
|
result += mat4(0.049891938, -0.089109816, 0.065627016, -0.059712496, -0.11356505, 0.022486728, 0.08492869, 0.01759464, 0.013025284, 0.07108898, 0.163726, 0.17575887, 0.00978565, 0.08316646, 0.01607882, -0.020203505) * go_8(-1.0, 0.0);
|
|
result += mat4(0.011707021, -0.041468993, -0.043112185, 0.03440881, -0.11005808, -0.03355082, 0.12281368, -0.097853154, -0.052432492, 0.05120242, 0.026999133, 0.04091952, 0.12122586, -0.07085382, 0.19223467, -0.13468933) * go_8(-1.0, 1.0);
|
|
result += mat4(-0.21561226, 0.004335576, 0.10437036, 0.05847964, 0.06664545, -0.0066102324, -0.065021314, 0.015552164, 0.093689755, 0.035461873, 0.109493665, -0.038704667, -0.06792073, 0.048603103, -0.05255174, -0.04123595) * go_8(0.0, -1.0);
|
|
result += mat4(0.05594328, -0.060375415, -0.058975734, 0.023723664, 0.10352926, -0.07248816, -0.19153845, -0.21090735, -0.022574177, -0.07415163, -0.15998234, -0.29266396, -0.09080663, -0.34472424, -0.03285248, 0.13047802) * go_8(0.0, 0.0);
|
|
result += mat4(0.058605272, -0.023198698, -0.14641543, -0.05339167, 0.1524284, -0.031088095, -0.24899842, -0.05828886, 0.0751854, -0.057595134, 0.038429547, 0.089364074, 0.052765016, 0.05958445, -0.080915205, -0.13337326) * go_8(0.0, 1.0);
|
|
result += mat4(-0.11477242, -0.124096505, -0.0019490932, -0.01233014, -0.0018065475, 0.015593175, 0.11137782, 0.09337304, -0.037050534, -0.12510762, -0.032104224, 0.08224173, -0.1265443, 0.028348805, -0.044765398, 0.01736425) * go_8(1.0, -1.0);
|
|
result += mat4(-0.051222857, 0.17511438, 0.12101542, 0.07967362, 0.15954514, -0.06955668, -0.06868282, 0.26384103, 0.058684234, 0.13630556, 0.11342252, -0.059846863, -0.10069276, -0.009642563, 0.025243793, 0.178305) * go_8(1.0, 0.0);
|
|
result += mat4(0.09368266, 0.040270515, 0.09456053, -0.028369257, 0.009300146, 0.14414734, 0.18339029, 0.022486193, -0.06641786, -0.0032520513, -0.04727749, -0.034408014, 0.16622819, 0.017583046, 0.014806768, 0.060396347) * go_8(1.0, 1.0);
|
|
result += mat4(0.050008103, -0.030974511, -0.020898517, -0.04439508, -0.062059544, 0.03563301, -0.09486071, 0.032494925, -0.018090704, -0.054705545, -0.045727607, -0.045588177, -0.055609535, -0.013895825, 0.021962717, -0.046593897) * go_9(-1.0, -1.0);
|
|
result += mat4(-0.02722146, -0.030673165, -0.13452972, -0.082987286, 0.15460812, 0.077501684, -0.01239321, -0.05153571, 0.059392646, -0.10614259, -0.08891208, 0.013370744, -0.0010166704, -0.15081422, -0.17107935, 0.031870104) * go_9(-1.0, 0.0);
|
|
result += mat4(-0.016435966, 0.016412165, 0.0176122, -0.022089325, -0.027224645, 0.060684584, -0.103823006, 0.0682143, -0.013572331, -0.010815837, -0.055688858, -0.040836528, 0.13710149, 0.05916517, -0.11656939, -0.042447925) * go_9(-1.0, 1.0);
|
|
result += mat4(0.06984327, -0.011795586, 0.13195027, -0.023952803, -0.0072546103, -0.046447095, -0.07803815, 0.222913, 0.10912296, -0.0031289961, 0.20815663, 0.07834375, 0.0451593, 0.028728709, 0.10942835, -0.024792342) * go_9(0.0, -1.0);
|
|
result += mat4(-0.018971121, 0.04369722, 0.056467596, 0.0907889, -0.132549, -0.12444962, -0.03247696, 0.02004512, -0.045257036, -0.16815585, 0.21506688, 0.10498365, -0.117605306, 0.035134926, 0.104649805, 0.095877014) * go_9(0.0, 0.0);
|
|
result += mat4(0.030406464, 0.008261531, -0.04614057, 0.04029854, -0.08174387, -0.019619606, 0.020315584, -0.00730997, -0.041349456, 0.108196996, 0.062772945, 0.061518095, -0.14870963, 0.044491984, 0.03982492, 0.053469934) * go_9(0.0, 1.0);
|
|
result += mat4(0.104689375, -0.031253964, 0.039516505, -0.11111187, 0.084935345, -0.016218528, 0.09930998, -0.021956483, 0.046683453, -0.1555069, -0.0741569, -0.16718702, -0.12671323, -0.012335966, -0.040180996, -0.077114604) * go_9(1.0, -1.0);
|
|
result += mat4(-0.054692354, 0.013022073, -0.01139855, -0.063277416, -0.012274598, 0.14833915, 0.12062439, 0.050710853, 0.06779855, -0.1706071, -0.11530578, 0.036966156, 0.1292936, -0.036399644, -0.043579675, -0.08381583) * go_9(1.0, 0.0);
|
|
result += mat4(0.02749628, -0.0055657537, 0.021414503, -0.05567031, -0.039817147, -0.03126969, -0.06121935, -0.10364907, -0.010643113, 0.025941094, -0.0018660325, 0.03134705, 0.1014764, 0.012132183, -0.04167534, -0.007192358) * go_9(1.0, 1.0);
|
|
result += mat4(-0.063908055, 0.0716716, 0.15478031, 0.04902798, -0.0115773585, 0.008942735, 0.07891588, -0.021553801, 0.061734688, 0.041381408, 0.024777513, -0.075308606, -0.0315457, 0.08311421, 0.1146139, -0.10134795) * go_10(-1.0, -1.0);
|
|
result += mat4(-0.07825499, 0.03318951, 0.12026386, -0.03832228, 0.061354306, 0.061549537, 0.0011700536, 0.34563038, -0.11119886, 0.070013, 0.10178486, 0.022604989, -0.071630105, -0.14017276, -0.12347933, -0.12235272) * go_10(-1.0, 0.0);
|
|
result += mat4(0.023362065, -0.0067457003, 0.0031184114, -0.21757258, -0.12105008, 0.022064012, 0.007349156, -0.13224223, -0.13238755, -0.01957228, -0.048229545, -0.0844988, -0.033219468, -0.010157594, -0.055777356, 0.08504735) * go_10(-1.0, 1.0);
|
|
result += mat4(-0.030155355, 0.054027464, -0.05244417, -0.27551824, 0.056763507, 0.056652557, -0.07985995, -0.2235566, 0.060574487, -0.014039565, 0.023739032, -0.12401088, -0.012619071, -0.10727298, -0.27877995, 0.015411789) * go_10(0.0, -1.0);
|
|
result += mat4(-0.031312168, -0.112990275, -0.084325545, 0.13420536, -0.026703216, -0.12318826, -0.11495745, -0.3304216, 0.0017379739, -0.12131297, -0.02029666, -0.0055680214, -0.008017169, 0.08656161, -0.029046582, 0.07329052) * go_10(0.0, 0.0);
|
|
result += mat4(0.031304292, -0.016605763, -0.079030745, -0.11400012, -0.0068179243, -0.045204088, -0.13792539, 0.12242324, 0.086180836, 0.014990944, 0.035774138, 0.0067398064, -0.08353351, 0.14081265, 0.018009441, 0.030319707) * go_10(0.0, 1.0);
|
|
result += mat4(-0.0300618, -0.09076341, 0.023667706, 0.3072777, 0.032913562, 0.06211962, -0.0018291202, 0.19930436, 0.07321349, -0.02797535, 0.027380915, 0.104818374, -0.02544935, 0.070551865, 0.02536394, -0.0064187082) * go_10(1.0, -1.0);
|
|
result += mat4(-0.007832267, -0.017210286, 0.25910655, -0.107828744, -0.001164178, -0.077287786, 0.005749273, -0.078888595, 0.045206502, -0.045909654, -0.0057160687, -0.11832497, -0.017618075, 0.06724589, 0.03278988, 0.03061019) * go_10(1.0, 0.0);
|
|
result += mat4(-0.06251723, 0.021697097, 0.0931253, 0.015918719, -0.01673429, -0.019261248, 0.037270892, 0.13806875, -0.17155577, 0.044427596, 0.039202694, -0.009793211, 0.06674323, -0.011454017, -0.06116148, -0.00015122985) * go_10(1.0, 1.0);
|
|
result += mat4(0.056943193, 0.0069820723, -0.07524087, 0.10591727, -0.09259575, 0.080761656, 0.027319528, 0.09965913, -0.036539625, 0.06075153, -0.0063602435, -0.019010015, 0.008996931, 0.035988364, -0.06078678, 0.045367032) * go_11(-1.0, -1.0);
|
|
result += mat4(-0.10437949, 0.026252626, 0.033633687, 0.08128151, -0.03295961, 0.048350845, -0.1339497, -0.24894571, 0.02032933, -0.032409374, -0.1238805, 0.17044678, 0.02132749, -0.13286678, -0.123408824, 0.116156556) * go_11(-1.0, 0.0);
|
|
result += mat4(0.04140148, -0.017063234, 0.07359672, 0.04455494, -0.08166481, -0.03258098, -0.17265514, -0.012524784, -0.031209016, -0.03908155, 0.054648675, -0.067319736, -0.059796564, -0.016424967, -0.04244829, -0.15359914) * go_11(-1.0, 1.0);
|
|
result += mat4(0.060086712, -0.0060784644, 0.15192048, -0.062112223, 0.038401525, -0.0045279143, -0.20438981, 0.088729754, 0.09072659, 0.12217046, 0.21615751, -0.21982786, 0.12531106, -0.086268365, 0.06098375, 0.038291804) * go_11(0.0, -1.0);
|
|
result += mat4(-0.063111424, -0.057910115, -0.08349416, -0.1252965, 0.20627187, -0.099890456, 0.07032356, 0.13706891, -0.06886676, -0.039443724, 0.31532258, -0.068111554, 0.12516932, 0.23845369, 0.17068613, 0.12243004) * go_11(0.0, 0.0);
|
|
result += mat4(-0.092574455, 0.020559775, -0.16846387, 0.06924703, -0.027610822, -0.054253742, 0.1649807, 0.048429742, -0.11474609, -0.07767965, 0.093735196, 0.1386315, -0.064462975, -0.025894605, 0.07694748, 0.14165285) * go_11(0.0, 1.0);
|
|
result += mat4(-0.07777789, -0.023626441, -0.059073735, 0.14062499, -0.07562892, -0.023058334, 0.063937806, 0.057256836, -0.030244652, -0.014287634, -0.114472166, -0.041285962, 0.075025864, -0.076231115, -0.09189616, 0.048033148) * go_11(1.0, -1.0);
|
|
result += mat4(0.12536667, 0.0805743, -0.00029607664, -0.057686873, 0.21167123, -0.0014067952, -0.050654158, -0.033412077, 0.07600509, -0.12453788, -0.13625082, -0.07260216, 0.010956455, 0.06661168, -0.16789722, -0.3015692) * go_11(1.0, 0.0);
|
|
result += mat4(-0.08198274, 0.051078603, 0.064630434, 0.13538146, -0.051327027, 0.15535043, -0.016776081, 0.030145686, -0.05958555, 0.076665685, -0.01981465, -0.0068788007, -0.10680831, -0.11047426, -0.18633184, -0.07421776) * go_11(1.0, 1.0);
|
|
result += vec4(-0.013233474, -0.028328523, 0.026200915, -0.040242057);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x48
|
|
//!HOOK MAIN
|
|
//!BIND conv0ups
|
|
//!BIND conv0ups1
|
|
//!BIND conv0ups2
|
|
//!BIND conv0ups3
|
|
//!BIND conv0ups4
|
|
//!BIND conv0ups5
|
|
//!SAVE conv1ups2
|
|
//!WIDTH conv0ups.w 4 *
|
|
//!HEIGHT conv0ups.h 4 *
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv0ups_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv0ups1_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv0ups2_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_3(x_off, y_off) (max((conv0ups3_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv0ups4_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv0ups5_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv0ups_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv0ups1_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_8(x_off, y_off) (max(-(conv0ups2_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_9(x_off, y_off) (max(-(conv0ups3_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_10(x_off, y_off) (max(-(conv0ups4_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_11(x_off, y_off) (max(-(conv0ups5_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.004980054, -0.00031779445, -0.06937893, -0.007667222, 0.020564018, -0.12594308, -0.04422198, 0.010446319, 0.13394952, -0.061285086, 0.036756814, 0.04566945, -0.023438957, 0.00058551924, -0.031796318, 0.009675185) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.03424442, -0.028524911, -0.10516485, 0.020576376, 0.08185258, 0.072603114, -0.06079605, -0.09684838, 0.029204143, 0.023047578, -0.085331604, -0.079404935, 0.014943324, 0.03931474, -0.09670182, 0.026686301) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.013804525, -0.021905398, 0.039218854, -0.012553362, -0.015308296, 0.09990078, 0.03377175, -9.791311e-05, 0.0039004232, -0.04609028, 0.072497614, 0.0145564545, -0.0006264493, 0.0022672713, 0.10566008, -0.053847287) * go_0(-1.0, 1.0);
|
|
result += mat4(0.0054841153, 0.00018488796, -0.07195827, -0.037830014, 0.007781641, 0.046536706, 0.013677965, 0.042986326, -0.10822574, 0.065523066, 0.01953869, 0.02402357, 0.06818494, -0.026275497, -0.03505757, -0.049135983) * go_0(0.0, -1.0);
|
|
result += mat4(0.08243966, 0.07671485, -0.038887218, 0.068862416, -0.17881598, -0.026086396, -0.049436066, -0.016728621, -0.12982376, 0.04321355, -0.06619578, 0.097587444, 0.035460997, 0.08825189, -0.1343801, 0.043896023) * go_0(0.0, 0.0);
|
|
result += mat4(-0.020362575, -0.061795376, 0.14194444, -0.009392974, 0.0079227, -0.017974908, 0.002327632, 0.05252894, 0.002096929, -0.00043822022, 0.008803959, -0.09294933, 0.054308783, 0.062052276, 0.01957063, 0.023968028) * go_0(0.0, 1.0);
|
|
result += mat4(-0.06981682, -0.033447154, -0.082183264, -0.012061882, -0.093804084, -0.033942513, -0.010569552, 0.026009778, 0.0033966561, -0.06607895, 0.017608356, -0.06738349, -0.04014152, -0.037135415, 0.0009366481, -0.0007413654) * go_0(1.0, -1.0);
|
|
result += mat4(0.015740328, 0.037849814, 0.00141192, -0.0177318, -0.038522735, -0.073447764, -0.016887076, 0.020053718, 0.09669053, 0.030959895, -0.047290325, -0.04076653, -0.05706955, 0.050860386, -0.02602983, 0.010206542) * go_0(1.0, 0.0);
|
|
result += mat4(-0.032583617, -0.088230655, 0.15712184, -0.11126827, -0.013210994, 0.11957044, 0.058341667, -0.08059044, -0.013765303, -0.016952187, -0.001553906, 0.011888885, -0.012792091, -0.038058013, 0.04805991, -0.07751879) * go_0(1.0, 1.0);
|
|
result += mat4(-0.019154536, -0.19832996, 0.08228855, 0.0072365827, 0.11191198, 0.031780373, 0.010279858, 0.010202158, -0.045814104, -0.062358413, -0.04304008, 0.031776935, -0.049302373, 0.07078303, 0.015204526, -0.037633713) * go_1(-1.0, -1.0);
|
|
result += mat4(-0.17575762, -0.02255418, 0.0014433716, 0.14608163, 0.02062823, 0.07066893, -0.11729328, -0.060587287, -0.030502932, 0.020600662, -0.055207808, 0.03486421, 0.059566412, 0.11540176, -0.00077288394, -0.009210969) * go_1(-1.0, 0.0);
|
|
result += mat4(0.039794195, 0.023957198, -0.08397302, -0.004100543, 0.019318411, -0.064996056, -0.077970035, 0.028551016, -0.02403627, -0.013446191, 0.069143735, 0.040995464, 0.030460864, 0.01776159, 0.066885635, -0.0024465942) * go_1(-1.0, 1.0);
|
|
result += mat4(0.11183102, 0.088040985, -0.090596534, -0.012310924, -0.16931272, -0.000802675, 0.0019450602, 0.079799056, 0.068416156, 0.13135424, -0.008897253, -0.030678948, -0.020596573, 0.040627006, -0.008358484, 0.07219674) * go_1(0.0, -1.0);
|
|
result += mat4(-0.083352946, -0.03401107, 0.12811421, 0.0015708592, -0.12648453, -0.017319797, -0.09431899, -0.04599546, 0.1582331, 0.099352226, -0.16463861, -0.14610463, 0.08969931, 0.010817973, -0.1133007, -0.04953709) * go_1(0.0, 0.0);
|
|
result += mat4(0.053032618, 0.06844253, 0.1012487, -0.035372887, -0.120928794, -0.018997852, 0.07475708, 0.048551805, 0.037847, -0.013994659, 0.032808784, 0.011978656, 0.10335882, -0.11927721, 0.027382841, 0.029108996) * go_1(0.0, 1.0);
|
|
result += mat4(0.038313128, -7.450299e-05, -0.1553082, -0.037842166, -0.07845518, 0.0791963, 0.08918919, -0.045648728, 0.02312862, -0.006408866, -0.032382783, 0.11302323, -0.08434936, 0.043508492, 0.05423983, 0.00020627544) * go_1(1.0, -1.0);
|
|
result += mat4(0.04470558, -0.22777058, -0.023525046, -0.031613413, 0.107973, -0.069209486, 0.132562, -0.15954618, 0.039887153, 0.042308033, -0.10093805, 0.053684387, -0.017171599, -0.043126736, 0.055972002, 0.044250045) * go_1(1.0, 0.0);
|
|
result += mat4(0.044089902, 0.007576137, 0.049237445, -0.00033802204, 0.006268241, -0.036514062, 0.052746966, -0.057994682, 0.074214526, -0.022113977, 0.13046025, 0.04648536, -0.03143724, -0.041738454, -0.060698733, -0.054645855) * go_1(1.0, 1.0);
|
|
result += mat4(-0.071145, 0.022052322, 0.002697867, -0.042442765, -0.09173712, 0.013504443, -0.019114535, 0.02300051, 0.020803731, -0.05496937, 0.048905697, -0.045301817, -0.036766656, 0.016664147, -0.07547731, 0.01658226) * go_2(-1.0, -1.0);
|
|
result += mat4(0.040246766, -0.014714711, 0.078281574, 0.039224714, 0.04217229, 0.022495124, -0.004129543, -0.031368844, -0.075755574, -0.01715347, 0.04380368, 0.033137042, 0.10724252, -0.025614396, 0.11412219, -0.074797876) * go_2(-1.0, 0.0);
|
|
result += mat4(-0.06936905, 0.01889137, 0.050059408, -0.009893554, -0.053580936, -0.017549224, 0.06327266, 0.010808283, -0.05115075, -0.058450032, -0.0074706287, 0.00776926, -0.08797574, 0.012118241, -0.05471152, -0.017969558) * go_2(-1.0, 1.0);
|
|
result += mat4(0.06484589, 0.040202156, 0.028859783, 0.026862267, 0.09826367, -0.056915086, 0.08828274, -0.03428312, 0.03460851, -0.0647798, 0.12595637, 0.0034099142, 0.1603728, -0.0946848, 0.020196391, -0.07263614) * go_2(0.0, -1.0);
|
|
result += mat4(0.22661588, 0.16864187, -0.07791008, -0.112576656, -0.14638188, 0.1337304, 0.014603548, 0.044733938, -0.1398099, -0.10701227, -0.040945653, 0.06388999, -0.15798035, 0.044651303, 0.08594859, 0.011900386) * go_2(0.0, 0.0);
|
|
result += mat4(0.03761384, -0.013198248, -0.12755519, 0.019081809, 0.09354852, -0.11184259, 0.03713189, -0.028735103, 0.033271037, 0.07379451, 0.109707184, 0.034653552, 0.090518855, 0.012992565, -0.016021844, -0.055253588) * go_2(0.0, 1.0);
|
|
result += mat4(0.03771769, -0.004233999, -0.035034336, 0.12593402, -0.0840236, -0.07569288, 0.049403775, 0.061529223, -0.05931918, -0.083688684, 0.024350598, 0.095879935, 0.06332485, -0.14329872, 0.033925388, -0.02696251) * go_2(1.0, -1.0);
|
|
result += mat4(-0.011605727, 0.08207276, -0.13056436, 0.083434395, -0.06486144, -0.043959912, -0.02922763, -0.033251993, 0.07966037, 0.06114887, -0.103295445, -0.075507164, -0.10298414, 0.082901865, 0.08017057, 0.046108358) * go_2(1.0, 0.0);
|
|
result += mat4(-0.092339, -0.11631462, 0.086708374, 0.09514288, -0.013445989, 0.021781534, -0.112157725, 0.04364132, 0.0035640658, -0.09061818, -0.023630636, 0.03811553, -0.040704202, 0.06701393, 0.005006215, 0.042827263) * go_2(1.0, 1.0);
|
|
result += mat4(-0.07944411, 0.0789026, 0.016190117, -0.113942236, 0.049357407, 0.15248768, 0.016395327, -0.013958314, 0.03873115, 0.027520558, -0.006671946, -0.040301196, 0.027300991, 0.11163382, 0.038676243, 0.028494846) * go_3(-1.0, -1.0);
|
|
result += mat4(0.047684576, 0.00047076686, -0.044396825, -0.0007533188, 0.06232839, 0.035434846, -0.013232272, 0.016593229, 0.12973827, 0.033230036, 0.08758317, -0.0787135, 0.0072122775, 0.030239502, 0.10487618, 0.02862714) * go_3(-1.0, 0.0);
|
|
result += mat4(-0.123315446, 0.033416398, 0.05050297, 0.02801388, 0.009222316, -0.08459817, 0.05822027, 0.03326058, 0.0138115445, 0.082410134, -0.0827552, -0.019779475, -0.058263138, 0.04641969, -0.026756264, -0.053478077) * go_3(-1.0, 1.0);
|
|
result += mat4(-0.0068640457, 0.0074430844, -0.03400453, 0.10731797, -0.026399532, 0.027929788, -3.0089896e-06, 0.04014437, -0.10416428, -0.04428467, -0.04392669, 0.035639126, -0.045293827, -0.026341837, -0.012873498, -0.039726894) * go_3(0.0, -1.0);
|
|
result += mat4(-0.012044526, -0.06947611, 0.0698436, -0.04084831, -0.12761715, 0.0033684673, -0.09938189, 0.08194043, -0.05680546, 0.12330337, 0.03703057, 0.2003222, -0.06116296, 0.005087016, 0.09429647, 0.11045201) * go_3(0.0, 0.0);
|
|
result += mat4(0.13894477, -0.1140498, 0.10828947, -0.021688364, -0.08493094, -0.028165033, 0.01597356, 0.018855589, 0.026023779, -0.005421008, -0.09233236, 0.061472908, 0.11241487, 0.116131656, -0.08339397, 0.08733185) * go_3(0.0, 1.0);
|
|
result += mat4(-0.015038761, 0.1652624, -0.09448094, 0.07666857, -0.071312174, 0.09588329, -0.011332098, -0.04034192, -0.077668615, 0.0058973487, 0.07668882, -0.073860854, -0.035745006, -0.04739662, -0.018102147, 0.056211453) * go_3(1.0, -1.0);
|
|
result += mat4(-0.03183886, -0.066594, 0.02265856, -0.014362389, 0.04824181, 0.14979705, -0.048680082, -0.026170084, 0.08462282, -9.6751464e-05, 0.075262226, -0.044197805, 0.17810301, 0.07797176, -0.006515804, -0.03331917) * go_3(1.0, 0.0);
|
|
result += mat4(-0.08380702, 0.033952057, -0.094792776, 0.044264294, -0.013486094, -0.10115301, 0.009765046, -0.03270181, -0.03531165, -0.017018229, -0.04344065, -0.07754226, -0.03270765, 0.084762484, -0.07478498, 0.010393788) * go_3(1.0, 1.0);
|
|
result += mat4(-0.07487718, -0.081585266, 0.0926645, -0.011970761, -0.12539868, -0.11986312, 0.031828016, 0.047259834, -0.08914916, -0.029122157, -0.024397554, -0.018037558, 0.020722765, 0.017828869, -0.05420854, 0.07969747) * go_4(-1.0, -1.0);
|
|
result += mat4(-0.026801797, -0.010322373, 0.028299354, 0.028988026, -0.06533457, -0.115617834, 0.0625142, 0.005516965, -0.017213784, -0.007674974, 0.0779002, 0.015178548, -0.07579986, -0.11024699, -0.039055236, 0.065135635) * go_4(-1.0, 0.0);
|
|
result += mat4(-0.01213054, -0.010893728, 0.08719662, 0.0033811845, 0.071778074, 0.0078827655, -0.0173444, -0.0038211744, -0.02791009, -0.00072597887, -0.05217657, 0.025769593, 0.0215529, -0.042698726, 0.019466953, 0.051834304) * go_4(-1.0, 1.0);
|
|
result += mat4(0.17659777, 0.013703468, 0.0056460397, 0.024826508, 0.07208554, -0.14220287, -0.07453027, 0.055382118, 0.10781546, -0.057184774, 0.057582688, -0.006631031, -0.10135777, 0.12889053, -0.05645504, 0.088366844) * go_4(0.0, -1.0);
|
|
result += mat4(0.06904701, -0.0013303136, -0.04592286, -0.20912392, 0.02682363, 0.088488, -0.05283776, 0.029175911, 0.027417168, 0.1829927, 0.076627366, -0.017891806, 0.06441116, 0.026457202, 0.18269981, 0.0094796475) * go_4(0.0, 0.0);
|
|
result += mat4(0.048462097, 0.07554834, -0.01741707, 0.026187122, -0.035704713, -0.02665749, 0.003005862, -0.0021759986, 0.014800947, -0.0685403, -0.006442139, 0.0073272795, -0.026575487, -0.038520448, -0.05114312, 0.011805403) * go_4(0.0, 1.0);
|
|
result += mat4(0.06547267, -0.16048354, -0.022591965, 0.004297735, -0.0696483, 0.15455423, -0.051802512, 0.018001162, -0.053496685, -0.009972072, -0.023770085, 0.018012576, 0.02063509, 0.2248572, 0.0014219751, -0.026187016) * go_4(1.0, -1.0);
|
|
result += mat4(-0.029676484, 0.115568705, -0.060859796, 0.20539157, 0.11859488, 0.0013547272, -0.008380246, -0.105498776, -0.013806508, 0.12783237, -0.1459067, -0.0347886, -0.011370979, 0.106100015, -0.01690763, 0.038655322) * go_4(1.0, 0.0);
|
|
result += mat4(0.066515915, -0.00028321685, 0.08892155, 0.0016317593, -0.061310638, -0.07737056, 0.03561483, 0.09331112, -0.069806434, -0.11692849, 0.0102957655, 0.037358206, -0.1654943, -0.05999889, -0.10447043, -0.07220807) * go_4(1.0, 1.0);
|
|
result += mat4(-0.010819127, 0.018162977, -0.070972435, -0.0028039222, -0.15422885, 0.097271316, -0.0551186, 0.006109672, -0.08663247, -0.029513236, -0.044053316, 0.053481128, 0.010602227, -0.11906896, 0.11215661, 0.00036062975) * go_5(-1.0, -1.0);
|
|
result += mat4(-0.060584255, -0.10347742, 0.2311829, -0.061208174, -0.012189042, -0.005251737, 0.040530797, -0.011809084, -0.035253566, -0.066367224, -0.0044880556, -0.04906008, 0.025754534, -0.13416557, -0.039463036, 0.08589151) * go_5(-1.0, 0.0);
|
|
result += mat4(-0.001811808, -0.14401546, -0.0040855994, 0.04881153, -0.07855645, 0.0765836, 0.042517748, -0.032462176, -0.05319181, -0.03694913, -0.07701794, -0.021778328, -0.035167713, 0.014939869, 0.00090037263, -0.028272703) * go_5(-1.0, 1.0);
|
|
result += mat4(-0.10014492, -0.10234366, -0.0049715503, -0.021069406, 0.15159184, -0.01578284, 0.0025799314, -0.0788855, -0.03319473, -0.018055653, 0.030750398, -0.024944583, -0.06941078, -0.10806205, -0.009403854, 0.068457745) * go_5(0.0, -1.0);
|
|
result += mat4(0.07509925, 0.13915682, 0.0843594, -0.0663729, 0.29596356, -0.09990156, 0.27314377, -0.03200671, -0.0050549, 0.06427814, 0.04587712, 0.0521665, -0.0066815466, 0.07585212, -0.2393277, -0.040303335) * go_5(0.0, 0.0);
|
|
result += mat4(-0.03936385, -0.01834245, -0.055654693, -0.049332604, 0.14924063, -0.09392581, -0.027209468, -0.004826174, 0.02256422, 0.03992049, -0.0034684308, -0.03776157, -0.11683972, 0.045553684, 0.12861861, 0.039034113) * go_5(0.0, 1.0);
|
|
result += mat4(-0.09741208, 0.06837846, -0.050834626, 0.0624849, -0.038701717, 0.029586427, 0.025968283, 0.0962147, -0.07174071, -0.10434051, 0.06022656, 0.025534676, 0.036425397, 0.046699833, -0.005127528, -0.019057602) * go_5(1.0, -1.0);
|
|
result += mat4(0.10008072, -0.12806182, 0.07184019, -0.019579336, -0.11724369, 0.08670338, 0.056442916, 0.042675193, 0.19645384, -0.03999251, -0.010949986, -0.07979217, 0.01367985, -0.09818813, 0.04609146, -0.033911683) * go_5(1.0, 0.0);
|
|
result += mat4(-0.05102399, 0.04630377, -0.08153964, 0.07871819, -0.078999326, 0.04736143, -0.19323653, 0.09518113, -0.018439546, -0.022815213, -0.012863942, 0.07849269, 0.028150335, -0.15847255, 0.02974761, 0.005212911) * go_5(1.0, 1.0);
|
|
result += mat4(-0.08172791, 0.06774395, 0.06855397, -0.030201953, -0.013725309, 0.03161688, 0.10804155, -0.0394157, -0.09338775, -0.045169964, -0.026604675, 0.02814141, 0.025514977, 0.1076675, -0.046543553, -0.022546189) * go_6(-1.0, -1.0);
|
|
result += mat4(0.059291005, -0.07898177, 0.097554855, 0.007130618, -0.1523421, 0.018653909, -0.065540805, 0.08984692, -0.09766101, -0.0886244, 0.13661884, 0.03730344, 0.0027830894, 0.042705502, 0.07426177, -0.025809633) * go_6(-1.0, 0.0);
|
|
result += mat4(0.05979756, 0.06012527, -0.00012069158, -0.03200783, 0.02075729, -0.04141766, -0.050204758, 0.024769386, 0.029588062, -0.080610864, -0.0028909834, -0.011870227, -0.00795984, -0.111990646, -0.027717153, 0.011958879) * go_6(-1.0, 1.0);
|
|
result += mat4(-0.11348256, -0.1642138, -0.030825634, 0.0009695864, 0.042716514, -0.12134388, 0.029467866, 0.034967966, 0.07632793, -0.11162435, 0.07082364, -0.07428158, -0.07067028, 0.07259591, -0.07474968, -0.059272174) * go_6(0.0, -1.0);
|
|
result += mat4(0.04584006, 0.029281115, 0.064264186, 0.026720345, 0.11376056, 0.14155193, 0.121960804, -0.08383328, 0.006924721, -0.083036475, 0.075024724, -0.06746543, 0.010613704, -0.03516688, 0.2985084, -0.10778275) * go_6(0.0, 0.0);
|
|
result += mat4(-0.09198537, 0.0999396, -0.100619964, 0.09780523, 0.10976557, -0.02432579, 0.013511376, -0.032328337, 0.052830044, 0.08352129, -0.037643075, 0.082177006, -0.16766717, -0.11212313, -0.09472028, 0.039206263) * go_6(0.0, 1.0);
|
|
result += mat4(-0.0039187134, 0.064014964, 0.07816437, -0.045843247, -0.0595401, 0.17998374, -0.024679746, -0.053179417, -0.07176138, -0.095521145, -0.007285804, 0.00966716, 0.048759207, -0.07106211, 0.01840149, 0.10262785) * go_6(1.0, -1.0);
|
|
result += mat4(-0.0011137341, -0.12161087, -0.0078447, 0.0052990075, 0.084343076, -0.053268425, 0.026544819, 0.056677848, 0.0015056322, -0.0026956368, -0.025750063, 0.024165427, -0.113677785, -0.079001755, 0.02874794, 0.05419204) * go_6(1.0, 0.0);
|
|
result += mat4(-0.032366123, -0.029644642, -0.10116561, -0.033282388, -0.07558866, -0.011509916, -0.06724827, 0.13111916, 0.08398466, -0.0049603316, -0.028347481, -0.036745254, 0.09317942, -0.103095226, -0.04895355, 0.033940677) * go_6(1.0, 1.0);
|
|
result += mat4(0.02289852, 0.020793753, -0.029280921, -0.021226712, -0.042159542, -0.040234644, 0.037087075, -0.01136303, 0.1250587, 0.08683751, 0.043244306, -0.014266309, 0.044671338, 0.16216184, -0.10934954, 0.043123797) * go_7(-1.0, -1.0);
|
|
result += mat4(0.14602992, 0.08519712, -0.04223339, -0.15030964, 0.0195825, -0.09202295, 0.004349579, -0.03261155, -0.079913475, 0.040347222, -0.051544785, -0.01878559, -0.03697114, -0.09083287, -0.11281619, 0.013403602) * go_7(-1.0, 0.0);
|
|
result += mat4(-0.05066647, -0.14043969, 0.0715399, -0.0338407, -0.0733364, -0.012150814, -0.033737592, -0.037597366, 0.039557703, 0.04977844, -0.13113868, 0.037195235, 0.030010387, 0.051758926, 0.021363556, -0.0042700213) * go_7(-1.0, 1.0);
|
|
result += mat4(-0.12424838, 0.044712003, 0.09879717, 0.110431895, 0.15167078, -0.080809824, -0.051779483, -0.06151212, -0.03838396, 0.099461265, -0.025622264, 0.03953769, 0.054816764, -0.0052228123, 0.014440809, -0.07081345) * go_7(0.0, -1.0);
|
|
result += mat4(0.029055228, 0.12759502, -0.07065523, 0.049311154, 0.0789663, 0.089302815, 0.03734241, 0.018170618, -0.109402694, -0.05299332, 0.11950886, -0.01075894, -0.038342703, -0.009629279, 0.20338437, -0.09028282) * go_7(0.0, 0.0);
|
|
result += mat4(-0.031301793, 0.033350687, -0.11612052, -0.0073021594, 0.13181442, 0.064353034, -0.016098095, -0.064183615, 0.031972036, -0.061433535, -0.07871156, 0.030271178, -0.095563374, -0.0674315, 0.16081227, -0.07802229) * go_7(0.0, 1.0);
|
|
result += mat4(0.044386476, -0.18471137, 0.11902013, 0.0034011758, 0.10137816, 0.031235041, -0.032770824, -0.006660433, 0.066062324, 0.023300404, 0.005928438, -0.024066748, 0.040243164, 0.0066209408, -0.09594398, 0.054552276) * go_7(1.0, -1.0);
|
|
result += mat4(-0.029413521, 0.09428955, 0.06815103, -0.06441823, -0.12596223, -0.06366853, 0.034587037, 0.124309674, -0.11672954, -0.07312988, 0.11242359, -0.011613149, -0.021004865, 0.0074676527, 0.065052725, 0.15019634) * go_7(1.0, 0.0);
|
|
result += mat4(-0.037824865, 0.050029285, -0.087814786, 0.06880046, -0.032547157, -0.027144877, -0.085585445, 0.087496854, -0.03997047, -0.029602649, -0.1513635, -0.016184736, 0.0097209, 0.07292284, 0.008576975, 0.06435051) * go_7(1.0, 1.0);
|
|
result += mat4(0.10046984, -0.06183376, -0.013340809, 0.027074182, 0.054535855, -0.027432043, -0.019280395, 0.013221026, -0.009106137, 0.012200378, -0.042389095, -0.009353607, 0.010896132, -0.042522453, 0.08383094, -0.047568105) * go_8(-1.0, -1.0);
|
|
result += mat4(-0.092015676, -0.09783175, -0.05556744, 0.024186416, 0.21669935, -0.11186962, 0.02547885, -0.019488495, 0.03702874, -0.0052051265, 0.01634479, -0.037431873, 0.010483881, 0.15813497, -0.071999855, 0.024169728) * go_8(-1.0, 0.0);
|
|
result += mat4(-0.0136034135, 0.05746974, -0.108155355, 0.03440845, -0.0022545143, 0.059555024, -0.05949962, 0.04200527, 0.056074332, -0.017623803, 0.01817416, 0.0021474815, 0.014506314, 0.07241813, 0.04402455, 0.035774175) * go_8(-1.0, 1.0);
|
|
result += mat4(-0.11538483, -0.005205343, 0.058553293, 0.017911535, -0.06455953, -0.12028678, -0.02611027, 0.05955494, -0.052788045, 0.08086805, -0.14098185, 0.10982794, 0.029788535, 0.09348368, -0.00070427964, 0.057440583) * go_8(0.0, -1.0);
|
|
result += mat4(-0.19514108, -0.12313826, 0.10980396, 0.050500832, -0.3483835, 0.09887278, -0.11676224, 0.032840744, -0.009801942, -0.012462944, 0.07521651, 0.15261722, -0.18961075, -0.15468487, -0.11253467, 0.07723115) * go_8(0.0, 0.0);
|
|
result += mat4(0.0566264, -0.021055626, 0.05093136, 0.00049979053, -0.17377897, -0.015554475, -0.016173836, 0.030584248, -0.023609076, 0.12646917, -0.07582214, -0.011635134, 0.003872485, -0.08722388, 0.066062145, -0.09153139) * go_8(0.0, 1.0);
|
|
result += mat4(-0.07090559, 0.0072672614, -0.034961816, -0.10320985, 0.020280685, 0.09725229, -0.06032245, -0.07770435, 0.011320556, -0.04215958, 0.027943375, -0.11302869, -0.013554361, 0.11193114, 0.0027771285, 0.014636555) * go_8(1.0, -1.0);
|
|
result += mat4(0.005668411, -0.17086571, -0.0118306, -0.029624771, 0.14067604, -0.1351785, 0.061528943, -0.026544137, 0.0002217388, -0.06365143, 0.14189628, -0.10473213, 0.058985032, 0.030680038, -0.10620143, -0.08394014) * go_8(1.0, 0.0);
|
|
result += mat4(0.054056313, -0.044364754, 0.05243819, -0.08444673, 0.17942932, -0.10154837, 0.031917978, -0.07216916, -0.033997767, -0.062092148, -0.054459434, -0.039323207, 0.01884695, 0.025018962, -0.054677896, -0.029544072) * go_8(1.0, 1.0);
|
|
result += mat4(0.035735596, -0.0923662, -0.051487017, 0.044227608, -0.16397929, 0.032365985, -0.011113684, 0.03424745, -0.05861996, -0.10061573, -0.0057441234, 0.03869538, 0.09118717, -0.040257573, -0.003748945, 0.01576125) * go_9(-1.0, -1.0);
|
|
result += mat4(0.005812071, -0.022493647, -0.016028766, 0.029808372, 0.028341934, -0.2501618, -0.0019369101, -0.022042232, -0.14091198, -0.029506056, -0.054683685, 0.06755075, -0.09911962, -0.040016513, -0.010028454, -0.053709976) * go_9(-1.0, 0.0);
|
|
result += mat4(-0.0040333862, -0.031002447, -0.020740345, -0.047557306, 0.021522898, 0.18422173, -0.1100128, -0.04952392, 0.021865182, -0.027262552, 0.123231895, 0.040957477, 0.0134175485, -0.044809658, 0.017589035, 0.02958665) * go_9(-1.0, 1.0);
|
|
result += mat4(0.0024872697, -0.0924844, 0.07573796, -0.050104573, 0.15410806, -0.12993748, -0.04235068, -0.07722604, -0.007873392, -0.035459034, 0.06991578, -0.011290308, -0.29447773, 0.006443658, -0.029264478, 0.0056801992) * go_9(0.0, -1.0);
|
|
result += mat4(-0.016531613, 0.06331183, -0.08013662, 0.03397937, 0.059954632, -0.14282636, 0.20347376, 0.06982213, 0.1122575, -0.05846739, -0.057790205, -0.13501489, 0.047547325, -0.021811934, -0.00338269, -0.06783046) * go_9(0.0, 0.0);
|
|
result += mat4(-0.04977131, 0.029476784, -0.042716935, 0.015469318, 0.04462305, 0.13369839, 0.023932919, 0.029388588, -0.06883358, -0.13391826, 0.07589707, -0.032005493, 0.04743787, -0.055516563, 0.0062151477, -0.010218498) * go_9(0.0, 1.0);
|
|
result += mat4(0.037789203, -0.17034878, 0.08546833, -0.024927955, 0.09980341, 0.20017757, 0.023676427, 0.056595214, 0.01952577, 0.031923886, -0.027307939, 0.08647462, 0.017542683, -0.06223254, 0.017913813, -0.053718697) * go_9(1.0, -1.0);
|
|
result += mat4(-0.027143707, 0.058161657, -0.051025134, 0.020747993, -0.046094757, -0.09663917, 0.09067158, -0.03886615, -0.0027781385, -0.033137277, -0.095078655, -0.060408685, 0.14296174, 0.018933386, 0.055143725, -0.004657412) * go_9(1.0, 0.0);
|
|
result += mat4(0.044026144, 0.010437977, 0.05655858, -0.014091456, 0.014390184, 0.121795416, -0.1775919, 0.00014985312, -0.005192125, 0.014011373, 0.0145458905, 0.043087985, 0.06917699, -0.051584966, 0.12668638, -0.009736733) * go_9(1.0, 1.0);
|
|
result += mat4(0.14409468, 0.031550802, 0.04940429, 0.02420018, 0.10889677, 0.115760565, 0.024446508, -0.049920537, 0.038839478, -0.055512905, -0.018526837, -0.018177887, -0.022867335, -0.02455583, 0.06619697, 0.03438194) * go_10(-1.0, -1.0);
|
|
result += mat4(-0.029962542, 0.09275872, -0.014957848, -0.029368388, 0.124542885, -0.007063616, 0.008388308, 0.011546229, 0.14521615, -0.09758831, 0.03099553, 0.04643359, 0.08084108, -0.00944376, 0.053600144, 0.040054623) * go_10(-1.0, 0.0);
|
|
result += mat4(0.04469534, -0.031979702, 0.027917262, 0.0060880897, -0.055475116, -0.022721322, -0.034989826, -0.009434882, -0.058321737, -0.019164206, -0.04860144, -0.032621287, -0.07496507, 0.1262228, -0.082519226, -0.10242379) * go_10(-1.0, 1.0);
|
|
result += mat4(-0.17469884, -0.030199233, -0.074333005, 0.06706621, -0.097167045, 0.012247184, 0.08149112, -0.038525913, -0.092975184, 0.08887855, 0.04058227, 0.06999723, -0.022414748, 0.01108974, -0.061870188, -0.17352983) * go_10(0.0, -1.0);
|
|
result += mat4(-0.105581224, -0.100990914, -0.054395344, 0.148013, -0.23560022, -0.044876803, 0.116798066, 0.13076422, -0.03979231, 0.0097074285, -0.1698561, -0.04045923, -0.015860325, -0.15534262, -0.0846022, -0.1327169) * go_10(0.0, 0.0);
|
|
result += mat4(-0.026032096, 0.07081548, 0.1203681, -0.073586255, 0.017461475, 0.04307851, -0.1154002, 0.0421786, -0.075602904, -0.057110302, -0.0025774506, -0.009332216, -0.09929576, -0.07458518, 0.05298091, -0.008168844) * go_10(0.0, 1.0);
|
|
result += mat4(-0.029223746, 0.07165331, -0.0032342686, -0.12397089, 0.016262105, -0.019623598, 0.132229, -0.0782472, 0.13277876, -0.1369722, 0.0041247434, -0.113053255, -0.009171029, 0.029010417, -0.085494466, 0.07673613) * go_10(1.0, -1.0);
|
|
result += mat4(0.072732225, -0.02040133, -0.007791175, -0.14766552, -0.020023864, -0.19197097, 0.0481767, -0.003379566, -0.025931194, -0.06366252, 0.11474637, 0.047169022, 0.0009244003, -0.029216142, 0.05807024, 0.075013295) * go_10(1.0, 0.0);
|
|
result += mat4(-0.11801154, 0.16848108, -0.2142721, 0.104934245, 0.030555163, -0.008816935, -0.05582496, -0.13490155, 0.01174242, 0.07028906, 0.028878117, 0.0023139853, 0.07998098, 0.10398876, 0.03057049, -0.017720941) * go_10(1.0, 1.0);
|
|
result += mat4(0.057695515, -0.1949399, 0.010695127, -0.058411263, 0.066390015, 0.10950713, -0.045249913, 0.028170068, 0.07288689, -0.0270477, 0.009525071, 0.011646309, 0.021010188, 0.065147154, -0.0398743, 0.022823825) * go_11(-1.0, -1.0);
|
|
result += mat4(0.016994178, 0.076805435, -0.017005963, 0.065933675, 0.04784552, 0.093760446, -0.08301409, 0.03443229, 0.031635575, 0.04007241, 0.05199163, 0.022145508, -0.055098876, -0.13066843, 0.08290488, -0.04787659) * go_11(-1.0, 0.0);
|
|
result += mat4(0.065779544, 0.14860266, -0.04525508, -0.049127556, 0.05431361, -0.036367986, -0.030670814, -0.012490711, 0.022927895, -0.047019765, 0.055157445, 0.07895081, 0.011260996, 0.032119557, 0.08388522, -0.03145928) * go_11(-1.0, 1.0);
|
|
result += mat4(0.08659041, -0.045707658, 0.0075198743, -0.028048256, -0.055311654, -0.13813055, 0.017775012, -0.0048520165, 0.118107446, 0.08820656, 0.052922327, 0.048058797, 0.11889591, -0.06767885, -0.013459149, -0.054338414) * go_11(0.0, -1.0);
|
|
result += mat4(-0.19821517, 0.041623026, -0.0837332, 0.13626467, -0.19109981, -0.21708459, 0.007647818, -0.0035708284, -0.24309829, -0.07089834, 0.107464954, 0.044456366, -0.05588158, 0.052947696, 0.20099647, -0.07524468) * go_11(0.0, 0.0);
|
|
result += mat4(0.09865657, -0.08641273, 0.04222665, 0.092002586, -0.1677124, 0.123014905, -0.08060824, 0.055244125, -0.044428542, 0.058285844, -0.04806793, 0.00027044347, 0.10408134, 0.003138088, -0.21746248, 0.026150497) * go_11(0.0, 1.0);
|
|
result += mat4(0.031747963, 0.030344909, -0.0010417908, -0.069958955, 0.05205653, -0.018692223, -0.014950393, -0.11240597, 0.043168604, 0.068883464, 0.006945098, -0.020819476, 0.029164154, 0.0494293, 0.057845388, -0.02571959) * go_11(1.0, -1.0);
|
|
result += mat4(-0.021301076, -0.049241424, -0.025215866, 0.015119046, -0.12056921, -0.036253583, -0.13584214, 0.038953424, -0.06768332, 0.0017622785, -0.1465355, 0.047489017, -0.08332941, 0.14608733, -0.01742368, 0.13697848) * go_11(1.0, 0.0);
|
|
result += mat4(0.077989355, -0.044292253, 0.12670535, -0.1457222, 0.12283255, 0.030114034, 0.12524998, -0.19104835, -0.09400012, -0.15996231, 0.15086915, -0.119735934, -0.042656906, 0.0036024922, 0.087161005, -0.052573696) * go_11(1.0, 1.0);
|
|
result += vec4(-0.054201107, -0.03990168, 0.015170136, 0.0027522973);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x48
|
|
//!HOOK MAIN
|
|
//!BIND conv0ups
|
|
//!BIND conv0ups1
|
|
//!BIND conv0ups2
|
|
//!BIND conv0ups3
|
|
//!BIND conv0ups4
|
|
//!BIND conv0ups5
|
|
//!SAVE conv1ups3
|
|
//!WIDTH conv0ups.w 4 *
|
|
//!HEIGHT conv0ups.h 4 *
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv0ups_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv0ups1_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv0ups2_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_3(x_off, y_off) (max((conv0ups3_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv0ups4_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv0ups5_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv0ups_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv0ups1_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_8(x_off, y_off) (max(-(conv0ups2_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_9(x_off, y_off) (max(-(conv0ups3_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_10(x_off, y_off) (max(-(conv0ups4_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_11(x_off, y_off) (max(-(conv0ups5_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.031633336, -0.047204643, 0.011066451, 0.0011457179, -0.006347917, 0.13608074, 0.12924363, 0.06834536, 0.018832529, -0.01617389, -0.0009201671, 0.06167612, 0.08379403, -0.09132134, 0.07452091, -0.015411293) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.13649908, -0.16099243, -0.021652862, -0.026633946, -0.06286893, -0.03219469, -0.08637414, -0.0021062559, -0.040859055, 0.05031717, 0.08475461, -0.09933557, -0.09092729, -0.035865482, -0.01667468, 0.0483801) * go_0(-1.0, 0.0);
|
|
result += mat4(0.02968065, -0.07596962, -0.024859725, -0.024441414, -0.06656952, 0.13241091, -0.022650657, 0.021699335, -0.031473428, -0.0558768, -0.054720137, 0.070535615, 0.006326211, -0.14964871, 0.03221645, -0.007834044) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.06156417, 0.04482909, -0.0778248, 0.0033762604, 0.11597608, 0.04095434, -0.022367701, -0.03452255, 0.0025452876, -0.03823163, -0.010726125, 0.033624556, -0.09120533, 0.036828235, -0.016980488, 0.05392169) * go_0(0.0, -1.0);
|
|
result += mat4(-0.009212071, -0.015501689, 0.2095705, 0.08235293, -0.044137206, 0.055401433, 0.09810722, -0.041813664, 0.023073409, -0.07762709, 0.02694196, -0.037561897, -0.035541937, 0.11290072, -0.016263168, -0.01696508) * go_0(0.0, 0.0);
|
|
result += mat4(-0.03433563, -0.07195097, -0.04096143, -0.0018147749, 0.05482759, -0.019837217, 0.0049560936, -0.077037215, 0.026151054, 0.0032809689, 0.019379511, 0.00382456, -0.025924211, 0.034603324, 0.010341936, -0.14283618) * go_0(0.0, 1.0);
|
|
result += mat4(-0.026823584, 0.06420322, -0.051015694, 0.058043856, 0.013785225, -0.10684649, 0.0060506472, -0.057333834, -0.05343321, 0.048890367, -0.039541624, -0.06949933, 0.0022957844, -0.026031267, 0.035494395, 0.0033965604) * go_0(1.0, -1.0);
|
|
result += mat4(0.030878888, -0.014656829, 0.05056943, -0.021301335, 0.009076464, -0.10768655, 0.1027581, -0.04479955, -0.013532313, 0.07706172, -0.11259715, -0.06031671, -0.0056995912, -0.0051256586, -0.03156205, 0.008640786) * go_0(1.0, 0.0);
|
|
result += mat4(0.103866965, 0.12710404, -0.086989075, -0.024303993, 0.018460473, -0.11399514, -0.028592719, -0.07092162, -0.02485938, 0.012646388, 0.05261332, 0.050391883, 0.0026937504, 0.04870649, -0.020437604, 0.038909916) * go_0(1.0, 1.0);
|
|
result += mat4(-0.0974513, -0.058236808, 0.07105198, 0.040524643, 0.065037526, 0.03906271, 0.07837626, -0.009679581, 0.00064385735, -0.08647321, -7.037534e-05, -0.016179089, -0.031292647, 0.076142006, 0.02804278, -0.05764257) * go_1(-1.0, -1.0);
|
|
result += mat4(0.030663867, -0.15635894, -0.028023819, 0.06460089, -0.041030735, 0.016293203, 0.19392496, -0.11508442, 0.008171591, 0.0934239, -0.0870048, 0.073362164, -0.006848772, 0.06790883, -0.0135335345, 0.07357594) * go_1(-1.0, 0.0);
|
|
result += mat4(0.09028114, -0.06429057, 0.033590067, -0.09879934, 0.07307227, 0.015769, -0.014990206, -0.085418195, 0.080049776, 0.023888448, 0.13409564, -0.014170682, 0.023629297, 0.07806108, 0.04071595, 0.020726595) * go_1(-1.0, 1.0);
|
|
result += mat4(0.052381314, 0.00016723361, 0.057861157, -0.036390983, -0.07958564, 0.05410337, -0.11179012, -0.0061320043, 0.004999326, 0.024352659, -0.019904172, 0.010242868, 0.07631115, -0.04601861, 0.038483422, -0.07362657) * go_1(0.0, -1.0);
|
|
result += mat4(-0.09390498, -0.08841797, 0.15556625, -0.038060345, -0.13633597, 0.04042637, 0.15676612, -0.0711533, -0.080495924, 0.111994445, -0.12988548, 0.06780971, -0.048715454, -0.060590737, 0.10961984, -0.08277777) * go_1(0.0, 0.0);
|
|
result += mat4(-0.02290309, -0.04694831, -0.06167874, -0.05670546, 0.050957043, 0.029744303, -0.06328828, 0.08185687, -0.10537507, -0.04115458, 0.0003735362, 0.053313557, 0.016010528, -0.08785715, -0.07621614, -0.036937892) * go_1(0.0, 1.0);
|
|
result += mat4(0.040517025, 0.09857766, 0.010042572, 0.108244754, -0.03283686, -0.022963187, -0.08690388, -0.005915626, 0.053891134, 0.017167503, 0.017341748, 0.011143697, 0.03999245, -0.01227219, -0.0054678386, -0.009622973) * go_1(1.0, -1.0);
|
|
result += mat4(-0.0164469, -0.017714353, 0.056487422, -0.120027006, 0.04292911, -0.15528695, 0.053511843, 0.116291136, -0.082675055, -0.00034804572, 0.055704895, 0.06071607, -0.047145657, -0.070386276, 0.023783786, 0.029925946) * go_1(1.0, 0.0);
|
|
result += mat4(0.050232735, 0.16572477, -0.09472499, 0.16729164, 0.031627227, -0.025007034, -0.02239652, -0.1147475, 0.050392598, 0.031118808, 0.02176994, 0.00016720843, 0.053246, -0.0098164175, 0.025946492, 0.095122576) * go_1(1.0, 1.0);
|
|
result += mat4(0.05655974, -0.0021296637, -0.027152158, 0.0018008223, -0.030945173, 0.033763006, -0.07339188, 0.08742059, -0.0052314815, -0.027254393, -0.010104694, 0.004313602, -0.0024155602, -0.11986348, -0.07897048, -0.0799794) * go_2(-1.0, -1.0);
|
|
result += mat4(-0.04539382, -0.026066178, 0.047523193, -0.011101852, 0.045068428, -0.09288182, -0.01977962, 0.036070194, 0.035875738, 0.0073511843, -0.04663524, -0.025468027, -0.11150121, -0.10920299, -0.052274317, 0.14670384) * go_2(-1.0, 0.0);
|
|
result += mat4(0.029047016, -0.08053488, -0.047576025, 0.041448213, 0.00519367, 0.017873831, 0.030525718, 0.2115599, 0.04645692, 0.05893807, 0.02615712, -0.0008160917, 0.010160952, -0.115348145, 0.034858495, -0.036252353) * go_2(-1.0, 1.0);
|
|
result += mat4(0.029328672, -0.06147282, 0.099245965, -0.016069561, -0.04588596, -0.015824864, -0.00065780955, 0.11783133, 0.046371263, 0.025532443, -0.050760116, 0.11387852, -0.123442486, 0.068502195, -0.035709452, -0.010139634) * go_2(0.0, -1.0);
|
|
result += mat4(0.08144107, -0.0048314384, 0.042561002, 0.0073429323, 0.016475169, -0.18298517, 0.04162269, -0.40505856, 0.040700838, -0.009729474, 0.04950991, -0.24527405, 0.0359844, -0.24922356, -0.008784957, 0.018083924) * go_2(0.0, 0.0);
|
|
result += mat4(-0.068025224, 0.021066243, 0.08084092, 0.06613674, 0.0137919625, 0.15247017, 0.034660168, 0.06185016, -0.10319381, -0.072604574, 7.0872666e-05, -0.046551786, 0.022662586, 0.040797472, -0.030347038, 0.14333972) * go_2(0.0, 1.0);
|
|
result += mat4(-0.034329556, -0.017629132, -0.1104316, -0.06154111, 0.09951742, 0.006805059, 0.019380113, 0.17514679, 0.033588763, -0.13236447, 0.010922994, -0.09017968, 0.08294792, 0.018926317, -0.043637145, 0.13902532) * go_2(1.0, -1.0);
|
|
result += mat4(0.022851896, 0.06672356, 0.079136185, -0.13659722, -0.038040325, 0.0035903263, -0.16733421, 0.024522435, -0.022264859, 0.10723366, -0.02288172, 0.0196728, -0.009653811, 0.10268295, -0.023501871, -0.113096185) * go_2(1.0, 0.0);
|
|
result += mat4(-0.08349015, 0.060919363, -0.030994276, -0.0025411155, -0.021647135, 0.022568595, 0.095439956, 0.21585481, -0.030502949, -0.09642366, -0.054017495, 0.045923337, 0.01565769, 0.107936196, 0.017659819, -0.006003853) * go_2(1.0, 1.0);
|
|
result += mat4(-0.038150147, 0.049813494, -0.02254389, 0.040376615, 0.012128591, -0.07560698, -0.06594582, 0.17038696, -0.051349834, 0.050568867, -0.037604492, 0.012154198, -0.014805098, -0.020965809, 0.032242477, 0.16283989) * go_3(-1.0, -1.0);
|
|
result += mat4(0.026164161, 0.0384656, -0.006746238, -0.052994136, 0.008782895, 0.06266396, -0.02655077, 0.092436485, 0.13156697, 0.07836482, -0.012871134, -0.08055485, 0.09101397, -0.1413135, 0.0009591581, 0.029787155) * go_3(-1.0, 0.0);
|
|
result += mat4(-0.04031569, -0.011720376, -0.06437212, 0.003487665, -0.015246492, -0.0223702, -0.082578495, 0.04191726, -0.006068365, -0.043860532, 0.035579063, 0.087044574, 0.064650975, 0.028945439, 0.1040025, -0.10181198) * go_3(-1.0, 1.0);
|
|
result += mat4(0.14989112, -0.0037134404, 0.01806641, -0.026873687, -0.08768526, 0.11383756, 0.05757268, 0.09455109, -0.018351153, -0.03952511, -0.079576045, 0.033925682, 0.0033001003, 0.08723034, -0.010643809, 0.01257262) * go_3(0.0, -1.0);
|
|
result += mat4(-0.05054542, -0.036329333, 0.123284444, -0.02557279, 0.10153082, -0.009069268, 0.04252951, -0.12585463, 0.04778654, -0.07483032, 0.062488556, -0.18395498, -0.033916395, 0.06295577, -0.027577616, 0.17423669) * go_3(0.0, 0.0);
|
|
result += mat4(0.07597052, -0.0075188116, -0.08973514, -0.026340129, 0.030906048, 0.08375465, 0.038213003, 0.035919543, -0.03734709, 0.017989695, 0.0087211225, -0.0022506106, -0.058739766, -0.18358399, -0.07323249, 0.1048162) * go_3(0.0, 1.0);
|
|
result += mat4(0.013184021, 0.012399519, -0.08989556, -0.13580927, 0.020641401, 0.0017869119, 0.0057148286, 0.05153431, 0.032268934, 0.034521434, -0.009682033, 0.01926426, 0.034169424, 0.06630961, 0.010832605, -0.054445773) * go_3(1.0, -1.0);
|
|
result += mat4(-0.07883951, -0.09010308, 0.0525519, -0.1035829, 0.02016036, -0.09304133, 0.034259807, -0.09152035, 0.036499713, -0.0019468254, 0.020942528, 0.12025507, -0.034722727, -0.0661018, -0.0026809797, 0.078953594) * go_3(1.0, 0.0);
|
|
result += mat4(-0.037430596, -0.08204897, 0.07476148, 0.024977764, 0.039181154, -0.057472326, -0.003945999, 0.09039336, 0.0008211801, -0.004438151, -0.07983789, 0.120177425, 0.015065143, 0.113335535, -0.07053597, 0.100381166) * go_3(1.0, 1.0);
|
|
result += mat4(0.086861916, -0.05991858, 0.034695197, -0.13092202, 0.07931092, 0.06493492, 0.06573841, -0.036724556, -0.034092747, 0.026152303, -0.033061255, 0.14032754, -0.04515681, 0.05808891, 0.007072928, 0.007464456) * go_4(-1.0, -1.0);
|
|
result += mat4(0.023646286, 0.018814346, 0.08853008, -0.046954494, -0.0680677, 0.09032007, -0.02298439, 0.056834072, 0.0129189445, 0.037632216, 0.015946416, 0.07931374, 0.042541604, -0.02725378, 0.08464752, -0.07183182) * go_4(-1.0, 0.0);
|
|
result += mat4(0.01946921, -0.025809659, -0.010859854, -0.03876819, 0.03143448, 0.08659046, 0.03156476, -0.052004244, 0.050997965, 0.1330303, 0.07472624, 0.042026673, -0.01350671, 0.0037710255, -0.01113821, 0.12962969) * go_4(-1.0, 1.0);
|
|
result += mat4(0.071065016, 0.013667473, -0.07858696, -0.049275048, -0.0831864, -0.031069418, 0.0358137, -0.030719617, 0.03046763, 0.12356255, 0.088537484, 0.07021697, 0.013280352, -0.029585753, 0.11887279, 0.014726342) * go_4(0.0, -1.0);
|
|
result += mat4(-0.033986542, -0.057265796, -0.09960996, -0.007123603, -0.06251754, -0.04555296, -0.1660342, -0.16122448, 0.09641061, 0.06326183, -0.14873765, -0.063495845, -0.0035400593, -0.10232192, -0.13308042, 0.07226899) * go_4(0.0, 0.0);
|
|
result += mat4(0.02253988, -0.022372516, -0.023315908, -0.023785658, 0.0089682285, -0.05635044, 0.029682735, -0.091528706, 0.016541997, -0.00838726, 0.015957052, 0.009885855, 0.09019392, 0.070210606, 0.08996705, -0.15950003) * go_4(0.0, 1.0);
|
|
result += mat4(-0.012698153, 0.024674984, 0.017171197, -0.07513787, 0.054034457, 0.08034133, 0.019900622, -0.018637706, -0.015539523, -0.01719926, 0.012222133, 0.056686874, -0.09941062, 0.035075326, -0.06300037, 0.065752745) * go_4(1.0, -1.0);
|
|
result += mat4(-0.053739294, 0.06779504, 0.006205555, 0.055135477, -0.07350646, -0.07284559, -0.00071034994, 0.070012785, -0.048758507, -0.09573929, 0.017987896, 0.026238175, 0.05292496, -0.0908226, 0.03330145, -0.10023517) * go_4(1.0, 0.0);
|
|
result += mat4(-0.06051138, 0.01845355, 0.080332205, -0.23477274, 0.0017780879, -0.0011769851, 0.006243116, 0.12769665, -0.013245734, -0.045544423, 0.0051080324, 0.10321145, 0.0024773434, -0.0057393876, 0.045241803, 0.0050300118) * go_4(1.0, 1.0);
|
|
result += mat4(-0.06959858, 0.15786399, -0.016317498, 0.02877184, 0.014460598, 0.014137085, 0.016335545, -0.031591866, -0.073639706, 0.039272517, 0.0595447, -0.060000565, 0.052340932, -0.037160374, -0.009746105, 0.03398597) * go_5(-1.0, -1.0);
|
|
result += mat4(-0.014331551, -0.02283697, 0.057261255, -0.11191036, -0.026502425, 0.09579876, 0.023205925, -0.01002969, 0.0035926125, 0.107083805, -0.12081962, 0.037520908, 0.10304293, 0.10181896, 0.059842397, -0.12394029) * go_5(-1.0, 0.0);
|
|
result += mat4(-0.055230685, 0.033124145, -0.084113054, 0.057819456, -0.03683001, 0.08490844, -0.08137146, -0.0026155058, 0.030884158, -0.0069224723, 0.019869838, -0.10588068, -0.017231783, 0.07140959, 0.09784099, -0.064257614) * go_5(-1.0, 1.0);
|
|
result += mat4(-0.0055279834, 0.02264992, 0.048775043, -0.0055674016, 0.036924344, 0.047921922, -0.0030406152, 0.06572295, -0.01256091, -0.07444153, -0.030441843, 0.06839246, -0.02466317, 0.0640739, 0.0012663803, -0.09249365) * go_5(0.0, -1.0);
|
|
result += mat4(0.12454637, 0.02508894, -0.012818148, -0.17413804, 0.06903678, -0.14579777, -0.061650313, 0.06415632, 0.16513939, -0.12148188, 0.061980836, -0.25413838, -0.0838438, 0.09010191, -0.10076346, -0.08384045) * go_5(0.0, 0.0);
|
|
result += mat4(0.035294853, -0.009818006, 0.008635308, 0.07649243, 0.07593973, -0.10815679, -0.0037946224, -0.05962902, -0.08596867, 0.03172433, 0.032208804, -0.010527998, -0.012895747, -0.07577188, -0.0886284, 0.030037675) * go_5(0.0, 1.0);
|
|
result += mat4(-0.05260277, -0.005165094, -0.023816098, -0.008453138, 0.029108394, 0.0038581542, 0.03230225, -0.115741685, 0.01434686, -0.007362142, 0.076833464, -0.09742086, 0.015652958, -0.03165315, 0.016827375, 0.03012236) * go_5(1.0, -1.0);
|
|
result += mat4(-0.0074114413, -0.007142157, 0.060098313, 0.018576475, 0.048388384, 0.025734812, 0.055412345, -0.094956696, -0.1089939, 0.05442987, -0.078176424, 0.19176328, 0.0018410903, -0.008963725, 0.030447556, 0.04371867) * go_5(1.0, 0.0);
|
|
result += mat4(0.012471635, -0.07121236, 0.010370329, -0.035927165, -0.0499536, -0.051744625, 0.101591684, 0.036637902, 0.0260581, -0.045453344, 0.012845175, -0.09495744, -0.044371244, -0.10490497, -0.025627108, 0.07270294) * go_5(1.0, 1.0);
|
|
result += mat4(-0.015937695, -0.020977845, -0.05469452, -0.07522349, -0.050260108, -0.030902538, -0.039734975, -0.1355189, 0.030919757, -0.020353384, -0.01856437, -0.009737283, -0.02694679, 0.04907046, -0.022781305, 0.018169781) * go_6(-1.0, -1.0);
|
|
result += mat4(0.090058595, 0.16826132, 0.0049826605, 0.06566607, 0.10809639, -0.068695635, 0.00036837102, -0.03028086, -0.041872762, -0.009846198, -0.010779144, 0.019335851, 0.039553203, 0.08820599, -0.08433723, -0.06466632) * go_6(-1.0, 0.0);
|
|
result += mat4(-0.04349268, 0.09397739, 0.025378872, 0.11493893, 0.04360296, -0.13035224, 0.08838262, -0.060854338, 0.051835474, -0.018637918, -0.10881329, 0.04358248, 0.033509035, 0.04022566, 0.05735986, 0.06441961) * go_6(-1.0, 1.0);
|
|
result += mat4(0.009264325, -0.018902622, 0.03789747, 0.07226558, 0.014448138, -0.0033306987, 0.11255374, 0.03935702, 0.0129322065, -0.0016181464, -0.1021287, -0.030171165, 0.032106273, -0.007900431, -0.036069363, 0.0086673265) * go_6(0.0, -1.0);
|
|
result += mat4(0.17255592, 0.098507464, -0.105153486, -0.059567925, -0.04387472, -0.027963785, -0.1796981, 0.04501898, 0.06144028, -0.014747315, 0.17627963, -0.14504983, 0.0023210887, -0.1271698, 0.046717733, 0.13961272) * go_6(0.0, 0.0);
|
|
result += mat4(-0.033931673, 0.052978534, 0.087915316, -0.26053375, -0.11032791, 0.093395844, -0.03211155, 0.0053596734, -0.035693087, 0.012405018, 0.015548244, 0.045665722, 0.07878497, -0.06569381, 0.0013916995, -0.09496338) * go_6(0.0, 1.0);
|
|
result += mat4(-0.017125744, -0.05888157, 0.086017296, -0.015469932, 0.047587533, 0.022086784, -0.023233168, 0.022773582, 0.027239671, 0.00037649702, 0.025775624, 0.038293503, 0.0006150258, -0.057812367, 0.0023295355, -0.011695804) * go_6(1.0, -1.0);
|
|
result += mat4(-0.025385706, -0.057831608, -0.14174853, -0.034000676, -0.011626789, 0.089549385, -0.08939085, 0.07497252, -0.06530738, 0.019561889, 0.05338198, 0.0772703, 0.022494745, 0.057491917, 0.09906272, -0.11619142) * go_6(1.0, 0.0);
|
|
result += mat4(0.007159045, -0.11820591, 0.16014685, -0.057507165, -0.004012916, 0.08386152, 0.044288564, -0.11879581, -0.024562648, 0.042310104, -0.012218031, 0.0070039956, -0.010308056, 0.015246671, -0.017002579, 0.027904462) * go_6(1.0, 1.0);
|
|
result += mat4(0.043773923, 0.08447926, 0.0060493797, -0.009838635, -0.06607809, -0.105812825, -0.016854167, -0.029042272, -0.016566982, 0.09054693, -0.01610307, 0.1024673, 0.027022481, -0.0140408715, -0.0034308503, 0.015907276) * go_7(-1.0, -1.0);
|
|
result += mat4(-0.029520601, 0.15832281, -0.07498997, 0.12879246, -0.0047403337, -0.09097572, 0.010709765, -0.08067614, 0.1531185, -0.07202508, 0.1379616, -0.17325218, 0.05003156, -0.08192065, -0.029490056, -0.00607472) * go_7(-1.0, 0.0);
|
|
result += mat4(-0.07261881, 0.07981568, 0.05910037, 0.008755043, -0.017419731, -0.08997138, -0.010871429, -0.02585257, -0.12178138, -0.0006769738, -0.13575381, -0.0021067322, -0.052185774, -0.0074158055, 0.053772356, -0.022291688) * go_7(-1.0, 1.0);
|
|
result += mat4(-0.044595588, -0.003316725, -0.09797879, -0.07159885, 0.028050797, -0.009792938, 0.14875832, 0.06559129, 0.067419454, -0.11753606, 0.06074019, -0.1275772, -0.03880455, -0.033909705, 0.05090661, 0.0041188593) * go_7(0.0, -1.0);
|
|
result += mat4(0.08944623, -0.09970128, 0.120357394, -0.068270415, 0.2179705, 0.013683926, -0.05012664, -0.0040535773, -0.08411433, 0.05863848, -0.0024508496, 0.061170265, -0.022142153, 0.033100035, -0.18519762, 0.19681497) * go_7(0.0, 0.0);
|
|
result += mat4(0.048383128, 0.015200143, -0.078832135, 0.07570611, -0.09995039, -0.011546988, 0.023362644, 0.058294352, 0.13560104, -0.026238907, 0.07796701, -0.033889227, 0.045404553, 0.11079167, 0.049104396, -0.09936158) * go_7(0.0, 1.0);
|
|
result += mat4(-0.04900701, -0.05481005, -0.03186607, 0.07921016, 0.026371472, -0.059524942, 0.03906118, -0.08893278, -0.06457584, -0.08473395, -0.0674365, 0.032866746, 0.00096739264, 0.018813917, -0.028455576, -0.033470895) * go_7(1.0, -1.0);
|
|
result += mat4(0.032376442, -0.032982334, -0.047812797, -0.119594894, 0.01737356, 0.072892755, -0.043750647, 0.012878239, 0.17971332, -0.006200243, -0.0015411077, 0.017953468, 0.085230194, 0.014917097, 0.00026161334, -0.044447564) * go_7(1.0, 0.0);
|
|
result += mat4(-0.060007825, -0.15202801, 0.05623693, -0.01939923, -0.03227392, 0.031867385, -0.018139722, -0.02079522, -0.02402598, -0.053211123, 0.053056594, -0.04878437, -0.06519192, -0.0034240666, -0.024356056, -0.15005529) * go_7(1.0, 1.0);
|
|
result += mat4(-0.1284994, 0.055396453, -0.061427724, 0.04534267, 0.0044355616, -0.019841217, 0.0097054625, -0.05854661, -0.009569753, 0.027033292, -0.03268401, 0.009913927, 0.033498365, 0.06184141, 0.087421514, 0.06077207) * go_8(-1.0, -1.0);
|
|
result += mat4(0.035460323, -0.026687097, -0.1075591, 0.016931009, -0.09197817, 0.0046994127, 0.081675895, 0.035733443, -0.03892834, -0.032740854, -0.0217478, 0.097181335, 0.04714629, 0.20219718, 0.06359064, 0.06060557) * go_8(-1.0, 0.0);
|
|
result += mat4(0.0031661312, 0.07984541, 0.11029064, -0.06733239, -0.030554567, 0.035596423, -0.20681056, -0.05346199, -0.0783697, -0.040118814, -0.06487384, 0.0284231, 0.0049691694, 0.1491528, -0.039714985, 0.0074181003) * go_8(-1.0, 1.0);
|
|
result += mat4(0.10314192, -0.062152095, 0.08471139, -0.007023202, -0.03345975, 0.061854187, -0.021596573, -0.09983176, -0.04742312, 0.031852785, 0.044639237, 0.03092092, 0.09285697, -0.046978965, -0.003271293, 0.1714985) * go_8(0.0, -1.0);
|
|
result += mat4(-0.073157325, 0.05363814, -0.045032505, -0.07305738, 0.19485062, -0.08983376, 0.148478, -0.039260827, 0.03130637, -0.14657615, 0.033006314, -0.22576669, -0.06716495, 0.12892662, 0.008650304, -0.33207697) * go_8(0.0, 0.0);
|
|
result += mat4(0.049011655, -0.011785537, 0.00024780617, -0.08561568, -0.04056951, 0.05069663, 0.009467424, 0.1603814, 0.10849184, 0.07585787, 0.019122511, 0.0017692102, -0.013110704, -0.03444119, -0.059038095, -0.16943854) * go_8(0.0, 1.0);
|
|
result += mat4(-0.015281859, -0.0056571746, -0.0044085067, 0.12703119, -0.03224448, 0.06341434, 0.023243256, -0.11761112, 0.07058639, -0.0042816503, -0.016741859, -0.14328286, -0.105398014, 0.021235801, 0.024729747, -0.05396179) * go_8(1.0, -1.0);
|
|
result += mat4(-0.018736282, -0.08921308, 0.012529463, 0.08207301, -0.022546262, 0.0008973871, 0.0589294, 0.02749262, -0.04337444, -0.026003493, -0.030900346, 0.09806117, 0.014908406, -0.022758849, 0.040615484, -0.025548873) * go_8(1.0, 0.0);
|
|
result += mat4(0.04973487, -0.007308476, -0.09107627, 0.1002638, 0.039444637, 0.062748894, -0.03743681, 0.04941978, 0.03797882, -0.005657804, 0.07496248, -0.19625728, -0.0053111203, -0.12420952, 0.015706213, 0.08970607) * go_8(1.0, 1.0);
|
|
result += mat4(-0.017499652, -0.011083385, -0.03835575, -0.057031613, 0.055788048, -0.002769527, 0.048425846, -0.12638432, 0.079847835, -0.023777835, 0.028142963, 0.029259687, 0.012670037, -0.04262065, 0.011202046, 0.1014771) * go_9(-1.0, -1.0);
|
|
result += mat4(-0.0011066735, -0.06567987, -0.024684886, 0.04814328, -0.029252958, -0.0145578375, -0.011001012, 0.066024825, -0.12549819, -0.035608485, 0.024503868, 0.09046607, -0.12577386, 0.108499795, -0.033756047, 0.04089189) * go_9(-1.0, 0.0);
|
|
result += mat4(0.07298894, 0.016137762, 0.09972605, -0.03631019, 0.071216986, -0.006491169, 0.13135724, -0.045003764, 0.011327209, -0.0032198452, -0.073184155, -0.12645428, -0.033388153, 0.038289644, -0.022976652, -0.15222427) * go_9(-1.0, 1.0);
|
|
result += mat4(-0.0850051, -0.061894715, 0.0025460725, 0.01735803, 0.0115774, 0.028606912, -0.0185829, 0.058961958, -0.015164688, 0.06176899, 0.013633159, -0.13075458, -0.04559838, 0.1497594, 0.012309951, -0.054280266) * go_9(0.0, -1.0);
|
|
result += mat4(0.033778504, 1.3775232e-05, -0.071465604, 0.039625768, -0.1406421, -0.09973969, -0.12348733, 0.08639336, -0.017689444, -0.05291633, 0.0052467394, 0.036083005, 0.103011146, -0.07885084, 0.03624404, -0.19779843) * go_9(0.0, 0.0);
|
|
result += mat4(-0.13701077, -0.009741476, 0.057119012, -0.011644494, -0.019327998, 0.012543687, -0.108650126, 0.14737423, 0.0030139815, 0.04868924, -0.06679441, -0.0014451172, 0.075022966, -0.07319879, 0.046130773, -0.084946394) * go_9(0.0, 1.0);
|
|
result += mat4(0.02757042, 0.005000714, 0.05357463, -0.012014082, 0.03387562, -0.08268642, 0.027975079, 0.030093687, -0.0026373544, -0.07304045, 0.034148622, -0.11867974, 0.00915948, 0.032246005, 0.029637758, -0.124297306) * go_9(1.0, -1.0);
|
|
result += mat4(-0.027572427, 0.080845065, -0.07151847, 0.044999022, 0.10178647, 0.039238267, 0.069493495, 0.040196676, -0.028676251, 0.098159514, -0.0109344255, 0.010178323, -0.024001377, -0.11533262, 0.054262727, -0.25812492) * go_9(1.0, 0.0);
|
|
result += mat4(0.017852787, 0.054254986, -0.07904005, 0.016366297, -0.07436262, -0.0027527057, 0.019063853, -0.059751403, 0.011023306, 0.04290423, 0.094588734, 0.041617885, -0.004662918, -0.029263075, 0.0053384346, 0.13014711) * go_9(1.0, 1.0);
|
|
result += mat4(0.020516312, 0.049965713, -0.0047764, -0.001385792, -0.10811771, -0.06954961, -0.038639724, -0.10104973, -0.046069738, -0.0018522897, 0.0068155103, 0.017285738, 0.06505856, -0.15119606, 0.02563171, -0.076795295) * go_10(-1.0, -1.0);
|
|
result += mat4(-0.038404297, -0.034899928, 0.030618228, -0.078488395, 0.026526814, 0.054260876, -0.008638833, 0.044345114, -0.034573607, -0.13525884, -0.038886372, 0.034750782, 0.028315054, 0.018721249, 0.05520113, -0.14643733) * go_10(-1.0, 0.0);
|
|
result += mat4(-0.004575239, 0.054795388, -0.025221294, 0.08692721, -0.011114022, -0.13158318, -0.117704205, -0.013045645, -0.019987218, -0.16077873, -0.027254676, -0.032827064, 0.03171408, 0.029311327, 0.09390122, -0.06094889) * go_10(-1.0, 1.0);
|
|
result += mat4(-0.09514255, -0.11719947, 0.024771178, -0.055347703, -0.0050212713, 0.023508657, -0.031050786, -0.008211493, 0.059302375, -0.09727709, 0.0033082752, -0.34259906, 0.034872722, 0.06544398, -0.15009998, -0.005616581) * go_10(0.0, -1.0);
|
|
result += mat4(-0.054723203, 0.10425467, 0.08331141, 0.041694768, 0.21464455, -0.13965818, 0.23145188, -0.3231194, -0.09231095, -0.093762614, 0.1341291, 0.106148496, -0.03840182, -0.03863224, 0.00978057, 0.10734164) * go_10(0.0, 0.0);
|
|
result += mat4(0.046150167, -0.1107325, 0.08239038, 0.09739733, -0.04838563, 0.07169289, 0.030699836, 0.087043926, -0.04000327, 0.07075429, -0.0649763, 0.13473587, -0.026697233, -0.032252587, -0.106289394, 0.013134167) * go_10(0.0, 1.0);
|
|
result += mat4(-0.011358477, 0.014746848, -0.06381113, 0.09345815, -0.052493114, -0.031094193, -0.014490446, 0.027240822, -0.013986413, 0.047255624, -0.0071515823, -0.15499969, 0.011660372, -0.08114566, -0.0032833416, -0.025902508) * go_10(1.0, -1.0);
|
|
result += mat4(0.093131594, -0.020026306, 0.064591266, 0.06950151, 0.03308419, 0.013929936, -0.051832702, -0.09504873, 0.04482367, 0.02285439, -0.016865572, -0.010707854, -0.12346976, 0.1108876, 0.033460088, 0.1441719) * go_10(1.0, 0.0);
|
|
result += mat4(0.06464345, 0.009814147, -0.11732286, 0.09640966, -0.011083181, 0.025634103, -0.009818605, -0.06308208, 0.035090234, 0.047049303, -0.011196712, -0.040552177, -0.00690482, -0.032003466, -0.08346238, -0.051888265) * go_10(1.0, 1.0);
|
|
result += mat4(-0.07594275, -0.14852607, 0.006369174, -0.028322008, 0.031113818, -0.025142204, 0.04233826, 0.0007640209, 0.030699715, -0.06448617, -0.015898462, 0.066777274, -0.04257087, -0.0144890435, 0.057357844, -0.0318667) * go_11(-1.0, -1.0);
|
|
result += mat4(0.19709913, -0.087405324, 0.04390357, 0.10380273, -0.05233805, -0.019568289, -0.106650576, -0.0063792607, -0.09027559, -0.006504837, 0.074212104, 0.051857464, -0.15292354, -0.112121835, -0.069437794, 0.051379323) * go_11(-1.0, 0.0);
|
|
result += mat4(-0.059474748, -0.032849193, 0.09168405, -0.12285668, 0.039865855, -0.12654066, 0.047645345, -0.028331244, -0.016361289, -0.020990405, -0.09095233, 0.03194053, 0.058742214, -0.1877646, -0.08055953, 0.02642651) * go_11(-1.0, 1.0);
|
|
result += mat4(0.06032857, 0.06038668, 0.002503837, 0.021554386, -0.091903985, 0.09046953, -0.06712859, 0.006537793, -0.046659786, 0.021541117, 0.012266998, 0.054188155, 0.007151342, 0.008575671, 0.01513689, -0.026369616) * go_11(0.0, -1.0);
|
|
result += mat4(-0.12819825, -0.052586053, -0.0881643, -0.12339812, 0.15492871, -0.0058023096, 0.17018582, 0.11415837, 0.21312602, -0.13595492, 0.123150736, -0.13618599, 0.20745124, -0.039583243, 0.121999316, 0.13601117) * go_11(0.0, 0.0);
|
|
result += mat4(-0.08635906, 0.036601096, 0.030962972, 0.21548468, -0.071995094, 0.004548638, 0.018891288, -0.1884843, 0.079512775, 0.010611917, 0.02468035, -0.0015380608, -0.035021294, 0.12837036, 0.03815442, 0.14684461) * go_11(0.0, 1.0);
|
|
result += mat4(0.04575171, 0.0255304, -0.021699527, -0.07199272, -0.01405429, -0.015184739, -0.05289523, 0.23502754, -0.009633605, -0.010538761, -0.01368754, 0.02869853, -0.052602444, 0.04617772, 0.003520183, 0.043920517) * go_11(1.0, -1.0);
|
|
result += mat4(-0.03702823, 0.028631229, -0.056377277, 0.06657131, -0.06471088, -0.02777387, -0.07724881, -0.141064, 0.02069003, -0.0029747393, -0.003270307, -0.0970294, -0.015186423, -0.010041962, -0.10663767, -0.14395697) * go_11(1.0, 0.0);
|
|
result += mat4(0.019522002, 0.017114507, 0.018178293, -0.074390344, 0.03809122, 0.0019812244, -0.12456406, -0.03625297, -0.04258997, 0.012483465, -0.07854689, 0.16006711, 0.031079631, 0.06537226, 0.086271, -0.12306452) * go_11(1.0, 1.0);
|
|
result += vec4(0.010888379, 0.004641154, 0.015582801, 0.0017601614);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x48
|
|
//!HOOK MAIN
|
|
//!BIND conv0ups
|
|
//!BIND conv0ups1
|
|
//!BIND conv0ups2
|
|
//!BIND conv0ups3
|
|
//!BIND conv0ups4
|
|
//!BIND conv0ups5
|
|
//!SAVE conv1ups4
|
|
//!WIDTH conv0ups.w 4 *
|
|
//!HEIGHT conv0ups.h 4 *
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv0ups_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv0ups1_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv0ups2_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_3(x_off, y_off) (max((conv0ups3_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv0ups4_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv0ups5_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv0ups_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv0ups1_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_8(x_off, y_off) (max(-(conv0ups2_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_9(x_off, y_off) (max(-(conv0ups3_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_10(x_off, y_off) (max(-(conv0ups4_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_11(x_off, y_off) (max(-(conv0ups5_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.034727804, -0.0002637053, -0.04078105, -0.08927365, -0.07645947, 0.076919794, 0.005021898, 0.058050282, 0.015864419, -0.028619323, -0.071649395, 0.038069222, -0.08295531, -0.0003540787, -0.0004084796, 0.09838099) * go_0(-1.0, -1.0);
|
|
result += mat4(0.053080674, 0.002008403, -0.030753473, -0.00059351645, 0.21958888, -0.047472507, -0.10333183, 0.01189763, -0.25521263, 0.06761254, 0.033002634, 0.15817507, 0.056013178, 0.005128271, -0.0057734093, 0.026915452) * go_0(-1.0, 0.0);
|
|
result += mat4(0.018198377, -0.030808125, -0.005123907, -0.09906635, -0.0022847415, 0.027329655, 0.12032622, -0.053246, 0.17812891, -0.0034940862, -0.05836999, -0.17489943, -0.058187198, -0.04797969, 0.03180951, -0.0068172915) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.007893344, -0.04144954, 0.022285834, -0.069708645, 0.011978968, -0.0041609593, -0.09588643, -0.09790428, 0.10254975, -0.07055374, 0.015816301, -0.008875658, -0.020530261, -0.037710804, -0.08531446, -0.16354285) * go_0(0.0, -1.0);
|
|
result += mat4(0.009672311, 0.05724347, 0.1139366, 0.029182902, -0.16538447, 0.053901788, -0.05012634, 0.20983797, -0.11215055, -0.0032693828, 0.13143851, -0.07319714, 0.07356394, 0.21913917, -0.02512947, -0.09149598) * go_0(0.0, 0.0);
|
|
result += mat4(-0.10140455, 0.017164832, 0.032349866, 0.088012405, -0.02051974, -0.079648875, 0.0045336485, -0.025527513, -0.103990085, 0.027295498, 0.034057755, 0.007966114, -0.019226998, 0.03644731, 0.07082869, 0.061730456) * go_0(0.0, 1.0);
|
|
result += mat4(-0.019575765, 0.055050828, -0.06451268, -0.0031637426, 0.029987715, -0.09300758, -0.08723479, -0.023979021, -0.004959102, 0.055621523, 0.04736208, -0.017018013, -0.1752648, -0.047154278, 0.025960885, 0.20475896) * go_0(1.0, -1.0);
|
|
result += mat4(-0.0056192777, -0.025803288, 0.032227412, -0.02016798, -0.031833343, 0.06160066, -0.06491425, 0.0011419505, 0.16180488, 0.024346532, -0.023937434, -0.10019908, 0.053700123, 0.08749021, -0.051140826, 0.002127793) * go_0(1.0, 0.0);
|
|
result += mat4(-0.10793633, 0.0058197114, -0.013801388, -0.0061892844, -0.028018648, 0.011631394, 0.015553901, 0.057576846, 0.07057829, -0.03060998, 0.022989806, 0.012193347, 0.08022945, -0.07045989, 0.02723698, 0.0030155836) * go_0(1.0, 1.0);
|
|
result += mat4(-0.04512287, -0.041164827, -0.032029074, -0.06730429, -0.019684372, -0.020619368, 0.11050403, -0.08812864, 0.032124072, 0.019207481, -0.023409393, -0.019082036, 0.014939763, 0.01212131, 0.0019187465, 0.08177548) * go_1(-1.0, -1.0);
|
|
result += mat4(0.17723826, -0.07731568, -0.0106458245, -0.0949864, -0.42690027, -0.005360146, -0.11773051, 0.27470574, 0.09827681, -0.015561, 0.1043857, 0.018999008, 0.029409967, -0.09800717, -0.106550716, 0.059578367) * go_1(-1.0, 0.0);
|
|
result += mat4(-0.14227667, 0.025659012, -0.087051585, 0.088987745, -0.038849983, -0.038027756, 0.13187966, -0.002485406, 0.0014433947, -0.025459114, 0.03288196, -0.02150798, -0.020861674, -0.04538319, 0.033835832, -0.03215041) * go_1(-1.0, 1.0);
|
|
result += mat4(-0.1553871, 0.029722217, 0.035195246, -0.10880293, 0.1550117, 0.005851412, -0.063834764, -0.1988861, -0.08803912, 0.052023105, -0.061123103, 0.026238514, -0.06444424, 0.034957945, 0.013564579, -0.04922909) * go_1(0.0, -1.0);
|
|
result += mat4(-0.30188507, 0.041812148, -0.0051415698, 0.4225713, 0.123012245, 0.006190092, -0.11784305, -0.09278702, -0.032476064, 0.01649785, 0.06873298, 0.003889617, 0.12036293, 0.010126355, -0.0159458, -0.07610982) * go_1(0.0, 0.0);
|
|
result += mat4(0.09901913, -0.08349318, 0.048260756, 0.015416775, -0.04753114, -0.059718408, -0.06824792, -0.17603761, 0.00778662, -0.0059375027, -0.083089516, -0.14063439, -0.12862016, 0.042804226, 0.023634497, -0.09797641) * go_1(0.0, 1.0);
|
|
result += mat4(-0.024001475, -0.010116277, -0.053517547, -0.012852274, -0.06398481, 0.048043747, 0.033992432, 0.07568637, 0.19207221, -0.045017365, -0.14834619, -0.05611828, 0.012974322, 0.033472214, -0.069440804, 0.019957287) * go_1(1.0, -1.0);
|
|
result += mat4(-0.06514664, 0.07197869, -0.10582491, -0.04518758, -0.04605446, -0.103915684, 0.09963303, 0.112704754, 0.0116696, 0.048416674, 0.043518696, 0.15309274, 0.079236075, -0.10255372, -0.024120726, 0.08078583) * go_1(1.0, 0.0);
|
|
result += mat4(0.08656825, -0.059274856, 0.068748064, -0.09998145, 0.04256707, 0.07933082, -0.07329948, 0.10178932, 0.11183659, -0.028112091, 0.061075397, -0.0588522, -0.051063843, -0.013038464, -0.027286172, -0.03975418) * go_1(1.0, 1.0);
|
|
result += mat4(0.11182532, 0.026677538, 0.01931928, -0.09913016, 0.025954673, -0.10134136, -0.03812254, -0.03199443, 0.100416884, -0.032493666, 0.05390669, -0.1215946, 0.030413928, 0.049877644, -0.059447087, -0.017498257) * go_2(-1.0, -1.0);
|
|
result += mat4(0.06850377, -0.023795482, 0.0076700076, 0.027123824, -0.17540605, 0.090537384, 0.089903906, 0.08784665, 0.056886338, 0.07318396, 0.017845241, 0.036417425, 0.00984014, 0.047083918, 0.057152037, -0.052876327) * go_2(-1.0, 0.0);
|
|
result += mat4(-0.121944204, -0.0068513937, -0.023799203, 0.04849627, 0.1347227, -0.1030107, 0.001971158, -0.115433335, 0.10797434, -0.012841425, -0.057837863, 0.0155828055, -0.19377467, 0.0055032945, 0.003947639, 0.017919105) * go_2(-1.0, 1.0);
|
|
result += mat4(-0.20650981, 0.07069638, 0.038973074, 0.09843876, 0.068253726, 0.09169397, 0.10435845, -0.0691921, 0.051520117, -0.037182227, 0.04543112, 0.075975135, 0.12886383, -0.062047563, 0.09874315, 0.009082724) * go_2(0.0, -1.0);
|
|
result += mat4(-0.079879194, -0.079275034, -0.056224998, 0.19465743, 0.08354674, -0.12681249, -0.064639136, 0.11830915, -0.23791347, 0.011471329, -0.028716747, 0.090518124, -0.14705297, -0.14800677, 0.040497895, 0.2106043) * go_2(0.0, 0.0);
|
|
result += mat4(-0.10478849, 0.14821102, 0.006451715, -0.0054948176, -0.21951425, 0.058777, -0.055765983, -0.017423972, -0.03932819, 0.03443368, 0.061615612, 0.0059949807, 0.117751196, 0.06963176, -0.056414824, -0.023910165) * go_2(0.0, 1.0);
|
|
result += mat4(0.07807272, -0.032261666, 0.021192279, -0.11579501, 0.0188122, 0.017952453, 0.06170359, -0.021977829, 0.16133995, -0.13010149, -0.16331437, -0.010100977, 0.050390303, 0.055919446, 0.033072688, 0.025785616) * go_2(1.0, -1.0);
|
|
result += mat4(-0.022184338, -0.14055336, -0.095062464, -0.0041828197, -0.025712729, 0.031116307, 0.036420126, -0.09461098, -0.12736198, 0.03323538, 0.070970595, 0.11801352, -0.025641473, -0.04504696, 0.0030125964, -0.091391) * go_2(1.0, 0.0);
|
|
result += mat4(0.04494935, 0.10812193, 0.080031045, 0.018296331, 0.018970827, -0.052274104, -0.0689094, -0.019235257, 0.02062231, -0.082279414, -0.0175502, 0.017041082, 0.06990016, 0.06712624, 0.023160413, -0.057801697) * go_2(1.0, 1.0);
|
|
result += mat4(0.049425572, -0.02474476, 0.07820988, 0.05521917, 0.052971717, -0.007768393, -0.001464341, -0.2064974, -0.03196784, 0.02195545, 0.12278798, -0.11918513, 0.06497295, 0.022542082, 0.08465838, -0.21600927) * go_3(-1.0, -1.0);
|
|
result += mat4(0.07904455, -0.00799822, -0.07466292, 0.012005663, -0.17555022, 0.1637635, 0.063736685, -0.0021971513, 0.08062457, -0.08926104, -0.052941434, 0.12072748, 0.15161732, -0.010707747, -0.052357092, -0.1074367) * go_3(-1.0, 0.0);
|
|
result += mat4(-0.023624638, -0.022204673, 0.021252679, 0.016148455, -0.00191494, -0.00606788, -0.017119512, -0.13170989, -0.11873442, 0.067021996, 0.005754373, 0.042165596, -0.19932863, 0.0850464, -0.010264557, 0.16757919) * go_3(-1.0, 1.0);
|
|
result += mat4(0.0379892, 0.052664872, -0.12167355, 0.2524495, 0.08369987, -0.07664706, 0.007957599, -0.04493479, 0.036094286, 0.042244308, 0.09976276, -0.1014558, 0.00077894697, 0.02168721, 0.13530052, 0.07524451) * go_3(0.0, -1.0);
|
|
result += mat4(-0.0307444, 0.06874138, 0.10381962, 0.0039765453, 0.19239871, -0.115774564, -0.039901294, 0.13674201, 0.23891816, -0.26257655, -0.13401362, -0.0026337842, 0.14189234, -0.16459025, -0.07943012, -0.024599468) * go_3(0.0, 0.0);
|
|
result += mat4(0.10089985, -0.065910965, -0.060871962, 0.020102434, 0.10416804, 0.0026375954, 0.00017099817, 0.07224531, -0.050626464, 0.05784554, -0.04115028, 0.03422795, 0.0849365, 0.07881633, -0.04332016, 0.012389496) * go_3(0.0, 1.0);
|
|
result += mat4(0.0968923, -0.11488315, -0.33647102, -0.07759128, -0.065646835, 0.08871705, 0.06547451, -0.052951876, 0.031025445, 0.05321443, 0.0861705, -0.01150282, -0.017868344, 0.05863463, -0.048652783, -0.00302825) * go_3(1.0, -1.0);
|
|
result += mat4(-0.08623984, 0.030496845, 0.13282211, 0.036924344, -0.051652618, 0.045645814, -0.04972949, -0.06819525, 0.07043929, -0.03750826, -0.061573654, -0.02713896, -0.02949009, -0.15784396, 0.04846532, -0.01809239) * go_3(1.0, 0.0);
|
|
result += mat4(-0.055429317, 0.020174243, 0.056924883, 0.015847506, -0.020308318, 0.006933419, 0.055292472, -0.08543373, -0.04522778, 0.015520184, 0.049334437, -0.06302532, -0.033106968, 0.07696187, -0.028078254, -0.07835302) * go_3(1.0, 1.0);
|
|
result += mat4(0.06727477, -0.015105682, 0.037172996, 0.040687807, -0.13228765, -0.029248675, -0.14732817, -0.023869514, -0.0059372024, -0.08419329, 0.051801164, -0.014700099, -0.13818024, -0.07835987, -0.05691042, 0.16196246) * go_4(-1.0, -1.0);
|
|
result += mat4(-0.067745954, 0.050429884, 0.015547787, 0.028301466, 0.065669335, -0.0015817108, 0.0043691727, 0.14655195, 0.11468205, 0.05447307, -0.018185347, -0.044705737, -0.071984716, -0.116617225, -0.13028212, 0.040051438) * go_4(-1.0, 0.0);
|
|
result += mat4(0.07309806, -0.05016123, 0.014905728, -0.054026593, -0.14251226, -0.068813756, -0.046204448, 0.033708956, 0.07477926, -0.07824067, -0.06448796, 0.0962089, -0.091852166, 0.033222884, 0.05655323, -0.07739394) * go_4(-1.0, 1.0);
|
|
result += mat4(0.07736231, -0.024777608, -0.1293071, 0.013133082, -0.07063114, 0.1109699, 0.101938464, -0.08170503, -0.03952933, 0.020189505, 0.10726348, -0.0038012264, -0.10198266, 0.074299835, -0.027496899, -0.016759772) * go_4(0.0, -1.0);
|
|
result += mat4(-0.14961888, 0.1258593, -0.0052209287, 0.039395887, 0.12711245, 0.0013706739, -0.08743356, -0.08160573, -0.1520503, 0.24310453, -0.03702458, -0.09234655, 0.06342837, -0.10495964, -0.038142283, 0.013867651) * go_4(0.0, 0.0);
|
|
result += mat4(0.08367, 0.0056849197, 0.029983053, 0.058390055, -0.019536944, 0.0028544245, 0.011593604, -0.051143557, -0.05816587, 0.027562857, -0.0017863734, -0.08943097, -0.093870126, -0.028033571, -0.054928187, 0.08027421) * go_4(0.0, 1.0);
|
|
result += mat4(0.033707395, -0.044078007, -0.053134337, 0.0507039, -0.09321825, 0.012356747, 0.0040974314, -0.003692714, 0.069862105, -0.18684517, -0.0284769, -0.006533823, 0.04286592, 0.03399364, 0.12019272, 0.02192102) * go_4(1.0, -1.0);
|
|
result += mat4(-0.023521578, 0.053177245, 0.03841634, 0.04009258, -0.05288018, 0.03800796, -0.027160875, -0.022709413, -0.012118504, 0.11544428, -0.064255424, -0.047267172, 0.031934835, -0.058591012, -0.12601322, -0.04370528) * go_4(1.0, 0.0);
|
|
result += mat4(-0.056990914, -0.010060407, -0.07240389, 0.06684859, 0.0032037962, -0.07508207, 0.069522485, -0.01681518, 0.013611935, -0.16260943, 0.027228389, 0.10390345, -0.014050312, -0.0047456035, 0.042484682, 0.047142867) * go_4(1.0, 1.0);
|
|
result += mat4(-0.019846022, 0.063520834, 0.017347157, -0.13179752, 0.007603209, -0.028248534, -0.028568985, 0.093736105, -0.17765392, 0.05268901, -0.0186878, 0.033344116, 0.024792168, 0.017350389, -0.0081479745, 0.06272762) * go_5(-1.0, -1.0);
|
|
result += mat4(0.0059420844, -0.1867459, -0.018476382, 0.052615725, 0.02969877, -0.04300831, 0.09686539, -0.055483308, 0.13513166, -0.1240312, 0.007219588, 0.15463871, -0.011168133, 0.060228556, 0.052193474, 0.008193267) * go_5(-1.0, 0.0);
|
|
result += mat4(-0.1624262, 0.114470325, -0.0026692473, 0.072655715, 0.022212451, -0.105359286, 0.003962184, 0.059404753, -0.062533595, -0.0073033636, 0.032570038, 0.07631924, -0.037281662, 0.052920066, -0.10017278, 0.20030634) * go_5(-1.0, 1.0);
|
|
result += mat4(-0.017912557, 0.082836725, 0.11956426, 0.031851728, 0.026227003, 0.1358852, -0.00038559595, -0.03953659, 0.012969185, 0.058900252, 0.00449276, -0.11351474, 0.0055319364, -0.027457854, -0.16637279, 0.018961368) * go_5(0.0, -1.0);
|
|
result += mat4(0.05881227, -0.12862639, 0.009855859, -0.07688508, 0.04652196, -0.0533903, -0.007106217, 0.018683957, -0.07146832, -0.11476164, -0.103965536, 0.07516234, -0.019355783, 0.007153188, 0.041109473, -0.18096745) * go_5(0.0, 0.0);
|
|
result += mat4(-0.04096085, -0.0120420605, -0.07280902, -0.047139794, -0.047899578, 0.16604978, -0.053028557, 0.011966148, -0.184552, -0.002035077, 0.0024748729, -0.09468539, 0.094834864, -0.051123336, 0.026882114, -0.066742696) * go_5(0.0, 1.0);
|
|
result += mat4(0.038528133, -0.033147186, -0.02949031, -0.02029768, -0.040530026, -0.015674416, 0.09512282, 0.018635508, -0.067790225, -0.02075488, 0.043550573, 0.1306589, 0.086521745, -0.058867045, -0.036897544, -0.007429917) * go_5(1.0, -1.0);
|
|
result += mat4(-0.020455752, 0.036337826, 0.08651425, -0.063962474, -0.06910245, -0.08926637, -0.08221216, 0.023650987, 0.0064421804, -0.051710796, 0.03269987, 0.03594872, -0.09746091, 0.064322695, 0.09333605, 0.04992705) * go_5(1.0, 0.0);
|
|
result += mat4(0.03991011, 0.0053357375, -0.014087123, 0.017906683, -0.043873426, -0.008717143, 0.023789125, 0.08014774, 0.08554654, 0.010068118, -0.015257393, -0.014789898, -0.031751424, -0.05767671, 0.012219075, -0.02111906) * go_5(1.0, 1.0);
|
|
result += mat4(0.0141180735, -0.010895809, 0.052282777, 0.097730994, 0.015570911, -0.05456141, 0.047802925, -0.024732279, 0.08743008, -0.0649473, 0.09175468, -0.09115185, 0.05110333, -0.030661354, 0.043550953, -0.027077332) * go_6(-1.0, -1.0);
|
|
result += mat4(0.069662735, 0.014375632, -0.025021026, -0.08532459, -0.1172516, 0.08657796, -0.017789776, 0.057316136, -0.019252973, -0.11636445, -0.121823244, 0.076532796, 0.025541514, -0.117330685, 0.009741623, -0.13352062) * go_6(-1.0, 0.0);
|
|
result += mat4(0.07859826, -0.03841275, 0.026950957, 0.012414173, -0.15537256, 0.048285972, -0.036940835, 0.078606136, 0.12113207, 0.0019378428, 0.0036203277, -0.109209254, -0.14025345, 0.014132115, 0.049628686, 0.02013767) * go_6(-1.0, 1.0);
|
|
result += mat4(-0.018229844, 0.009986906, -0.0020206913, 0.06816855, 0.12637497, -0.012840852, -0.098092966, 0.0066382973, -0.080831006, 0.08936906, 0.061671916, -0.025697216, 0.06976024, 0.07710459, 0.025804073, 0.09451786) * go_6(0.0, -1.0);
|
|
result += mat4(0.13568228, -0.07880537, -0.0030531003, -0.18527938, -0.12759425, -0.031123286, 0.1039914, -0.05713946, -0.022119742, 0.044847313, -0.049640287, 0.29528186, -0.011861515, -0.056314517, 0.12202725, 0.03458099) * go_6(0.0, 0.0);
|
|
result += mat4(-0.31482193, 0.15610562, 0.011000054, 0.22054587, 0.16342026, 0.046199072, -0.069771886, 0.052295752, -0.08888668, -0.030175507, -0.043750275, 0.07468628, -0.1403002, -0.08709627, -0.16045636, 0.17453533) * go_6(0.0, 1.0);
|
|
result += mat4(-0.15869538, -0.041802768, 0.07982854, 0.10661079, -0.026911188, 0.033564463, -0.028775161, 0.1129868, -0.13782723, -0.030502934, -0.029017925, 0.16539475, 0.15872754, 0.0072790803, 0.0005220163, -0.16314733) * go_6(1.0, -1.0);
|
|
result += mat4(0.08336712, 0.013299961, -0.004736551, -0.12530428, 0.068627216, -0.038133577, 0.07625137, -0.13831565, -0.12425708, 0.012594521, 0.048374295, -0.09718588, -0.12617798, -0.15565023, 0.025003273, 0.063952625) * go_6(1.0, 0.0);
|
|
result += mat4(-0.09114798, -0.107948475, -0.008782385, -0.012404769, -0.047347188, 0.06744946, -0.029818984, 0.037601177, 0.0022323371, 0.0120422365, -0.027577981, -0.056484457, 0.03623973, 0.11577824, -0.05978022, -0.11340042) * go_6(1.0, 1.0);
|
|
result += mat4(0.07920609, 0.049682815, -0.09747983, 0.032554645, -0.053569455, -0.00999872, -0.069765046, 0.065798655, 0.0055020596, -0.02180595, 0.097490765, 0.056493532, -0.028652878, 0.007181037, 0.047301996, 0.041324418) * go_7(-1.0, -1.0);
|
|
result += mat4(-0.070817575, 0.016761765, 0.10452257, -0.059046734, 0.004419305, 0.030409766, 0.0064111007, 0.13009071, -0.063529834, 0.014894562, -0.1425434, 0.06799876, 0.10536852, 0.16146809, 0.11159344, -0.24632217) * go_7(-1.0, 0.0);
|
|
result += mat4(0.04417992, -0.021688385, 0.014431484, 0.021390032, -0.012122509, 0.022933502, -0.13032858, -0.025157295, 0.054504506, 0.054097243, 0.054826245, 0.15188119, -0.034925304, 0.10371481, -0.07059149, -0.0050918995) * go_7(-1.0, 1.0);
|
|
result += mat4(0.19140609, -0.05802228, 0.094347574, -0.12581742, -0.0625323, 0.022887295, 0.06422475, 0.03780498, 0.09092349, -0.015626192, 0.07367314, -0.058542114, 0.06868667, -0.035847936, -0.024409411, 0.1747349) * go_7(0.0, -1.0);
|
|
result += mat4(-0.30528593, -0.10157623, -0.12546054, 0.39260107, 0.09250387, -0.0030448753, -0.007666954, -0.21076955, 0.1802103, 0.056665543, 0.02010969, -0.08567675, 0.04852171, -0.00719571, 0.12876126, -0.020769617) * go_7(0.0, 0.0);
|
|
result += mat4(-0.07077291, 0.09790252, -0.039679084, 0.035164144, 0.03944513, 0.09567806, 0.06502516, 0.08660869, -0.045210075, 0.024901882, -0.034987845, 0.03644262, 0.13453478, -0.10065292, -0.10663197, 0.17999896) * go_7(0.0, 1.0);
|
|
result += mat4(0.11361161, 0.049233153, 0.17776433, -0.11848224, -0.12014295, -0.048427843, -0.038806908, 0.0044329837, -0.015402301, 0.06310864, 0.103736125, 0.088702485, 0.018769085, -0.03721601, 0.08529103, 0.07698302) * go_7(1.0, -1.0);
|
|
result += mat4(0.2228605, -0.16978644, -0.084252514, -0.030923214, -0.07607342, 0.062837236, -0.072185166, 0.033597596, 0.056401767, -0.118337765, -0.038241208, -0.056982394, -0.2012854, 0.12231061, -0.008026072, -0.109389454) * go_7(1.0, 0.0);
|
|
result += mat4(0.0015117185, 0.05613352, -0.06825942, 0.009839623, 0.042997725, -0.07901763, 0.029729009, -0.0028087173, -0.08048221, 0.035971392, -0.054953404, 0.06957555, -0.002079063, -0.033700537, 0.019343253, 0.031806916) * go_7(1.0, 1.0);
|
|
result += mat4(-0.07396316, -0.012248619, 0.033239935, 0.14771299, -0.069767915, 0.12465951, 0.008810514, -0.04538992, -0.028040458, 0.024957748, 0.033437315, -0.021906354, -0.019794602, -0.0068365987, 0.04044681, 0.078028694) * go_8(-1.0, -1.0);
|
|
result += mat4(0.06884948, 0.07350869, -0.074930884, -0.007918249, -0.03207752, -0.09060679, -0.03723486, 0.13875768, 0.063804045, -0.019163225, -0.058482785, -0.003301451, 0.03025363, 0.031453874, 0.023407444, 0.10760923) * go_8(-1.0, 0.0);
|
|
result += mat4(-0.082054876, -0.0019968427, 0.07620411, -0.029166577, 0.08874712, 0.18888156, -0.030155689, 0.054525856, 0.052349947, -0.003841255, 0.082797535, -0.1112327, -0.11962874, -0.010657527, -0.06920624, 0.12807392) * go_8(-1.0, 1.0);
|
|
result += mat4(-0.04174062, -0.11311825, -0.043029234, -0.005712201, -0.07848321, -0.09407437, -0.036250837, 0.02130589, -0.046314713, 0.030492928, -0.028527915, 0.088576436, 0.05369699, 0.05489917, -0.03764619, -0.15915689) * go_8(0.0, -1.0);
|
|
result += mat4(-0.046594873, 0.20227629, 0.040293384, -0.08287198, -0.005414862, -0.28493062, -0.04951152, -0.031801622, 0.11361959, -0.14512685, -0.0513244, 0.014590199, 0.06330705, 0.06599253, -0.0758426, -0.024604654) * go_8(0.0, 0.0);
|
|
result += mat4(0.045725603, -0.16616176, 0.008172408, -0.16198505, -0.109427124, -0.04342513, 0.095679626, -0.021264061, -0.036292598, 0.052533228, 0.034383826, 0.13430162, 0.012503482, -0.16574247, 0.0145925265, -0.12279197) * go_8(0.0, 1.0);
|
|
result += mat4(0.059712145, 0.03292878, -0.06478352, -0.04920082, -0.12868343, -0.017725367, -0.029865744, 0.06404541, -0.061571013, 0.052956223, 0.04353032, 0.093550734, 0.12689152, -0.08983797, -0.022431724, -0.08593952) * go_8(1.0, -1.0);
|
|
result += mat4(0.03359343, 0.048530146, 0.09413768, 0.11177407, 0.04880107, 0.24067947, 0.011833709, -0.078301296, -0.042119082, -0.034178667, 0.061119724, -0.120325305, -0.0983844, 0.13863018, 0.009808043, 0.1421859) * go_8(1.0, 0.0);
|
|
result += mat4(-0.010974268, -0.1115841, -0.054475926, -0.0034415766, 0.026416495, -0.01970317, 0.03224585, -0.058208283, -0.11544842, -0.0020619717, -0.08399764, 0.0026783822, -0.1718955, -0.041662555, -0.015576194, 0.06694191) * go_8(1.0, 1.0);
|
|
result += mat4(0.00800654, 0.033414684, 0.0059746862, -0.063755505, -0.10903599, 0.008542795, -0.037268512, 0.16888456, 0.056287125, -0.03404509, -0.09667668, 0.104763724, -0.008024127, -0.04937347, -0.10452099, 0.10492107) * go_9(-1.0, -1.0);
|
|
result += mat4(0.06546199, -0.031890426, 0.069498874, -0.078704424, 0.25283763, -0.14762846, 0.04530997, -0.045402203, -0.12743446, 0.11075257, 0.07440054, -0.06769535, -0.18811068, 0.25209752, 0.08396347, -0.028190762) * go_9(-1.0, 0.0);
|
|
result += mat4(-0.058439903, 0.05627421, -0.021890977, -0.037036832, -0.114436746, -0.08907827, 0.044764686, 0.01914178, 0.1590001, -0.07434893, 0.02097053, -0.07084182, 0.1515443, -0.2537095, -0.0027643284, 0.084454305) * go_9(-1.0, 1.0);
|
|
result += mat4(-0.076359995, -0.0627694, 0.018656332, 0.04576309, -0.11114888, 0.10748641, 0.0005612302, -0.07483226, -0.123604506, -0.01065677, -0.12491006, 0.17782594, -0.042662233, -0.13512325, 0.002357882, 0.041785236) * go_9(0.0, -1.0);
|
|
result += mat4(0.044498313, -0.034588944, -0.060735952, 0.10017004, 0.1829563, -0.110846855, -0.0071944734, -0.21084824, -0.09436389, 0.075625, 0.11743136, 0.082467705, -0.12590492, 0.16034272, -0.027081264, 0.12026207) * go_9(0.0, 0.0);
|
|
result += mat4(0.023862181, -0.039685655, -0.03180271, -0.07354787, -0.004479257, 0.10744732, 0.009859138, -0.012063299, -0.022220258, 0.047518592, 0.033523124, -0.0649853, -0.07418109, -0.0014141474, 0.050895244, -0.11969986) * go_9(0.0, 1.0);
|
|
result += mat4(-0.13460042, -0.005373036, 0.031577356, -0.059198633, 0.14659238, -0.03347293, 0.02293272, 0.01125362, 0.038268805, -0.023691624, -0.056778222, 0.046417404, 0.043189395, 0.061058786, -0.03529992, -0.0040747337) * go_9(1.0, -1.0);
|
|
result += mat4(-0.009540408, 0.026412092, -0.021290602, 0.05017281, -0.1377568, -0.030549733, -0.015086134, 0.011051821, -0.008516101, -0.019729864, 0.040555786, -0.0020136, -0.017682496, -0.04843083, 0.04729837, 0.019968264) * go_9(1.0, 0.0);
|
|
result += mat4(0.09082752, 0.0026033274, 0.028575374, -0.025889728, -0.050833948, 0.013812897, -0.04887108, 0.09218356, 0.022451764, 0.037223153, -0.027608475, 0.085869305, 0.12708172, -0.051653415, -0.024209773, 0.010738581) * go_9(1.0, 1.0);
|
|
result += mat4(-0.0878504, -0.002425818, -0.058977496, 0.06816431, -0.039408945, 0.039009362, 0.05321227, 0.029558498, 0.011840146, 0.07260068, -0.057486057, -0.06833475, 0.09252713, -0.0047036964, -0.034099206, 0.015589183) * go_10(-1.0, -1.0);
|
|
result += mat4(-0.28815338, -0.00087825046, 0.0071661393, 0.16078453, -0.1556803, 0.11429835, 0.050905548, 0.13695535, 0.019274501, -0.0524514, -0.03422561, 0.073096104, -0.116625205, 0.044406146, 0.010334628, -0.030600524) * go_10(-1.0, 0.0);
|
|
result += mat4(0.10218649, -0.08387807, 0.092632025, -0.08798674, 0.10308468, -0.056788463, -0.02508743, -0.1875314, -0.04963394, -0.02515536, 0.016212277, -0.11503518, -0.0781842, 0.06420591, -0.108524114, 0.17282988) * go_10(-1.0, 1.0);
|
|
result += mat4(0.003542966, 0.019591188, -0.08079507, -0.11198943, 0.01007831, -0.2011082, 0.067526735, -0.047118634, -0.10812045, -0.059538897, -0.045146156, 0.13073483, 0.05126951, -0.02858464, -0.004749588, -0.031439688) * go_10(0.0, -1.0);
|
|
result += mat4(0.072345056, -0.09738051, 0.08760573, -0.022531908, -0.047364343, -0.17568587, -0.2608395, 0.045407616, -0.07019225, -0.13740852, 0.058587123, 0.18292065, 0.09621877, -0.020006223, 0.15761665, -0.13615946) * go_10(0.0, 0.0);
|
|
result += mat4(-0.1718546, -0.01606792, -0.13376851, -0.101972945, 0.0070967157, 0.04433216, 0.11647199, 0.14794576, 0.030467365, -0.009967707, 0.032096114, 0.088179365, 0.04789371, -0.02212034, -0.0864584, -0.014849047) * go_10(0.0, 1.0);
|
|
result += mat4(-0.06263458, 0.049204566, 0.0074049286, 0.08565975, -0.110386156, 0.12832628, 0.09386574, 0.049480855, -0.0016362247, 0.074590564, 0.0054266076, -0.045816354, -0.05795489, -0.016349988, -0.031305015, 0.05890967) * go_10(1.0, -1.0);
|
|
result += mat4(-0.0501839, -0.05510687, -0.028112158, -0.11355264, -0.05924529, -0.08571114, -0.013579364, 0.017053023, 0.0010346711, -0.046210892, -0.0037062326, 0.029555755, -0.05744646, 0.12624447, 0.1155726, 0.089930065) * go_10(1.0, 0.0);
|
|
result += mat4(0.007059197, 0.009385381, 0.03781498, 0.029385434, 0.019378664, 0.05941773, -0.019638034, 0.042409096, 0.006617822, 0.12051479, -0.029510934, -0.02263101, 0.030360708, -0.019180574, -0.026342172, -0.041857187) * go_10(1.0, 1.0);
|
|
result += mat4(0.0818786, -0.032271262, 0.071428634, -0.08608651, -0.04190674, -0.00824319, 0.10103971, 0.0037571234, 0.008354248, -0.042853825, -0.009960182, -0.032470513, 0.032495033, 0.026434308, -0.09047023, -0.0852796) * go_11(-1.0, -1.0);
|
|
result += mat4(0.06265211, 0.074583925, -0.3457799, 0.29229483, -0.012138351, 0.06712728, -0.012218277, -0.1310903, -0.053811703, 0.13035119, -0.0029521107, -0.104537845, 0.01667666, -0.13404848, -0.06062046, -0.06467337) * go_11(-1.0, 0.0);
|
|
result += mat4(-0.0877269, -0.006120627, 0.015308095, -0.07658341, 0.044869956, 0.110927165, -0.017984338, -0.05883644, 0.10883275, -0.05540534, -0.066199474, -0.035501923, 0.08745832, -0.051100407, -0.012019903, -0.21526352) * go_11(-1.0, 1.0);
|
|
result += mat4(-0.15372752, -0.089689255, -0.013654722, 0.06576831, 0.027755309, -0.104312494, -0.028859973, -0.03941162, 0.038844027, -0.05383401, -0.015755473, -0.022027731, -0.022023248, -0.010001586, 0.04700765, -0.08062122) * go_11(0.0, -1.0);
|
|
result += mat4(0.28677022, -0.00547834, -0.30174148, 0.029182414, -0.048473436, 0.025972357, 0.055102646, 0.101237364, -0.23414372, -0.08980447, -0.021093715, 0.35020643, -0.01737129, 0.079039715, -0.030023094, 0.30941373) * go_11(0.0, 0.0);
|
|
result += mat4(0.00023344456, 0.016616862, 0.20732638, -0.073667265, -0.077047884, -0.1365057, -0.0055750906, 0.18779595, -0.036738984, 0.07126904, 0.107798554, 0.106782034, -0.123831004, 0.026100466, 0.025854755, 0.10167399) * go_11(0.0, 1.0);
|
|
result += mat4(0.099524446, -0.022513278, -0.12082586, 0.06544828, -0.007710609, -0.007333112, -0.00392318, 0.02316836, 0.017616706, 0.019067803, -0.020043733, -0.055381116, -0.0026772777, 0.043929495, 0.12632295, -0.055047728) * go_11(1.0, -1.0);
|
|
result += mat4(-0.007819067, 0.04826883, -0.031578127, -0.007692658, -0.049392797, 0.10384446, -0.11374874, -0.0072268755, 0.023231281, -0.0048957644, -0.056877382, -0.09215107, 0.26584074, -0.14522901, -0.18154982, 0.006760759) * go_11(1.0, 0.0);
|
|
result += mat4(0.049991615, -0.016547658, -0.037466943, 0.011288937, -0.029595152, 0.029153928, 0.03047645, -0.017851416, 0.08244422, 0.015353446, 0.056757286, -0.13458207, 0.06421748, 0.02236419, 0.054289207, -0.021456666) * go_11(1.0, 1.0);
|
|
result += vec4(-0.024596691, -0.0062545678, 0.0007283314, -0.0012659894);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-4x3x3x48
|
|
//!HOOK MAIN
|
|
//!BIND conv0ups
|
|
//!BIND conv0ups1
|
|
//!BIND conv0ups2
|
|
//!BIND conv0ups3
|
|
//!BIND conv0ups4
|
|
//!BIND conv0ups5
|
|
//!SAVE conv1ups5
|
|
//!WIDTH conv0ups.w 4 *
|
|
//!HEIGHT conv0ups.h 4 *
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv0ups_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv0ups1_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv0ups2_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_3(x_off, y_off) (max((conv0ups3_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv0ups4_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv0ups5_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv0ups_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv0ups1_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_8(x_off, y_off) (max(-(conv0ups2_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_9(x_off, y_off) (max(-(conv0ups3_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_10(x_off, y_off) (max(-(conv0ups4_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
#define go_11(x_off, y_off) (max(-(conv0ups5_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.0063745487, -0.0007792867, -0.042738058, -0.037436318, -0.079708755, -0.00012259462, -0.00846309, -0.07099102, 0.008480126, -0.0030542074, -0.0010532452, 0.027282802, 0.03614228, 0.063927814, 0.08298895, 0.14883359) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.043913327, 0.05175728, -0.024351457, 0.092639804, -0.070469886, -0.056282833, 0.08296517, -0.028454183, 0.10892892, -0.2416209, -0.07998606, 0.069041096, -0.09885496, -0.074447066, 0.0743715, -0.06267758) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.0466287, 0.042808313, 0.046646457, -0.055874195, 0.026556646, 0.037307512, -0.193923, -0.04722261, -0.22105771, 0.2291367, 0.10317087, -0.040800743, 0.08335437, -0.036194164, -0.02673301, 0.025296532) * go_0(-1.0, 1.0);
|
|
result += mat4(0.077883415, 0.0036344659, -0.04539886, -0.02208242, 0.07632768, -0.04959272, -0.06426001, 0.0070829145, -0.04732425, 0.1227861, 0.098132625, 0.06813595, 0.004603961, 0.090626486, -0.007316235, -0.16206303) * go_0(0.0, -1.0);
|
|
result += mat4(0.018812757, -0.0040601143, 0.046291944, -0.08953326, -0.038046855, -0.30165517, 0.14755662, 0.25674608, 0.20162594, -0.08197662, -0.04412043, 0.04561127, -0.06381664, -0.083132245, -0.18208097, -0.057978697) * go_0(0.0, 0.0);
|
|
result += mat4(0.18392017, -0.13180894, 0.13358793, -0.12673298, 0.008361854, -0.03794045, 0.0182172, 0.07310119, 0.031174706, -0.10738879, -0.09051877, -0.038759686, 0.11055317, -0.06764186, -0.12971549, -0.21843903) * go_0(0.0, 1.0);
|
|
result += mat4(-0.027878802, -0.033770774, 0.004135012, 0.0014348059, 0.13187423, 0.12571856, 0.35653323, 0.15917127, -0.07086367, 0.0058684177, -0.028717142, -0.05126073, 0.0858552, -0.0038701096, 0.06486986, 0.1706292) * go_0(1.0, -1.0);
|
|
result += mat4(0.047461458, -0.051133662, -0.05918072, 0.048732597, 0.07509672, -0.039692048, 0.11294993, 0.06444664, -0.084600896, 0.084693946, -0.088411525, -0.06429127, -0.034412857, -0.07477924, -0.039438404, 0.10994081) * go_0(1.0, 0.0);
|
|
result += mat4(0.043813385, -0.03355967, 0.12004562, -0.07214167, 0.04049014, 0.065712005, 0.059874583, -0.0052600484, -0.039102178, 0.048161536, -0.046630945, 0.029107312, -0.12603328, 0.06698978, 0.048800472, -0.03790199) * go_0(1.0, 1.0);
|
|
result += mat4(-0.13815154, 0.0036306242, 0.05594701, 0.028703637, 0.023503067, -0.06798082, -0.10864731, 0.17099892, 0.06743946, -0.06711138, 0.04976667, 0.026404396, -0.064317904, -0.020547949, -0.023411179, -0.07212964) * go_1(-1.0, -1.0);
|
|
result += mat4(0.06355028, 0.09087627, -0.1380974, 0.06466648, 0.101927035, -0.07261252, 0.07722075, -0.076868825, -0.0829519, 0.096982665, -0.044867028, -0.12865555, 0.022306003, 0.093384795, 0.08628356, -0.112574585) * go_1(-1.0, 0.0);
|
|
result += mat4(0.12697868, -0.15680641, 0.06615788, -0.09147767, -0.027032124, -0.012754192, 0.16841646, 0.14282092, 0.031914305, 0.0021056207, -0.042786058, 0.06905794, -0.011153072, -0.017979706, -0.019408083, 0.10038188) * go_1(-1.0, 1.0);
|
|
result += mat4(0.07506389, 0.014463698, 0.055589672, -0.10813673, 0.05260121, 0.055658672, 0.06530625, -0.04693613, -0.10777341, 0.003190049, -0.0789798, -0.06275508, 0.054107405, -0.08667144, -0.110695235, 0.09423636) * go_1(0.0, -1.0);
|
|
result += mat4(0.35542598, -0.101242326, -0.097177, 0.16660836, 0.062695846, 0.202753, -0.023997009, -0.09172167, -0.20859563, 0.15195158, -0.07095077, -0.3025826, -0.20547125, 0.14120229, -0.1475369, -0.1316646) * go_1(0.0, 0.0);
|
|
result += mat4(-0.04910003, 0.060523994, 0.030391825, -0.17474002, -0.06798995, 0.14241472, -0.004234849, 0.028053937, -0.03238492, 0.04055486, 1.14496315e-05, 0.15962633, 0.04022899, -0.080524124, -0.057549026, 0.089040436) * go_1(0.0, 1.0);
|
|
result += mat4(-0.08646099, -0.041137185, -0.17625453, -0.06043204, -0.029830568, -0.15027393, 0.20508385, 0.026146531, 0.09022885, 0.020299576, -0.03171056, 0.023431579, 0.05381302, -0.0009846388, 0.10500912, 0.07882769) * go_1(1.0, -1.0);
|
|
result += mat4(-0.07095181, -0.040769625, 0.021771856, 0.04987684, -0.080889665, -0.01363749, -0.044429984, 0.063598044, 0.05566136, -0.06805483, -0.1531462, -0.086804755, 0.16525438, 0.034257393, 0.10718343, 0.025464887) * go_1(1.0, 0.0);
|
|
result += mat4(-0.08818966, -0.035108104, -0.0517939, -0.08025052, 0.104291156, -0.13472721, -0.018884793, 0.032870352, -0.029485889, 0.058351766, -0.0891122, 0.0679884, 0.08988102, -0.045231707, 0.05456279, 0.07973376) * go_1(1.0, 1.0);
|
|
result += mat4(-0.054200873, -0.05749488, -0.060335156, -0.0070174546, -0.03320484, 0.007284561, 0.062241767, -0.23423609, 0.07866529, 0.00018865404, 0.06323889, 0.016593635, 0.017892467, 0.0076022227, 0.08936624, -0.03216585) * go_2(-1.0, -1.0);
|
|
result += mat4(0.00443331, 0.036586914, -0.033402793, 0.058869403, -0.09493461, -2.4481778e-05, -0.25935435, -0.04278253, -0.032751977, -0.08635362, 0.14244005, -0.05706051, -0.141875, -0.025835099, -0.025436234, 0.093893714) * go_2(-1.0, 0.0);
|
|
result += mat4(-0.022006746, -0.12542246, -0.041919585, 0.024010304, -0.044745583, 0.051891584, 0.09057894, -0.09249693, -0.0140956845, 0.07693278, 0.11077821, -0.112234056, 0.060011726, -0.1341424, -0.024490716, -0.022049561) * go_2(-1.0, 1.0);
|
|
result += mat4(0.073357865, 0.14374368, 0.032296736, 0.055813752, -0.059088297, -0.0776873, -0.0837825, 0.018939182, -0.020854855, 0.06012857, -0.026182968, 0.05838851, -0.04612199, 0.0039347354, -0.2056847, 0.00942296) * go_2(0.0, -1.0);
|
|
result += mat4(0.033143513, 0.08560158, -0.09233819, -0.11843655, 0.2588986, -0.019016545, -0.038050834, 0.14959913, 0.29490453, -0.13899505, 0.00692187, 0.16083503, 0.20178594, -0.15832286, 0.5025548, 0.029373756) * go_2(0.0, 0.0);
|
|
result += mat4(0.049299765, -0.023143763, 0.035753693, -0.11571463, -0.032259505, 0.01735337, -0.018070314, -0.027346095, -0.08894323, -0.010145846, -0.099678494, 0.026827013, 0.039361052, -0.027096154, 0.047963917, -0.27442294) * go_2(0.0, 1.0);
|
|
result += mat4(-0.022731476, 0.022222787, -0.02242159, 0.04784673, 0.021043884, -0.094794825, 0.07444878, -0.08918328, 0.13067421, -0.013499751, 0.3599633, 0.09073782, -0.030868663, 0.016658138, -0.039914962, 0.118787706) * go_2(1.0, -1.0);
|
|
result += mat4(0.05229028, 0.077619, -0.013456823, -0.062925436, -0.021547772, -0.020945227, 0.12798133, -0.06800816, -0.1642933, -0.05373, -0.14374378, -0.08865612, 0.07594359, 0.046362855, 0.06098806, -0.17533435) * go_2(1.0, 0.0);
|
|
result += mat4(-0.053325575, -0.06618738, 0.092258185, 0.013813888, -0.013511551, 0.018586623, 0.060558353, 0.033038225, 0.0804234, -0.080448896, 0.10994178, 0.13010137, 0.018566165, -0.026298912, 0.07454115, -0.06677481) * go_2(1.0, 1.0);
|
|
result += mat4(-0.06553157, 0.029561764, 0.038121503, -0.033325464, 0.04301278, 0.041529298, -0.07182643, -0.06547801, -0.052147005, -0.054911993, -0.07376668, -0.042085964, -0.13869858, -0.0009562848, -0.1677986, -0.09050354) * go_3(-1.0, -1.0);
|
|
result += mat4(-0.026388934, -0.07553613, -0.04883736, 0.021428475, 0.03383132, -0.10593641, -0.066881604, -0.005090118, 0.0032761726, 0.19300167, -0.10052442, 0.06032678, 0.12111, -0.024445616, -0.07867298, 0.07155645) * go_3(-1.0, 0.0);
|
|
result += mat4(0.009721514, 0.073128454, -0.088024415, 0.01628443, -0.0442564, 0.109464355, -0.09435904, -0.062122736, 0.04394318, -0.1688726, -0.013731302, 0.037493046, 0.019386476, -0.09668388, -0.10622655, -0.12815721) * go_3(-1.0, 1.0);
|
|
result += mat4(0.074242115, -0.0962556, 0.04117143, 0.116563916, -0.055528134, 0.055021342, 0.040945325, -0.015926862, -0.1404361, -0.0319657, 0.104573056, 0.08188863, 0.03686817, 0.0144841485, 0.073439375, 0.095169045) * go_3(0.0, -1.0);
|
|
result += mat4(0.044269748, -0.0654465, -0.06360807, 0.13392143, 0.08671066, -0.02733015, 0.26534852, 0.18148749, 0.06646011, 0.12437324, 0.072811246, -0.09099741, 0.09972596, 0.08203557, 0.20367464, 0.050712656) * go_3(0.0, 0.0);
|
|
result += mat4(-0.039555855, -0.12619838, 0.1251913, 0.11730309, -0.096585676, -0.03017593, -0.021626828, -0.034909043, 0.051999446, -0.085806265, 0.088577345, 0.093352415, 0.14674439, -0.07799078, -0.041970372, -0.1971934) * go_3(0.0, 1.0);
|
|
result += mat4(0.21362351, 0.13964944, 0.17664488, 0.07994262, -0.04298111, -0.055893365, 0.07432013, -0.046673983, 0.03183703, -0.060661454, -0.08562127, -0.106442995, -0.08225685, -0.05307681, -0.17313032, -0.09159819) * go_3(1.0, -1.0);
|
|
result += mat4(-0.048370186, -0.0066592437, 0.015151771, 0.030198608, -0.09481172, 0.00524109, -0.098136365, -0.099723354, 0.026192533, 0.13190193, -0.024194827, 0.04250573, -0.019045383, 0.13025235, -0.014851418, -0.054181337) * go_3(1.0, 0.0);
|
|
result += mat4(0.011557458, 0.037601702, 0.08763924, 0.0869504, -0.003486842, -0.026862262, -0.019816028, -0.03639367, 0.0067470167, -0.090020694, -0.10405717, 0.016274806, 0.015333479, -0.074243136, -0.016609563, -0.1117956) * go_3(1.0, 1.0);
|
|
result += mat4(0.04979364, 0.044838257, 0.028794404, 0.11093545, 0.047799177, 0.05084463, 0.114135034, -0.0011649404, -0.088088065, -0.0014219275, 0.07389497, -0.09678158, 0.0078058727, -0.10549564, -0.001520728, 0.0364026) * go_4(-1.0, -1.0);
|
|
result += mat4(-0.05554776, -0.045049857, -0.024722561, 0.023318505, -0.0543084, -0.0433695, 0.07476204, -0.0022832763, -0.044149548, -0.05002557, 0.028114058, -0.10989848, 0.16959801, 0.027747577, 0.07406976, 0.035891265) * go_4(-1.0, 0.0);
|
|
result += mat4(-0.017785572, 0.1080964, 0.09649037, 0.08921514, 0.10892746, 0.0074067353, 0.01554923, 0.044843663, 0.08894393, 0.0055765617, 0.09712343, -0.17534968, -0.1792565, 0.06397282, -0.12393842, -0.045617543) * go_4(-1.0, 1.0);
|
|
result += mat4(-0.0058602905, 0.08962854, 0.045954313, -0.09660418, 0.007873254, -0.06542487, -0.077286646, -0.1065682, 0.024354672, -0.15293619, -0.13352138, 0.023743887, -0.012681726, 0.029547228, 0.0085471505, -0.07479233) * go_4(0.0, -1.0);
|
|
result += mat4(-0.014363698, -0.10877507, -0.065034315, 0.016702991, 0.13642493, -0.038959656, 0.093994856, 0.31006256, 0.01945779, -0.2975403, -0.2795097, 0.2229951, -0.035684135, 0.01448137, -0.13233742, 0.28041506) * go_4(0.0, 0.0);
|
|
result += mat4(0.0012500056, -0.013534149, 0.037840102, -0.0714859, 0.020398123, -0.02506615, -0.039971814, 0.041849326, -0.041574854, 0.054345634, -0.061291367, -0.104086556, 0.25683582, -0.08909194, -0.13421315, 0.039712757) * go_4(0.0, 1.0);
|
|
result += mat4(-0.016294358, -0.075720266, -0.06933325, 0.009308156, 0.043677215, 0.008393981, -0.079269834, -0.11522057, -0.009912892, 0.1973826, 0.019584907, 0.05463361, -0.007812088, 0.0338185, -0.049498174, 0.018130887) * go_4(1.0, -1.0);
|
|
result += mat4(-0.032490004, 0.023092022, -0.081377946, 0.11319579, -0.06294841, 0.04647528, -0.022450024, 0.030103367, 0.048844513, 0.022222664, 0.110514775, 0.21295305, 0.02541056, 0.05749753, 0.0411172, -0.06292043) * go_4(1.0, 0.0);
|
|
result += mat4(0.09990052, 0.039450414, -0.0028400559, -0.045750353, 0.018121833, 0.09193293, 0.07854626, 0.06200767, -0.04818864, 0.06778936, 0.08142442, -0.020031437, -0.07861012, 0.062728755, 0.07084788, -0.033858463) * go_4(1.0, 1.0);
|
|
result += mat4(0.0041939905, 0.03858933, 0.21298268, -0.035919093, -0.00972664, -0.031790286, 0.1148182, -0.06877063, 0.13142376, -0.013594834, 0.05625237, 0.036175527, -0.00027700086, 0.03507905, 0.15655361, 0.11469498) * go_5(-1.0, -1.0);
|
|
result += mat4(0.11766081, -0.062469725, 0.115372, 0.20766804, 0.017238794, 0.072592095, -0.022305248, -0.17812113, -0.033571746, 0.12770365, 0.0732858, -0.15343256, 0.14632632, -0.0851429, 0.082450956, -0.09143876) * go_5(-1.0, 0.0);
|
|
result += mat4(-0.07768662, 0.019727139, 0.06507619, -0.044201504, -0.13028246, 0.079582825, -0.14439867, 0.052608196, 0.058016825, -0.049292404, -0.051089205, 0.098466404, 0.11736308, -0.06286907, -0.05178662, 0.004182763) * go_5(-1.0, 1.0);
|
|
result += mat4(-0.06434399, -0.0144142145, 0.0036737835, -0.078296036, 0.016101742, -0.10816281, -0.024864828, -0.15526062, -0.20179577, -0.057861198, -0.06668159, -0.15398355, 0.039688535, 0.059604753, 0.06659836, -0.021342732) * go_5(0.0, -1.0);
|
|
result += mat4(0.01932247, 0.05913243, 0.023716992, 0.1192033, 0.010119863, 0.084485166, -0.167937, 0.30237478, 0.26069483, -0.08774245, 0.14592068, 0.21976785, -0.107107654, -0.1721621, 0.09311312, 0.06292652) * go_5(0.0, 0.0);
|
|
result += mat4(-0.05415034, 0.0808041, -0.008303783, 0.20586702, -0.01692017, -0.25203353, -0.017605323, 0.03779029, -0.07196286, 0.09088832, -0.07400969, 0.15470062, -0.08782722, -0.021970563, 0.16524187, 0.17991899) * go_5(0.0, 1.0);
|
|
result += mat4(0.02945678, 0.1108453, 0.13907376, -0.008818949, 0.026164224, 0.028387127, 0.074951015, 0.041286442, 0.063239075, -0.010425734, 0.042220425, 0.12178712, -0.0026919479, -0.012526025, 0.07426221, -0.07244218) * go_5(1.0, -1.0);
|
|
result += mat4(0.018888094, -0.027421476, -0.09521994, -0.0910266, 0.08984969, 0.1781609, 0.057849456, -0.08679857, -0.12446522, 0.03583829, -0.07132832, -0.07019777, -0.019093536, -0.044786245, -0.017715491, -0.028736247) * go_5(1.0, 0.0);
|
|
result += mat4(0.051272597, -0.03435993, 0.0846929, 0.006121176, -0.07048489, 0.020329768, 0.002345223, 0.10049385, 0.1222027, -0.019079372, 0.100720696, 0.06858246, 0.020357663, 0.015401549, 0.09647229, 0.2113563) * go_5(1.0, 1.0);
|
|
result += mat4(0.09793321, -0.032736637, -0.033778418, 0.0427711, -0.018325403, -0.029624946, -0.16956969, 0.08746285, -0.041201137, -1.921966e-06, 0.20239599, 0.047037728, -0.015751503, -0.09862459, -0.09956597, -0.07306599) * go_6(-1.0, -1.0);
|
|
result += mat4(-0.019140359, 0.015069138, 0.1243063, -0.11431289, -0.033767972, 0.07241787, 0.023162177, -0.21347646, 0.11257902, -0.002713704, 0.29185608, 0.08958405, 0.042017493, 0.1820238, 0.11233973, -0.030039953) * go_6(-1.0, 0.0);
|
|
result += mat4(0.105250224, -0.026276553, -0.18249159, 0.014269952, 0.048367403, -0.07756047, -0.08036241, 0.06348654, 0.008540939, 0.021645697, 0.12774457, -0.031423807, 0.08640007, -0.08259026, -0.053230464, 0.13384373) * go_6(-1.0, 1.0);
|
|
result += mat4(-0.040785372, -0.0703802, 0.043912467, 0.0036876688, 0.17950775, 0.12889265, 0.010163828, -0.04438625, -0.07173078, -0.071564384, 0.041524716, -0.0056900075, 0.030496567, -0.033834066, 0.074528135, 0.03062304) * go_6(0.0, -1.0);
|
|
result += mat4(0.049047, 0.098660305, -0.09576069, 0.080599725, -0.09748591, 0.025746811, 0.14624408, -0.06999254, 0.019927057, -0.15380773, -0.10145102, 0.060255345, -0.20671831, 0.060202025, -0.05630915, 0.07001956) * go_6(0.0, 0.0);
|
|
result += mat4(0.08819458, -0.07481746, 0.005553706, 0.21850035, 0.04703321, 0.07601913, 0.04407576, -0.0883864, -0.079423346, 0.028103532, 0.08199459, -0.06395988, 0.23655586, -0.085250065, 0.28176674, 0.09439507) * go_6(0.0, 1.0);
|
|
result += mat4(0.02817651, -0.037542865, -0.025534682, -0.050645124, -0.081284225, -0.034356117, 0.0747935, 0.029538535, 0.06617502, -0.12928276, -0.019012596, 0.118354835, -0.03699914, 0.027309496, -0.07489431, 0.0025027825) * go_6(1.0, -1.0);
|
|
result += mat4(0.0948845, -0.0016630325, 0.09706788, -0.012232796, -0.03133337, 0.121091716, -0.21574965, -0.015103773, -0.043899152, 0.15655108, 0.0034100953, 0.015065556, 0.20116974, 0.05499755, 0.22701542, -0.08217341) * go_6(1.0, 0.0);
|
|
result += mat4(0.048800357, 0.06653084, -0.18589829, 0.012563769, -0.018957462, -0.047451388, -0.06385551, -0.045838624, 0.04963816, -0.031783268, 0.20511268, -0.026773468, -0.0412608, 0.030528571, 0.034454003, 0.06801138) * go_6(1.0, 1.0);
|
|
result += mat4(0.12949036, -0.10341053, 0.045348197, -0.019088052, -0.06258587, 0.039844643, 0.10721104, -0.09088664, -0.168669, -0.010242947, 0.09414175, 0.02889639, 0.017148757, 0.01023307, -0.01807265, 0.0062059863) * go_7(-1.0, -1.0);
|
|
result += mat4(-0.050841775, -0.03521264, -0.11941009, -0.15829018, 0.025020014, -0.22825278, -0.118360244, 0.11292008, 0.09082519, -0.065328516, 0.119365625, 0.14478958, -0.04490918, 0.022069836, -0.01134399, 0.1360509) * go_7(-1.0, 0.0);
|
|
result += mat4(-0.05348278, 0.053270962, 0.16603395, 0.15315029, -0.040175512, -0.0045779836, 0.050114214, -0.2101308, -0.11851012, -0.064030565, 0.1543338, -0.015178684, 0.05188177, -0.008489707, -0.023639014, 0.028634349) * go_7(-1.0, 1.0);
|
|
result += mat4(-0.11814241, 0.19169293, 0.020387147, 0.061263412, -0.113587715, 0.091295175, -0.05065951, -0.017393759, 0.13127452, -0.012785729, -0.034082066, 0.024967588, 0.035094306, 0.10820702, 0.0059835743, 0.09977956) * go_7(0.0, -1.0);
|
|
result += mat4(0.098021165, -0.48440388, -0.07826628, 0.24096282, 0.04693696, 0.053179827, 0.08569192, -0.0027828075, -0.25533715, 0.15215921, -0.21209684, 0.0022974424, -0.17604887, -0.07811412, 0.17181896, -0.015945317) * go_7(0.0, 0.0);
|
|
result += mat4(-0.10116903, -0.13709927, -0.14565074, 0.14524502, 0.012902518, -0.07604275, 0.073249, -0.072335534, 0.08428893, -0.03842417, -0.07586143, -0.08599018, -0.01696442, 0.10226331, 0.006873322, -0.09021642) * go_7(0.0, 1.0);
|
|
result += mat4(-0.07202315, -0.055725753, 0.018466022, -0.054664865, 0.098407686, 0.07695216, -0.08607697, 0.0020958942, -0.22666351, 0.01460815, -0.061140377, -0.120087855, -0.01491105, -0.09575372, -0.20842722, -0.028119855) * go_7(1.0, -1.0);
|
|
result += mat4(0.06912154, 0.1865499, 0.07794446, -0.10375429, 0.030678669, -0.21935923, -0.064000346, 0.089832716, 0.1305005, -0.012471437, 0.15016906, 0.23327582, 0.05942517, -0.19861731, 0.00557178, 0.06502197) * go_7(1.0, 0.0);
|
|
result += mat4(0.0707229, 0.02917113, 0.046409946, 0.12069666, 0.031100512, 0.07081468, 0.028565658, -0.006569887, -0.08003558, -0.03366404, -0.0636477, -0.010306176, 0.10975215, 0.072771594, 0.01108058, -0.15464684) * go_7(1.0, 1.0);
|
|
result += mat4(-0.033149756, 0.021336783, 0.08891627, -0.010542647, 0.032133475, 0.03948647, 0.055394996, 0.0401115, -0.13937785, 0.017220195, -0.086987436, -0.0104164155, -0.040626895, 0.039082643, -0.0010420013, -0.010217536) * go_8(-1.0, -1.0);
|
|
result += mat4(-0.0026462858, -0.028440155, 0.10645362, 0.01583601, 0.043295156, -0.18574923, 0.04621932, 0.21462579, -0.0011050635, 0.027505064, -0.11916469, 0.03903758, 0.039480023, -0.03888062, -0.1359798, 0.014222117) * go_8(-1.0, 0.0);
|
|
result += mat4(0.11923002, 0.09650186, 0.12220145, -0.054355685, 0.08393609, -0.13110332, -0.013952252, 0.12961932, -0.085519604, 0.0062861782, -0.13127424, 0.05967536, 0.1684963, 0.012711087, -0.036004934, 0.07598641) * go_8(-1.0, 1.0);
|
|
result += mat4(0.05991126, -0.21150649, 0.06301331, 0.1639654, 0.019272292, 0.15129589, -0.021439642, 0.054623377, 0.028263928, -0.05452834, -0.09441113, 0.003914198, -0.0012116794, 0.16932863, -0.076869816, -0.013230601) * go_8(0.0, -1.0);
|
|
result += mat4(-0.07168854, -0.0026968343, -0.019962385, 0.048934907, 0.1330701, 0.06890845, 0.32595265, -0.13091522, 0.15551, 0.14528212, 0.35549134, 0.09404176, 0.1319491, -0.24641864, 0.22220954, 0.037908647) * go_8(0.0, 0.0);
|
|
result += mat4(-0.05670342, 0.058992308, -0.08700555, 0.063824736, -0.022280712, 0.12737674, 0.13427903, -0.009832676, 0.07490293, -0.09663777, -0.0808843, -0.011285887, -0.22713223, 0.1807931, 0.031780504, 0.096779495) * go_8(0.0, 1.0);
|
|
result += mat4(-0.062936306, 0.07716813, 0.037210975, -0.068869464, -0.013613965, 0.09876833, -0.13039725, 0.031153003, 0.03958403, -0.05987494, 0.092028305, 0.082578026, 0.04601121, 0.023699958, 0.17008962, -0.07798729) * go_8(1.0, -1.0);
|
|
result += mat4(0.009502709, -0.18954146, -0.0040290523, 0.024978105, -0.19185285, -0.078261346, -0.051037725, -0.10738402, -0.15012908, 0.08967429, 0.02208922, -0.028586263, -0.11359668, -0.04093872, -0.19832803, -0.09008138) * go_8(1.0, 0.0);
|
|
result += mat4(-0.0021957462, 0.077703916, 0.18091153, 0.15745504, -0.06746696, -0.0009624175, -0.19465074, -0.113164335, 0.107428014, 0.015543583, 0.09068426, 0.044336747, -0.05718602, 0.016899232, -0.007787962, 0.006214975) * go_8(1.0, 1.0);
|
|
result += mat4(0.016192071, 0.0065788724, 0.13178128, -0.029891249, 0.01793, -0.062080614, 0.12812895, 0.12540786, 0.10859764, -0.022343976, 0.06263314, 0.018931909, 0.23270932, -0.00443309, -0.05874477, -0.041218165) * go_9(-1.0, -1.0);
|
|
result += mat4(-0.04134872, 0.07420249, 0.035095736, -0.00753361, -0.02225569, 0.12620689, 0.03925872, -0.14345564, -0.07719634, -0.13519171, 0.15460467, -0.054007106, -0.042473774, -0.2570468, 0.096593596, 0.1748824) * go_9(-1.0, 0.0);
|
|
result += mat4(0.0582498, -0.04415511, 0.093417116, -0.019656913, 0.024429727, -0.05744187, -0.17509566, 0.05439422, -0.071622156, 0.25509503, 0.026539553, -0.008000992, -0.12460505, 0.2787321, 0.11660005, -0.114669785) * go_9(-1.0, 1.0);
|
|
result += mat4(0.00813603, 0.012284935, 0.015997112, 0.023559658, -0.04184258, -0.05846828, -0.24672638, -0.16972701, 0.104582846, 0.05067416, 0.024527809, -0.055512853, -0.108738616, 0.039031647, 0.29413602, 0.11602779) * go_9(0.0, -1.0);
|
|
result += mat4(-0.115588315, 0.032954916, 0.022051262, -0.097993866, -0.122301005, 0.10149678, 0.38072607, 0.13110343, 0.065028585, -0.18068863, 0.010956364, 0.03327227, -0.063414745, -0.064093836, 0.10520882, 0.18004456) * go_9(0.0, 0.0);
|
|
result += mat4(0.074331045, 0.14374933, -0.011540407, -0.009023428, 0.04070836, 0.0015697508, -0.10947389, -0.043685, -0.028019518, -0.054812912, -0.03745186, -0.06425059, -0.020111678, -0.14678149, -0.17871724, -0.028139964) * go_9(0.0, 1.0);
|
|
result += mat4(0.09382863, -0.0559345, 0.18502472, 0.039847136, -0.098602675, 0.058940943, 0.060397, 0.1090579, -0.043171108, 0.009225665, 0.076014265, 0.06600359, -0.069025286, -0.12755866, -0.08151952, -0.09972273) * go_9(1.0, -1.0);
|
|
result += mat4(0.042437445, -0.08610766, 0.012412557, -0.012729554, 0.06767489, 0.11220073, 0.0043995855, -0.048159026, -0.023155706, 0.061050642, 0.1248658, 0.035471372, -0.0085944785, 0.17853464, 0.07001905, 0.032620843) * go_9(1.0, 0.0);
|
|
result += mat4(-0.011190795, -0.009232536, 0.020568464, -0.02090738, -0.05601213, -0.045458846, -0.14329393, 0.039078347, -0.059857786, 0.027894745, 0.094557434, 0.09908327, 0.072774865, 0.079140365, 0.074037515, 0.18820073) * go_9(1.0, 1.0);
|
|
result += mat4(-0.055178456, -0.108998105, 0.11031077, -0.08483606, 0.0461179, -0.059772927, -0.01268656, 0.12520863, -0.03363989, -0.14202459, -0.0024368868, 0.02084018, 0.09279162, 0.037076775, 0.06604867, 0.050698) * go_10(-1.0, -1.0);
|
|
result += mat4(0.20978864, -0.035019856, -0.00034608098, -0.039510887, -0.19036685, -0.03953098, -0.092990436, -0.048863437, 0.017492287, 0.16051625, 0.00925893, -0.11335702, 0.100342646, -0.08887667, -0.021713614, 0.051601768) * go_10(-1.0, 0.0);
|
|
result += mat4(-0.12377409, -0.015823433, 0.00031200596, 0.063343585, -0.05924392, 0.06139683, -0.017481023, -0.02552639, -0.07090863, -0.07274602, -0.09458425, 0.13551149, 0.04409636, -0.08054408, -0.10750558, -0.046918966) * go_10(-1.0, 1.0);
|
|
result += mat4(0.14069784, -0.033582676, 0.28060883, 0.10515792, -0.06955766, 0.088220574, 0.276067, 0.037613492, 0.20132592, -0.10671446, 0.19333804, 0.13039915, 0.017404474, 0.031228254, 0.017497445, -0.021449111) * go_10(0.0, -1.0);
|
|
result += mat4(-0.005962005, 0.0013340953, -0.044992644, -0.079193845, 0.45596102, -0.006363404, 0.47906563, 0.10635877, 0.06462525, 0.119446814, 0.18804319, 0.05395521, -0.22618993, -0.060818445, 0.14673956, 0.04459663) * go_10(0.0, 0.0);
|
|
result += mat4(0.013009119, 0.022853654, -0.055127926, 0.15455107, -0.02568115, -0.034558665, 0.07746922, -0.07397856, -0.012987624, 0.09628173, 0.25714996, 0.07570073, 0.02592464, 0.020255214, 0.093313605, -0.06339416) * go_10(0.0, 1.0);
|
|
result += mat4(-0.052852754, -0.060524404, 0.14645888, 0.024415344, -0.040342614, 0.045778167, 0.074661806, 0.102500714, -0.034497824, 0.043438397, -0.1647851, 0.044365503, -0.015904559, -0.10940738, 0.061242346, -0.047502533) * go_10(1.0, -1.0);
|
|
result += mat4(0.010752677, 0.02639625, 0.006102813, -0.10263914, -0.0706024, -0.05371177, -0.022685172, -0.029835807, -0.010491086, -0.03809897, -0.005010353, 0.005959158, 0.011589781, -0.09526389, -0.19120686, 0.07115724) * go_10(1.0, 0.0);
|
|
result += mat4(0.038018346, -0.08529874, -0.022022128, 0.04092595, 0.0068038777, -0.117692105, -0.0750573, -0.033115882, 0.034335747, -0.07324778, 0.00888446, -0.1741596, 0.05086801, 0.013463419, 0.047539454, 0.017536713) * go_10(1.0, 1.0);
|
|
result += mat4(-0.14680427, -0.07700759, 0.007881401, -0.050038457, 0.08561921, 0.032363467, -0.12359856, -0.040179014, 0.018873833, -0.055338584, -0.07056974, 0.026064266, 0.004478231, -0.070009105, -0.06602558, -0.11518919) * go_11(-1.0, -1.0);
|
|
result += mat4(0.15418334, -0.19991952, -0.111305125, 0.01618693, 0.016036393, 0.04666054, -0.11248929, 0.04884618, -0.07999174, -0.00500438, -0.17620343, 0.08294337, -0.019204969, 0.05723866, 0.09661943, 0.048106834) * go_11(-1.0, 0.0);
|
|
result += mat4(-0.10175338, -0.036979925, -0.09948434, -0.11393281, 0.036335517, -0.034092933, 0.026276138, -0.11057483, -0.031784512, 0.051008996, -0.008151175, -0.09900715, -0.08654632, 0.022154614, 0.16989844, 0.040416874) * go_11(-1.0, 1.0);
|
|
result += mat4(0.055644203, -0.06247522, -0.12042302, -0.06588449, -0.029313006, 0.063369386, 0.005313317, -0.078869574, 0.036020964, 0.13610545, -0.086595096, 0.06334866, -0.05558311, 0.05096866, -0.025362708, -0.024735406) * go_11(0.0, -1.0);
|
|
result += mat4(0.106395036, 0.11939573, 0.17419435, 0.10946423, -0.13557367, -0.14810242, 0.22770609, 0.24247093, 0.35901672, -0.31380647, 0.08585217, 0.054302577, 0.014819529, 0.16313002, -0.21108323, -0.1453257) * go_11(0.0, 0.0);
|
|
result += mat4(-0.025664657, 0.104815125, 0.12517323, -0.058977317, -0.0022734813, 0.09907516, 0.14881666, -0.12157569, 0.057049416, -0.14726049, 0.17396985, -0.16762297, 0.04829664, 0.08038126, -0.15234984, -0.07331844) * go_11(0.0, 1.0);
|
|
result += mat4(-0.009510854, 0.012665828, -0.009158631, 0.13845311, -0.03874647, -0.025098626, -0.07246145, 0.007974873, 0.041209225, -0.033053156, 0.10144724, 0.02918641, -0.05182773, -0.073455535, -0.07304103, 0.027059708) * go_11(1.0, -1.0);
|
|
result += mat4(-0.066271804, -0.01850144, -0.05122738, 0.05515079, 0.0116651775, -0.115036, 0.046978988, 0.04792823, -0.11066483, -0.0016329854, -0.1356012, -0.0557911, 0.21739961, 0.0075342823, 0.07706014, 0.15026504) * go_11(1.0, 0.0);
|
|
result += mat4(-0.040344127, -0.07568503, -0.051952433, -0.087089024, -0.03648342, -0.047228005, -0.011045562, -0.15497391, -0.09113286, 0.12720597, -0.023066053, -0.011858544, 0.1337813, -0.15541025, 0.11608175, -0.1311716) * go_11(1.0, 1.0);
|
|
result += vec4(-0.01721707, -0.012170086, 0.0505489, 0.0026627572);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UUL)-Conv-3x3x3x48
|
|
//!HOOK MAIN
|
|
//!BIND MAIN
|
|
//!BIND conv1ups
|
|
//!BIND conv1ups1
|
|
//!BIND conv1ups2
|
|
//!BIND conv1ups3
|
|
//!BIND conv1ups4
|
|
//!BIND conv1ups5
|
|
//!SAVE MAIN
|
|
//!WIDTH conv1ups.w
|
|
//!HEIGHT conv1ups.h
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv1ups_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max((conv1ups1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_2(x_off, y_off) (max((conv1ups2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_3(x_off, y_off) (max((conv1ups3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_4(x_off, y_off) (max((conv1ups4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_5(x_off, y_off) (max((conv1ups5_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_6(x_off, y_off) (max(-(conv1ups_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_7(x_off, y_off) (max(-(conv1ups1_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_8(x_off, y_off) (max(-(conv1ups2_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_9(x_off, y_off) (max(-(conv1ups3_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_10(x_off, y_off) (max(-(conv1ups4_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_11(x_off, y_off) (max(-(conv1ups5_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.000105486535, 0.0024129828, -0.0022708485, 0.0, 0.013574202, 0.010345938, 0.00784863, 0.0, -0.007809511, -0.011027452, -0.0062737833, 0.0, 0.02135601, 0.009559438, 0.018919725, 0.0) * go_0(-1.0, -1.0);
|
|
result += mat4(0.003870496, 0.0053921943, 0.0018628128, 0.0, -0.0019673686, 0.006020094, -0.0022580693, 0.0, 0.0053167837, 0.008673173, 0.0030424776, 0.0, -0.0064796526, -0.0010226313, -0.004501208, 0.0) * go_0(-1.0, 0.0);
|
|
result += mat4(0.009178005, 0.0030958971, 0.0031710728, 0.0, 0.017074758, 0.011283044, -0.0027054113, 0.0, -0.0076931966, -0.007390657, -0.005380012, 0.0, 0.0117464345, -0.00081656495, 0.01634393, 0.0) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.0013901208, -0.0014430142, 0.004392049, 0.0, -0.0035933089, -0.009103748, -0.0031795155, 0.0, 0.0073691974, 0.0029644563, -0.008706, 0.0, -0.019727807, -0.0077750855, -0.0077580838, 0.0) * go_0(0.0, -1.0);
|
|
result += mat4(-0.0033867431, -0.012403984, -0.0028457264, 0.0, -0.017492736, -0.022601021, -0.020653952, 0.0, 0.0008102408, 0.009531224, 0.019545289, 0.0, -0.014228529, 0.0056483247, -0.007034027, 0.0) * go_0(0.0, 0.0);
|
|
result += mat4(0.0011407166, 0.004301191, 0.004141301, 0.0, -0.016445443, -0.0055840523, 0.012501234, 0.0, 0.009244355, 0.0036367732, -0.010199576, 0.0, -0.010248205, -0.0044270316, -0.029686518, 0.0) * go_0(0.0, 1.0);
|
|
result += mat4(-0.0048066527, -0.008560073, -0.012057793, 0.0, -0.0006861041, -0.002419032, 0.0018601969, 0.0, -0.0031072958, 0.002054702, 0.011177537, 0.0, 0.025133653, -0.014848653, -0.0025808187, 0.0) * go_0(1.0, -1.0);
|
|
result += mat4(0.002657154, 0.0052739903, -0.0035658663, 0.0, 0.0011104498, -0.00020694005, -0.0018097968, 0.0, 0.0015326933, -0.011187116, -0.016360259, 0.0, 0.006713121, 0.013296643, 0.0051656775, 0.0) * go_0(1.0, 0.0);
|
|
result += mat4(0.0037105181, 0.0030439978, 0.0051093693, 0.0, 0.024659697, 0.035238862, 0.02088231, 0.0, -0.0134438565, -0.012699808, -0.0052391277, 0.0, -0.00031992808, -0.0011912342, 0.016560359, 0.0) * go_0(1.0, 1.0);
|
|
result += mat4(0.037620425, -0.0012381362, -0.03697521, 0.0, -0.07391293, -0.11519541, -0.11558761, 0.0, 0.0061569684, 0.008083349, 0.014101799, 0.0, 0.018118458, -0.044182867, -0.01539483, 0.0) * go_1(-1.0, -1.0);
|
|
result += mat4(0.010374693, -0.011458423, -0.005078007, 0.0, -0.0108417105, 0.013425283, 0.005921687, 0.0, -0.008598152, -0.0049651987, 0.0042772754, 0.0, -0.054981276, -0.021562934, -0.04626968, 0.0) * go_1(-1.0, 0.0);
|
|
result += mat4(0.036591507, -0.029300272, 0.008217224, 0.0, 0.019302698, 0.024048697, 0.032206107, 0.0, 0.0033238046, 0.0006236888, -0.00027334798, 0.0, 0.15616927, 0.16528751, 0.17391057, 0.0) * go_1(-1.0, 1.0);
|
|
result += mat4(0.0041804314, 0.042818338, -0.028628353, 0.0, -0.017772267, -0.022852482, -0.00092351716, 0.0, 0.0028122973, 0.0043754634, -0.012493703, 0.0, 0.044071674, 0.17135325, 0.08344256, 0.0) * go_1(0.0, -1.0);
|
|
result += mat4(-0.015730295, -0.022133658, -0.0088276295, 0.0, 0.03594072, 0.031424545, 0.029558865, 0.0, -0.0025766017, -0.0031941452, -0.006934576, 0.0, -0.08120338, -0.14408313, -0.08120104, 0.0) * go_1(0.0, 0.0);
|
|
result += mat4(-0.003020355, -0.023776509, 0.0318886, 0.0, 0.017390646, 0.024748841, 0.021510301, 0.0, 0.0010485135, -0.004593592, -0.0130662285, 0.0, -0.12709871, -0.18901323, -0.16315864, 0.0) * go_1(0.0, 1.0);
|
|
result += mat4(-0.026793743, 0.019052224, 0.007945268, 0.0, 0.021625645, 0.01167958, 0.011501282, 0.0, 0.009187155, 0.012203164, 0.012487501, 0.0, 0.018515088, -0.034214444, 0.007245449, 0.0) * go_1(1.0, -1.0);
|
|
result += mat4(-0.048356112, 0.032585137, 0.016628833, 0.0, -0.009424696, 0.009143163, 0.0072305785, 0.0, -0.013190133, -0.017209964, -0.0048382194, 0.0, 0.08615321, 0.066022545, 0.048717145, 0.0) * go_1(1.0, 0.0);
|
|
result += mat4(-0.003094086, -0.014091836, 0.02128906, 0.0, -0.0025534998, 0.0039795637, 0.005730377, 0.0, -0.012351262, -0.0035951019, -0.001866602, 0.0, -0.0031523148, 0.060993336, 0.028312644, 0.0) * go_1(1.0, 1.0);
|
|
result += mat4(-0.067211024, 0.018117346, 0.02172272, 0.0, -0.12060717, -0.13048805, -0.18819381, 0.0, -0.009267344, -0.023040995, -0.018821778, 0.0, -0.0074834153, -0.005599705, 0.0010651464, 0.0) * go_2(-1.0, -1.0);
|
|
result += mat4(-0.04482428, -0.027584204, 0.019120922, 0.0, 0.015697738, -0.017991625, 0.05243968, 0.0, 0.0032531181, 0.0034058641, 0.006302594, 0.0, 0.023441285, 0.04240732, 0.006482481, 0.0) * go_2(-1.0, 0.0);
|
|
result += mat4(-0.029443156, -0.020928487, -0.042702794, 0.0, -0.114625975, -0.09111036, -0.08223584, 0.0, 0.0036441141, 0.015505487, 0.0034566305, 0.0, -0.007840559, 0.0019223426, 0.005936239, 0.0) * go_2(-1.0, 1.0);
|
|
result += mat4(-0.009682633, 0.024451204, 0.001225467, 0.0, -0.04238923, 0.005312719, -0.024125498, 0.0, -0.025807716, -0.011632962, -0.012518723, 0.0, 0.0030302487, -0.0042384365, 0.0061663035, 0.0) * go_2(0.0, -1.0);
|
|
result += mat4(0.09125716, 0.012547131, 0.02577799, 0.0, 0.3009371, 0.27105063, 0.3584709, 0.0, 0.0073393877, 0.010860431, 0.020128256, 0.0, 0.009980971, 0.00203543, 0.009163454, 0.0) * go_2(0.0, 0.0);
|
|
result += mat4(-0.0102797905, 0.013840225, -0.01321444, 0.0, 0.16642196, 0.094111755, 0.062201317, 0.0, 0.008975634, -0.0005450874, 0.0043276343, 0.0, 0.0065852865, -0.0057111946, 0.0179401, 0.0) * go_2(0.0, 1.0);
|
|
result += mat4(-0.007624216, -0.027890831, -0.03876551, 0.0, -0.09161491, -0.06928367, -0.11084159, 0.0, 0.0036728806, 0.003478277, 0.0026739738, 0.0, -0.023972709, -0.027939724, -0.011343235, 0.0) * go_2(1.0, -1.0);
|
|
result += mat4(0.04678878, -0.0014011652, 0.034818515, 0.0, 0.04159763, 0.02346755, -0.05660578, 0.0, -0.015693128, -0.014072758, -0.01821932, 0.0, 0.00036781136, 0.0061064498, -0.013468815, 0.0) * go_2(1.0, 0.0);
|
|
result += mat4(0.046441387, -0.004032352, -0.00866282, 0.0, -0.23496382, -0.16854092, -0.11098163, 0.0, -0.00090804783, -0.009814247, -0.0070502586, 0.0, 0.0054719993, -4.7763424e-05, 0.0009498171, 0.0) * go_2(1.0, 1.0);
|
|
result += mat4(-0.008547071, -0.0034844312, -0.01383687, 0.0, 0.00018439126, -0.025391571, 0.038513236, 0.0, 0.006514998, -0.007826742, 0.0073904996, 0.0, -0.11494556, 0.09066153, 0.11694875, 0.0) * go_3(-1.0, -1.0);
|
|
result += mat4(0.001193028, -0.008591317, -0.010302812, 0.0, -0.012951143, -0.039158262, 0.015616302, 0.0, 0.0030056532, 0.020065665, 0.014755859, 0.0, 0.11651758, -0.034988698, -0.17886443, 0.0) * go_3(-1.0, 0.0);
|
|
result += mat4(-0.006736702, -0.015604637, -0.023991482, 0.0, 0.033148214, -0.012093595, 0.022775412, 0.0, 0.0023161646, -0.014543544, -0.002550333, 0.0, -0.06402118, -0.0002744969, 0.10961879, 0.0) * go_3(-1.0, 1.0);
|
|
result += mat4(-0.01260143, -0.02033004, -0.0051925094, 0.0, -0.0019942033, -0.05427848, -0.022589765, 0.0, 0.024337402, 0.019046338, 0.0025999434, 0.0, 0.05172929, -0.051797528, -0.008425975, 0.0) * go_3(0.0, -1.0);
|
|
result += mat4(0.009494491, 0.009707227, 0.023468107, 0.0, 0.019078689, 0.09676532, 0.00034530537, 0.0, -0.0012998742, 0.008403969, -0.00316442, 0.0, 0.23224525, -0.062056974, -0.12937039, 0.0) * go_3(0.0, 0.0);
|
|
result += mat4(-0.016236205, 0.0075674653, 0.013683825, 0.0, -0.03127705, -0.027492099, 0.016047101, 0.0, 0.0014895315, -0.00932134, -0.023848489, 0.0, 0.0012632079, 0.04939885, -0.060500544, 0.0) * go_3(0.0, 1.0);
|
|
result += mat4(-0.0059749917, -0.0073130564, -0.014256372, 0.0, 0.024857834, 0.0012045626, -0.03940679, 0.0, 0.015666239, 0.022299662, 0.030967547, 0.0, -0.054168373, 0.00047267403, 0.022316728, 0.0) * go_3(1.0, -1.0);
|
|
result += mat4(0.024071146, 0.021451445, 0.023768295, 0.0, -0.036751002, 0.041259706, -0.03728597, 0.0, -0.020002237, -0.00447758, -0.011222878, 0.0, -0.11821115, 0.044186734, 0.09739031, 0.0) * go_3(1.0, 0.0);
|
|
result += mat4(0.010017564, 0.01711743, 0.002022642, 0.0, -0.009496902, 0.03907459, -0.034902774, 0.0, -0.023496376, -0.020950336, -0.0028724666, 0.0, -0.023445737, -0.030867081, 0.031921685, 0.0) * go_3(1.0, 1.0);
|
|
result += mat4(0.05520921, 0.053506643, 0.074486025, 0.0, 0.01776821, 0.017544165, -0.0027289821, 0.0, 0.015694216, 0.015923556, 0.023370298, 0.0, 0.0039820084, -0.0022940557, 0.012368623, 0.0) * go_4(-1.0, -1.0);
|
|
result += mat4(0.045182817, 0.04507073, 0.032575533, 0.0, 0.0040297657, -0.021817733, 0.031968318, 0.0, -0.06459216, -0.08448109, -0.05855625, 0.0, 0.00030484094, -0.0062942286, 0.0057871253, 0.0) * go_4(-1.0, 0.0);
|
|
result += mat4(-0.022950409, -0.0045590308, -0.010214247, 0.0, -0.120445415, 0.016175238, 0.038379062, 0.0, 0.04060686, 0.037699424, 0.037170544, 0.0, 0.004240223, -0.012128281, -0.006144387, 0.0) * go_4(-1.0, 1.0);
|
|
result += mat4(-0.21705003, -0.22307639, -0.250008, 0.0, 0.03250509, -0.010305343, -0.02125876, 0.0, -0.0019542945, 0.0083857095, 0.0003795997, 0.0, -0.0027912247, 0.017809127, -0.014636573, 0.0) * go_4(0.0, -1.0);
|
|
result += mat4(0.0031165818, 0.00437882, -0.0018456044, 0.0, 0.06552606, -0.029007912, 0.0005523247, 0.0, -0.062041137, -0.0879153, -0.082705356, 0.0, -0.009192175, 0.007971402, -0.009911476, 0.0) * go_4(0.0, 0.0);
|
|
result += mat4(0.015377011, 0.021092182, -0.0077932924, 0.0, -0.053412728, -0.013991355, -0.040265765, 0.0, 0.013355586, 0.054971218, 0.03677729, 0.0, -0.008426287, 0.009601801, -0.016086644, 0.0) * go_4(0.0, 1.0);
|
|
result += mat4(0.17808121, 0.14702342, 0.19162051, 0.0, 0.060080007, -0.009325362, -0.031762112, 0.0, -0.008498972, 0.0037382718, -0.015179071, 0.0, 0.0014030457, -0.01661512, 0.014269256, 0.0) * go_4(1.0, -1.0);
|
|
result += mat4(-0.021258635, -0.023630297, -0.017915076, 0.0, 0.042402487, 0.008862233, 0.023242455, 0.0, 0.044531934, 0.029775463, 0.036568474, 0.0, 0.022728102, 0.011285749, 0.007094927, 0.0) * go_4(1.0, 0.0);
|
|
result += mat4(-0.029360892, -0.0048307893, -0.008096796, 0.0, -0.00496499, 0.03883344, 0.020856587, 0.0, -0.002741085, -0.014452436, -0.010990915, 0.0, -0.00063735654, -0.01085891, 0.015463494, 0.0) * go_4(1.0, 1.0);
|
|
result += mat4(0.0049530137, -0.0044118348, 0.010959749, 0.0, 0.004472406, 0.009187174, 0.004749361, 0.0, -0.003241497, 0.0014512578, 0.0020329119, 0.0, 0.00484375, 0.01460068, 0.007019379, 0.0) * go_5(-1.0, -1.0);
|
|
result += mat4(0.005252894, 0.00029243072, 0.019448953, 0.0, -0.015999034, -0.017877292, -8.4357e-07, 0.0, -0.0029767593, -0.0057059284, 0.0074942107, 0.0, 0.0038765662, -0.0072403597, -0.017733458, 0.0) * go_5(-1.0, 0.0);
|
|
result += mat4(-0.01049558, -0.013876203, -0.012625591, 0.0, 0.03891471, 0.004890166, -0.030958287, 0.0, 0.004907066, -0.0020591288, -0.0025734978, 0.0, -0.0047403546, 0.0051444722, -0.0015627923, 0.0) * go_5(-1.0, 1.0);
|
|
result += mat4(0.0006357483, 0.020062638, -0.0023397952, 0.0, -0.025055263, 0.024269849, 0.0019268384, 0.0, 0.002393126, 0.0035250958, -0.0033111002, 0.0, 0.011524009, -0.012832657, -0.006588478, 0.0) * go_5(0.0, -1.0);
|
|
result += mat4(-0.017998967, -0.000584444, -0.018799875, 0.0, 0.076106764, 0.049945213, -0.0558265, 0.0, 0.0063656787, 0.011950068, 0.0016814703, 0.0, 0.0008519462, -0.009005519, 0.00790369, 0.0) * go_5(0.0, 0.0);
|
|
result += mat4(0.012599852, 0.01618219, -0.0034803718, 0.0, 0.0049316115, -0.0020757983, -0.012432003, 0.0, 0.0015175013, 0.006784785, 0.0051992857, 0.0, 0.004263454, -0.010194243, 0.009470762, 0.0) * go_5(0.0, 1.0);
|
|
result += mat4(0.014990767, -0.006943066, 0.0045915875, 0.0, -0.10213808, -0.033116236, 0.057423726, 0.0, 0.002395428, -0.0010561331, 0.001984031, 0.0, -0.007010948, 0.010538445, -0.0018797354, 0.0) * go_5(1.0, -1.0);
|
|
result += mat4(0.018725269, 0.006602652, 0.01936808, 0.0, 0.00290643, -0.033731982, 0.015077303, 0.0, -0.003934389, 0.0005405489, 0.008038224, 0.0, 0.004043942, 0.0032627143, -0.0031985177, 0.0) * go_5(1.0, 0.0);
|
|
result += mat4(-0.0024643794, -0.0081168115, 0.000985082, 0.0, 0.03405023, 0.0051342547, 0.014164209, 0.0, -0.0046505444, -0.012192198, -0.0059746793, 0.0, -0.0050326213, 0.016408648, -0.0057005123, 0.0) * go_5(1.0, 1.0);
|
|
result += mat4(-0.04706173, -0.022926703, -0.030185789, 0.0, -0.0077118534, 0.004031542, 0.004856771, 0.0, -0.006597402, 0.0020668437, -0.0019678045, 0.0, -0.0073156795, -0.012787221, -0.012821401, 0.0) * go_6(-1.0, -1.0);
|
|
result += mat4(0.09865301, 0.07682576, 0.09205235, 0.0, 0.016127344, 0.011068172, 0.0197064, 0.0, 0.0036786462, 0.011421758, 0.006705318, 0.0, -0.018997297, -0.011535163, -0.030655675, 0.0) * go_6(-1.0, 0.0);
|
|
result += mat4(-0.014861781, -0.008014831, -0.059904367, 0.0, -0.008302899, -0.0020995424, 0.015048458, 0.0, 0.008985284, 0.0044800313, 0.012001394, 0.0, -0.037118495, -0.086405866, -0.10816778, 0.0) * go_6(-1.0, 1.0);
|
|
result += mat4(0.15050909, 0.119645074, 0.13516459, 0.0, 0.0084604295, 0.016525416, 0.010620083, 0.0, 0.020369867, 0.019138863, 0.031115068, 0.0, 0.012024721, 0.030274425, 0.036285117, 0.0) * go_6(0.0, -1.0);
|
|
result += mat4(-0.27462438, -0.310252, -0.31710893, 0.0, 0.042528827, 0.047812987, 0.044493362, 0.0, 0.02234971, 0.040688086, 0.03131017, 0.0, 0.05833442, 0.06791647, 0.08331125, 0.0) * go_6(0.0, 0.0);
|
|
result += mat4(0.049749754, 0.11778692, 0.16365832, 0.0, 0.0225225, 0.021323524, 0.0035210573, 0.0, -0.0066622207, -0.012952145, -0.01054314, 0.0, 0.016107, 0.0045012943, 0.011679103, 0.0) * go_6(0.0, 1.0);
|
|
result += mat4(-0.021555528, 0.011145821, -0.0049750637, 0.0, -0.028949145, -0.045024894, -0.047580075, 0.0, 0.0013904909, -0.0013674475, -0.0105227055, 0.0, -0.03703044, 0.01570922, 0.02064549, 0.0) * go_6(1.0, -1.0);
|
|
result += mat4(0.027319964, 0.039980143, 0.056491673, 0.0, -0.0026977404, 0.012383259, 0.007661908, 0.0, -0.017106112, -0.017156936, -0.0106615815, 0.0, 0.020222748, 0.02083489, 0.035353363, 0.0) * go_6(1.0, 0.0);
|
|
result += mat4(0.051271953, 0.009694833, -0.0038416488, 0.0, -0.015718514, -0.024900327, -0.009097298, 0.0, 0.0027923114, -0.0017151093, -0.0022432432, 0.0, 0.0022872428, -0.010429248, -0.0181392, 0.0) * go_6(1.0, 1.0);
|
|
result += mat4(-0.025478277, 0.01361073, -0.0022686427, 0.0, -0.006248262, 0.004096912, 0.0063837394, 0.0, -0.0019614873, 0.0007515925, -0.002336724, 0.0, -0.011059066, -0.005880466, -0.010802589, 0.0) * go_7(-1.0, -1.0);
|
|
result += mat4(0.0059225713, -0.011407604, 0.010512075, 0.0, -0.0050041554, -0.0032832269, 0.004794339, 0.0, 0.031757887, 0.024956895, 0.009227458, 0.0, 0.005438838, -0.0017310621, -0.0038212216, 0.0) * go_7(-1.0, 0.0);
|
|
result += mat4(-0.014898649, 0.010369115, 0.0021796224, 0.0, -2.5652813e-05, 0.0059442236, -0.0015612476, 0.0, -0.01013316, -0.012647321, -0.008728524, 0.0, -0.002109095, 0.0006318179, -0.00082120905, 0.0) * go_7(-1.0, 1.0);
|
|
result += mat4(0.00341893, 0.006304587, 0.00060052174, 0.0, 0.0024800575, 0.0070764557, -0.008952178, 0.0, 0.041255437, 0.050920103, 0.051867694, 0.0, 0.0048200623, 0.00022566803, -0.0031875211, 0.0) * go_7(0.0, -1.0);
|
|
result += mat4(0.017161591, -0.009378748, 0.0036701541, 0.0, -0.0016541632, 0.0038244207, -0.00016950646, 0.0, 0.016582362, 0.019209225, 0.03667747, 0.0, 0.004404724, -0.002670751, 0.009977147, 0.0) * go_7(0.0, 0.0);
|
|
result += mat4(0.006690477, 0.008557644, 0.0073140776, 0.0, -0.004647655, -0.0032306341, -0.008620772, 0.0, -0.0076844427, -0.01342857, 0.0067478605, 0.0, -0.0090228, -0.010585969, -0.009984135, 0.0) * go_7(0.0, 1.0);
|
|
result += mat4(-0.001956184, -0.006917783, -0.015233173, 0.0, -0.004261963, -0.013595451, -0.0092541855, 0.0, -0.028828345, -0.027626967, -0.020593904, 0.0, -0.0020136125, 0.004573403, 0.0020614942, 0.0) * go_7(1.0, -1.0);
|
|
result += mat4(0.009494984, -0.012129607, -0.0018124013, 0.0, 0.00037371722, -0.0046847686, 0.0036133695, 0.0, -0.08961846, -0.08246162, -0.114471205, 0.0, 0.0046280758, 0.00063424936, -0.005647913, 0.0) * go_7(1.0, 0.0);
|
|
result += mat4(-0.002144247, -0.006831682, -0.004889928, 0.0, 0.0013089051, -0.0040246192, -0.002831742, 0.0, 0.05096865, 0.039355386, 0.039036866, 0.0, -0.0030425042, 0.0063056643, 0.0062971213, 0.0) * go_7(1.0, 1.0);
|
|
result += mat4(0.025361786, 0.004035193, -0.0028225796, 0.0, -0.004232574, -0.0035658241, 0.0021465644, 0.0, -0.012053769, -0.0070899376, 0.0025217172, 0.0, 0.00035528227, 0.0026417011, -0.0090203155, 0.0) * go_8(-1.0, -1.0);
|
|
result += mat4(-0.012506347, 0.0143124955, -0.01475725, 0.0, -0.0030933334, -0.0028272325, -0.01177318, 0.0, -0.0060547628, -0.005313569, -0.021205021, 0.0, -0.0044727162, -0.010677954, 0.02365087, 0.0) * go_8(-1.0, 0.0);
|
|
result += mat4(0.026648816, 0.0062886197, 0.013951058, 0.0, -0.0032456762, -0.0033997137, 0.00024707342, 0.0, 0.0014626492, -0.00835827, 0.008558773, 0.0, 0.020372026, 0.0065741003, 0.010505262, 0.0) * go_8(-1.0, 1.0);
|
|
result += mat4(0.00017674098, -0.009760521, 0.018675998, 0.0, -0.007052272, -0.0011848108, -0.004863736, 0.0, 0.0012898372, -0.0075971996, -0.009661746, 0.0, -0.008158695, -0.008880015, -0.00733229, 0.0) * go_8(0.0, -1.0);
|
|
result += mat4(-0.0182602, -0.011715669, -0.017855063, 0.0, 0.009018692, 0.006732858, 0.009499318, 0.0, 0.033385362, 0.04522244, 0.041749697, 0.0, -0.08317306, -0.09648336, -0.10567743, 0.0) * go_8(0.0, 0.0);
|
|
result += mat4(-0.0043141707, -0.019488264, 0.0040918137, 0.0, -0.01087478, 0.0012856841, -0.0030566782, 0.0, 0.007192342, 0.00654908, -0.0066080447, 0.0, -0.014165422, -0.0016966269, -0.024392638, 0.0) * go_8(0.0, 1.0);
|
|
result += mat4(0.01216089, 0.014149384, 0.01742211, 0.0, 0.003924372, -0.0039287372, 0.004061173, 0.0, 0.009022624, -0.0004619198, 0.0026475685, 0.0, 0.026940938, 0.024914106, 0.003418757, 0.0) * go_8(1.0, -1.0);
|
|
result += mat4(-0.02952131, -0.0045428053, -0.026432447, 0.0, 0.011610402, 0.008185513, 0.0039038714, 0.0, 0.03713648, 0.0395391, 0.030475812, 0.0, 0.00089649396, 0.0070916326, 0.022228051, 0.0) * go_8(1.0, 0.0);
|
|
result += mat4(0.001587467, 0.024500055, 0.01973232, 0.0, 0.0035265072, -0.0030997552, 0.0027370586, 0.0, -0.023047464, -0.0122122895, -0.008501983, 0.0, -0.0068462375, 0.0022843033, 0.003795816, 0.0) * go_8(1.0, 1.0);
|
|
result += mat4(0.016789248, 0.01254996, 0.02210503, 0.0, 0.012106761, -0.003635233, 0.0072172955, 0.0, -0.020028833, -0.01887912, -0.020026082, 0.0, -0.00844844, 0.0042690644, -0.0032225568, 0.0) * go_9(-1.0, -1.0);
|
|
result += mat4(0.016003825, 0.025062528, 0.015531413, 0.0, -0.0042697443, -0.002105033, -0.0012211011, 0.0, -0.0049069985, -0.019246748, -0.0037832889, 0.0, 0.0099958945, -0.008196794, -0.0045375507, 0.0) * go_9(-1.0, 0.0);
|
|
result += mat4(0.026500875, 0.0396465, 0.033590585, 0.0, 0.005405388, 0.0010698376, 0.0031889272, 0.0, 0.0034493858, 0.02652777, 0.008353321, 0.0, -0.011913049, 0.007410789, 0.0038532054, 0.0) * go_9(-1.0, 1.0);
|
|
result += mat4(0.022959502, 0.037157275, 0.026223795, 0.0, -0.002359783, 0.0078087146, 0.015261196, 0.0, -0.07995782, -0.07981969, -0.07655523, 0.0, -0.0067736907, -0.012067516, -0.007992792, 0.0) * go_9(0.0, -1.0);
|
|
result += mat4(0.0023983195, -0.0020767245, -0.0044161547, 0.0, -0.00648856, 0.012450184, -0.025990479, 0.0, -0.037020147, -0.055538315, -0.021222003, 0.0, 0.021080054, -0.0066943956, 0.013073288, 0.0) * go_9(0.0, 0.0);
|
|
result += mat4(-0.031190705, -0.05620925, -0.06479107, 0.0, -0.014074204, -0.017560946, -0.018823083, 0.0, 0.023085466, 0.027850889, 0.04083693, 0.0, -0.004887899, -0.00282323, 0.0057099527, 0.0) * go_9(0.0, 1.0);
|
|
result += mat4(0.009363126, 0.005484372, 0.0302749, 0.0, 0.0047330265, 0.0015038615, 0.006890818, 0.0, 0.010852913, 0.0220478, 0.00711804, 0.0, -0.0017576768, 0.016725222, -0.004241142, 0.0) * go_9(1.0, -1.0);
|
|
result += mat4(-0.048167795, -0.035639104, -0.048131768, 0.0, -0.0020459362, -0.0075555677, 0.004227725, 0.0, 0.00482982, -0.019239172, -0.02544654, 0.0, -0.011318142, -0.0057719736, 0.009860561, 0.0) * go_9(1.0, 0.0);
|
|
result += mat4(-0.063551456, -0.07896364, -0.0540844, 0.0, 0.023259554, 0.0026555767, 0.013461761, 0.0, 0.040332828, 0.037789416, 0.021407485, 0.0, 0.005665673, 0.012516072, -0.013808973, 0.0) * go_9(1.0, 1.0);
|
|
result += mat4(-0.0043271515, -0.002176621, -0.0062263994, 0.0, -0.009487342, -0.019084062, -0.007869139, 0.0, 0.0039961888, 0.0058492622, -0.0040343683, 0.0, -0.03378101, -0.014583192, -0.020262172, 0.0) * go_10(-1.0, -1.0);
|
|
result += mat4(-0.0057374407, -0.0023028732, -0.009082434, 0.0, -0.012978781, -0.0070726364, -0.01716653, 0.0, -0.011592781, -0.0035609906, -0.008231705, 0.0, -0.012654525, -0.0027721147, -0.020824594, 0.0) * go_10(-1.0, 0.0);
|
|
result += mat4(0.004045453, 0.0057113008, 0.005117617, 0.0, 0.011016732, 0.002078177, -0.0059456746, 0.0, 0.014335918, 0.01432551, 0.012828931, 0.0, -0.014062043, 0.016954973, 0.010959033, 0.0) * go_10(-1.0, 1.0);
|
|
result += mat4(-0.012934133, -0.012173259, 0.0033186993, 0.0, 0.014181016, 0.005169614, 0.012137384, 0.0, 0.0056865932, -0.008070127, 0.00045203033, 0.0, 0.025708647, 0.042508934, 0.033339664, 0.0) * go_10(0.0, -1.0);
|
|
result += mat4(0.0074146404, 0.0201533, 0.016118554, 0.0, 0.0013031239, 0.027318979, 0.009487991, 0.0, -0.016540378, -0.016878206, -0.0053058104, 0.0, 0.01720723, 0.03583139, 0.05756807, 0.0) * go_10(0.0, 0.0);
|
|
result += mat4(-0.0014135512, 0.00062751066, 0.009140375, 0.0, 0.0072179064, 0.009824886, 0.024632638, 0.0, 0.010560128, 0.0007695087, 0.0038111003, 0.0, -0.022627058, -0.01977243, -0.0030134337, 0.0) * go_10(0.0, 1.0);
|
|
result += mat4(-0.0035051953, -0.005636337, -0.0097413175, 0.0, -0.023677194, 0.010395192, 0.018517843, 0.0, -0.004950805, 0.00029344863, 0.004853732, 0.0, 0.007897124, -0.1331537, -0.118723, 0.0) * go_10(1.0, -1.0);
|
|
result += mat4(0.0013748755, -0.0021782645, -0.012239493, 0.0, -0.029132465, -0.006267873, -0.031924155, 0.0, -0.0097114965, 0.0005397595, -0.012134342, 0.0, 0.044770814, 0.08320425, 0.07122483, 0.0) * go_10(1.0, 0.0);
|
|
result += mat4(0.0048491457, -0.007968555, 0.00013333336, 0.0, 0.0008854088, -0.022956531, -0.013588146, 0.0, -0.0027138935, -0.0018594498, 0.0034621623, 0.0, -0.0134118525, -0.01100187, -0.030043988, 0.0) * go_10(1.0, 1.0);
|
|
result += mat4(0.02237663, 0.00831919, 0.0015054654, 0.0, -0.0052822554, -0.009167897, -0.023418322, 0.0, 0.049750224, 0.15223135, 0.056895517, 0.0, -0.028124314, 0.103592865, -0.11460099, 0.0) * go_11(-1.0, -1.0);
|
|
result += mat4(0.06604592, 0.077535994, 0.04387619, 0.0, 0.002240608, 0.0032035408, -0.0019027377, 0.0, -0.23191178, -0.20713837, -0.1059163, 0.0, -0.02745329, 0.019124122, -0.05754067, 0.0) * go_11(-1.0, 0.0);
|
|
result += mat4(-0.018089697, -0.0049893647, -0.012755223, 0.0, -0.011250022, 0.0025694384, 0.006658047, 0.0, 0.18600269, 0.21540438, -0.07239619, 0.0, 0.06070741, -0.015966779, 0.008377523, 0.0) * go_11(-1.0, 1.0);
|
|
result += mat4(0.07885984, 0.063304946, 0.08161656, 0.0, 0.009204811, -0.008686348, 0.01826027, 0.0, 0.017419616, -0.15827277, -0.027334033, 0.0, 0.021419391, -0.057179615, 0.04383202, 0.0) * go_11(0.0, -1.0);
|
|
result += mat4(-0.29338145, -0.1789378, -0.21597695, 0.0, 0.015545433, 0.0054774336, 0.02298748, 0.0, 0.2563948, 0.18186228, 0.028528359, 0.0, -0.040248312, -0.11418649, 0.25180307, 0.0) * go_11(0.0, 0.0);
|
|
result += mat4(0.08531003, 0.0584844, 0.07977445, 0.0, 0.0038542026, -0.0047495505, 0.002093048, 0.0, -0.16321124, -0.06810998, 0.11998162, 0.0, -0.051232412, 0.023452647, 0.02020883, 0.0) * go_11(0.0, 1.0);
|
|
result += mat4(-0.017363412, -0.032433335, -0.0070381477, 0.0, -0.005624224, 0.014642784, -0.010655905, 0.0, -0.06498979, -0.089284316, 0.02830825, 0.0, 0.01107569, -0.0027832526, -0.058814265, 0.0) * go_11(1.0, -1.0);
|
|
result += mat4(0.04100374, 0.05535847, 0.057575654, 0.0, -0.020664502, -0.0018526735, 0.006235595, 0.0, 0.06476483, 0.15853153, 0.15087196, 0.0, -0.024243202, -0.05395063, 0.15457627, 0.0) * go_11(1.0, 0.0);
|
|
result += mat4(0.01612927, -0.002833585, -0.0181422, 0.0, -0.007557753, -0.0033626833, -0.026714409, 0.0, -0.15844722, -0.20818855, -0.2195031, 0.0, 0.06423856, 0.08534526, -0.25243443, 0.0) * go_11(1.0, 1.0);
|
|
result += vec4(0.0016457731, -8.084377e-05, 0.00035153233, 0.0);
|
|
return result + MAIN_tex(MAIN_pos);
|
|
}
|
|
|
|
// MIT License
|
|
|
|
// Copyright (c) 2019-2021 bloc97
|
|
// All rights reserved.
|
|
|
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
// of this software and associated documentation files (the "Software"), to deal
|
|
// in the Software without restriction, including without limitation the rights
|
|
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
// copies of the Software, and to permit persons to whom the Software is
|
|
// furnished to do so, subject to the following conditions:
|
|
|
|
// The above copyright notice and this permission notice shall be included in all
|
|
// copies or substantial portions of the Software.
|
|
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
// SOFTWARE.
|
|
|
|
//!DESC Anime4K-v4.0-Restore-CNN-Soft-(M)-Conv-4x3x3x3
|
|
//!HOOK MAIN
|
|
//!BIND MAIN
|
|
//!SAVE conv2d_tf
|
|
//!WIDTH MAIN.w
|
|
//!HEIGHT MAIN.h
|
|
//!COMPONENTS 4
|
|
#define go_0(x_off, y_off) (MAIN_texOff(vec2(x_off, y_off)))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.073079124, 0.11507942, 0.028201895, -0.021776304, -0.25251916, -0.08662003, 0.38814726, 0.4146095, 0.06326891, 0.01635252, 0.06423356, 0.13488062, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.059791833, -0.03105604, 0.041643705, 0.35197195, -0.17314838, 0.067622855, -0.032012507, 0.09691628, -0.11094062, 0.007625051, 0.094762206, -0.05824145, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.120281175, 0.027440755, -0.026316144, -0.025291128, -0.41698205, -0.05966847, -0.28400028, -0.06946398, -0.10906026, -0.015854035, -0.028724853, -0.06626416, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 1.0);
|
|
result += mat4(0.068752654, -0.12652585, 0.38200122, 0.17978846, 0.2749825, 0.015504972, 0.21765926, 0.2246602, -0.062151223, 0.07457783, 0.13588274, -0.037328478, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, -1.0);
|
|
result += mat4(0.3718559, 0.025637252, -0.4048626, -0.41484925, 0.24768798, 0.09984098, -0.5663632, -0.6659978, 0.212067, -0.08328392, -0.5277322, -0.016879432, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 0.0);
|
|
result += mat4(-0.11072714, -0.010321538, 0.11265787, 0.0055236337, -0.13345073, 0.004847663, 0.3744461, -0.4038564, -0.09893075, 0.031325124, 0.2883957, -0.04268903, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 1.0);
|
|
result += mat4(0.10444391, -0.60588187, 0.02543334, 0.10911738, -0.10860678, 0.15701362, 0.29235297, 0.045803998, 0.076250754, -0.10799697, 0.08841044, 0.08145623, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, -1.0);
|
|
result += mat4(-0.04246739, -0.1225759, 0.11280305, -0.12079673, 0.5289142, -0.011892906, -0.0800465, 0.05915611, -0.126204, 0.08239301, -0.0092391195, -0.07672885, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 0.0);
|
|
result += mat4(-0.11922264, 0.14036109, -0.09491126, 0.05112697, -0.12543046, -0.08662423, -0.041537095, 0.048038274, 0.11672854, -0.006516173, -0.023524825, 0.030505095, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 1.0);
|
|
result += vec4(-0.07697861, 0.41154122, 0.042374082, -0.087270625);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.0-Restore-CNN-Soft-(M)-Conv-4x3x3x8
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_tf
|
|
//!SAVE conv2d_1_tf
|
|
//!WIDTH conv2d_tf.w
|
|
//!HEIGHT conv2d_tf.h
|
|
//!COMPONENTS 4
|
|
#define go_0(x_off, y_off) (max((conv2d_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max(-(conv2d_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.09419103, -0.1178418, 0.09523275, 0.24648252, 0.03595256, -0.05417468, -0.029167585, -0.012279932, 0.08852021, -0.12534834, 0.0604663, 0.050634373, -0.19536541, 0.21548285, 0.040379744, -0.28046605) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.13783203, 0.17191975, 0.06956328, 0.005270252, -0.029844455, -0.17657366, 0.03439078, 0.048861686, 0.12017991, -0.087307535, 0.11815637, 0.31309614, 0.08440897, 0.09969244, -0.06220224, 0.2633136) * go_0(-1.0, 0.0);
|
|
result += mat4(0.098606475, -0.05856224, -0.01163882, -0.020945825, -0.08988821, 0.18520717, 0.011407763, 0.20973705, 0.21017794, 0.038311377, -0.018910313, 0.053878684, -0.08751144, -0.0081623215, 0.29060364, 0.14363094) * go_0(-1.0, 1.0);
|
|
result += mat4(0.13354321, -0.38046083, 0.14157647, 0.10190452, -0.045502663, 0.0053245644, -0.10817685, -0.048371315, 0.16157807, 0.2086147, 0.07632662, 0.24636099, -0.0053555835, -0.19587666, -0.46687222, 0.002362032) * go_0(0.0, -1.0);
|
|
result += mat4(0.28275147, -0.1468291, 0.24075283, -0.35119128, 0.18727398, 0.3833064, 0.08667899, 0.15021381, -0.092296466, -0.25686404, -0.116076745, 0.2231862, -0.27637103, 0.12317917, -0.0341737, -0.40077657) * go_0(0.0, 0.0);
|
|
result += mat4(-0.007041629, 0.18089123, -0.21195571, -0.12346183, -0.06088577, -0.30784377, 0.0048495876, 0.06013008, 0.07200418, -0.0076884073, 0.02632822, -0.0011575016, 0.21025613, -0.2573419, -0.06994815, 0.32497165) * go_0(0.0, 1.0);
|
|
result += mat4(0.0016823286, -0.014366541, -0.5049525, 0.048534572, -0.0057915323, -0.0030526456, -0.028976317, -0.16376147, -0.15560333, -0.053708192, -0.055678204, -0.13087665, 0.0048869387, 0.027514834, 0.017380254, -0.06743363) * go_0(1.0, -1.0);
|
|
result += mat4(0.044514824, -0.1754644, -0.26664957, 0.1486667, 0.114894986, 0.061640915, -0.13305616, 0.06450565, 0.03552732, 0.2835473, 0.13800526, 0.005875215, 0.15751484, 0.41759813, -0.19406971, 0.071032055) * go_0(1.0, 0.0);
|
|
result += mat4(-0.18419577, -0.05527526, 0.017057603, -0.1146602, 0.15775396, -0.01188916, 0.09368113, 0.05765405, 0.064170234, -0.017833546, 0.12100514, -0.06250493, 0.2421206, 0.15719843, 0.23718071, 0.023142194) * go_0(1.0, 1.0);
|
|
result += mat4(0.079226464, 0.07877355, -0.022315226, -0.13507473, 0.14683898, 0.028739132, -0.24479519, -0.280197, -0.13223173, 0.21732429, -0.1546993, 0.045442928, 0.163642, -0.07062695, 0.03805918, 0.060860883) * go_1(-1.0, -1.0);
|
|
result += mat4(0.095216066, -0.16650215, -0.34863555, -0.025274571, 0.3064775, -0.034196265, -0.25773287, 0.19570488, -0.005434017, 0.26308087, 0.009404902, -0.24736062, 0.05558232, -0.014217521, 0.03667355, -0.15134114) * go_1(-1.0, 0.0);
|
|
result += mat4(-0.074846864, 0.010901994, 0.035149742, 0.12106729, -0.36042807, -0.011231913, 1.4317516, 0.6400351, 0.105860665, -0.11587906, -0.11065066, 0.19126756, 0.14132085, 0.021570992, -0.3618735, -0.081163004) * go_1(-1.0, 1.0);
|
|
result += mat4(-0.06937371, 0.3815214, 0.026842717, -0.04051589, -0.09472515, -0.027198657, -0.16502109, 0.114273794, -0.15207845, -0.15054241, -0.25099036, -0.10871029, 0.14311226, 0.07640166, 0.47051275, 0.0447809) * go_1(0.0, -1.0);
|
|
result += mat4(-0.25960425, 0.11150338, -0.042022616, -0.006633396, -0.29595324, -0.0149574205, 0.09806478, 0.03635802, 0.26789796, 0.41416678, 0.05145585, 0.61168057, 0.019582301, -0.118703716, 0.13974573, 0.04498941) * go_1(0.0, 0.0);
|
|
result += mat4(-0.04119621, -0.15503803, 0.33170196, -0.1158483, -0.06258357, 0.2574262, -0.07890287, -0.6929032, 0.004379942, 0.097908296, 0.009286624, 0.27194506, -0.2476702, 0.13828708, 0.05071857, -0.43693772) * go_1(0.0, 1.0);
|
|
result += mat4(-0.010842703, 0.13108006, 0.30126816, 0.20221521, 0.018797455, 0.0614624, 0.11102966, 0.019204421, 0.09975456, 0.04676902, -0.044540443, 0.118877, -0.04871634, -0.089208096, 0.027455999, 0.029557817) * go_1(1.0, -1.0);
|
|
result += mat4(-0.10421777, 0.3135469, 0.14557797, 0.0497297, 0.0034963787, -0.20342828, 0.08332032, -0.09004643, 0.06574797, -0.14168271, -0.08754358, 0.30385306, -0.3374016, -0.4360316, 0.15854433, -0.24081887) * go_1(1.0, 0.0);
|
|
result += mat4(0.1407836, 0.09678823, -0.02240152, -0.013985894, 0.012281648, -0.24124922, -0.46433777, -0.25915003, 0.042200714, -0.21701157, -0.016618999, 0.13135725, -0.34656256, -0.034729004, -0.29246503, -0.13514486) * go_1(1.0, 1.0);
|
|
result += vec4(-0.08458621, -0.023144595, -0.057707336, -0.081382714);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.0-Restore-CNN-Soft-(M)-Conv-4x3x3x8
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_1_tf
|
|
//!SAVE conv2d_2_tf
|
|
//!WIDTH conv2d_1_tf.w
|
|
//!HEIGHT conv2d_1_tf.h
|
|
//!COMPONENTS 4
|
|
#define go_0(x_off, y_off) (max((conv2d_1_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max(-(conv2d_1_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.27743992, 0.04277345, 0.019331178, -0.7335445, 0.006292013, 0.19800001, -0.0025032016, 0.16098699, -0.03186617, -0.060173523, 0.08878855, -0.10669283, 0.130609, -0.068515256, -0.03571823, -0.13751523) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.2430821, -0.08233978, 0.082374334, 0.04843392, -0.18989052, -0.041925047, 0.40021122, -0.317836, -0.13517766, 0.032255337, -0.0746507, 0.22114721, -0.045706213, -0.12841983, -0.27830583, 0.05763077) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.08436965, -0.04967552, -0.16798134, -0.1539139, -0.17429228, -0.10166739, 0.35864773, 0.12873615, -0.07667423, 0.04985163, 0.13391761, -0.054322604, 0.085659124, -0.078792974, 0.06481059, 0.058667548) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.17568155, 0.56705236, 0.056562193, -0.020951264, 0.005879628, -0.2502103, -0.19619654, 0.019490348, -0.14527243, 0.16983634, 0.049245857, 0.18316677, 0.055053137, 0.10699275, 0.0016993808, 0.20105995) * go_0(0.0, -1.0);
|
|
result += mat4(0.36284775, -0.05856962, -0.42545465, 0.31931567, -0.15698905, -0.28837132, -0.028697362, -0.024917847, 0.04317283, 0.024557106, -0.052158598, 0.38654143, -0.1782944, 0.43094924, -0.11738149, 0.21554618) * go_0(0.0, 0.0);
|
|
result += mat4(0.22645079, -0.20319854, 0.20733371, -0.18697177, -0.05167819, -0.12845007, 0.5543688, 0.2453291, 0.08027872, -0.0628224, -0.06593836, -0.05795855, -0.24527508, 0.23632833, -0.043366548, 0.14135826) * go_0(0.0, 1.0);
|
|
result += mat4(0.08384414, 0.20807321, 0.030559694, -0.13640808, -0.07641805, -0.10919174, -0.19799095, -0.12955745, 0.093737304, -0.17856954, 0.035103753, -0.044699315, -0.07255943, -0.02331535, 0.2059249, 0.3058302) * go_0(1.0, -1.0);
|
|
result += mat4(0.022345139, 0.16286038, -0.27228013, -0.41105714, -0.0014384583, 0.089546144, -0.08296848, -0.0050463285, 0.07038578, -0.030679917, 0.031246305, 0.36761853, -0.34799108, -0.0405689, -0.19182852, 0.015853593) * go_0(1.0, 0.0);
|
|
result += mat4(0.1021783, -0.11396049, -0.08733628, -0.017449526, 0.042015605, -0.14808236, 0.10072531, -0.07403295, 0.15276712, -0.07807765, -0.10013386, -0.26110634, -0.04858846, 0.066066965, 0.13598624, 0.21687816) * go_0(1.0, 1.0);
|
|
result += mat4(0.07041569, -0.17775945, 0.15697548, -0.15425202, -0.06569677, -0.033233996, 0.22596005, -0.026170855, -0.20729817, 0.1316505, -0.058410037, 0.22166035, 0.09107114, -0.13078825, -0.05639485, -0.02716142) * go_1(-1.0, -1.0);
|
|
result += mat4(0.057966787, -0.15311252, 0.095924966, -0.055951685, 0.082777694, -0.08471956, -0.39918202, 0.10599212, 0.102710955, 0.21808124, 0.12083635, -0.38835892, 0.031709857, 0.13955092, 0.12647778, 0.011549966) * go_1(-1.0, 0.0);
|
|
result += mat4(0.09810508, -0.119743295, 0.06166254, 0.13595435, 0.036198203, -0.028710455, -0.40789905, -0.034894038, -0.12622337, 0.14379597, 0.039958883, 0.19636424, 0.047094557, -0.07987105, -0.04905092, -0.07875785) * go_1(-1.0, 1.0);
|
|
result += mat4(0.34118712, -0.2833933, -0.045028314, -0.40670308, -0.01961924, 0.37131935, 0.29099533, -0.19843055, 0.18604252, -0.0037280058, 0.1091072, -0.40579233, 0.11422739, -0.16490164, -0.0022396361, -0.21486944) * go_1(0.0, -1.0);
|
|
result += mat4(0.0010853866, 0.2223109, 0.2416471, -0.33326814, 0.2549397, 0.6442047, 0.18411863, -0.19081281, -0.43552014, -0.1793875, -0.58699155, -0.01900168, -0.26955804, -0.071371995, 0.07599079, 0.27434483) * go_1(0.0, 0.0);
|
|
result += mat4(-0.19644544, 0.14383379, -0.2599538, 0.001666124, -0.16369823, 0.009537702, -0.3690974, -0.048157427, -0.2040159, 0.01522431, -0.11007749, -0.07012568, 0.17536888, -0.012183123, -0.17366478, -0.15090804) * go_1(0.0, 1.0);
|
|
result += mat4(0.0855136, 0.06863859, -0.17249937, -0.12850079, 0.15325847, 0.22742507, 0.22535504, 0.24032994, -0.109522276, 0.24135293, -0.17784368, 0.08172238, -0.16143093, 0.1358853, -0.09399085, 0.012180792) * go_1(1.0, -1.0);
|
|
result += mat4(-0.04346881, 0.13367178, 0.10387612, 0.04705543, -0.10315795, 0.5816371, -0.090529, -0.017955385, -0.09032907, -0.52505773, 0.10958755, -0.26151448, 0.17246644, 0.011886279, 0.3566306, 0.32170597) * go_1(1.0, 0.0);
|
|
result += mat4(-0.27853554, 0.1558035, 0.070289604, 0.17052644, -0.31982365, 0.29085326, -0.09494764, 0.2270542, 0.10514691, -0.24606484, -0.02049181, 0.126686, 0.16719124, 0.013080999, -0.08577963, -0.07057233) * go_1(1.0, 1.0);
|
|
result += vec4(0.0061747693, -0.029145364, -0.026801255, 0.027419873);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.0-Restore-CNN-Soft-(M)-Conv-4x3x3x8
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_2_tf
|
|
//!SAVE conv2d_3_tf
|
|
//!WIDTH conv2d_2_tf.w
|
|
//!HEIGHT conv2d_2_tf.h
|
|
//!COMPONENTS 4
|
|
#define go_0(x_off, y_off) (max((conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max(-(conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.07447851, -0.07888509, -0.28236163, 0.2479792, -0.065199964, 0.24733023, 0.099619575, -0.26430824, -0.03523585, -0.03547245, -0.10619345, -0.25326422, -0.116270036, -0.065133184, -0.30401528, 0.01563764) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.19106275, -0.26104823, -0.14457102, -0.17298317, 0.24148639, -0.10950928, 0.062851585, 0.042540826, 0.13287601, 0.06975747, 0.15848075, -0.3854902, -0.13132331, -0.16468687, -0.029844414, 0.27754608) * go_0(-1.0, 0.0);
|
|
result += mat4(0.015378025, -0.14203559, 0.08058816, 0.32896644, -0.074871175, -0.26611313, -0.18830848, 0.091641426, -0.16522385, -0.23424402, -0.12279703, -0.13343342, -0.2509982, -0.0554576, 0.07286022, -0.028823337) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.13543738, 0.049395677, -0.015148539, 0.13301241, -0.12827122, -0.012590744, 0.012936948, 0.008271658, 0.12442749, 0.3497426, -0.16126058, -0.2670464, -0.010479037, 0.07037434, -0.15527055, 0.13205245) * go_0(0.0, -1.0);
|
|
result += mat4(-0.09535385, -0.3931354, 0.24716614, -0.21284536, 0.14652656, 0.38149378, -0.09607391, 0.06350967, 0.48615915, 0.32634613, 0.146291, 0.2566475, -0.40927815, -0.05268087, -0.04110691, -0.0068722935) * go_0(0.0, 0.0);
|
|
result += mat4(0.089152284, -0.01860622, 0.016856732, 0.31244752, 0.022529159, -0.0071319416, -0.09786801, -0.13005258, 0.1524636, 0.21627748, -0.07395979, -0.087633945, -0.38435504, -0.08842507, -0.0058702417, -0.32936293) * go_0(0.0, 1.0);
|
|
result += mat4(0.0816838, 0.0012210817, 0.28217188, 0.36141106, 0.0014665248, -0.0636269, 0.042035818, -0.056671552, -0.032501306, -0.22908778, -0.2067977, -0.004497514, -0.23052917, 0.26728114, 0.15353456, -0.17732324) * go_0(1.0, -1.0);
|
|
result += mat4(-0.17229734, 0.0818218, -0.10076918, 0.030027041, -0.14819005, -0.085340135, 0.050100215, 0.05683199, -0.12653661, -0.036583595, -0.32319903, -0.15273796, -0.15346588, 0.20005536, 0.23097478, -0.19834782) * go_0(1.0, 0.0);
|
|
result += mat4(0.055430107, -0.2886931, 0.361814, 0.33160287, -0.084407054, 0.06254009, -0.02332793, -0.018134018, -0.014879812, 0.112346604, -0.20686437, -0.23408228, -0.01091196, -0.062669374, 0.085567676, 0.23738655) * go_0(1.0, 1.0);
|
|
result += mat4(0.080383554, -0.1172084, 0.19703126, 0.27777427, -0.07559937, -0.25445858, 0.3450109, -0.071967736, 0.2034805, 0.33716002, 0.15314537, -0.22953224, 0.113631405, -0.0058444734, 0.2890972, 0.06557255) * go_1(-1.0, -1.0);
|
|
result += mat4(-0.17646056, -0.025448758, -0.14952567, 0.017148364, -0.15238142, 0.1435677, 0.20273875, 0.22255951, -0.011660059, -0.003515217, -0.17305166, -0.13478355, -0.06558679, -0.032662887, -0.20914736, -0.5397283) * go_1(-1.0, 0.0);
|
|
result += mat4(0.1679393, -0.109410115, -0.117427185, 0.14982319, -0.06457877, -0.06607065, 0.0018200208, -0.0118605625, 0.046539318, -0.020642165, -0.14413542, -0.09530688, 0.22196163, -0.2187166, -0.10759705, 0.013234591) * go_1(-1.0, 1.0);
|
|
result += mat4(-0.13220267, -0.12540027, 0.26163217, 0.12791659, 0.16204996, -0.4023048, -0.13485721, -0.10187536, 0.059764992, 0.048170995, -0.25281772, 0.2090587, -0.06542371, -0.10791867, -0.21286209, -0.309109) * go_1(0.0, -1.0);
|
|
result += mat4(0.16233061, 0.120428756, -0.11460241, 0.24531102, -0.2670459, -0.24195078, -0.20964348, -0.12930301, -0.2343609, -0.22543164, -0.28909695, -0.33560297, 0.6009884, 0.39171818, -0.1276308, -0.020736236) * go_1(0.0, 0.0);
|
|
result += mat4(0.40162864, 0.045881115, 0.032667033, 0.31454235, -0.17351128, -0.009387306, 0.17341217, 0.30810982, -0.025815086, -0.10390133, 0.012544771, 0.036918722, 0.34386298, 0.23177734, -0.046727546, 0.20098232) * go_1(0.0, 1.0);
|
|
result += mat4(0.11541034, -0.11647824, -0.12874861, 0.004921287, -0.13921295, -0.25733355, -0.1112383, -0.033295818, 0.0035326157, 0.3782048, 0.055785846, -0.1547331, 0.17358719, -0.2789715, -0.13400431, 0.1583795) * go_1(1.0, -1.0);
|
|
result += mat4(0.4130191, -0.33944547, -0.064674884, 0.39617148, -0.11483455, -0.022601767, 0.1129301, -0.09713594, 0.14681247, 0.34442267, 0.08721343, -0.08309499, 0.088704996, -0.20943391, -0.2891408, 0.1709401) * go_1(1.0, 0.0);
|
|
result += mat4(0.19503653, 0.17490312, -0.23491044, -0.028934423, 0.04479765, -0.0334551, 0.0602648, 0.0019939998, 0.23314747, 0.21557438, 0.07273092, 0.15467109, -0.11194509, 0.0736583, -0.17628083, -0.3851578) * go_1(1.0, 1.0);
|
|
result += vec4(0.022887055, 0.01521631, 0.17967467, -0.0131908795);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.0-Restore-CNN-Soft-(M)-Conv-4x3x3x8
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_3_tf
|
|
//!SAVE conv2d_4_tf
|
|
//!WIDTH conv2d_3_tf.w
|
|
//!HEIGHT conv2d_3_tf.h
|
|
//!COMPONENTS 4
|
|
#define go_0(x_off, y_off) (max((conv2d_3_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max(-(conv2d_3_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.10233342, -0.30233157, 0.24238978, -0.007108631, 0.14248851, 0.08486557, 0.0028373515, 0.122387215, 0.10996857, -0.17286511, 0.19819227, 0.07023527, 0.07579955, -0.16861476, -0.210025, 0.12760942) * go_0(-1.0, -1.0);
|
|
result += mat4(0.091181986, -0.41497424, -0.27567792, -0.09938067, -0.12210428, 0.20617811, -0.017644284, -0.22552875, 0.049019493, -0.18990634, 0.11057753, -0.043193225, -0.15278774, -0.18331046, -0.1837594, 0.029758787) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.1757096, -0.199691, -0.034743477, -0.15369363, -0.1701244, -0.0459655, 0.10508695, -0.09795581, 0.13464944, 0.37202564, 0.14706515, 0.23416734, 0.08302458, 0.20696343, -0.13935481, 0.03092827) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.49887478, 0.24046332, -0.029459715, 0.17374687, -0.15019977, 0.31086043, -0.28297687, -0.22239804, 0.12314376, 0.11594825, 0.17682782, 0.09753434, -0.26263535, -0.12739435, -0.57744014, 0.087381124) * go_0(0.0, -1.0);
|
|
result += mat4(0.08101439, -0.16185337, 0.112901986, 0.24439482, -0.44051018, -0.70680356, -0.23015513, 0.63106006, -0.08817581, -0.057614524, 0.15352182, -0.049620207, 0.17742544, -0.49583626, -0.3844133, 0.18385352) * go_0(0.0, 0.0);
|
|
result += mat4(0.17149475, 0.31255633, 0.19286609, 0.21052869, -0.11856372, -0.032373343, 0.06503625, -0.31664965, 0.040755365, -0.027614031, -0.33330554, 0.40148625, 0.056921627, -0.27068445, 0.047014963, 0.103712596) * go_0(0.0, 1.0);
|
|
result += mat4(-0.09326643, 0.13677256, 0.06390537, 0.08080093, -0.10685094, 0.124757454, 0.14696303, 0.10871933, -0.10971212, 0.01655797, -0.11052674, -0.17361104, 0.015513338, -0.1917502, -0.26384255, -0.022672707) * go_0(1.0, -1.0);
|
|
result += mat4(0.032367155, -0.087523445, -0.06951093, -0.08128242, 0.2627859, 0.14933161, 0.3114999, -0.007791172, -0.4146471, -0.2530298, -0.43175155, -0.06878434, 0.5724947, 0.25498095, 0.4838959, 0.15076154) * go_0(1.0, 0.0);
|
|
result += mat4(-0.13427481, -0.10134261, 0.087439895, 0.015921364, 0.15421022, 0.20205952, 0.22928835, -0.07339068, -0.33318612, -0.17467582, -0.04758165, 0.11858059, 0.17408857, -0.099393494, -0.06389948, -0.06494366) * go_0(1.0, 1.0);
|
|
result += mat4(0.15349221, 0.08508258, -0.09294437, -0.03204993, -0.22561033, -0.15088828, -0.020105945, 0.10041996, -0.024723593, 0.06610271, -0.24423431, -0.050512858, -0.100530736, 0.16394953, 0.16365045, -0.012055956) * go_1(-1.0, -1.0);
|
|
result += mat4(0.16342951, 0.23113559, 0.21289586, 0.28391558, 0.052211206, -0.17983536, -0.008415342, 0.08977486, -0.054481823, 0.17506577, -0.14162593, -0.070448756, 0.093877845, 0.05161232, -0.25006327, 0.007014646) * go_1(-1.0, 0.0);
|
|
result += mat4(0.104965575, 0.20048036, 0.024134496, 0.5442797, 0.19958296, -0.05165447, 0.076928124, 0.030868227, -0.0563495, -0.19757621, 0.10801544, -0.24202053, 0.0067657093, -0.17784451, -0.03134409, -0.06741009) * go_1(-1.0, 1.0);
|
|
result += mat4(0.33347723, -0.12338564, 0.23495969, -0.23091966, 0.059872203, 0.028045453, -0.06781438, 0.111325614, -0.21861015, -0.030451605, -0.04267672, -0.0039260075, 0.0911101, 0.054191053, -0.08498816, 0.04810343) * go_1(0.0, -1.0);
|
|
result += mat4(-0.05028896, 0.21515386, 0.16005337, -0.32279232, 0.19178568, 0.779363, -0.12682606, -0.4378189, 0.37980273, 0.063021325, 0.19370794, -0.05618088, -0.00088428083, 0.29736623, 0.24649377, -0.0021625878) * go_1(0.0, 0.0);
|
|
result += mat4(-0.45007992, -0.16040307, -0.1714593, -0.16251564, 0.070867635, 0.21317895, -0.070962, 0.17147541, -0.27786884, -0.33259448, -0.022767346, -0.17967366, 0.21208113, 0.19740848, 0.16877973, 0.09630738) * go_1(0.0, 1.0);
|
|
result += mat4(0.09235827, -0.35231477, -0.093315996, -0.035850406, -0.08311695, 0.054329164, 0.17788444, -0.020736141, -0.03739786, -0.1678283, 0.12676615, 0.17182353, 0.17408027, 0.07699043, 0.095501214, 0.0069830767) * go_1(1.0, -1.0);
|
|
result += mat4(-0.16631392, -0.16925642, -0.17081848, 0.017719474, -0.20530944, 0.19215193, -0.039511178, -0.08296625, 0.2240653, 0.100644305, 0.2901835, 0.32166973, -0.10026419, -0.14864013, -0.19926691, -0.11607018) * go_1(1.0, 0.0);
|
|
result += mat4(-0.13750182, 0.07445518, -0.033964884, -0.085812084, -0.03903257, -0.054933593, 0.06765632, 0.064338475, 0.27182797, 0.07721309, -0.0334218, -0.19344835, -0.14405386, 0.046106674, 0.16596143, 0.0879945) * go_1(1.0, 1.0);
|
|
result += vec4(0.049844168, 0.02670437, 0.050967637, -0.10779561);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.0-Restore-CNN-Soft-(M)-Conv-4x3x3x8
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_4_tf
|
|
//!SAVE conv2d_5_tf
|
|
//!WIDTH conv2d_4_tf.w
|
|
//!HEIGHT conv2d_4_tf.h
|
|
//!COMPONENTS 4
|
|
#define go_0(x_off, y_off) (max((conv2d_4_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max(-(conv2d_4_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.034357008, 0.00082413113, -0.13382089, -0.05066409, 0.26684088, -0.31363875, 0.073608615, 0.20824149, 0.21509308, -0.07118628, 0.11287014, -0.09817389, 0.16107765, 0.17146803, -0.13836654, -0.05962866) * go_0(-1.0, -1.0);
|
|
result += mat4(0.029981667, 0.08738892, 0.17735903, 0.15817277, 0.041752994, -0.20031185, 0.064203605, 0.48786053, -0.0033609737, -0.42522693, 0.058846988, 0.22180536, 0.17181319, 0.13097888, -0.059532285, 0.062227458) * go_0(-1.0, 0.0);
|
|
result += mat4(0.13188283, 0.07971828, 0.28278515, 0.038570832, -0.12815465, 0.29860008, -0.2785862, -0.07612298, -0.14369671, 0.12457525, 0.11982623, -0.018675303, 0.14936846, 0.1284789, -0.0042489986, 0.042810377) * go_0(-1.0, 1.0);
|
|
result += mat4(0.2892425, -0.20834558, 0.07358541, -0.11190968, -0.16300741, 0.15674856, -0.04297203, -0.29218298, -0.036296643, -0.052267153, -0.22889943, -0.21203549, -0.03553075, -0.20343691, -0.07413655, -0.092966415) * go_0(0.0, -1.0);
|
|
result += mat4(0.2484468, -0.23412868, -0.070199326, 0.2061922, 0.5047224, -0.48216155, -0.5792768, 0.610787, 0.023935676, -0.040435325, -0.1238493, -0.09576053, -0.26183444, 0.14510648, 0.5365255, 0.5499143) * go_0(0.0, 0.0);
|
|
result += mat4(-0.058255754, 0.08133753, -0.18663554, 0.26190025, 0.26006857, -0.007619795, 0.14585225, 0.073580734, -0.0396066, 0.2821596, 0.31778112, -0.029853562, -0.19703479, 0.17809318, 0.21089044, -0.106730856) * go_0(0.0, 1.0);
|
|
result += mat4(0.20549655, -0.05962688, 0.1432124, 0.013446325, -0.19064854, 0.061387196, 0.1792527, 0.0010619498, -0.1456842, 0.18950678, -0.13990986, -0.37644413, -0.083257, -0.2937246, 0.032096215, 0.14719158) * go_0(1.0, -1.0);
|
|
result += mat4(-0.26601696, 0.4242341, -0.073702715, -0.3221337, 0.026037043, -0.0117916465, -0.024286825, 0.23183465, -0.030869482, -0.045915652, -0.040611852, 0.11372697, -0.25404635, 0.21859063, 0.13869432, 0.19651218) * go_0(1.0, 0.0);
|
|
result += mat4(-0.028276298, -0.11217159, 0.27144867, -0.010531775, 0.11032058, -0.09957206, 0.12570262, 0.14724332, 0.08758557, -0.11042305, 0.025948172, -0.010910802, -0.029466914, -0.041135952, -0.017091949, 0.05501236) * go_0(1.0, 1.0);
|
|
result += mat4(-0.12688768, -0.19051413, 0.052141912, -0.13618521, -0.16320245, -0.1601866, 0.16207355, -0.023218745, 0.2103894, -0.06212745, -0.07042835, 0.0996637, -0.1763831, 0.13890013, -0.12125462, -0.105104685) * go_1(-1.0, -1.0);
|
|
result += mat4(0.10485512, -0.49283037, -0.504295, 0.009089699, -0.17389494, -0.12835866, 0.14188384, -0.22946316, 0.006298799, -0.0348454, -0.0852419, 0.17956656, -0.08088888, 0.35675287, 0.16014415, -0.055372503) * go_1(-1.0, 0.0);
|
|
result += mat4(-0.17157564, 0.1557075, -0.17681694, 0.14834762, -0.13708206, 0.101721555, 0.17070566, -0.22522852, 0.08100986, -0.23204406, -0.38926315, -0.13165781, 0.1040296, -0.045591615, 0.15745829, -0.10410621) * go_1(-1.0, 1.0);
|
|
result += mat4(-0.20517144, 0.35896194, -0.0010962893, -0.18043008, -0.016253468, 0.035292216, 0.06781499, 0.015984116, -0.20261237, -0.28905126, 0.007414641, 0.008870292, 0.52166605, -0.0996688, -0.23151648, 0.2811893) * go_1(0.0, -1.0);
|
|
result += mat4(0.013482173, -0.04891998, -0.06094191, -0.14416319, -0.00087873987, 0.11979091, 0.06457245, -0.2305623, -0.1476981, 0.2634587, -0.058895197, -0.07394766, -0.27173743, 0.7530214, 0.037599873, 0.22086331) * go_1(0.0, 0.0);
|
|
result += mat4(-0.10357755, 0.23899554, 0.034912035, -0.14336212, -0.019786308, -0.085470654, -0.03096524, 0.108783185, 0.28971127, 0.24527478, -0.19110362, -0.49510127, -0.15574701, 0.10968643, -0.13727877, 0.04502924) * go_1(0.0, 1.0);
|
|
result += mat4(-0.10808282, -0.079148844, -0.3244773, -0.2210664, -0.0062175165, 0.1303082, 0.012592612, -0.38039228, 0.26899642, -0.16624425, -0.04438198, 0.42067865, -0.13381268, 0.03408099, -0.2999706, -0.3817641) * go_1(1.0, -1.0);
|
|
result += mat4(0.030872926, -0.26852018, -0.14650428, 0.16869825, -0.19185568, -0.06341456, 0.12261606, -0.26597574, 0.44865233, 0.21416639, 0.40359476, 0.12814924, 0.2542566, -0.23348318, -0.43142912, -0.35113996) * go_1(1.0, 0.0);
|
|
result += mat4(-0.03364283, 0.11002299, 0.3311268, -0.14580412, -0.10348537, 0.13331696, -0.0793144, -0.04116661, 0.040704627, -0.14875266, -0.09259674, -0.062087066, 0.063962296, 0.18420577, -0.085616685, -0.16555141) * go_1(1.0, 1.0);
|
|
result += vec4(-0.037546165, -0.015675364, 0.13989694, 0.027605768);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.0-Restore-CNN-Soft-(M)-Conv-4x3x3x8
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_5_tf
|
|
//!SAVE conv2d_6_tf
|
|
//!WIDTH conv2d_5_tf.w
|
|
//!HEIGHT conv2d_5_tf.h
|
|
//!COMPONENTS 4
|
|
#define go_0(x_off, y_off) (max((conv2d_5_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max(-(conv2d_5_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.35835463, 0.038305778, -0.10198824, -0.021951782, 0.02142098, -0.072417736, -0.2577152, 0.054713376, 0.075116105, -0.21191697, -0.1213158, -0.105036296, 0.12030758, -0.17591658, 0.1726511, 0.17754573) * go_0(-1.0, -1.0);
|
|
result += mat4(0.32325825, 0.19869742, 0.333873, 0.39670366, 0.20716824, 0.09557955, 0.120742686, -0.2271023, 0.37509173, -0.031341635, 0.10247365, 0.031520665, -0.092765376, -0.13535516, 0.8333728, 0.05886494) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.17573749, 0.16768494, 0.021141645, 0.19668253, 0.21080776, 0.31503728, -0.26834, 0.19103156, 0.21946241, 0.14559007, -0.09761235, -0.23565038, -0.49393657, -0.5332298, 0.09806347, 0.054431103) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.042109374, -0.05564321, 0.27586877, 0.010382545, 0.007322007, 0.13193823, -0.18262729, 0.06399193, 0.14174329, 0.3898842, -0.10398105, 0.01846146, -0.24542394, -0.13020967, -0.16491668, -0.03544872) * go_0(0.0, -1.0);
|
|
result += mat4(-0.15291597, 0.1566557, 0.14745249, -0.23258151, 0.17843612, 0.15885495, -0.691466, -0.41177312, 0.40330106, -0.07991953, 0.2832403, 0.10656986, -0.19571523, 0.3670614, -0.62296015, -0.5666968) * go_0(0.0, 0.0);
|
|
result += mat4(-0.17513512, 0.011393021, -0.44352317, -0.059153114, -0.2227142, -0.033094753, 0.09624524, 0.051315393, 0.2632246, 0.09945105, 0.042561427, -0.1234722, 0.23755905, -0.506999, 0.114180565, 0.27887583) * go_0(0.0, 1.0);
|
|
result += mat4(-0.459564, -0.120326266, 0.17507194, 0.06701153, -0.14124362, -0.36653697, -0.2856802, -0.22955593, -0.08515889, 0.18788262, 0.23427077, 0.021544341, 0.31996533, -0.2668834, 0.08469808, -0.01347926) * go_0(1.0, -1.0);
|
|
result += mat4(-0.14092083, -0.31244513, -0.044023518, 0.013948701, 0.33119613, -0.011959397, -0.1494438, -0.111066826, -0.11994278, 0.116068155, -0.13032633, -0.037004936, 0.13851176, -0.006655432, -0.39841232, -0.079951204) * go_0(1.0, 0.0);
|
|
result += mat4(-0.08959123, 0.18297827, -0.0763483, 0.11364159, -0.04361797, -0.029816678, -0.19314721, -0.03484794, 0.044681285, 0.04669291, -0.30017474, -0.07453036, 0.090825416, -0.27414632, 0.36355078, 0.15742934) * go_0(1.0, 1.0);
|
|
result += mat4(0.18470702, 0.113800436, -0.18546791, 0.044184085, 0.12490399, 0.1826781, -0.01313173, -0.19048993, -0.026458051, -0.1693334, 0.21958382, 0.030458853, -0.059242606, 0.039351143, -0.061676584, -0.06904634) * go_1(-1.0, -1.0);
|
|
result += mat4(-0.114877924, -0.03781683, -0.19207929, 0.007679428, 0.2409049, 0.2965285, -0.38395065, 0.11604976, -0.22588749, 0.48505852, 0.09866521, -0.2585994, -0.011380872, -0.018334057, -0.047188547, 0.3038583) * go_1(-1.0, 0.0);
|
|
result += mat4(-0.2783936, -0.17609318, 0.4904369, -0.31848624, 0.39725313, 0.082951784, -0.15595853, -0.007526218, 0.2355193, -0.30003366, -0.27686292, 0.120900005, -0.1223885, 0.40760317, 0.0013726618, -0.24877374) * go_1(-1.0, 1.0);
|
|
result += mat4(0.1580051, -0.044973504, 0.00053594523, -0.057797022, 0.18895927, 0.23527777, -0.18095906, -0.076961614, 0.2544444, -0.05932328, 0.13717431, -0.024487074, 0.33157274, -0.09072586, -0.004386734, -0.05180953) * go_1(0.0, -1.0);
|
|
result += mat4(-0.21685815, 0.061656334, -0.066127226, 0.24831405, 0.26001146, 0.046466008, -0.047196623, 0.13538954, -0.06449239, 0.45951647, -0.13132116, -0.7079741, -0.06683439, -0.47628635, 0.42461708, 0.6475073) * go_1(0.0, 0.0);
|
|
result += mat4(0.2590011, -0.26020283, 0.0005333198, 0.01555692, 0.37920526, 0.29205114, -0.20281325, -0.1455974, 0.056119893, 0.022032745, -0.30095813, 0.48154855, -0.35761952, 0.07582935, 0.12462687, 0.068093665) * go_1(0.0, 1.0);
|
|
result += mat4(0.20434918, 0.26690874, 0.028224666, 0.042565826, 0.037406113, 0.5059272, -0.0047208676, 0.0019095197, 0.16626422, -0.23407575, -0.072687164, 0.00063299487, -0.10172441, -0.11645544, 0.008715937, -0.012423992) * go_1(1.0, -1.0);
|
|
result += mat4(0.08269191, 0.116322584, -0.08155921, -0.04790326, 0.09546776, 0.3632936, -0.08139031, -0.10399187, 0.06618616, -0.26862565, 0.25058737, 0.0410593, -0.07191658, -0.20559746, 0.21857823, 0.12776822) * go_1(1.0, 0.0);
|
|
result += mat4(0.54989135, 0.38051483, 0.015739547, -0.0068143173, 0.26107135, 0.2585036, -0.12345306, -0.13934542, -0.19018838, 0.2730626, 0.42644337, 0.16693048, -0.15189888, 0.023638237, 0.11272267, 0.039560657) * go_1(1.0, 1.0);
|
|
result += vec4(-0.20554838, -0.10647836, -0.02824578, 0.08658529);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v4.0-Restore-CNN-Soft-(M)-Conv-3x1x1x56
|
|
//!HOOK MAIN
|
|
//!BIND MAIN
|
|
//!BIND conv2d_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_2_tf
|
|
//!BIND conv2d_3_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_5_tf
|
|
//!BIND conv2d_6_tf
|
|
//!SAVE MAIN
|
|
//!WIDTH conv2d_tf.w
|
|
//!HEIGHT conv2d_tf.h
|
|
#define g_0 (max((conv2d_tf_tex(conv2d_tf_pos)), 0.0))
|
|
#define g_1 (max(-(conv2d_tf_tex(conv2d_tf_pos)), 0.0))
|
|
#define g_2 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_3 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_4 (max((conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
|
|
#define g_5 (max(-(conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
|
|
#define g_6 (max((conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
|
|
#define g_8 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_10 (max((conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
|
|
#define g_12 (max((conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.030150581, -0.002168429, 0.014918388, 0.0, 0.020940892, 0.04591048, 0.049137186, 0.0, 0.111167125, 0.05311203, 0.0625381, 0.0, 0.020043287, 0.04785493, 0.040921766, 0.0) * g_0;
|
|
result += mat4(0.04158565, -0.008488135, 0.0020472286, 0.0, 0.049123142, -0.055042226, -0.06489915, 0.0, 0.09238876, 0.10387972, 0.09576964, 0.0, -0.054776173, -0.098954335, -0.09018853, 0.0) * g_1;
|
|
result += mat4(0.2081418, 0.08273068, 0.040325668, 0.0, -0.09937802, -0.13162258, -0.13989717, 0.0, -0.13983749, 0.01309777, 0.0023888077, 0.0, -0.18937743, -0.07021057, -0.047152344, 0.0) * g_2;
|
|
result += mat4(-0.09646629, 0.080605574, 0.10463501, 0.0, 0.22579835, 0.24077554, 0.22600271, 0.0, 0.049726978, 0.015292378, -0.0047161994, 0.0, 0.16281025, 0.048491795, 0.038338162, 0.0) * g_3;
|
|
result += mat4(-0.09772107, -0.043998875, -0.054745924, 0.0, -0.1257736, -0.13175423, -0.10889618, 0.0, -0.015900036, 0.07074481, 0.08210496, 0.0, -0.11321135, -0.12526917, -0.105605066, 0.0) * g_4;
|
|
result += mat4(0.14187162, 0.14032297, 0.13016908, 0.0, 0.018954534, 0.016011704, 0.010169183, 0.0, 0.04762765, -0.044460997, -0.06499567, 0.0, 0.11133751, 0.09464176, 0.08865274, 0.0) * g_5;
|
|
result += mat4(-0.16567162, -0.1744712, -0.1637222, 0.0, -0.02412003, 0.0074480795, 0.007903436, 0.0, -0.06161098, -0.046788957, -0.03971239, 0.0, 0.030736001, 0.036460854, 0.03660504, 0.0) * g_6;
|
|
result += mat4(0.084027, 0.10024112, 0.08152756, 0.0, 0.005087354, -0.026047802, -0.027264625, 0.0, 0.10519243, 0.08977278, 0.077558964, 0.0, -0.052826345, -0.06602686, -0.055083472, 0.0) * g_7;
|
|
result += mat4(0.007862721, 0.009936555, 0.012004831, 0.0, -0.042322706, -0.061728776, -0.05359773, 0.0, 0.030532641, 0.045623366, 0.04214089, 0.0, 0.030569768, 0.011892851, 0.0074041556, 0.0) * g_8;
|
|
result += mat4(0.03948997, 0.043119986, 0.039943404, 0.0, 0.0526772, 0.06820589, 0.058139592, 0.0, -0.062081397, -0.06755701, -0.054816127, 0.0, -0.004076369, 0.0061744447, 0.016273081, 0.0) * g_9;
|
|
result += mat4(0.0071622543, 0.004829105, -0.002032197, 0.0, -0.048541367, -0.059043564, -0.05662218, 0.0, 0.0015553127, 0.009178359, 0.009577062, 0.0, 0.114169896, 0.1349016, 0.11432262, 0.0) * g_10;
|
|
result += mat4(0.019324556, 0.028323999, 0.027396113, 0.0, 0.016746879, 0.01608199, 0.026891617, 0.0, 0.12068619, 0.13617857, 0.113496214, 0.0, -0.013930715, -0.014250072, -0.00824306, 0.0) * g_11;
|
|
result += mat4(-0.0024534757, -0.0064973077, -0.007905654, 0.0, -0.019158727, -0.024820521, -0.020509848, 0.0, -0.09608131, -0.11177871, -0.10503465, 0.0, -0.011210447, -0.010875943, -0.015295865, 0.0) * g_12;
|
|
result += mat4(0.09681486, 0.113604136, 0.10416855, 0.0, -0.08199983, -0.09013433, -0.08562243, 0.0, 0.041304465, 0.048315883, 0.042945288, 0.0, -0.09863276, -0.117853515, -0.09870226, 0.0) * g_13;
|
|
result += vec4(-0.0039074384, -0.0085585555, -0.0132283475, 0.0);
|
|
return result + MAIN_tex(MAIN_pos);
|
|
}
|
|
|
|
// MIT License
|
|
|
|
// Copyright (c) 2019-2021 bloc97
|
|
// All rights reserved.
|
|
|
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
// of this software and associated documentation files (the "Software"), to deal
|
|
// in the Software without restriction, including without limitation the rights
|
|
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
// copies of the Software, and to permit persons to whom the Software is
|
|
// furnished to do so, subject to the following conditions:
|
|
|
|
// The above copyright notice and this permission notice shall be included in all
|
|
// copies or substantial portions of the Software.
|
|
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
// SOFTWARE.
|
|
|
|
//!DESC Anime4K-v3.2-Upscale-CNN-x2-(M)-Conv-4x3x3x3
|
|
//!HOOK MAIN
|
|
//!BIND MAIN
|
|
//!SAVE conv2d_tf
|
|
//!WIDTH MAIN.w
|
|
//!HEIGHT MAIN.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (MAIN_texOff(vec2(x_off, y_off)))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.010995803, 0.077095956, -0.043992598, 0.06048717, 0.1164834, -0.11689607, 0.072985925, -0.078805886, 0.01182932, 0.054985743, -0.09018186, 0.044907484, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, -1.0);
|
|
result += mat4(0.1813623, -0.14752422, 0.025720436, -0.17639883, 0.15697388, 0.10445984, -0.1843076, 0.5264643, 0.047516696, -0.097305484, 0.09740847, -0.29619336, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.014534763, 0.09486465, 0.046173926, 0.039391946, 0.09609376, -0.060574662, 0.042200956, -0.3269777, 0.051006425, 0.059818447, 0.04366627, 0.17699827, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 1.0);
|
|
result += mat4(0.04268535, -0.08152529, 0.10577459, -0.036936995, -0.051562306, 0.054872766, 0.09194519, 0.0025066638, -0.01073954, 0.00064474024, 0.10038221, 0.02131141, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, -1.0);
|
|
result += mat4(-0.51751363, -0.40028602, 0.3469574, 0.5933738, -0.91357684, -0.67692596, 0.57815677, 0.39809322, -0.16341521, -0.27169713, 0.12232366, 0.4318641, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 0.0);
|
|
result += mat4(0.12601124, -0.06263236, -0.45907676, -0.41514075, 0.3330334, -0.1929565, -0.6333532, -0.6552794, -0.045809917, 0.046351526, -0.26173338, -0.30252662, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 1.0);
|
|
result += mat4(0.0030332592, 0.012103107, 0.010537323, -0.02038607, 0.095558085, 0.097704545, 0.083433494, 0.026790185, 0.01943357, -0.061712462, -0.00015703632, -0.032268334, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, -1.0);
|
|
result += mat4(0.016870102, 0.5215812, -0.11525501, 0.027527615, -0.09045733, 0.61310345, -0.1575268, 0.1905386, 0.020172214, 0.3503187, -0.08209157, -0.051328037, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 0.0);
|
|
result += mat4(0.005494087, -0.010656317, 0.07682753, -0.08116042, -0.03934524, 0.16589017, 0.101483546, -0.066603065, 0.03494657, -0.07885597, 0.074227594, 0.0016264897, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 1.0);
|
|
result += vec4(0.014463938, -0.0031906287, 0.007015422, -0.003888468);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v3.2-Upscale-CNN-x2-(M)-Conv-4x3x3x8
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_tf
|
|
//!SAVE conv2d_1_tf
|
|
//!WIDTH conv2d_tf.w
|
|
//!HEIGHT conv2d_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv2d_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max(-(conv2d_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.08532478, -0.14302494, -0.017921071, -0.0032664281, -0.09841952, 0.024187077, 0.10701477, 0.14110753, -0.05714981, -0.10897174, 0.073803626, 0.103992954, 0.07914382, 0.032193683, -0.18346278, -0.09723936) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.034482613, -0.10742312, -0.047286414, -0.08641124, -0.33896688, -0.036533825, -0.48337597, 0.034040943, -0.13598205, -0.080917805, 0.08540263, -0.012667689, -0.009171425, -0.120026454, -0.20536867, -0.032149274) * go_0(-1.0, 0.0);
|
|
result += mat4(0.18687321, 0.066278316, 0.024327392, 0.08816582, -0.08017908, 0.09488853, 0.26018232, -0.101504356, 0.17487666, 0.31057635, 0.14785016, -0.09622089, -0.07537452, -0.13844088, -0.05810814, 0.09907489) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.04183032, 0.15207712, 0.005002397, 0.32277516, -0.16169126, -0.119836345, -0.04068436, -0.096728764, 0.11943901, 0.1789597, -0.20412198, 0.19009817, 0.36630696, 0.06946421, -0.5254373, -0.11896399) * go_0(0.0, -1.0);
|
|
result += mat4(-0.31916487, -0.98911583, 1.0728644, -0.39280394, 0.33458877, -0.17325239, -0.645045, -0.28524077, -0.14512783, 0.24996442, -0.09837877, 0.05468934, 0.31559715, -0.020504637, -0.026724018, 0.24507573) * go_0(0.0, 0.0);
|
|
result += mat4(-0.23759829, -0.08530173, -0.16665787, -0.22463752, 0.109896734, 0.13446991, -0.049552456, -0.02385489, -0.01245375, 0.3833208, 0.05758832, 0.1528937, 0.0501858, -0.19651426, 0.0076587177, -0.03297025) * go_0(0.0, 1.0);
|
|
result += mat4(0.14554465, -0.01826686, 0.10284085, -0.19152659, -0.017585073, -0.05511482, 0.06362406, 0.023924058, -0.0018977845, -0.103172876, 0.03287086, -0.20085956, 0.36062446, 0.10749464, -0.20984372, 0.018256644) * go_0(1.0, -1.0);
|
|
result += mat4(-0.005534592, 0.3709197, -0.18287498, 0.1720451, 0.030155553, -0.023265475, 0.0058617783, -0.031765483, 0.037328955, -0.2730994, 0.35090837, -0.3269043, -0.028477207, 0.32756507, -0.15989502, 0.12158258) * go_0(1.0, 0.0);
|
|
result += mat4(0.10873739, 0.19583772, 0.060394943, 0.09410379, -0.04739245, 0.026561242, 0.022990001, 0.1093272, -0.01071349, -0.022938967, -0.046423864, 0.2385325, -0.0319821, 0.046962265, 0.09081178, -0.11001857) * go_0(1.0, 1.0);
|
|
result += mat4(0.13012704, 0.112289295, 0.030790284, -0.050499484, 0.11784853, 0.08107028, -0.07556717, -0.15643, 0.015249331, 0.015299608, 0.07748125, 0.054485757, 0.044857923, 0.12161275, -0.048292994, -0.033995003) * go_1(-1.0, -1.0);
|
|
result += mat4(0.12931514, 0.15114146, 0.070513315, 0.11246343, 0.4142387, 0.213479, -0.5439916, 0.07776645, 0.13109331, 0.2021147, 0.25932786, -0.22157331, 0.02377734, -0.014970623, -0.1943276, 0.18440372) * go_1(-1.0, 0.0);
|
|
result += mat4(-0.22365458, -0.19829084, -0.06881161, -0.06468993, 0.17202774, 0.0048758537, -0.09235021, 0.18941896, 0.064125344, -0.09067088, 0.09748182, 0.13561936, -0.05876288, -0.0122420965, -0.054380875, -0.17743628) * go_1(-1.0, 1.0);
|
|
result += mat4(0.18582906, -0.09263032, -0.08210888, -0.20515606, 0.11484005, 0.08557595, 0.0009253741, -0.051202174, -0.18535301, -0.1529345, -0.13092944, 0.03770747, -0.020947013, 0.19187425, -0.15494856, -0.048979875) * go_1(0.0, -1.0);
|
|
result += mat4(-0.38131633, 0.4278787, 0.19763695, 0.27655518, -0.08711912, 0.07374453, -0.064803004, 0.5983854, 0.2361923, -0.057221692, -0.37138999, -0.24259573, 0.13890724, 0.25706333, -0.54021406, 0.08095518) * go_1(0.0, 0.0);
|
|
result += mat4(0.0991328, -0.022651536, -0.029148921, -0.009812537, -0.09523686, -0.15704902, 0.052389514, 0.21561539, 0.1950314, -0.08572602, 0.0016523858, 0.14125621, -0.030999828, 0.12009709, 0.0373512, -0.105043754) * go_1(0.0, 1.0);
|
|
result += mat4(-0.11251988, 0.12106985, 0.011923068, 0.3662747, 0.004800994, 0.017972551, 0.004761366, -0.07934206, -0.13755941, -0.022852683, 0.1502225, 0.009758547, -0.16964264, 0.00984782, 0.07855833, 0.035730787) * go_1(1.0, -1.0);
|
|
result += mat4(0.01964957, -0.27226487, 0.033933397, -0.117632054, -0.009058229, 0.047830686, -0.01125145, 0.136628, 0.0056388285, 0.3028781, -0.12286517, 0.23498532, -0.009319075, -0.444048, 0.16174883, -0.06367683) * go_1(1.0, 0.0);
|
|
result += mat4(0.02343933, -0.010915871, -0.058680378, -0.21886891, -0.010750894, -0.06671997, 0.0602906, -0.07903071, 0.066891186, 0.06650588, 0.14362891, -0.101870626, 0.02264628, -0.06940821, -0.077616625, 0.110911585) * go_1(1.0, 1.0);
|
|
result += vec4(0.032014452, -0.020821465, 0.0826416, -0.002838458);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v3.2-Upscale-CNN-x2-(M)-Conv-4x3x3x8
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_1_tf
|
|
//!SAVE conv2d_2_tf
|
|
//!WIDTH conv2d_1_tf.w
|
|
//!HEIGHT conv2d_1_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv2d_1_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max(-(conv2d_1_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.06963679, -0.07560548, -0.069522075, 0.0038078027, -0.08002613, 0.13671301, 0.084461786, -0.039376218, 0.19136548, -0.123174496, 0.26566333, -0.16583005, -0.18664864, -0.023539122, -0.21928434, -0.026818147) * go_0(-1.0, -1.0);
|
|
result += mat4(0.16660932, -0.18558703, 0.37230486, 0.118128106, -0.14098641, 0.14659132, -0.22217897, 0.12952235, -0.4139033, -0.04308319, 0.12885277, -0.17986743, -0.23556231, -0.08351981, -0.43240538, 0.019033253) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.18008037, -0.04448665, 0.011906908, -0.023056917, 0.18136618, -0.04723555, -0.0050158803, -0.14823224, -0.2105281, 0.023047728, -0.14040631, -0.03178526, -0.13477588, -0.01820428, 0.058358394, 0.23792502) * go_0(-1.0, 1.0);
|
|
result += mat4(0.07363309, -0.061728477, 0.03573137, -0.0050971056, -0.012813505, -0.17236637, 0.1697835, 0.055788577, -0.22263195, 0.10324512, 0.58971673, -0.4872246, -0.1555681, 0.032747746, -0.096495196, 0.070196226) * go_0(0.0, -1.0);
|
|
result += mat4(0.14174286, 0.099460006, -0.088765986, 0.58350676, -0.025177564, -0.46004987, 0.37007022, -0.11437029, -0.5164534, -0.60465246, 0.38859612, -0.32846406, 0.050266482, -0.20334712, 0.18316261, -0.19327633) * go_0(0.0, 0.0);
|
|
result += mat4(-0.09377763, -0.0012762006, -0.028991895, -0.26523829, 0.20173682, 0.037923716, -0.03174243, 0.07103378, -0.10764164, -0.30752546, 0.20556998, -0.1892279, 0.08115748, -0.023550175, -0.07627362, 0.11746628) * go_0(0.0, 1.0);
|
|
result += mat4(-0.06998859, -0.017997518, 0.069938794, -0.14943017, -0.14179112, 0.16643842, -0.110231474, 0.08895815, -0.24074875, 0.3277253, -0.07435203, -0.23452802, 0.039962552, -0.07145652, -0.022511544, -0.04571222) * go_0(1.0, -1.0);
|
|
result += mat4(-0.059785757, -0.23771374, -0.030571314, 0.25222278, 0.106601834, 0.34398326, 0.14511436, -0.03867526, -0.38982397, -0.11944689, 0.12997924, -0.13079585, 0.005729482, 0.012653905, -0.063693404, 0.09632285) * go_0(1.0, 0.0);
|
|
result += mat4(-0.04933823, 0.0547175, 0.050636575, -0.10060694, 0.1344485, 0.19752938, -0.100068115, -0.028829506, -0.14096203, -0.079092234, 0.092109434, 0.011606209, -0.04052607, -0.008347507, 0.06956573, -0.028109524) * go_0(1.0, 1.0);
|
|
result += mat4(0.21918017, -0.11115073, 0.2262453, -0.06889667, -0.11256312, -0.07438075, -0.088454485, 0.13672407, -0.06905764, 0.08128395, 0.016103368, 0.050190717, 0.09691516, 0.05845721, 0.4886816, 0.041121427) * go_1(-1.0, -1.0);
|
|
result += mat4(-0.3449472, 0.09711974, -0.13881907, -0.018265123, 0.27855873, -0.07030004, 0.29545054, 0.37216932, 0.08657718, 0.099066615, -0.10574013, -0.17667885, -0.14855732, -0.11351448, 0.66945946, 0.11312157) * go_1(-1.0, 0.0);
|
|
result += mat4(0.2526151, -0.04594331, -0.06606611, 0.09104881, 0.06857995, -0.075284235, -0.17664689, 0.21578754, 0.0696524, 0.09142951, 0.080997564, -0.0682772, -0.0011445724, -0.11736295, 0.2519232, -0.101926275) * go_1(-1.0, 1.0);
|
|
result += mat4(-0.12913518, 0.058357026, 0.195421, -0.15651494, 0.2877076, 0.0033844314, -0.07831594, 0.052855384, -0.031295884, 0.03301088, -0.18408822, 0.06732994, 0.23742151, -0.12568143, 0.22810535, -0.11545694) * go_1(0.0, -1.0);
|
|
result += mat4(-0.49203303, -0.22656603, 0.1723193, -0.51250046, -0.09742038, 0.758559, -0.3387505, -0.6193586, 0.14136684, 0.27679884, -0.050113205, 0.31041816, -0.36475047, -0.48746544, 0.3233227, 0.4579754) * go_1(0.0, 0.0);
|
|
result += mat4(0.46636763, 0.1507748, -0.2581362, 0.15413165, -0.17160143, 0.14256273, -0.074575804, -0.099299066, -0.0017214464, 0.13778336, -0.07378213, -0.15489665, -0.10533715, -0.0011083825, 0.39584312, 0.0023906573) * go_1(0.0, 1.0);
|
|
result += mat4(0.026959421, -0.06391859, 0.0034752619, 0.14521928, -0.0010877338, -0.032619733, 0.005375293, -0.018952755, 0.03381545, -0.007652831, 0.034141563, 0.046016496, 0.11219674, 0.030913852, 0.077403754, 0.17192438) * go_1(1.0, -1.0);
|
|
result += mat4(0.040326044, 0.17290725, -0.1220239, -0.09594783, -0.025229257, 0.17913155, -0.26623353, -0.033396784, -0.03075146, 0.009143897, -0.0136083895, -0.13886899, 0.075683735, -0.11584183, 0.22182357, 0.19350322) * go_1(1.0, 0.0);
|
|
result += mat4(0.15726025, -0.10215694, -0.060057458, 0.26487043, -0.04075552, -0.016496127, 0.0015382086, 0.108562306, 0.026795091, 0.0441233, -0.08754318, -0.0460157, 0.048422016, 0.14107347, 0.07986661, 0.1047697) * go_1(1.0, 1.0);
|
|
result += vec4(0.0766796, 0.08115133, -0.05703058, 0.14025708);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v3.2-Upscale-CNN-x2-(M)-Conv-4x3x3x8
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_2_tf
|
|
//!SAVE conv2d_3_tf
|
|
//!WIDTH conv2d_2_tf.w
|
|
//!HEIGHT conv2d_2_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max(-(conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.18038331, 0.21830973, -0.10019419, -0.022745568, -0.14944611, -0.15669158, 0.46361133, -0.07289843, 0.02976627, -0.09000817, 0.113060996, 0.05635241, 0.012762965, -0.022688959, 0.01629751, 0.061114635) * go_0(-1.0, -1.0);
|
|
result += mat4(0.024338024, -0.10004009, -0.13709056, -0.0851965, 0.23927099, -0.024349794, -0.16574804, 0.084686354, -0.047885604, 0.09688507, -0.12733915, 0.06980246, 0.11480734, 0.014669346, -0.07505829, 0.04676309) * go_0(-1.0, 0.0);
|
|
result += mat4(0.054203495, 0.011881634, -0.036115017, -0.0686298, -0.13682245, -0.15678032, 0.057050128, -0.03368558, 0.13011025, 0.033391044, -0.09841339, -0.027057761, -0.18701133, 0.20852546, -0.13660902, 0.0005817616) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.08077834, 0.35952288, -0.07647382, -0.0033230998, 0.13929126, -0.09155619, 0.14128102, 0.16005981, 0.18161216, -0.09485738, 0.0029118075, 0.052682754, 0.03242074, 0.08299826, 0.073796146, -0.06446532) * go_0(0.0, -1.0);
|
|
result += mat4(-0.36655015, 0.4606936, 0.19073649, 0.31655258, -0.006838053, -0.579939, 0.089126326, -0.14021218, -0.3437716, 0.16714323, 0.17705944, -0.22418492, -0.3883696, -0.2302651, 0.2581861, 0.21983066) * go_0(0.0, 0.0);
|
|
result += mat4(0.0992383, -0.014257871, -0.023896435, 0.19868234, 0.0408007, 0.07995299, 0.16102871, -0.11668251, 0.22458278, -0.05587917, 0.19373615, -0.016202094, -0.25106144, 0.15634494, 0.11624891, -0.2930768) * go_0(0.0, 1.0);
|
|
result += mat4(0.024616942, 0.36248252, -0.14779098, -0.019894283, -0.007111256, 0.010641561, -0.09541178, 0.21236233, 0.009501827, 0.08132797, -0.13983901, 0.027207611, 0.038444366, -0.013995817, -0.16242191, 0.03294123) * go_0(1.0, -1.0);
|
|
result += mat4(0.0131698875, -0.18124102, -0.13503514, -0.06099072, 0.07422735, -0.20906176, -0.049005672, 0.08739405, -0.031758767, -0.1978915, 0.23094437, 0.54512614, 0.21338555, -0.011205669, -0.23727885, -0.29533875) * go_0(1.0, 0.0);
|
|
result += mat4(-0.0010255767, -0.07168225, -0.033568826, 0.22161655, -0.087293416, 0.11350447, 0.13653576, 0.061226424, -0.13074352, 0.058425818, 0.038460605, 0.2749964, -0.012814839, 0.085885845, -0.038151987, -0.17960808) * go_0(1.0, 1.0);
|
|
result += mat4(0.19728905, -0.040724937, -0.18270236, 0.046735186, 0.03507326, 0.119867206, -0.12691991, 0.18119748, -0.052895024, 0.11348764, -0.043787055, 0.004703516, 0.006752757, -0.06939761, -0.009801806, -0.075640485) * go_1(-1.0, -1.0);
|
|
result += mat4(0.051735226, 0.1732299, -0.10672899, 0.0320877, -0.4913656, 0.2102274, 0.43920282, 0.059108034, 0.08349019, -0.16517872, 0.15436842, -0.1075667, 0.022741623, -0.26693836, 0.3645307, 0.017874828) * go_1(-1.0, 0.0);
|
|
result += mat4(0.034464058, 0.014929155, 0.054227423, 0.14167373, -0.0023630706, -0.08904212, 0.11918041, -0.034539603, 0.06048089, -0.06807333, 0.14447778, 0.035260547, 0.09979546, -0.1924939, 0.14596114, -0.12069667) * go_1(-1.0, 1.0);
|
|
result += mat4(-0.04427228, -0.23673469, 0.010357103, -0.2907043, -0.06845721, -0.078984015, 0.06867713, -0.058163825, -0.12154615, 0.08430951, 0.1922373, 0.030108064, -0.43081748, -0.38715646, -0.022240646, -0.15403675) * go_1(0.0, -1.0);
|
|
result += mat4(0.46885306, -0.33421394, -0.6695223, -0.41841158, 0.30317923, 0.24244753, -0.1047785, -0.18656285, 0.06261881, -0.4405616, 0.24233986, 0.40070608, 0.81440526, 0.11305212, -0.8826317, -0.023478031) * go_1(0.0, 0.0);
|
|
result += mat4(-0.07879348, -0.024378026, -0.041883785, -0.17030984, 0.23229122, -0.011237109, 0.12058088, 0.20766267, -0.36519575, 0.09599417, -0.1271098, 0.06990154, 0.21161246, 0.041002538, -0.36046275, 0.007304667) * go_1(0.0, 1.0);
|
|
result += mat4(0.10873893, 0.003872542, -0.13476561, -0.036068805, -0.054637462, 0.02304618, 0.04707738, -0.2856381, 0.07124422, 0.010866545, 0.20484549, -0.008342406, -0.43660247, -0.041055538, 0.33536008, -0.060022205) * go_1(1.0, -1.0);
|
|
result += mat4(0.1966458, 0.0016302796, -0.25712642, -0.09639119, -0.006955351, 0.10882133, 0.1107341, 0.062697805, -0.1074494, 0.17361663, 0.6429869, -0.39846307, -0.26302996, 0.048710946, 0.40387508, 0.4299715) * go_1(1.0, 0.0);
|
|
result += mat4(0.18948616, 0.24086732, -0.064474985, -0.11069709, 0.1279659, -0.13438123, -0.028438117, 0.125883, 0.018153818, -0.21942288, 0.020390838, -0.22797634, -0.10821287, -0.17175092, 0.122016855, 0.20699544) * go_1(1.0, 1.0);
|
|
result += vec4(-0.05101961, -0.060740646, -0.024465766, 0.058471628);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v3.2-Upscale-CNN-x2-(M)-Conv-4x3x3x8
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_3_tf
|
|
//!SAVE conv2d_4_tf
|
|
//!WIDTH conv2d_3_tf.w
|
|
//!HEIGHT conv2d_3_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv2d_3_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max(-(conv2d_3_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.14533128, 0.07266841, 0.13238011, -0.23328504, 0.031516243, 0.058471266, -0.06394412, 0.090752736, -0.0042359144, 0.12357294, -0.04377495, 0.0011743477, 0.05412243, -0.08146249, 0.04002749, -0.032876283) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.036972385, -0.15238069, -0.3453321, -0.36025128, 0.07597202, -0.02368151, -0.3889606, 0.34607083, 0.3133179, -0.21712309, -0.4210954, 0.21450534, 0.15226828, 0.25326282, 0.45327064, -0.3350824) * go_0(-1.0, 0.0);
|
|
result += mat4(0.019018406, -0.33060563, -0.092601225, 0.14970545, 0.1441509, -0.19228427, -0.032771986, 0.26331595, 0.052981265, -0.06627376, -0.08634131, 0.038706224, 0.13403937, -4.4842476e-05, 0.049002815, -0.12719193) * go_0(-1.0, 1.0);
|
|
result += mat4(0.17527401, -0.0035254909, -0.047959115, -0.4526988, -0.07510284, 0.0013256798, -0.07539148, 0.24220634, -0.08708839, -0.14494033, -0.17085724, -0.099797316, 0.0068515535, -0.08918779, 0.27164719, -0.1702649) * go_0(0.0, -1.0);
|
|
result += mat4(0.31848368, 0.48983255, -0.44140294, -0.65174145, -0.004199057, 0.19494705, 0.5196497, -0.027118586, 0.032509074, -0.23900363, -0.14489244, 0.36314297, -0.23168536, -0.20960593, 0.61471456, 0.12401275) * go_0(0.0, 0.0);
|
|
result += mat4(-0.24317405, 0.21560913, 0.15564032, 0.11606844, -0.15039803, -0.59578896, 0.14100945, -0.026194477, 0.37237462, -0.49472088, -0.15215331, -0.38820064, -0.25089455, -0.29643852, -0.09513793, 0.019779462) * go_0(0.0, 1.0);
|
|
result += mat4(0.12498539, 0.0710632, -0.25012368, -0.2272255, -0.08647026, 0.12277892, 0.011025097, -0.12168395, -0.13489573, 0.016708186, -0.15583871, -0.057124946, 0.1216943, 0.019803725, 0.06952334, -0.032985855) * go_0(1.0, -1.0);
|
|
result += mat4(0.28794885, 0.33783793, -0.14469545, -0.081780486, -0.50320613, -0.067601606, -0.06847453, -0.021648854, -0.34295765, 0.15071863, -0.06619896, -0.084465064, 0.31909832, 0.015414661, 0.14930317, -0.11295768) * go_0(1.0, 0.0);
|
|
result += mat4(0.24530606, 0.25526014, 0.09971985, -0.07749641, -0.2361951, -0.07997673, 0.03617294, 0.02959561, -0.4498983, -0.014073485, -0.20587012, 0.06396779, 0.1262825, 0.027433183, 0.14469334, 0.011538011) * go_0(1.0, 1.0);
|
|
result += mat4(-0.038572453, -0.023108613, -0.039481267, -0.012160024, -0.004521989, -0.028665857, 0.04295255, 0.10580258, 0.05439479, -0.072261885, 0.11030243, 0.08934696, 0.09133867, 0.017547369, 0.097613186, 0.05491059) * go_1(-1.0, -1.0);
|
|
result += mat4(-0.09972817, 0.057730395, 0.12665828, 0.32861367, -0.16186063, 0.0745509, 0.2394045, -0.08687853, -0.034404907, -0.05843572, 0.0684561, -0.1355754, 0.19248672, -0.60372186, 0.12583947, 0.4388962) * go_1(-1.0, 0.0);
|
|
result += mat4(0.10341107, 0.061113223, 0.08773817, -0.082504354, -0.16612078, 0.2681751, 0.019737698, -0.17122322, -0.135949, 0.3048101, 0.087803006, 0.11373851, 0.013192192, -0.27022064, 0.35529897, -0.15321451) * go_1(-1.0, 1.0);
|
|
result += mat4(-0.032835662, 0.11123062, -0.11322452, -0.17300649, 0.04680824, 0.12849288, 0.17269878, -0.048671383, 0.05189037, -0.009078046, 0.22105052, 0.013008137, -0.009738674, 0.15391739, 0.20969556, 0.14189166) * go_1(0.0, -1.0);
|
|
result += mat4(-0.47377753, 0.3038031, 0.18604809, 0.1931698, -0.2964668, -0.12287907, -0.7107761, 0.26619422, -0.33923018, 0.19200724, 0.013786281, -0.17496964, 0.079325035, -0.3694445, 0.0054486147, -0.33018264) * go_1(0.0, 0.0);
|
|
result += mat4(0.14903802, -0.028043179, 1.5238678e-05, 0.021232028, 0.16025065, 0.14746875, -0.22831628, -0.12177345, 0.038778774, 0.32188168, -0.042017702, 0.27155936, 0.17920609, 0.04099755, 0.28527525, 0.074623376) * go_1(0.0, 1.0);
|
|
result += mat4(0.057019282, -0.112741895, 0.030361209, 0.14567861, 0.056265317, -0.01573537, -0.06707608, 0.016657263, 0.09829025, -0.026795063, 0.023042196, 0.09438241, -0.025483066, -0.052787006, 0.19730279, 0.021218104) * go_1(1.0, -1.0);
|
|
result += mat4(0.19868211, -0.01531125, 0.108596824, -0.035456363, 0.0033609823, 0.057961613, -0.013726211, 0.101742364, 0.33357215, 0.14468077, 0.29711527, -0.24662566, -0.119014986, -0.1899639, 0.11246697, -0.0035374009) * go_1(1.0, 0.0);
|
|
result += mat4(-0.05602109, -0.15539522, 0.010730943, 0.057116497, -0.02037749, 0.084210664, -0.028235348, 0.10574697, 0.056925274, 0.07922333, -0.090088, 0.1615985, -0.0044301567, -0.089945644, 0.024176618, -0.041844133) * go_1(1.0, 1.0);
|
|
result += vec4(0.0015292584, -0.043625206, -0.09429898, -0.06280405);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v3.2-Upscale-CNN-x2-(M)-Conv-4x3x3x8
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_4_tf
|
|
//!SAVE conv2d_5_tf
|
|
//!WIDTH conv2d_4_tf.w
|
|
//!HEIGHT conv2d_4_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv2d_4_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max(-(conv2d_4_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(0.06051604, -0.028152643, -0.21418124, 0.13032125, 0.42565975, -0.09571944, -0.34494513, 0.30004, -0.073245734, -0.028659137, 0.0032105136, -0.05009555, -0.048971225, 0.04814533, 0.002843805, -0.046224426) * go_0(-1.0, -1.0);
|
|
result += mat4(-0.07495975, 0.018714864, 0.21229684, -0.13614887, 0.79988647, -0.0697328, 0.38232988, 0.24165109, 0.25947478, -0.0009418982, -0.17369923, 0.10007766, 0.024117598, 0.028611807, 0.15090801, -0.06344829) * go_0(-1.0, 0.0);
|
|
result += mat4(-0.07982219, 0.0900347, 0.007609254, -0.0034791247, 0.013611781, -0.13560618, 0.09685799, 0.06276075, 0.134693, -0.14370437, -0.25175703, -0.0016138123, -0.0075672898, -0.13325731, -0.061100446, 0.0059743375) * go_0(-1.0, 1.0);
|
|
result += mat4(-0.039018434, -0.19668463, -0.43018532, 0.31886247, 0.4965479, 0.114569925, 0.19110382, 0.27343535, 0.0707728, -0.11877004, -0.25827697, 0.37012872, 0.1474777, 0.07056952, -0.14965728, 0.061595406) * go_0(0.0, -1.0);
|
|
result += mat4(0.506543, -0.16268773, 0.455319, -0.0702646, 0.70102173, -0.14041683, 0.70184857, 0.4817842, -0.3389246, -0.14463086, 0.13763213, -1.1259074, 0.47722015, 0.38352612, -0.04293366, -0.5604627) * go_0(0.0, 0.0);
|
|
result += mat4(0.17606944, 0.15897374, 0.13499324, 0.29241478, -0.032824475, 0.11128662, -0.22204424, -0.051803727, 0.013195331, -0.42040786, -0.3950585, 0.70745844, 0.38646924, -0.19080774, -0.15171832, -0.10742828) * go_0(0.0, 1.0);
|
|
result += mat4(-0.039278325, 0.18421806, -0.044948544, 0.07902063, -0.2149251, 0.09913459, -0.09743655, -0.26899317, -0.002695496, -0.07554527, -0.22373366, 0.17830558, -0.047994815, -0.06789183, -0.06755918, -0.104452066) * go_0(1.0, -1.0);
|
|
result += mat4(-0.0493473, -0.30411786, -0.056439694, -0.06582185, -0.21309847, 0.100670904, -0.22966193, -0.045954112, 0.12728062, -0.25081897, -0.094699375, -0.4036555, 0.060854495, -0.64373237, -0.21522263, -0.6683476) * go_0(1.0, 0.0);
|
|
result += mat4(0.063481025, 0.11744312, -0.043330096, 0.33817932, -0.06679828, -0.23207302, -0.10188898, -0.10590511, 0.058780864, 0.047292337, -0.11834696, 0.10076128, -0.036641665, 0.30200714, -0.0002892557, -0.10303763) * go_0(1.0, 1.0);
|
|
result += mat4(-0.10842604, 0.042055763, 0.29702973, -0.07409644, -0.030164458, -0.012098744, -0.06396587, -0.08787527, 0.051854923, 0.12997511, 0.11468497, 0.15022379, 0.007814715, 0.014517445, 0.025484756, 0.01078619) * go_1(-1.0, -1.0);
|
|
result += mat4(-0.29229385, 0.040265664, -0.15376821, 0.075579196, -0.05593569, -0.045405343, 0.12099204, 0.1571252, 0.17841713, 0.04673325, 0.14550509, 0.08603346, -0.049786013, 0.06121843, -0.16273825, -0.13857752) * go_1(-1.0, 0.0);
|
|
result += mat4(0.06903744, 0.2628764, -0.13582836, -0.35678583, -0.13821034, -0.019381443, -0.19570538, -0.09298511, 0.08965436, 0.09745909, 0.20055099, 0.024967568, 0.08144204, 0.004633625, 0.12809834, -0.009431525) * go_1(-1.0, 1.0);
|
|
result += mat4(0.09784006, 0.010729353, 0.046643205, -0.110926524, -0.21556224, 0.00016300633, 0.122175336, 0.15004392, 0.013864355, 0.24767809, 0.13865592, 0.0155424485, -0.1450483, -0.15688781, -0.06195043, -0.13745981) * go_1(0.0, -1.0);
|
|
result += mat4(0.018991318, 0.55401963, 0.11709872, -0.028442185, -0.46035343, -0.10215539, -0.60193926, 0.47882316, -0.23346989, 0.037200127, 0.22814943, -0.08231696, -0.36430013, -0.011152757, 0.48752213, 0.29796222) * go_1(0.0, 0.0);
|
|
result += mat4(-0.07258066, -0.023222538, 0.23230423, -0.30317304, 0.03942911, -0.06899803, 0.23778579, 0.07418621, -0.17443737, 0.33387753, 0.007354842, -0.123447575, -0.1745315, 0.11071779, -0.11949625, -0.22832453) * go_1(0.0, 1.0);
|
|
result += mat4(-0.024909232, -0.0308135, 0.12170621, -0.13298757, 0.045828197, -0.1532345, -0.06633672, 0.23591088, 0.04964077, 0.14091493, 0.038343724, -0.029780807, 0.05762822, -0.048930667, -0.02434709, 0.07109019) * go_1(1.0, -1.0);
|
|
result += mat4(-0.16039175, 0.3004474, -0.17278233, 0.13677922, 0.18838613, 0.15054552, 0.32901475, -0.1288333, 0.26378244, -0.05119892, 0.34533516, 0.25180495, 0.19452183, 0.0843233, -0.08029368, 0.39877903) * go_1(1.0, 0.0);
|
|
result += mat4(-0.07097129, -0.26492423, -0.055032317, -0.093516104, -0.11795062, 0.04086253, -0.07989471, 0.059686553, 0.09378249, 0.45851848, 0.2510942, 0.19599153, 0.019765077, -0.02920918, -0.04125142, -0.13859107) * go_1(1.0, 1.0);
|
|
result += vec4(0.04400571, -0.04015565, 0.0140529545, 0.05474095);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v3.2-Upscale-CNN-x2-(M)-Conv-4x3x3x8
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_5_tf
|
|
//!SAVE conv2d_6_tf
|
|
//!WIDTH conv2d_5_tf.w
|
|
//!HEIGHT conv2d_5_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define go_0(x_off, y_off) (max((conv2d_5_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
#define go_1(x_off, y_off) (max(-(conv2d_5_tf_texOff(vec2(x_off, y_off))), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.014236042, -0.0031431736, -0.1551387, 0.12515116, -0.28528872, 0.36161992, 0.15750743, -0.17111474, 0.13792591, -0.0657419, -0.17471549, 0.14650472, 0.034169197, -0.019157575, 0.23520657, -0.20358163) * go_0(-1.0, -1.0);
|
|
result += mat4(0.02015035, 0.12993371, 0.11199667, -0.09854378, 0.5001741, 0.03462961, 0.24919736, 0.08505297, -0.20902094, -0.24141377, -0.15360375, 0.049974803, -0.037157424, -0.048510186, 0.20106035, -0.118480384) * go_0(-1.0, 0.0);
|
|
result += mat4(0.086798504, -0.009607818, 0.034812123, -0.005187592, 0.0351509, 0.021755, -0.04996161, -0.041231696, 0.0020545553, 0.015730752, -0.07507172, 0.018597523, -0.02393343, 0.07624775, 0.03892451, -0.0025574185) * go_0(-1.0, 1.0);
|
|
result += mat4(0.035725456, 0.06809103, 0.51926994, -0.39983147, -0.16402833, -0.1243394, -0.25922915, 0.28285915, 0.15959994, -0.2351732, 0.2650535, -0.30193794, -0.11468332, 0.050777763, -0.51894253, 0.4408367) * go_0(0.0, -1.0);
|
|
result += mat4(-0.27042082, 0.22243942, 0.14902467, 0.38428563, 0.46612173, 0.5169912, -0.22330502, -0.11300288, -0.36141354, 0.0668681, 0.2984152, 0.1275798, -0.24121419, 0.2952039, -0.45109174, -0.3822957) * go_0(0.0, 0.0);
|
|
result += mat4(0.26543504, -0.05742226, -0.052103903, -0.013124308, -0.14358385, -0.04024543, 0.07665455, -0.012301872, -0.18752757, -0.03913891, 0.038205814, -0.006583095, -0.25550908, -0.25725332, -0.12454206, -0.0058936924) * go_0(0.0, 1.0);
|
|
result += mat4(-0.0018946569, 0.019746022, -0.13080788, 0.11450627, -0.013743845, -0.027179785, -0.14425103, 0.07109661, 0.023703793, 0.086905524, 0.03151253, 0.0132474145, 0.041018624, 0.04548913, 0.2718715, -0.20008296) * go_0(1.0, -1.0);
|
|
result += mat4(-0.076830454, 0.11652955, 0.5068201, -0.3082819, 0.058615055, -0.006765798, -0.057522714, 0.049981344, -0.006897243, -0.21763432, 0.16896053, -0.21176189, -0.061227098, 0.03566485, 0.08901554, -0.050980624) * go_0(1.0, 0.0);
|
|
result += mat4(0.02327798, 0.07662976, 0.034811985, -0.03238033, -0.0021881019, -0.030997375, -0.069672935, 0.04040273, -0.1217442, 0.104173124, 0.09862539, 0.020557549, -0.022286594, 0.10287763, -0.021694934, 0.07542515) * go_0(1.0, 1.0);
|
|
result += mat4(0.124069154, -0.08579466, -0.07816314, 0.11332851, -0.034682628, -0.11038275, 0.04750615, -0.096100725, 0.039588403, -0.15149672, -0.05529172, 0.034304325, -0.022520235, -0.05023852, -0.2674731, 0.21886522) * go_1(-1.0, -1.0);
|
|
result += mat4(-0.1948599, -0.14946899, -0.39548838, 0.18042913, -0.007919619, 0.19826505, 0.23789087, 0.009140256, 0.11857748, 0.18215668, 0.13606293, -0.09209675, -0.080678545, -0.020431137, -0.07728839, -0.051353537) * go_1(-1.0, 0.0);
|
|
result += mat4(-0.07616472, -0.0032800382, -0.045657665, -0.039144326, -0.37786487, -0.08877774, 0.053579114, -0.070886396, 0.011311804, 0.107276045, 0.013236154, 0.009832061, 0.08292063, 0.12258811, 0.0005569043, -0.009806432) * go_1(-1.0, 1.0);
|
|
result += mat4(-0.28062925, 0.15946878, -0.1021801, -0.06471589, -0.26999477, 0.21230288, -0.14243907, 0.2555922, -0.09608517, 0.26339412, 0.20891234, -0.23538485, 0.33958244, -0.12569186, 0.43289876, -0.33462036) * go_1(0.0, -1.0);
|
|
result += mat4(0.16265294, 0.2625464, -0.34452894, 0.2233622, 0.13850005, -0.42999864, -0.5385177, -0.11035979, 0.51662, -0.78238726, -0.09422375, 0.83759475, 0.44468537, 0.14301361, 0.108906105, 1.1596143) * go_1(0.0, 0.0);
|
|
result += mat4(-0.73757625, -0.12369605, 0.23523071, 0.006587637, -0.15445381, 0.22757277, 0.052819528, 0.10183905, -0.07912228, -0.16998893, -0.13360223, 0.014348178, -0.17778571, -0.41047302, 0.10241381, -0.08526306) * go_1(0.0, 1.0);
|
|
result += mat4(0.14712952, 0.048995696, 0.05299946, -0.06817572, 0.1498064, -0.079825334, 0.40354064, -0.31789717, -0.1998377, 0.00955295, -0.32318407, 0.30898204, -0.039571725, -0.026203401, -0.16292085, 0.08574385) * go_1(1.0, -1.0);
|
|
result += mat4(-0.6353329, -0.56000775, -0.17279743, 0.18198174, -0.19555812, 0.056538377, 0.34365895, -0.07799055, 0.19011354, -0.13952748, 0.029196098, -0.19596763, -0.069196045, -0.17402656, 0.07948411, -0.016226962) * go_1(1.0, 0.0);
|
|
result += mat4(0.25592864, 0.083498634, -0.28515807, 0.10789751, 0.0043962947, 0.07085363, 0.048724182, -0.025131436, -0.0049440865, -0.033094388, -0.032935806, 0.04266025, 0.20026933, 0.0927841, -0.006839351, -0.013012285) * go_1(1.0, 1.0);
|
|
result += vec4(0.02021373, 0.0014037411, 0.0012718709, 0.017278494);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v3.2-Upscale-CNN-x2-(M)-Conv-4x1x1x56
|
|
//!HOOK MAIN
|
|
//!BIND conv2d_tf
|
|
//!BIND conv2d_1_tf
|
|
//!BIND conv2d_2_tf
|
|
//!BIND conv2d_3_tf
|
|
//!BIND conv2d_4_tf
|
|
//!BIND conv2d_5_tf
|
|
//!BIND conv2d_6_tf
|
|
//!SAVE conv2d_last_tf
|
|
//!WIDTH conv2d_tf.w
|
|
//!HEIGHT conv2d_tf.h
|
|
//!COMPONENTS 4
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
#define g_0 (max((conv2d_tf_tex(conv2d_tf_pos)), 0.0))
|
|
#define g_1 (max(-(conv2d_tf_tex(conv2d_tf_pos)), 0.0))
|
|
#define g_2 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_3 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
|
|
#define g_4 (max((conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
|
|
#define g_5 (max(-(conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
|
|
#define g_6 (max((conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
|
|
#define g_7 (max(-(conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
|
|
#define g_8 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_9 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
|
|
#define g_10 (max((conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
|
|
#define g_11 (max(-(conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
|
|
#define g_12 (max((conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
|
|
#define g_13 (max(-(conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
|
|
vec4 hook() {
|
|
vec4 result = mat4(-0.0067711817, 0.08160003, 0.0247279, 0.03084815, -0.026977416, -0.02120602, -0.025078611, -0.029852165, -0.011627478, -0.012742972, 0.022736797, -0.0028815821, -0.007515677, 0.0172887, -0.023259213, 0.009608947) * g_0;
|
|
result += mat4(-0.028660107, -0.014015208, -0.027838672, -0.013171922, 0.0029435428, 0.027047642, -0.017478354, 0.022834882, -0.037572853, -0.0034044068, -0.0149029335, -0.013362301, 0.009827443, -0.015742151, -0.0074795415, -0.0022266617) * g_1;
|
|
result += mat4(-0.07579662, -0.039754186, -0.066026606, -0.046816852, 0.1099032, 0.043956704, 0.073109835, 0.04680284, -0.06896613, -0.008838632, -0.044584926, -0.01319039, -0.0021152915, -0.04503326, 0.027061926, -0.028334105) * g_2;
|
|
result += mat4(0.15458213, 0.059769996, 0.09327123, -0.028782733, 0.023459995, -0.15390377, -0.13432898, -0.1127775, 0.072764635, -0.0020463336, 0.034736466, -0.0012086042, -0.05847183, -0.029952323, 0.052969377, 0.09590908) * g_3;
|
|
result += mat4(-0.07476772, -0.016574614, 0.04131183, 0.017335678, 0.009654406, 0.072183535, -0.002266456, 0.086873695, 9.310129e-05, 0.0056416965, -0.004188391, 0.023132093, -0.05183336, -0.025825873, -0.03684392, -0.0075729224) * g_4;
|
|
result += mat4(0.00878842, 0.03869637, -0.035759524, 0.003345386, -0.064184256, -0.034568302, -0.06672922, -0.0686381, -0.06794392, -0.10685906, 0.04679947, -0.012535639, 0.006932529, -0.007783515, 0.109123886, 0.13804391) * g_5;
|
|
result += mat4(-0.03160699, 0.050473, -0.09030729, 0.0649397, 0.11466501, 0.17912874, -0.0081851315, 0.052244574, 0.051632743, 0.061941486, 0.06546816, 0.12174249, -0.05104755, -0.018193979, -0.032196652, -0.035292786) * g_6;
|
|
result += mat4(0.013612735, -0.0024100312, -0.068611205, -0.07369285, -0.019647537, -0.066944756, -0.010012875, -0.06785739, -0.062246565, -0.087313406, -0.044278186, -0.09368995, 0.052555013, 0.13604961, 0.05645059, 0.08763303) * g_7;
|
|
result += mat4(0.04218486, -0.05028401, 0.059086576, -0.03545452, 0.027737848, 0.0043074046, 0.0011001764, -0.073026665, -0.04094988, 0.044061556, -0.009812515, 0.06841999, -0.06612581, 0.037223976, -0.07759491, -0.04356598) * g_8;
|
|
result += mat4(-0.027558247, 0.014248466, -0.019813016, -0.058107473, -0.016717663, -0.020424338, 0.0053625097, -0.009917319, 0.013678771, 0.0113340765, 0.0061787106, -0.036083996, -0.020179711, -0.011310535, 0.054827053, -0.0008278952) * g_9;
|
|
result += mat4(0.028690035, -0.012079616, 0.11931408, -0.048533775, 0.069336995, 0.0049852817, 0.013774468, 0.035233382, -0.07384821, 0.0003354423, -0.0059171803, -0.04503906, 0.08727279, 0.005138857, -0.17724465, 0.055782065) * g_10;
|
|
result += mat4(-0.20744391, 0.24348328, -0.3145766, 0.17026486, -0.022870807, -0.01648648, -0.05912279, -0.012555373, -0.066004686, 0.03182394, 0.16285324, -0.1221846, -0.31816196, 0.007928748, 0.43180224, -0.015949022) * g_11;
|
|
result += mat4(0.16363169, 0.14781676, -0.2377973, -0.1571377, -0.09038187, 0.0046504294, 0.033955004, -0.051421452, 0.046735536, 0.006827522, -0.121338, 0.12671822, 0.15833299, -0.1858712, -0.1942371, 0.17336044) * g_12;
|
|
result += mat4(-0.018145572, -0.015550516, 0.044410378, 0.046016492, 0.084021375, 0.05327457, -0.008270992, -0.045435544, 0.07185879, -0.131923, 0.26721445, -0.26745328, -0.07093472, 0.042701527, 0.13793674, -0.095621444) * g_13;
|
|
result += vec4(0.016836504, 0.010161949, 0.021351453, 0.01278978);
|
|
return result;
|
|
}
|
|
//!DESC Anime4K-v3.2-Upscale-CNN-x2-(M)-Depth-to-Space
|
|
//!HOOK MAIN
|
|
//!BIND MAIN
|
|
//!BIND conv2d_last_tf
|
|
//!SAVE MAIN
|
|
//!WIDTH conv2d_last_tf.w 2 *
|
|
//!HEIGHT conv2d_last_tf.h 2 *
|
|
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
|
|
vec4 hook() {
|
|
vec2 f0 = fract(conv2d_last_tf_pos * conv2d_last_tf_size);
|
|
ivec2 i0 = ivec2(f0 * vec2(2.0));
|
|
float c0 = conv2d_last_tf_tex((vec2(0.5) - f0) * conv2d_last_tf_pt + conv2d_last_tf_pos)[i0.y * 2 + i0.x];
|
|
float c1 = c0;
|
|
float c2 = c1;
|
|
float c3 = c2;
|
|
return vec4(c0, c1, c2, c3) + MAIN_tex(MAIN_pos);
|
|
}
|
|
|