mpv-conf/shaders/AiUpscale_Fast_Sharp_2x_Photo.glsl

739 lines
134 KiB
Text
Raw Permalink Normal View History

2021-12-03 20:50:08 +08:00
//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 1.400 > OUTPUT.h LUMA.h / 1.400 > *
//!WIDTH LUMA.w 2 *
//!HEIGHT LUMA.h 2 *
//!COMPONENTS 1
//!BIND LUMA
//!SAVE LANCZOS3
//!DESC (AU_F_S_2x_P) lanczos3
#define FIX(c) max(abs(c), 1e-5)
#define PI 3.141592653
vec3 weight3(float x)
{
vec3 s = FIX(2.0 * PI * vec3(x - 1.5, x - 0.5, x + 0.5));
return sin(s) * sin(s / 3.0) / (s * s);
}
float line_run(float ypos, vec3 xpos1, vec3 xpos2, vec3 linetaps1, vec3 linetaps2)
{
return float(LUMA_tex(vec2(xpos1.r, ypos))) * linetaps1.r + float(LUMA_tex(vec2(xpos1.g, ypos))) * linetaps2.r + float(LUMA_tex(vec2(xpos1.b, ypos))) * linetaps1.g + float(LUMA_tex(vec2(xpos2.r, ypos))) * linetaps2.g + float(LUMA_tex(vec2(xpos2.g, ypos))) * linetaps1.b + float(LUMA_tex(vec2(xpos2.b, ypos))) * linetaps2.b;
}
vec4 hook()
{
vec2 pos = LUMA_pos + LUMA_pt * 0.5;
vec2 f = fract(pos / LUMA_pt);
vec3 linetaps1 = weight3(0.5 - f.x * 0.5);
vec3 linetaps2 = weight3(1.0 - f.x * 0.5);
vec3 columntaps1 = weight3(0.5 - f.y * 0.5);
vec3 columntaps2 = weight3(1.0 - f.y * 0.5);
float suml = dot(linetaps1, vec3(1.0)) + dot(linetaps2, vec3(1.0));
float sumc = dot(columntaps1, vec3(1.0)) + dot(columntaps2, vec3(1.0));
linetaps1 /= suml;
linetaps2 /= suml;
columntaps1 /= sumc;
columntaps2 /= sumc;
vec2 xystart = (-2.5 - f) * LUMA_pt + pos;
vec3 xpos1 = vec3(xystart.x, xystart.x + LUMA_pt.x, xystart.x + LUMA_pt.x * 2.0);
vec3 xpos2 = vec3(xystart.x + LUMA_pt.x * 3.0, xystart.x + LUMA_pt.x * 4.0, xystart.x + LUMA_pt.x * 5.0);
return vec4(line_run(xystart.y, xpos1, xpos2, linetaps1, linetaps2) * columntaps1.r + line_run(xystart.y + LUMA_pt.y, xpos1, xpos2, linetaps1, linetaps2) * columntaps2.r + line_run(xystart.y + LUMA_pt.y * 2.0 , xpos1, xpos2, linetaps1, linetaps2) * columntaps1.g + line_run(xystart.y + LUMA_pt.y * 3.0 , xpos1, xpos2, linetaps1, linetaps2) * columntaps2.g + line_run(xystart.y + LUMA_pt.y * 4.0 , xpos1, xpos2, linetaps1, linetaps2) * columntaps1.b + line_run(xystart.y + LUMA_pt.y * 5.0 , xpos1, xpos2, linetaps1, linetaps2) * columntaps2.b, 0, 0, 0);
}
//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 1.400 > OUTPUT.h LUMA.h / 1.400 > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE1
//!DESC (AU_F_S_2x_P) feature map 1
vec4 hook()
{
vec4 res = vec4(0.006807778961957,-0.056942448019981,-0.001831822446547,0.328769594430923);
res += vec4(-0.025422209873796,0.022670151665807,-0.122872985899448,-0.008963299915195) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(0.057949349284172,-0.017626821994781,0.113957047462463,0.102470070123672) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(-0.060556858778000,-0.174536809325218,0.045302782207727,0.017079856246710) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(0.040615398436785,-0.037965182214975,-0.205244973301888,-0.013817826285958) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(-0.011475941166282,0.009840994141996,0.110698640346527,-0.008565336465836) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(0.044053815305233,0.024869211018085,-0.109454900026321,-0.058863017708063) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(-0.465712219476700,-0.092186644673347,0.123747602105141,0.055890418589115) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(0.440030664205551,0.572663903236389,0.281182557344437,-0.299845576286316) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(-0.056223195046186,-0.189829602837563,-0.340425997972488,-0.065014794468880) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(0.022349214181304,0.087612412869930,0.084654778242111,0.064949207007885) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(0.029119169339538,-0.219019785523415,0.082401432096958,0.043532840907574) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(-0.597850084304810,0.666895031929016,-0.380939930677414,-0.050788000226021) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(0.610205590724945,-0.710160613059998,-0.328278601169586,-0.716347336769104) * float(LUMA_texOff(vec2(0,0)));
res += vec4(-0.018071927130222,0.301287263631821,0.023444321006536,-0.194411098957062) * float(LUMA_texOff(vec2(0,1)));
res += vec4(-0.004095805343240,-0.084064833819866,-0.112480513751507,-0.075541332364082) * float(LUMA_texOff(vec2(0,2)));
res += vec4(-0.042429778724909,-0.027470925822854,-0.144170790910721,0.024017661809921) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(0.084120698273182,-0.033907294273376,0.289849489927292,-0.165310055017471) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(-0.065797701478004,-0.011544785462320,0.475868582725525,-0.438408464193344) * float(LUMA_texOff(vec2(1,0)));
res += vec4(0.032204493880272,0.295984685420990,-0.056632712483406,-0.224227994680405) * float(LUMA_texOff(vec2(1,1)));
res += vec4(-0.015224236994982,0.054646778851748,0.098777234554291,0.003941853996366) * float(LUMA_texOff(vec2(1,2)));
res += vec4(-0.006991355679929,0.015632420778275,-0.050406910479069,-0.006789896171540) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(-0.021369211375713,0.111235171556473,-0.080285981297493,0.055879469960928) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(0.003875914961100,-0.208125278353691,0.212194785475731,0.043406233191490) * float(LUMA_texOff(vec2(2,0)));
res += vec4(0.021782591938972,-0.099393635988235,-0.233775407075882,-0.015715297311544) * float(LUMA_texOff(vec2(2,1)));
res += vec4(0.000481020484585,0.006188648287207,0.024797614663839,0.078416831791401) * float(LUMA_texOff(vec2(2,2)));
res = max(res, vec4(0.0)) + vec4(-0.308613896369934,1.015417933464050,0.173395439982414,0.382581591606140) * min(res, vec4(0.0));
return res;
}
//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 1.400 > OUTPUT.h LUMA.h / 1.400 > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE2
//!DESC (AU_F_S_2x_P) feature map 2
vec4 hook()
{
vec4 res = vec4(0.196683481335640,-0.019405771046877,0.117507383227348,0.019119229167700);
res += vec4(-0.011419119313359,0.036565270274878,-0.040335960686207,-0.007847689092159) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(0.034654114395380,0.172454744577408,0.221320822834969,-0.042836260050535) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(-0.138423979282379,-0.138156443834305,0.368076622486115,0.104695588350296) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(0.076583363115788,-0.068957969546318,0.123628512024879,-0.040411282330751) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(0.013812910765409,-0.042849358171225,0.037459354847670,-0.008726092055440) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(0.037754353135824,-0.004929349757731,-0.071976721286774,0.089153707027435) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(-0.000118619631394,-0.274966835975647,0.289048522710800,0.218878403306007) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(0.457293570041656,-0.114689439535141,-0.076683320105076,-0.418819367885590) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(0.003984856419265,-0.017042126506567,-0.072359539568424,0.220770522952080) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(-0.031844820827246,0.083282068371773,0.001355867949314,-0.039285231381655) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(-0.075959876179695,-0.049802709370852,-0.044658437371254,0.061737950891256) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(-0.008940373547375,0.622183561325073,0.153079330921173,0.473972588777542) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(-1.173713564872742,0.094085030257702,-0.417733758687973,-1.062012910842896) * float(LUMA_texOff(vec2(0,0)));
res += vec4(-0.088662639260292,-0.508009433746338,-0.141177564859390,0.003486592322588) * float(LUMA_texOff(vec2(0,1)));
res += vec4(0.012289601378143,-0.064281441271305,-0.217645838856697,-0.010087289847434) * float(LUMA_texOff(vec2(0,2)));
res += vec4(0.082978516817093,0.070561610162258,0.032886508852243,-0.063783273100853) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(0.031954776495695,-0.174285531044006,-0.048624552786350,0.108740113675594) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(-0.255621492862701,0.502937078475952,-0.239399656653404,0.251022726297379) * float(LUMA_texOff(vec2(1,0)));
res += vec4(0.029745854437351,-0.118326045572758,-0.082348711788654,0.000201498100068) * float(LUMA_texOff(vec2(1,1)));
res += vec4(0.070098198950291,0.189180746674538,0.058023381978273,-0.046270959079266) * float(LUMA_texOff(vec2(1,2)));
res += vec4(-0.048189081251621,0.038530953228474,-0.004189949017018,0.046856980770826) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(0.018170224502683,0.019325504079461,-0.043300457298756,-0.034347910434008) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(0.001962539972737,-0.069093264639378,0.053310774266720,-0.009034556336701) * float(LUMA_texOff(vec2(2,0)));
res += vec4(0.045284628868103,-0.060248740017414,0.027190778404474,-0.017622511833906) * float(LUMA_texOff(vec2(2,1)));
res += vec4(-0.040497779846191,-0.023511851206422,0.001641933224164,0.039581730961800) * float(LUMA_texOff(vec2(2,2)));
res = max(res, vec4(0.0)) + vec4(0.237177252769470,0.956748425960541,0.925689578056335,-0.178699150681496) * min(res, vec4(0.0));
return res;
}
//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 1.400 > OUTPUT.h LUMA.h / 1.400 > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE3
//!DESC (AU_F_S_2x_P) feature map 3
vec4 hook()
{
vec4 res = vec4(0.048069998621941,0.045956298708916,0.073306314647198,0.479518800973892);
res += vec4(-0.023922944441438,-0.039256017655134,0.037209481000900,-0.029914811253548) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(-0.025613619014621,0.199228510260582,-0.069875143468380,0.059644520282745) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(0.110100269317627,-0.192814782261848,0.217323094606400,-0.071914941072464) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(0.159636527299881,0.015602083876729,-0.119876191020012,0.022660912945867) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(-0.055516641587019,-0.011462230235338,0.030292812734842,0.011264060623944) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(0.148728594183922,-0.015631152316928,0.147342443466187,0.015327163040638) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(0.143672063946724,-0.294383227825165,-0.113418921828270,0.030658686533570) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(0.157949700951576,0.486794412136078,0.546726047992706,0.048071984201670) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(-0.615071594715118,-0.272269248962402,0.237075954675674,0.035516075789928) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(0.074296928942204,0.123716302216053,0.017654329538345,0.026522902771831) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(-0.211858689785004,0.129049658775330,-0.082927495241165,-0.027564726769924) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(-0.084789119660854,-0.320097416639328,-0.220644474029541,-0.171301826834679) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(-0.496866852045059,0.216102868318558,-0.696738183498383,-1.184619665145874) * float(LUMA_texOff(vec2(0,0)));
res += vec4(0.614726483821869,-0.418200820684433,-0.041004601866007,0.151498898863792) * float(LUMA_texOff(vec2(0,1)));
res += vec4(-0.061182584613562,0.365494668483734,-0.089975170791149,-0.055688735097647) * float(LUMA_texOff(vec2(0,2)));
res += vec4(0.075959704816341,-0.036902058869600,-0.053184077143669,0.005445741582662) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(-0.073628552258015,0.044994197785854,0.208024203777313,0.055466067045927) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(0.499846577644348,-0.036909852176905,0.040696978569031,-0.002698349067941) * float(LUMA_texOff(vec2(1,0)));
res += vec4(-0.252654761075974,-0.015926396474242,-0.049315091222525,0.101807452738285) * float(LUMA_texOff(vec2(1,1)));
res += vec4(0.027200106531382,0.060280147939920,0.042909029871225,-0.046409703791142) * float(LUMA_texOff(vec2(1,2)));
res += vec4(-0.026013653725386,0.037564378231764,0.009600481949747,0.015307537280023) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(0.010608936659992,-0.072053410112858,0.011035682633519,-0.010873967781663) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(-0.156001523137093,0.000714875699487,0.047741994261742,0.031396444886923) * float(LUMA_texOff(vec2(2,0)));
res += vec4(0.172256648540497,-0.011737566441298,-0.062235433608294,-0.035044655203819) * float(LUMA_texOff(vec2(2,1)));
res += vec4(-0.083351582288742,0.042558524757624,0.014905286021531,0.024538563564420) * float(LUMA_texOff(vec2(2,2)));
res = max(res, vec4(0.0)) + vec4(0.776118874549866,0.276575744152069,0.596931159496307,0.124651946127415) * min(res, vec4(0.0));
return res;
}
//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 1.400 > OUTPUT.h LUMA.h / 1.400 > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!SAVE MODEL1
//!DESC (AU_F_S_2x_P) mapping 1_1
vec4 hook()
{
vec4 res = vec4(-0.190370142459869,0.019951663911343,-0.070996411144733,0.036828309297562);
res += mat4(-0.021238211542368,0.121843859553337,-0.134648680686951,0.135574489831924,0.017460489645600,0.320927858352661,0.040916047990322,0.063192680478096,-0.055178534239531,-0.216911807656288,-0.078928537666798,-0.161250606179237,-0.211676865816116,0.028693633154035,0.088217198848724,0.231598228216171) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(-0.142294988036156,0.066891334950924,0.046880465000868,-0.078839845955372,-0.236427798867226,-0.073559746146202,-0.054119579493999,0.124301917850971,0.029880845919251,0.042049512267113,0.177186295390129,-0.055748164653778,-0.154029771685600,-0.015528036281466,0.039967589080334,-0.057935979217291) * FEATURE1_texOff(vec2(-1,0));
res += mat4(-0.170619711279869,0.068337544798851,0.083983711898327,0.136478319764137,0.043978337198496,0.058669582009315,-0.108145572245121,0.018747868016362,0.106626994907856,0.054654512554407,0.012397940270603,-0.011193299666047,-0.053086403757334,0.062013547867537,-0.033935382962227,0.057119179517031) * FEATURE1_texOff(vec2(-1,1));
res += mat4(-0.000410466978792,-0.607796728610992,-0.102471791207790,-0.305485397577286,0.113190278410912,0.667532086372375,-0.228736758232117,0.572066009044647,0.029576145112514,-0.235246688127518,0.198514491319656,0.038408741354942,-0.123514525592327,0.115644715726376,-0.212526008486748,0.382126748561859) * FEATURE1_texOff(vec2(0,-1));
res += mat4(-0.236675247550011,0.088601134717464,-0.173983246088028,0.048676364123821,-0.332542896270752,-0.382426023483276,0.210610046982765,-0.140001833438873,-0.156349316239357,0.027301112189889,-0.155084803700447,0.113993778824806,-0.351273626089096,-0.085066318511963,0.078588813543320,0.054872106760740) * FEATURE1_texOff(vec2(0,0));
res += mat4(-0.335017293691635,0.157828256487846,0.199402987957001,0.227262437343597,0.403290718793869,-0.139839053153992,-0.263341277837753,0.117136225104332,0.048691961914301,0.058017536997795,-0.062858298420906,-0.001563645550050,-0.096214368939400,0.031046768650413,-0.113736502826214,-0.005615182686597) * FEATURE1_texOff(vec2(0,1));
res += mat4(-0.108090549707413,0.240618839859962,-0.058029245585203,-0.063307985663414,-0.027460487559438,-0.225656762719154,0.133412629365921,-0.341827839612961,-0.088706262409687,-0.068842358887196,-0.280986040830612,-0.257540136575699,-0.134427770972252,-0.192475840449333,-0.039835713803768,0.040863841772079) * FEATURE1_texOff(vec2(1,-1));
res += mat4(-0.292645096778870,0.120916806161404,-0.208389922976494,0.051067631691694,0.177240535616875,0.119235366582870,-0.091441377997398,0.104954332113266,-0.075622037053108,-0.052116040140390,-0.283730387687683,-0.153515711426735,-0.141891285777092,0.036007255315781,-0.098594129085541,-0.182541504502296) * FEATURE1_texOff(vec2(1,0));
res += mat4(-0.398550093173981,0.102948792278767,0.138868242502213,0.116227641701698,-0.011985098943114,0.034781087189913,0.148301124572754,-0.051101062446833,-0.016696158796549,0.067587710916996,-0.041423805058002,0.097096219658852,-0.101910412311554,0.101371444761753,0.041744541376829,0.076407179236412) * FEATURE1_texOff(vec2(1,1));
res += mat4(0.154844865202904,0.101238355040550,-0.000834772305097,0.640130162239075,-0.114709839224815,0.198404043912888,0.147495925426483,-0.210708528757095,-0.083281487226486,0.040539845824242,-0.166985809803009,0.052160155028105,-0.066164530813694,-0.004563992377371,0.112922504544258,-0.145826235413551) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(-0.176645770668983,-0.104862719774246,-0.106275513768196,-0.167055234313011,0.265384912490845,0.069885589182377,0.178374305367470,0.212277024984360,-0.095679461956024,0.121362015604973,-0.234922736883163,0.065702632069588,-0.000632589508314,0.079505681991577,0.216798901557922,-0.289594113826752) * FEATURE2_texOff(vec2(-1,0));
res += mat4(0.078788958489895,-0.112435646355152,-0.019459867849946,-0.245245784521103,-0.027279857546091,0.048290472477674,0.072608001530170,-0.003289384068921,0.046312566846609,-0.006850028410554,0.140444606542587,0.015466221608222,0.049046393483877,0.011441593058407,0.086772859096527,-0.277381032705307) * FEATURE2_texOff(vec2(-1,1));
res += mat4(0.010828210972250,-0.017996212467551,-0.211058124899864,0.439985632896423,-0.412357419729233,0.539651632308960,-0.373953759670258,-0.024174246937037,-0.074629835784435,0.283397316932678,0.006308185402304,-0.012474929913878,0.113619305193424,-0.667746424674988,0.273384183645248,0.154372945427895) * FEATURE2_texOff(vec2(0,-1));
res += mat4(-0.117360994219780,0.030531942844391,0.020596899092197,-0.242864772677422,0.354763805866241,-0.244228810071945,0.470409750938416,-0.238225862383842,-0.347163766622543,-0.243152022361755,-0.005409732926637,-0.254477411508560,0.163943275809288,0.093632057309151,-0.135099396109581,-0.569691240787506) * FEATURE2_texOff(vec2(0,0));
res += mat4(-0.088596262037754,0.015884255990386,-0.034489423036575,-0.049253892153502,0.215132459998131,-0.038041558116674,-0.263706088066101,0.064556285738945,0.484346479177475,0.133182123303413,0.045518487691879,0.086851783096790,0.100168451666832,-0.091956138610840,0.028375282883644,-0.256947606801987) * FEATURE2_texOff(vec2(0,1));
res += mat4(0.078626915812492,-0.057377588003874,0.026230189949274,-0.218167021870613,-0.037410039454699,0.098844982683659,-0.183026507496834,0.027715949341655,0.005276101175696,0.135436803102493,0.003306762082502,0.034661404788494,0.042415145784616,-0.058026783168316,-0.072801433503628,-0.045852988958359) * FEATURE2_texOff(vec2(1,-1));
res += mat4(0.033899210393429,0.062027361243963,-0.281795889139175,-0.122053615748882,-0.244517639279366,-0.127626165747643,-0.124489784240723,0.276642262935638,0.089098051190376,-0.356841772794724,0.149667814373970,-0.112273104488850,0.091747865080833,0.180301651358604,-0.136215820908546,-0.440532267093658) * FEATURE2_texOff(vec2(1,0));
res += mat4(0.107971787452698,0.122098222374916,-0.086737193167210,-0.218289718031883,0.042337480932474,-0.122991494834423,0.000244806316914,0.031218649819493,0.013866342604160,0.043111089617014,0.163963109254837,0.036349873989820,0.179952353239059,0.083225965499878,-0.121795006096363,-0.299524784088135) * FEATURE2_texOff(vec2(1,1));
res += mat4(0.102581761777401,-0.182066485285759,0.114773578941822,-0.235138878226280,-0.011755425482988,-0.070845082402229,0.061711777001619,0.132226601243019,0.020122945308685,0.109719231724739,0.036970656365156,0.093414783477783,-0.093333289027214,0.186026617884636,0.077582679688931,0.255300045013428) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(0.260351777076721,-0.084076829254627,0.183784589171410,-0.098432026803493,0.049260642379522,0.129245787858963,0.029720783233643,-0.097889050841331,0.372411340475082,-0.192975416779518,0.388736218214035,-0.172706142067909,-0.093680299818516,-0.111534468829632,0.008409430272877,-0.336610347032547) * FEATURE3_texOff(vec2(-1,0));
res += mat4(0.054262798279524,0.007297941949219,0.229836732149124,0.105603791773319,0.055802833288908,-0.049431398510933,-0.032105341553688,-0.051089085638523,-0.122460417449474,-0.058440480381250,0.105310387909412,0.074248202145100,0.161274880170822,-0.037619687616825,0.034028016030788,-0.004143660888076) * FEATURE3_texOff(vec2(-1,1));
res += mat4(0.237764194607735,0.094625458121300,-0.516048312187195,0.313273400068283,-0.023155128583312,-0.473755687475204,0.012322343885899,0.023858489468694,-0.174986183643341,-0.111656360328197,-0.197558283805847,0.193968519568443,0.066204421222210,0.218361064791679,0.128277942538261,0.482211738824844) * FEATURE3_texOff(vec2(0,-1));
res += mat4(-0.518478155136108,-0.169154226779938,-0.147144958376884,0.009722551330924,0.261712223291397,0.165382310748100,-0.201878607273102,0.203540176153183,-0.382510334253311,0.070126935839653,-0.114102967083454,0.078481338918209,0.130026504397392,-0.124254152178764,0.178265139460564,-0.520838201045990) * FEATURE3_texOff(vec2(0,0));
res += mat4(0.054571464657784,-0.043170385062695,-0.073604501783848,-0.027540724724531,-0.299439787864685,-0.066509418189526,0.461398273706436,-0.020729789510369,-0.144747540354729,0.029507670551538,-0.151501759886742,0.025445843115449,0.082879096269608,-0.024527614936233,-0.133350864052773,-0.016553366556764) * FEATURE3_texOff(vec2(0,1));
res += mat4(0.027158217504621,0.076918125152588,0.197414681315422,0.082235842943192,0.114341348409653,-0.116688191890717,-0.100198470056057,0.080541849136353,-0.029890397563577,-0.109068013727665,-0.096836797893047,-0.150738224387169,0.015434471890330,0.003542624879628,0.015448279678822,-0.092530764639378) * FEATURE3_texOff(vec2(1,-1));
res += mat4(0.106649011373520,0.158836677670479,0.040980596095324,-0.070744954049587,0.111694417893887,0.083595439791679,-0.172998711466789,-0.032159876078367,0.325781017541885,0.184353783726692,-0.187314346432686,-0.122278653085232,0.045332841575146,-0.017041362822056,-0.324368298053741,0.060589935630560) * FEATURE3_texOff(vec2(1,0));
res += mat4(-0.032702866941690,-0.114315263926983,0.028943939134479,-0.075535960495472,-0.038117483258247,0.095169462263584,-0.014521745964885,0.009799062274396,0.175024658441544,-0.014860628172755,-0.087873794138432,-0.073474630713463,0.037135679274797,-0.042600415647030,-0.113676957786083,0.136288300156593) * FEATURE3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.872481107711792,-0.213714107871056,0.737118661403656,-0.015959633514285) * min(res, vec4(0.0));
return res;
}
//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 1.400 > OUTPUT.h LUMA.h / 1.400 > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!SAVE MODEL2
//!DESC (AU_F_S_2x_P) mapping 1_2
vec4 hook()
{
vec4 res = vec4(-0.137908771634102,0.007827184163034,0.046035345643759,-0.712361037731171);
res += mat4(-0.084424264729023,0.132734835147858,0.026614980772138,-0.071959070861340,-0.080709442496300,-0.138127833604813,0.027926621958613,0.148709580302238,0.110370174050331,0.051648095250130,0.052498210221529,-0.005709304008633,-0.057342510670424,0.152396976947784,-0.035296402871609,-0.191226020455360) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(0.050195828080177,-0.242040634155273,0.020271111279726,-0.025202203541994,0.151097252964973,0.119032762944698,-0.047325477004051,-0.024611987173557,0.290939420461655,0.183664411306381,0.010580518282950,0.125908225774765,0.013458272442222,0.036402214318514,0.143209606409073,-0.292621672153473) * FEATURE1_texOff(vec2(-1,0));
res += mat4(0.099430970847607,-0.276110291481018,-0.093778640031815,0.002314482349902,0.091698065400124,0.078341320157051,-0.004273181315511,-0.089689992368221,0.043461900204420,0.024666206911206,0.084764041006565,0.180212914943695,-0.072218574583530,0.196434900164604,0.007621068973094,-0.260444849729538) * FEATURE1_texOff(vec2(-1,1));
res += mat4(-0.031930189579725,0.030763586983085,-0.045998264104128,0.119391597807407,0.339041382074356,-0.140574961900711,0.057599622756243,0.116221457719803,-0.153179869055748,0.237435147166252,0.056598696857691,-0.103263527154922,-0.098211519420147,-0.032613940536976,0.054100614041090,-0.242837995290756) * FEATURE1_texOff(vec2(0,-1));
res += mat4(-0.050610221922398,0.134785264730453,-0.056194089353085,0.151687145233154,-0.768778085708618,0.007622419856489,0.328532397747040,-0.411681443452835,0.058988094329834,0.119708873331547,0.063231281936169,-0.066286899149418,-0.119050540030003,-0.098995923995972,0.073381461203098,-0.098895631730556) * FEATURE1_texOff(vec2(0,0));
res += mat4(0.014000440016389,-0.369572132825851,0.126113399863243,-0.705789268016815,-0.012605208903551,0.285140037536621,-0.144452407956123,0.134298726916313,-0.055946327745914,0.109421126544476,-0.058960448950529,-0.108430147171021,-0.013224788010120,0.190153807401657,0.166094392538071,-0.224719747900963) * FEATURE1_texOff(vec2(0,1));
res += mat4(0.115162037312984,0.055826582014561,0.048307985067368,0.008438987657428,0.295471966266632,0.250587433576584,0.035414490848780,-0.112114585936069,0.059662379324436,0.173557683825493,-0.075251661241055,-0.152645602822304,-0.106134928762913,0.199785903096199,-0.096325069665909,-0.130989596247673) * FEATURE1_texOff(vec2(1,-1));
res += mat4(0.027611810714006,-0.084237329661846,0.155432209372520,-0.138243496417999,0.189582154154778,-0.208061859011650,-0.227864965796471,0.199730262160301,-0.003553562797606,-0.094301491975784,-0.071799792349339,0.220678254961967,-0.030792292207479,-0.053198266774416,-0.044772244989872,-0.010532935149968) * FEATURE1_texOff(vec2(1,0));
res += mat4(0.250241547822952,-0.392952978610992,-0.099096961319447,-0.559060752391815,-0.004019107669592,-0.056860607117414,0.067075684666634,-0.006345211062580,0.027142532169819,0.076320305466652,-0.103994823992252,0.257470518350601,0.117060385644436,0.027227384969592,-0.146148115396500,-0.086900509893894) * FEATURE1_texOff(vec2(1,1));
res += mat4(-0.095079161226749,-0.132207676768303,-0.090529568493366,-0.025144241750240,-0.093562155961990,0.273963093757629,0.136011287570000,-0.052301935851574,0.075651697814465,0.020220041275024,-0.027577288448811,0.032588236033916,0.173155948519707,0.126072451472282,-0.002894298406318,0.118070602416992) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(0.190932109951973,-0.239751771092415,0.123810306191444,-0.054427105933428,0.483871340751648,-0.307271778583527,-0.228035017848015,0.298116862773895,-0.195383414626122,-0.048621471971273,0.103100046515465,-0.178825154900551,0.115842565894127,0.124259509146214,-0.128505319356918,0.133446827530861) * FEATURE2_texOff(vec2(-1,0));
res += mat4(0.077830448746681,0.282262235879898,0.014931602403522,-0.209814265370369,-0.021537737920880,-0.063755616545677,0.016794737428427,-0.074669323861599,0.027983877807856,-0.109639413654804,-0.041684947907925,0.076139658689499,-0.050836462527514,0.018564103171229,0.049512837082148,0.317807018756866) * FEATURE2_texOff(vec2(-1,1));
res += mat4(0.147741779685020,-0.163315206766129,-0.074286863207817,-0.311491698026657,-0.129753336310387,0.190718919038773,0.016679041087627,-0.399646133184433,-0.032878585159779,0.236790150403976,-0.047980364412069,-0.075276963412762,0.015097983181477,0.071665033698082,0.060761161148548,0.035526644438505) * FEATURE2_texOff(vec2(0,-1));
res += mat4(-0.088792055845261,-0.126746267080307,0.156877905130386,-0.327132761478424,-0.343403249979019,-0.328688919544220,0.330916285514832,-0.012382204644382,-0.233905106782913,0.099070116877556,-0.166776761412621,-0.284177899360657,-0.056825604289770,-0.111536413431168,-0.237695008516312,0.033798463642597) * FEATURE2_texOff(vec2(0,0));
res += mat4(0.056117329746485,0.049917608499527,0.023865677416325,0.056258082389832,0.250786632299423,0.102891653776169,-0.132400721311569,0.262180656194687,0.060447618365288,-0.138001471757889,0.161121368408203,0.056802041828632,0.039198886603117,0.281313925981522,0.048626426607370,0.106792189180851) * FEATURE2_texOff(vec2(0,1));
res += mat4(-0.011150595732033,0.020111566409469,0.125030413269997,0.130948096513748,0.004895143210888,0.179110854864120,-0.055023401975632,0.058827251195908,0.100494459271431,0.023407211527228,-0.042311817407608,-0.079903088510036,-0.131731852889061,-0.123525857925415,-0.047382686287165,0.205790758132935) * FEATURE2_texOff(vec2(1,-1));
res += mat4(0.366534024477005,0.217407643795013,-0.440736830234528,0.293760597705841,-0.145089998841286,-0.111766554415226,-0.063237793743610,-0.042046766728163,-0.126315400004387,0.050099123269320,-0.221949055790901,-0.014833594672382,-0.012652884237468,-0.121445119380951,0.255593419075012,0.040369585156441) * FEATURE2_texOff(vec2(1,0));
res += mat4(0.024673406034708,-0.148169487714767,-0.086523018777370,0.131746098399162,-0.179084971547127,-0.105754435062408,0.234321355819702,-0.101433783769608,-0.024378357455134,0.165151521563530,-0.177188441157341,0.162475943565369,0.011041918769479,-0.008098791353405,-0.094845928251743,0.207324713468552) * FEATURE2_texOff(vec2(1,1));
res += mat4(-0.250413358211517,-0.362253695726395,0.077693641185760,0.046502266079187,-0.047259651124477,0.104685589671135,-0.028734227642417,-0.083055138587952,0.342012673616409,-0.046030074357986,0.033033404499292,-0.015158365480602,-0.102819293737411,0.167179837822914,0.061543807387352,-0.249418333172798) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(0.078271619975567,0.261712849140167,0.102130889892578,0.244150236248970,0.083107940852642,-0.025954270735383,0.037316307425499,-0.091580167412758,-0.055195912718773,0.064543105661869,-0.090352527797222,0.299980252981186,0.308854222297668,0.483565837144852,-0.132270157337189,-0.314352750778198) * FEATURE3_texOff(vec2(-1,0));
res += mat4(0.091298460960388,-0.054455108940601,-0.041841547936201,-0.123745925724506,-0.059518728405237,-0.158551156520844,0.020708326250315,-0.053638841956854,0.120692625641823,0.164463207125664,-0.063837826251984,0.179211229085922,0.011283692903817,0.199901595711708,-0.193314626812935,-0.204719930887222) * FEATURE3_texOff(vec2(-1,1));
res += mat4(0.241358727216721,0.014093476347625,-0.239068895578384,0.085663065314293,0.213674321770668,-0.050691910088062,-0.033463533967733,-0.075005106627941,0.157490566372871,-0.037137955427170,0.239594787359238,-0.150394737720490,-0.151990905404091,-0.013631146401167,-0.087566487491131,-0.149144589900970) * FEATURE3_texOff(vec2(0,-1));
res += mat4(0.032756973057985,-0.346428453922272,0.121350541710854,-0.229278489947319,-0.278165191411972,0.187736779451370,-0.001457994454540,0.189461559057236,-0.174811407923698,0.111986771225929,0.353901833295822,-0.397006958723068,0.021261394023895,-0.480611830949783,-0.084453158080578,-0.611665189266205) * FEATURE3_texOff(vec2(0,0));
res += mat4(0.102329246699810,-0.042051330208778,0.155784949660301,0.038710575550795,0.042103197425604,-0.252739667892456,-0.037634074687958,-0.079969488084316,-0.080082409083843,-0.011456821113825,0.303127348423004,-0.164486423134804,-0.085276216268539,-0.146425619721413,0.076122075319290,-0.082266129553318) * FEATURE3_texOff(vec2(0,1));
res += mat4(-0.198714047670364,0.004349012859166,0.361494630575180,-0.144273012876511,0.074225895106792,0.011494964361191,0.051070999354124,0.030376683920622,0.240683779120445,-0.070410773158073,-0.099528767168522,0.029877984896302,0.003081705188379,-0.082879252731800,0.058323524892330,0.127788096666336) * FEATURE3_texOff(vec2(1,-1));
res += mat4(0.076511569321156,0.536153614521027,-0.124904766678810,0.018106563016772,0.113342337310314,0.452975749969482,0.008368061855435,0.230531528592110,0.221340924501419,0.115724533796310,-0.627889931201935,0.072224020957947,-0.021181616932154,-0.001237833523192,0.297854363918304,-0.089143045246601) * FEATURE3_texOff(vec2(1,0));
res += mat4(-0.109761573374271,-0.233041375875473,-0.296110630035400,-0.048678833991289,0.096579439938068,0.049575306475163,-0.072189286351204,-0.026420837268233,-0.124023064970970,0.018802439793944,-0.204829975962639,-0.218375414609909,-0.012001533061266,-0.168815061450005,0.146538898348808,-0.013779427856207) * FEATURE3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(1.086038708686829,0.519634842872620,-0.634235680103302,-0.053105168044567) * min(res, vec4(0.0));
return res;
}
//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 1.400 > OUTPUT.h LUMA.h / 1.400 > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!SAVE MODEL3
//!DESC (AU_F_S_2x_P) mapping 1_3
vec4 hook()
{
vec4 res = vec4(-0.098221898078918,0.009381215088069,-0.131157025694847,0.119431547820568);
res += mat4(0.048480316996574,0.114481091499329,-0.018345626071095,0.082003124058247,-0.137827754020691,-0.013579186052084,-0.093636982142925,-0.078447535634041,-0.034067906439304,0.076302185654640,0.194290995597839,-0.178617715835571,-0.029270447790623,0.064038001000881,0.060331273823977,0.057557869702578) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(0.089510753750801,0.219299346208572,-0.311615854501724,-0.012734137475491,0.352245002985001,-0.124302253127098,0.010963173583150,-0.124960377812386,0.085471175611019,0.047882147133350,-0.148337483406067,-0.164460211992264,0.073212511837482,0.244987413287163,-0.147191762924194,0.057734917849302) * FEATURE1_texOff(vec2(-1,0));
res += mat4(-0.029648730531335,0.306814700365067,0.102217495441437,-0.091561079025269,0.034093383699656,-0.132489845156670,0.018583768978715,0.048858694732189,-0.015067169442773,-0.140346869826317,-0.086601950228214,-0.154326096177101,-0.094614572823048,0.036615695804358,-0.134774222970009,0.068777963519096) * FEATURE1_texOff(vec2(-1,1));
res += mat4(-0.104449860751629,-0.010151112452149,0.030927771702409,-0.012001625262201,-0.018254010006785,0.310440480709076,-0.058610789477825,-0.324778944253922,-0.003116251435131,0.078273199498653,-0.042315077036619,0.125130966305733,0.014199499972165,0.303706377744675,0.071171358227730,-0.084990948438644) * FEATURE1_texOff(vec2(0,-1));
res += mat4(-0.075128845870495,-0.148786976933479,-0.195127055048943,-0.265502303838730,-0.241721034049988,0.169398605823517,0.258244305849075,0.357139647006989,-0.026660496369004,0.070607244968414,-0.192514106631279,0.296498298645020,-0.117050401866436,0.898059666156769,0.159761458635330,0.433594107627869) * FEATURE1_texOff(vec2(0,0));
res += mat4(-0.016191111877561,-0.091999888420105,-0.095782510936260,-0.032872658222914,0.080831810832024,-0.267823368310928,0.384949654340744,-0.099919542670250,-0.037441365420818,0.159132912755013,0.549466967582703,0.041820731014013,0.054713826626539,-0.052543897181749,0.113997578620911,-0.024710206314921) * FEATURE1_texOff(vec2(0,1));
res += mat4(-0.002134555717930,0.014327779412270,0.016363842412829,-0.173190876841545,0.061981897801161,-0.166722446680069,-0.081841468811035,0.182179480791092,0.065775245428085,0.203358799219131,0.155644029378891,0.047799270600080,-0.048065006732941,0.112648598849773,0.174909085035324,-0.066001869738102) * FEATURE1_texOff(vec2(1,-1));
res += mat4(-0.048988305032253,-0.144247978925705,-0.087903372943401,-0.133783087134361,0.133291453123093,-0.272683590650558,-0.201790675520897,-0.036822672933340,0.083655416965485,0.376551389694214,-0.062531135976315,-0.029675425961614,-0.048093345016241,0.272696375846863,0.315430581569672,0.187079921364784) * FEATURE1_texOff(vec2(1,0));
res += mat4(-0.045880679041147,0.061520036309958,-0.239618137478828,-0.149423733353615,-0.091004416346550,-0.089143693447113,-0.082947030663490,-0.028911396861076,0.005498218350112,0.062941975891590,0.079801104962826,0.068143583834171,-0.036815159022808,-0.074987307190895,-0.181989535689354,-0.098375983536243) * FEATURE1_texOff(vec2(1,1));
res += mat4(-0.108270563185215,-0.020604396238923,-0.129438266158104,-0.119061082601547,-0.011035067960620,0.130475670099258,-0.035503387451172,0.097123563289642,0.033424701541662,-0.003479147097096,0.019559534266591,0.000482925155666,-0.015298982150853,-0.059573851525784,-0.023093357682228,-0.038707226514816) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(0.392179697751999,0.210603669285774,0.069013029336929,0.066071659326553,-0.077594950795174,-0.203405678272247,-0.091607891023159,-0.239090710878372,0.032502815127373,0.114152118563652,-0.017344009131193,0.054478641599417,-0.010956696234643,-0.183063209056854,0.125977039337158,-0.174436509609222) * FEATURE2_texOff(vec2(-1,0));
res += mat4(-0.011453296057880,0.012791001237929,-0.054861750453711,0.078178621828556,-0.112804904580116,0.148621112108231,-0.278507739305496,0.152256757020950,0.032714486122131,-0.066940717399120,-0.021470457315445,0.011455623432994,-0.082716912031174,-0.232252493500710,-0.016871226951480,-0.087403014302254) * FEATURE2_texOff(vec2(-1,1));
res += mat4(-0.046353861689568,-0.031319327652454,-0.109694212675095,-0.328885674476624,-0.120255678892136,0.201627746224403,0.105567380785942,0.244767606258392,0.149010553956032,-0.024160185828805,0.036582335829735,0.134272754192352,0.060820166021585,0.224379375576973,0.020249687135220,-0.064175203442574) * FEATURE2_texOff(vec2(0,-1));
res += mat4(-0.407586544752121,0.740072786808014,0.498910129070282,0.522560834884644,0.045138128101826,-0.035476908087730,0.134876534342766,0.029651932418346,0.373154282569885,0.144406646490097,-0.019040744751692,0.118455544114113,-0.024159744381905,0.127548173069954,-0.051216233521700,0.269914835691452) * FEATURE2_texOff(vec2(0,0));
res += mat4(-0.053430411964655,-0.237018764019012,0.514124989509583,-0.058703869581223,0.131081461906433,-0.275153905153275,-0.382668852806091,-0.287732392549515,-0.053214341402054,-0.168442249298096,-0.157276302576065,0.024522218853235,0.015633773058653,-0.580056130886078,0.001500401995145,-0.263584941625595) * FEATURE2_texOff(vec2(0,1));
res += mat4(-0.064741887152195,-0.289798676967621,-0.062858395278454,-0.063502803444862,0.019197158515453,-0.082537077367306,0.033841468393803,-0.110445223748684,0.071590974926949,-0.173574939370155,0.079994939267635,-0.132585242390633,0.014291953295469,0.151953458786011,-0.128614604473114,0.019550282508135) * FEATURE2_texOff(vec2(1,-1));
res += mat4(0.395424902439117,-0.808882713317871,-0.034306667745113,-0.022149486467242,-0.023272037506104,0.069189801812172,0.113776996731758,-0.104749441146851,-0.123277634382248,0.003752297488973,0.295714676380157,-0.139423355460167,-0.024187665432692,0.170255005359650,0.199143812060356,0.120939277112484) * FEATURE2_texOff(vec2(1,0));
res += mat4(0.030033729970455,-0.294706881046295,-0.418922692537308,-0.005717475432903,-0.043024923652411,-0.014052193611860,0.121169582009315,0.031397521495819,0.095883063971996,-0.050077002495527,-0.081650726497173,0.064916290342808,0.074386768043041,-0.220112726092339,-0.031065540388227,0.000430149724707) * FEATURE2_texOff(vec2(1,1));
res += mat4(-0.477631270885468,0.037265494465828,-0.243747323751450,0.105853535234928,0.098691746592522,-0.050912156701088,-0.011012010276318,-0.002063554944471,0.212752968072891,-0.020547546446323,0.055368550121784,-0.199076637625694,-0.032302301377058,0.058145303279161,0.158604398369789,0.034926932305098) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(0.203741550445557,-0.037097893655300,0.130162701010704,-0.000486844044644,0.329827308654785,-0.007291872985661,0.133629009127617,0.000343335937941,0.764532089233398,0.127617716789246,0.122978761792183,-0.152416512370110,0.293197333812714,-0.278954446315765,-0.124450139701366,-0.202077463269234) * FEATURE3_texOff(vec2(-1,0));
res += mat4(-0.065756991505623,0.034038737416267,0.064996317028999,-0.052806437015533,-0.138503417372704,0.036460801959038,-0.093633629381657,-0.011079656891525,-0.182886287570000,0.012757319957018,-0.151125699281693,-0.087560921907425,-0.002409933833405,0.092132590711117,-0.319665580987930,-0.176089733839035) * FEATURE3_texOff(vec2(-1,1));
res += mat4(0.008000744506717,0.063509240746498,0.065495684742928,-0.086880542337894,-0.095778092741966,0.013924732804298,-0.033012554049492,0.132118627429008,-0.240144968032837,0.050937574356794,0.074692822992802,-0.007935034111142,0.011984761804342,-0.149379357695580,-0.091772712767124,-0.783460021018982) * FEATURE3_texOff(vec2(0,-1));
res += mat4(0.369399577379227,0.160409569740295,-0.259553045034409,0.290402501821518,-0.322172462940216,-0.046398814767599,0.287797302007675,-0.070696674287319,0.053863622248173,0.263069778680801,0.211234927177429,0.295159518718719,-0.122139073908329,0.591378033161163,-0.076808720827103,0.403922855854034) * FEATURE3_texOff(vec2(0,0));
res += mat4(0.121011838316917,-0.118802450597286,0.401229470968246,-0.052281066775322,0.173254176974297,0.090652488172054,-0.007911412976682,-0.120518520474434,-0.103190034627914,-0.164005428552628,0.127990841865540,0.050151899456978,0.012581665068865,-0.075845897197723,0.558126568794250,0.204101637005806) * FEATURE3_texOff(vec2(0,1));
res += mat4(-0.101848505437374,0.044882249087095,0.019436020404100,-0.053977359086275,0.032332710921764,-0.055613312870264,0.115233592689037,-0.025784295052290,0.037998571991920,-0.087416172027588,0.033634550869465,0.024872938171029,-0.015374436043203,0.159864515066147,-0.033199880272150,-0.002006240654737) * FEATURE3_texOff(vec2(1,-1));
res += mat4(0.151028975844383,-0.246754944324493,0.218696638941765,-0.056018125265837,0.115661971271038,-0.086617939174175,0.309058427810669,0.051134958863258,0.049351211637259,-0.112602129578590,-0.226167246699333,0.003837446682155,-0.022296283394098,-0.074473448097706,-0.115761794149876,0.189501687884331) * FEATURE3_texOff(vec2(1,0));
res += mat4(-0.111079514026642,0.222438156604767,-0.099914565682411,-0.031050072982907,-0.001621853210963,0.198846548795700,-0.042104125022888,0.165705293416977,-0.015051787719131,0.023319464176893,0.244071096181870,-0.080727770924568,-0.059725079685450,0.130716979503632,-0.081462711095810,0.094629153609276) * FEATURE3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.515538334846497,0.021199107170105,0.244644716382027,-0.109562687575817) * min(res, vec4(0.0));
return res;
}
//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 1.400 > OUTPUT.h LUMA.h / 1.400 > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!SAVE MODEL4
//!DESC (AU_F_S_2x_P) mapping 2_1
vec4 hook()
{
vec4 res = vec4(-0.396625518798828,0.095056362450123,-0.059266272932291,-0.020599020645022);
res += mat4(0.141198530793190,-0.068096205592155,0.442978918552399,-0.088496886193752,0.104077570140362,0.128276586532593,0.169153898954391,0.043189357966185,-0.042992722243071,0.023267304524779,0.166946679353714,0.039325237274170,0.102561958134174,-0.060250163078308,0.113635815680027,0.038280598819256) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.143847480416298,-0.198990508913994,0.379856020212173,-0.158390566706657,-0.030282663181424,-0.052779793739319,-0.146722853183746,0.014169363304973,-0.030556904152036,-0.216700434684753,-0.152082011103630,-0.144522875547409,0.201983615756035,-0.108361005783081,0.090595580637455,-0.013794119469821) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.072633735835552,0.020341088995337,-0.386938124895096,-0.029388995841146,0.175324380397797,0.060840945690870,0.128928065299988,0.102649465203285,0.007163004018366,-0.191573977470398,-0.260588705539703,-0.162743136286736,0.249943733215332,0.076414830982685,-0.181861713528633,0.027946904301643) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.059422396123409,0.075217053294182,0.105933107435703,-0.456128180027008,0.096422038972378,-0.052691165357828,0.044077675789595,0.012517726980150,-0.252012848854065,0.029343767091632,0.107513882219791,0.272175967693329,0.057236839085817,-0.059524293988943,-0.072756186127663,0.024746980518103) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.546270549297333,0.227190271019936,-0.508376598358154,0.578339695930481,0.270579665899277,0.015231343917549,0.039208967238665,-0.087122350931168,0.296353578567505,-0.081630013883114,0.057456120848656,0.117699958384037,0.425698786973953,-0.023398399353027,0.115045689046383,-0.065529651939869) * MODEL1_texOff(vec2(0,0));
res += mat4(0.131634116172791,0.027524178847671,0.127288565039635,0.073990367352962,-0.073904596269131,-0.050246827304363,0.117571450769901,0.138570651412010,0.301013141870499,0.241762503981590,-0.372131764888763,0.287753194570541,0.420482337474823,0.146983191370964,-0.017356077209115,0.149267107248306) * MODEL1_texOff(vec2(0,1));
res += mat4(0.213683187961578,-0.034434862434864,-0.297272652387619,-0.118622548878193,0.013247129507363,-0.013744650408626,-0.081018164753914,-0.018852762877941,0.042607437819242,0.037951033562422,0.014401634223759,0.052255935966969,0.082600593566895,0.032600540667772,-0.014695873484015,-0.013689722865820) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.173407554626465,0.035280812531710,-0.027465097606182,-0.096235148608685,0.095668509602547,0.008455637842417,0.017571337521076,-0.034056521952152,-0.081380367279053,0.173618748784065,-0.050557978451252,-0.092342153191566,-0.051686458289623,-0.003662295639515,0.027754437178373,0.103836029767990) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.116214409470558,-0.102646201848984,0.262267529964447,-0.018255524337292,0.237574413418770,0.050805598497391,-0.077707171440125,0.080466017127037,-0.009078297764063,0.048636689782143,0.049762368202209,-0.006615933962166,0.124619439244270,-0.070646032691002,0.019360134378076,-0.090796783566475) * MODEL1_texOff(vec2(1,1));
res += mat4(0.164941698312759,-0.012508770450950,-0.204944163560867,0.088183738291264,-0.070779137313366,-0.123357243835926,0.328468173742294,-0.046568296849728,-0.005873200017959,-0.217768207192421,-0.239947155117989,-0.200728252530098,-0.082994386553764,0.008063200861216,0.200765103101730,-0.074761860072613) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.054236512631178,-0.064561732113361,-0.407874733209610,-0.175468936562538,0.153038904070854,-0.260885626077652,0.032005812972784,-0.232663318514824,-0.122673578560352,0.011613862589002,-0.090088933706284,-0.217482849955559,0.103080935776234,0.161963343620300,-0.424554765224457,-0.066185660660267) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.064587011933327,0.058495506644249,0.168287903070450,-0.044678792357445,-0.017508879303932,0.007908815518022,-0.109231017529964,-0.085025832056999,-0.070787496864796,-0.155397310853004,0.169706612825394,-0.054538201540709,-0.389709800481796,0.026239642873406,-0.054229326546192,-0.060829367488623) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.190893724560738,-0.007999958470464,-0.358786314725876,0.162138223648071,-0.127892062067986,0.143480435013771,0.104910351336002,-0.069012947380543,0.020715862512589,-0.062582202255726,-0.045676723122597,-0.110404849052429,0.287144541740417,-0.016329292207956,-0.173064425587654,0.009417889639735) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.170839443802834,0.418663710355759,0.072309091687202,0.503195941448212,-0.205404117703438,-0.085696831345558,0.341121613979340,-0.168506637215614,-0.142623469233513,0.000349295674823,-0.021658346056938,-0.184701174497604,0.536055386066437,0.676861703395844,-0.410688012838364,0.088184408843517) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.076435633003712,0.003749133553356,0.193959727883339,-0.260671645402908,-0.006732484791428,0.038941137492657,-0.296413958072662,-0.240431830286980,0.089290663599968,0.009339094161987,-0.047421921044588,-0.086561188101768,-0.010923250578344,-0.091640755534172,0.316887199878693,-0.103484705090523) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.123270459473133,-0.019255504012108,0.071727916598320,0.093500576913357,0.177066743373871,0.053961418569088,-0.145621195435524,-0.033407188951969,0.055165518075228,0.036523234099150,-0.098492890596390,-0.015582966618240,-0.314955919981003,-0.055443711578846,0.019630562514067,0.093162894248962) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.131164461374283,-0.080025576055050,0.247368395328522,-0.293199062347412,0.226799651980400,0.142497360706329,-0.270949810743332,-0.050721559673548,0.078746922314167,0.108033999800682,0.026997631415725,0.075065143406391,0.221893697977066,-0.397600769996643,0.262044191360474,-0.280283391475677) * MODEL2_texOff(vec2(1,0));
res += mat4(0.003071877639741,0.081612445414066,-0.018580185249448,-0.172687187790871,0.017312780022621,0.012965216301382,0.158549606800079,-0.175513267517090,-0.029953785240650,0.081757925450802,0.009644351899624,0.023708662018180,-0.541828215122223,-0.114078760147095,-0.010921651497483,0.110981166362762) * MODEL2_texOff(vec2(1,1));
res += mat4(0.003514406271279,0.002527193864807,0.021142102777958,0.002601955784485,0.053369782865047,0.001414648257196,-0.136248812079430,-0.114606380462646,-0.016648402437568,-0.130512744188309,-0.024543955922127,-0.136313796043396,0.134957730770111,0.059789061546326,0.137828648090363,-0.009440891444683) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.027731424197555,-0.074762299656868,-0.029455136507750,-0.009317064657807,-0.057751473039389,0.471755146980286,-0.052468691021204,-0.058872498571873,-0.112352862954140,0.035643670707941,-0.224788531661034,-0.301420778036118,0.138501882553101,-0.018314473330975,-0.041479062289000,-0.015167322941124) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.047881785780191,0.038068495690823,-0.043529324233532,-0.012841036543250,0.016721483319998,0.022866994142532,0.115908890962601,-0.090587042272091,-0.014692958444357,0.040071066468954,-0.021878169849515,-0.033509835600853,0.046959150582552,-0.132083222270012,-0.018845856189728,0.133086651563644) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.036697909235954,-0.102034792304039,0.023534927517176,0.032381452620029,-0.087562710046768,0.011928848922253,0.003870145883411,-0.048384975641966,0.409776002168655,-0.331735938787460,-0.172530978918076,0.019745137542486,-0.022782692685723,-0.090990372002125,-0.012493718415499,0.032250195741653) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.003027477534488,-0.219858974218369,0.102303326129913,0.120713070034981,0.887505650520325,-0.072689116001129,0.164866372942924,0.173441052436829,-0.043005190789700,-0.284099459648132,0.023356186226010,-0.132371738553047,0.825049936771393,-0.007956300862134,0.053452655673027,-0.040830176323652) * MODEL3_texOff(vec2(0,0));
res += mat4(0.050784382969141,0.040781114250422,0.009273828938603,0.015891838818789,-0.068503350019455,-0.028876807540655,-0.085634380578995,-0.015552100725472,0.175398960709572,-0.022098360583186,-0.069208964705467,-0.037223253399134,0.008693937212229,-0.039184436202049,-0.243791222572327,0.084609769284725) * MODEL3_texOff(vec2(0,1));
res += mat4(0.008670791983604,0.020512720569968,0.086463607847691,-0.012045120820403,0.103081174194813,-0.021731423214078,0.051775738596916,0.027875825762749,0.194835871458054,0.035175271332264,-0.086056582629681,-0.034356176853180,0.033009007573128,0.035567563027143,0.040190052241087,0.058130037039518) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.083728767931461,-1.264024972915649,0.154642060399055,-0.022204175591469,-0.039374504238367,-0.080463193356991,-0.052063394337893,-0.049005728214979,0.030588237568736,-0.040144052356482,0.055473208427429,-0.010352629236877,0.234370350837708,0.022990683093667,-0.049287538975477,0.015592947602272) * MODEL3_texOff(vec2(1,0));
res += mat4(0.088428564369678,0.108753994107246,-0.157289564609528,0.012717281468213,-0.004348441492766,-0.013199677690864,-0.027874607592821,-0.009875328280032,0.030986446887255,0.010654663667083,0.036930948495865,-0.027174619957805,0.144631281495094,0.097858719527721,-0.018299451097846,0.114427722990513) * MODEL3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.332401573657990,-0.250573217868805,-0.579247534275055,1.034337282180786) * min(res, vec4(0.0));
return res;
}
//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 1.400 > OUTPUT.h LUMA.h / 1.400 > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!SAVE MODEL5
//!DESC (AU_F_S_2x_P) mapping 2_2
vec4 hook()
{
vec4 res = vec4(0.038200907409191,0.100908510386944,-0.068942144513130,0.137779191136360);
res += mat4(-0.100583530962467,0.083631515502930,-0.003997025545686,-0.037016320973635,-0.064373858273029,-0.002311793621629,-0.051576830446720,-0.172638863325119,-0.033041968941689,-0.048393674194813,0.017189210280776,-0.323185026645660,-0.009607417508960,-0.106127180159092,-0.065355017781258,-0.214158520102501) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.075274161994457,-0.077862814068794,0.063572101294994,0.212804719805717,0.052540346980095,-0.202619582414627,-0.029654070734978,-0.124054975807667,0.140892490744591,-0.027065925300121,0.136722356081009,0.097322754561901,0.077538587152958,-0.249047100543976,-0.095058485865593,-0.066928178071976) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.050570409744978,0.020057862624526,0.051647916436195,-0.076297946274281,-0.013590314425528,-0.189549550414085,0.000681682489812,-0.089223064482212,0.073009498417377,-0.016822442412376,0.016086865216494,0.138610601425171,-0.077854357659817,-0.248104140162468,-0.114801585674286,-0.098031468689442) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.042849205434322,0.105182856321335,-0.072513215243816,-0.065333716571331,0.034607958048582,0.059397302567959,-0.039324756711721,-0.361138880252838,0.005787476897240,-0.020640179514885,0.153069540858269,0.056843560189009,-0.054019305855036,-0.022762250155210,0.008267382159829,-0.567430794239044) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.279954910278320,0.184445321559906,-0.466044157743454,0.437355965375900,-0.052637916058302,0.007583205588162,-0.056256603449583,-0.080316670238972,-0.219479218125343,0.316321998834610,-0.086408756673336,-0.002219401998445,-0.082093015313148,-0.217078164219856,0.042321689426899,0.289605557918549) * MODEL1_texOff(vec2(0,0));
res += mat4(0.011763754300773,0.200137853622437,0.016621949151158,-0.034321889281273,-0.106730565428734,-0.227818846702576,0.046659249812365,-1.172435045242310,-0.263770639896393,-0.309288948774338,-0.036545358598232,0.185159981250763,0.204760387539864,-0.168427512049675,0.074991501867771,-0.175334557890892) * MODEL1_texOff(vec2(0,1));
res += mat4(0.179498746991158,0.096416711807251,0.017084969207644,0.120901018381119,0.127088591456413,0.101720616221428,0.007045119535178,-0.115583330392838,-0.017684232443571,-0.115262262523174,0.013809381984174,-0.145626634359360,0.021000873297453,0.005299378186464,0.090037234127522,-0.091114707291126) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.187520906329155,-0.172456741333008,0.291303813457489,-0.186443328857422,0.030016439035535,-0.026375798508525,-0.038056075572968,-0.073692418634892,0.030538599938154,-0.307598263025284,0.120730593800545,-0.030491340905428,0.049266848713160,-0.203878432512283,0.034532554447651,0.081889644265175) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.086742974817753,0.125397190451622,-0.015117323957384,0.003593571716920,0.163270935416222,-0.111297771334648,0.116377912461758,0.048105176538229,0.117449872195721,-0.048107005655766,0.102703049778938,0.065213792026043,0.103502117097378,-0.231005921959877,-0.136349618434906,-0.076355099678040) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.119229190051556,-0.030288254842162,-0.019267495721579,-0.268736630678177,-0.017302768304944,0.081455685198307,0.106364019215107,0.012629858218133,0.087310574948788,-0.028605900704861,0.027865285053849,-0.167616397142410,-0.140465229749680,-0.102884680032730,0.041640963405371,-0.106487840414047) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.060613889247179,0.157774373888969,0.217462465167046,-0.011015504598618,0.029548836871982,0.347943454980850,0.148977369070053,0.005612518172711,-0.015976434573531,-0.025153061375022,-0.010244177654386,-0.060808148235083,-0.148222625255585,0.022976571694016,0.345074921846390,0.152511820197105) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.066081114113331,-0.094200611114502,-0.051414016634226,0.072257861495018,0.074746914207935,0.093189448118210,0.049549069255590,0.194823697209358,0.131210789084435,0.123185619711876,0.120336920022964,0.047211982309818,-0.036367125809193,0.168723359704018,0.085718691349030,0.116836801171303) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.049108769744635,0.117176674306393,-0.095651701092720,-0.067376114428043,-0.122124813497066,0.074699856340885,0.225590750575066,0.255890488624573,0.143737092614174,-0.050516143441200,0.488712310791016,-0.156008720397949,0.102334924042225,0.114365264773369,0.003476768964902,0.133909597992897) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.369513571262360,-0.276053905487061,-0.390962451696396,0.105957128107548,-0.211469322443008,-0.163609921932220,-0.175779238343239,0.151514843106270,0.002341929124668,0.154901847243309,0.408557325601578,0.159488692879677,-0.140779823064804,-0.108695678412914,-0.598550975322723,0.460517048835754) * MODEL2_texOff(vec2(0,0));
res += mat4(0.087248690426350,-0.066854134202003,0.060898244380951,-0.229209110140800,0.278356343507767,0.291414350271225,0.224359884858131,-0.075942270457745,0.122161388397217,-0.117617212235928,0.126533061265945,-0.219968900084496,0.004789367783815,0.198454156517982,0.019012318924069,-0.243133321404457) * MODEL2_texOff(vec2(0,1));
res += mat4(0.416273772716522,0.030552592128515,0.083267614245415,0.030037330463529,-0.216302901506424,-0.205976694822311,-0.041811019182205,0.252844423055649,-0.309953421354294,0.069096386432648,0.027140004560351,-0.007314603310078,0.307449817657471,0.183687224984169,0.119311943650246,-0.075691871345043) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.315667152404785,0.252397805452347,0.130131334066391,-0.077507227659225,0.150592237710953,0.498506247997284,0.372125715017319,-0.031670443713665,-0.268314987421036,-0.058451220393181,0.030157923698425,0.064241118729115,0.375816047191620,-0.400958001613617,-0.125031650066376,-0.163841143250465) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.015603266656399,-0.052568167448044,0.039254359900951,-0.089279085397720,-0.084859311580658,0.208964437246323,-0.029262660071254,-0.263213306665421,-0.048807386308908,-0.024632249027491,0.077262222766876,-0.052134111523628,0.139541819691658,0.236590936779976,0.093025796115398,-0.159974575042725) * MODEL2_texOff(vec2(1,1));
res += mat4(0.001376598956995,0.049449592828751,-0.013211466372013,0.031100103631616,0.000896972313058,0.066495135426521,0.006265747826546,0.144673615694046,0.027137743309140,0.159182921051979,0.193352147936821,0.040902432054281,0.013737076893449,0.004472851287574,0.094069659709930,-0.000525595678482) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.067471884191036,0.094452001154423,0.055054735392332,0.009928455576301,-0.001254108035937,-0.084600411355495,-0.084627442061901,0.109875284135342,0.063057072460651,0.303339987993240,0.182565450668335,-0.078144825994968,0.081596598029137,-0.019360048696399,0.169711828231812,-0.128562763333321) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.018311595544219,0.020961649715900,-0.029533078894019,0.004185023717582,-0.034881919622421,-0.159334629774094,-0.141253829002380,-0.041304156184196,-0.098697066307068,-0.047905143350363,-0.052620735019445,0.070300780236721,-0.016405517235398,-0.259587496519089,-0.030585004016757,0.072757504880428) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.011586834676564,0.067608006298542,-0.038235586136580,-0.037153791636229,0.203576594591141,-0.163887828588486,0.073440112173557,0.122498892247677,0.017698301002383,0.128502056002617,-0.453249454498291,0.203315451741219,-0.083859570324421,-0.020408095791936,-0.099595062434673,-0.008602133020759) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.045538634061813,-0.099550224840641,-0.095368675887585,0.136628061532974,0.547607064247131,0.606240391731262,0.289921104907990,-0.010853219777346,-0.125116154551506,0.376742899417877,-0.042726419866085,-0.006775052286685,-0.151502102613449,0.210286602377892,-0.194761276245117,-0.029578410089016) * MODEL3_texOff(vec2(0,0));
res += mat4(0.091111682355404,-0.004564491566271,-0.011934049427509,0.070632860064507,-0.000059072164731,0.022743890061975,0.112250819802284,-0.062637656927109,-0.084047630429268,0.068240903317928,-0.103867806494236,0.056342836469412,-0.066654935479164,-0.733720064163208,-0.008492485620081,-0.057212259620428) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.129485249519348,0.172944679856300,-0.027283405885100,-0.058507919311523,-0.037631947547197,-0.101958699524403,-0.033455945551395,-0.057301945984364,-0.363976359367371,-0.155627340078354,0.148801997303963,0.037586927413940,0.087545558810234,0.042054608464241,-0.035109322518110,-0.084230184555054) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.032561738044024,0.038530290126801,0.047347463667393,-0.015378999523818,-0.074509114027023,-0.270068734884262,-0.334432244300842,-0.096555143594742,-0.153520479798317,-0.114332862198353,-0.227659314870834,0.136517003178596,-0.102131538093090,-0.154952362179756,0.121619746088982,-0.198329403996468) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.093000993132591,-0.096221745014191,-0.172660395503044,0.092972978949547,0.047702129930258,-0.070623219013214,-0.012277095578611,-0.021815273910761,-0.038488205522299,-0.048893127590418,0.001570463413373,0.053221315145493,-0.063032411038876,0.010820650495589,0.125252276659012,0.112986318767071) * MODEL3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.243328630924225,0.632436752319336,-0.201679989695549,0.417706161737442) * min(res, vec4(0.0));
return res;
}
//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 1.400 > OUTPUT.h LUMA.h / 1.400 > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!SAVE MODEL6
//!DESC (AU_F_S_2x_P) mapping 2_3
vec4 hook()
{
vec4 res = vec4(0.185154691338539,-0.009424282237887,-0.095841839909554,0.012891404330730);
res += mat4(-0.008818319067359,-0.029144348576665,0.017790790647268,0.008316735737026,0.085484206676483,-0.035292789340019,-0.013485494069755,0.024908583611250,0.002473127562553,-0.056399192661047,0.076462693512440,-0.209152981638908,0.064142175018787,0.073044821619987,0.003569047898054,0.022413302212954) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.026761891320348,-0.041333436965942,-0.040245946496725,0.327939450740814,0.039992991834879,0.064149104058743,0.076719775795937,-0.028421260416508,-0.196007877588272,0.187181413173676,-0.076437301933765,0.027280816808343,0.020053777843714,0.403860211372375,-0.091462776064873,-0.003195703960955) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.037994481623173,0.068812489509583,0.019719736650586,-0.096921227872372,0.092085748910904,-0.003685885807499,0.024066703394055,0.119533933699131,-0.047756697982550,0.054452791810036,-0.018922176212072,-0.091758087277412,-0.041482612490654,0.101947970688343,-0.114478543400764,-0.017353050410748) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.269061446189880,-0.013631789945066,0.288607925176620,-0.365944713354111,0.204534888267517,-0.205074772238731,0.033405229449272,-0.104307726025581,0.057502619922161,-0.015913343057036,0.037391699850559,0.096365191042423,0.053302384912968,0.089231468737125,0.338344246149063,-0.153386294841766) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.294083923101425,-0.047298047691584,-0.501090705394745,-0.124746002256870,-0.157917425036430,0.015531512908638,-0.017631275579333,0.080374673008919,0.072814755141735,0.061449714004993,0.185696646571159,-0.205464139580727,0.096595644950867,0.581221044063568,-0.146102145314217,-0.007728898432106) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.073315531015396,0.060175221413374,0.275671809911728,0.371011674404144,-0.132424533367157,-0.046122673898935,0.256408214569092,-0.054181702435017,0.047857765108347,-0.000906007422600,-0.295301079750061,-0.125571608543396,0.379799425601959,-0.119301401078701,-0.107509791851044,0.294204354286194) * MODEL1_texOff(vec2(0,1));
res += mat4(0.047326616942883,0.068643562495708,0.150179430842400,0.108724236488342,0.112800031900406,-0.007414235733449,0.011919721961021,-0.057882554829121,0.260362982749939,-0.117208577692509,-0.113216526806355,0.246437385678291,0.040384043008089,0.074896328151226,0.143906310200691,-0.099886730313301) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.031588640064001,0.054869543761015,-0.168958768248558,-0.145977020263672,-0.069410525262356,0.021640148013830,-0.154628232121468,0.037442099303007,0.113141655921936,0.178451284766197,0.093939341604710,-0.034566812217236,0.200868621468544,0.295534580945969,-0.051624376326799,-0.065725259482861) * MODEL1_texOff(vec2(1,0));
res += mat4(0.107093863189220,-0.048128627240658,-0.028977164998651,-0.048936840146780,-0.144519165158272,-0.073006860911846,0.205004468560219,-0.152823939919472,-0.057264033704996,0.064381659030914,-0.057809561491013,-0.203384548425674,-0.383018374443054,0.090347088873386,-0.153187036514282,-0.150067716836929) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.024472869932652,-0.005265734624118,0.141495659947395,0.232784509658813,-0.215298354625702,-0.032682184129953,-0.197527199983597,-0.067420490086079,-0.287612527608871,0.042148388922215,0.019521143287420,-0.054552737623453,-0.068927213549614,-0.025580922141671,0.027596158906817,0.012720132246614) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.151063591241837,0.515785396099091,0.011578583158553,0.396824002265930,-0.157181456685066,-0.044573318213224,0.129566907882690,-0.159688323736191,-0.182782039046288,0.292169034481049,-0.026397982612252,-0.096581265330315,0.076722346246243,0.128202766180038,-0.027581710368395,0.127645462751389) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.049112975597382,-0.006788000930101,0.024572962895036,-0.149452880024910,0.102920748293400,-0.015617547556758,0.076294302940369,-0.002536979503930,-0.082164973020554,-0.015803929418325,0.148146435618401,0.134980767965317,0.080188535153866,-0.049561832100153,0.052656028419733,0.093299061059952) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.084714159369469,0.000648101384286,0.039743650704622,-0.249272257089615,-0.101660095155239,0.137351408600807,-0.002253195969388,0.123514458537102,-0.115966871380806,-0.172469511628151,-0.007010118570179,-0.047583278268576,0.400211304426193,0.001316084759310,-0.301443874835968,-0.320390343666077) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.045964997261763,0.131694883108139,-0.325960367918015,0.015394160524011,0.016182273626328,-0.130429819226265,0.232510656118393,0.036015022546053,-0.174750357866287,-0.260974228382111,0.187260389328003,-0.064854383468628,0.720812201499939,-0.152594983577728,-0.396387964487076,-0.456190526485443) * MODEL2_texOff(vec2(0,0));
res += mat4(0.050203751772642,-0.161195844411850,0.035464651882648,0.357296407222748,-0.106914572417736,0.153701007366180,0.105712167918682,0.249743655323982,-0.091483458876610,-0.091599926352501,-0.069910176098347,0.052453260868788,0.096238017082214,0.169659286737442,0.550431191921234,0.319215536117554) * MODEL2_texOff(vec2(0,1));
res += mat4(0.095966577529907,-0.003555519506335,-0.132898613810539,-0.299901098012924,-0.043921552598476,0.117168664932251,-0.028522215783596,0.050300579518080,0.054704885929823,-0.033303890377283,-0.093645267188549,0.038471348583698,0.053786080330610,-0.133710429072380,-0.076856657862663,0.235986620187759) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.060440901666880,-0.211157560348511,0.005431242752820,-0.370991826057434,0.233119010925293,-0.048687219619751,0.206373929977417,-0.328164786100388,0.242961198091507,0.063844032585621,0.012949814088643,0.049645636230707,-0.653292477130890,-0.074247673153877,-0.081762209534645,-0.277182549238205) * MODEL2_texOff(vec2(1,0));
res += mat4(0.105245657265186,0.052024655044079,0.106530010700226,0.384598016738892,0.092974677681923,-0.165868148207664,0.116635531187057,0.288062602281570,0.039280045777559,0.002753490116447,-0.009123163297772,-0.046426437795162,0.201976552605629,-0.096261881291866,0.097312361001968,0.072298668324947) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.002085230313241,-0.028772488236427,-0.050086066126823,-0.050325926393270,0.055983465164900,0.122610688209534,0.041909832507372,-0.089083217084408,0.183363750576973,-0.186402007937431,-0.212010741233826,0.208629772067070,0.033937186002731,0.140579611063004,0.027614278718829,-0.060110352933407) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.006497339811176,0.051120910793543,-0.016468057408929,0.081353142857552,0.305625885725021,-0.248868107795715,0.027795596048236,-0.072024114429951,-0.088180646300316,-0.074453413486481,0.377564787864685,-0.078098110854626,0.023469794541597,-0.002495884895325,0.061864379793406,-0.069111540913582) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.012227306142449,0.024015706032515,0.052330151200294,-0.016094785183668,0.210663467645645,-0.171954795718193,-0.081236533820629,0.260302603244781,0.015857158228755,-0.008609431795776,-0.052183683961630,-0.022617684677243,0.119568809866905,0.316139817237854,-0.151049017906189,-0.160978958010674) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.055281993001699,-0.120117574930191,0.028123402968049,-0.056490845978260,-0.044072989374399,0.272506833076477,-0.212539941072464,0.215400233864784,0.494935572147369,-0.148824259638786,-0.427572458982468,-0.120001733303070,0.072504222393036,0.104560412466526,-0.265404254198074,0.121725320816040) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.024243090301752,-0.000691308756359,-0.072395183146000,0.077517524361610,0.288604378700256,-0.241286054253578,-0.050746005028486,-0.377451568841934,0.207843855023384,-0.317920565605164,0.124013438820839,-0.005609089508653,-0.226860031485558,-0.052694693207741,0.313305616378784,-0.224872395396233) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.072885625064373,-0.026612263172865,-0.023033380508423,-0.035187277942896,0.001700274762698,-0.269311934709549,0.144180983304977,-0.068900190293789,-0.025590036064386,-0.111352741718292,-0.007161285728216,-0.021233279258013,-0.089519366621971,0.437473714351654,-0.248955875635147,-0.035348638892174) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.210231035947800,-0.126390755176544,0.130105808377266,-0.115149416029453,0.082984022796154,-0.097455933690071,0.067614294588566,-0.048142734915018,0.023629888892174,0.137201994657516,-0.197911277413368,0.105374611914158,0.041947923600674,0.042697384953499,0.081079885363579,-0.000252343364991) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.256262779235840,0.346988469362259,0.011861340142787,0.274242579936981,-0.024356031790376,0.097214221954346,0.035443451255560,0.154053017497063,0.177163645625114,0.151161387562752,-0.052246704697609,-0.169378310441971,0.013414863497019,0.342917293310165,-0.025562968105078,-0.024797610938549) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.051338862627745,0.176414802670479,-0.142221018671989,-0.157286509871483,0.013383165933192,0.034419193863869,-0.025324178859591,0.000916267046705,0.093283988535404,0.006808260921389,-0.093202754855156,-0.040521714836359,0.046127025038004,0.127625003457069,0.090443052351475,-0.097373306751251) * MODEL3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.858815133571625,-0.362286031246185,-0.045612655580044,-0.573267757892609) * min(res, vec4(0.0));
return res;
}
//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 1.400 > OUTPUT.h LUMA.h / 1.400 > *
//!COMPONENTS 4
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL1
//!DESC (AU_F_S_2x_P) mapping 3_1
vec4 hook()
{
vec4 res = vec4(-0.115292735397816,-0.140384182333946,0.007932023145258,-0.133252024650574);
res += mat4(0.188884064555168,0.043713707476854,0.136460632085800,0.017964601516724,-0.053455390036106,-0.259571403264999,-0.047414191067219,0.058933734893799,-0.078334532678127,-0.026354521512985,-0.031945314258337,-0.014238125644624,-0.064227201044559,-0.050153143703938,0.023558758199215,0.007330449298024) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.093383081257343,0.110827311873436,0.055246002972126,-0.224171012639999,0.292416960000992,0.118371658027172,0.058853730559349,0.113481365144253,0.024062154814601,-0.016669349744916,-0.050061531364918,-0.002827698597685,0.280704379081726,0.031235333532095,-0.041472867131233,0.061539541929960) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.216741800308228,-0.472263306379318,-0.030313124880195,0.165860116481781,0.111444585025311,-0.010651051066816,0.008806745521724,-0.113205045461655,0.052750270813704,-0.046629715710878,-0.068866088986397,-0.025910533964634,0.079584866762161,-0.041908282786608,-0.047579899430275,0.014807032421231) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.104847207665443,0.117693431675434,0.063481509685516,-0.057690933346748,0.230685800313950,-0.269429236650467,-0.011513800360262,-0.053793925791979,0.084423072636127,-0.039070524275303,-0.156319186091423,-0.020722746849060,0.201052933931351,0.062229510396719,-0.218394026160240,-0.040752038359642) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.862140476703644,0.393359065055847,0.304242283105850,-0.591384589672089,-0.336718887090683,-0.205717995762825,-0.204543098807335,-0.171649277210236,-0.089472234249115,0.103180669248104,-0.101769812405109,-0.103304393589497,-0.269034236669540,0.282337367534637,-0.068314954638481,0.694455802440643) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.408961474895477,-0.494473010301590,-0.384855151176453,-0.132529005408287,0.059174235910177,0.137452259659767,0.265354454517365,0.097851745784283,0.018439877778292,0.046293247491121,-0.024724317714572,-0.036327991634607,-0.054073579609394,0.002217060653493,-0.023123998194933,-0.041574280709028) * MODEL4_texOff(vec2(0,1));
res += mat4(0.150859281420708,0.056709814816713,-0.019784107804298,0.124545179307461,0.122584432363510,0.368106722831726,-0.245751246809959,0.104954488575459,0.066206850111485,0.003005223814398,-0.171143889427185,0.041805513203144,-0.043863881379366,0.022630624473095,-0.098862536251545,-0.073589123785496) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.062567822635174,-0.039219606667757,0.036399994045496,0.019741313531995,0.146378442645073,-0.115969784557819,0.134162634611130,0.243371382355690,-0.059167571365833,-0.079389944672585,-0.034691270440817,-0.005694769788533,-0.056077461689711,-0.070508651435375,-0.246090441942215,-0.199304640293121) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.104602202773094,0.076839148998260,0.057811919599771,0.129645183682442,0.174543857574463,0.143239036202431,0.059834063053131,-0.059908553957939,0.280252337455750,-0.037654981017113,0.039577815681696,-0.007043255958706,0.181335702538490,0.177246227860451,-0.041099935770035,0.073161132633686) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.050396639853716,-0.018401907756925,0.143992662429810,0.080742120742798,-0.074710249900818,0.054490305483341,-0.065773598849773,-0.063721142709255,0.139738008379936,0.046410080045462,-0.088934667408466,0.075939282774925,-0.010766176506877,0.029245128855109,-0.006026412360370,0.088593192398548) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.284923166036606,0.174155369400978,-0.223265275359154,0.205311462283134,0.143348664045334,-0.031130086630583,-0.200070440769196,-0.015664912760258,0.236186474561691,-0.311972618103027,0.300539076328278,0.007186580915004,0.245969966053963,0.200772643089294,0.148738890886307,0.144908607006073) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.002320570871234,-0.023367697373033,0.050907086580992,0.164038240909576,-0.143303856253624,-0.008193273097277,-0.231598690152168,0.160948678851128,-0.149730235338211,-0.068709686398506,0.007505970075727,0.009660787880421,0.038278751075268,-0.109213232994080,0.212616398930550,-0.117418579757214) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.235252693295479,0.105140320956707,-0.136411413550377,0.100238382816315,-0.132151082158089,-0.060484308749437,-0.035549379885197,-0.151696234941483,0.353152543306351,-0.170189753174782,0.087695911526680,-0.136480733752251,0.353787928819656,-0.164767518639565,0.530356287956238,-0.163704812526703) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.342526406049728,-0.517949938774109,0.299101173877716,-0.209817230701447,0.094706431031227,0.236577421426773,0.283818751573563,0.014917226508260,0.192354768514633,0.443435758352280,-0.219719395041466,0.015945544466376,-0.161367580294609,0.439706802368164,-0.323804944753647,-0.174288734793663) * MODEL5_texOff(vec2(0,0));
res += mat4(0.151512965559959,-0.012611787766218,0.008632223121822,0.006583069451153,0.017718385905027,-0.270621538162231,-0.522810518741608,-0.083127290010452,-0.059200398623943,0.011549801565707,-0.026197491213679,-0.144010305404663,-0.333815693855286,-0.095376349985600,0.304943770170212,0.128990992903709) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.078895874321461,-0.233697205781937,0.018691616132855,0.001571203698404,0.023920580744743,-0.175187364220619,0.102376788854599,-0.108364447951317,0.070814788341522,0.177847653627396,-0.039066415280104,-0.023969402536750,0.109746836125851,-0.040908668190241,0.234929338097572,0.053603146225214) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.013933828100562,0.164782598614693,-0.054567590355873,0.176831558346748,0.065063290297985,-0.043511584401131,-0.173428699374199,0.154945433139801,-0.088633373379707,-0.236434370279312,0.145351558923721,-0.264623522758484,-0.228812128305435,0.135355144739151,0.179174825549126,-0.042332358658314) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.125167042016983,0.139752686023712,0.055917799472809,0.001900926348753,0.034404866397381,-0.030172757804394,-0.163321539759636,0.097074717283249,0.114662460982800,-0.127995997667313,0.075174473226070,0.018427083268762,-0.246800109744072,-0.034626692533493,0.353955090045929,-0.088631086051464) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.211314529180527,0.030904404819012,0.011571748182178,-0.164347559213638,-0.067057639360428,0.066895686089993,0.038574606180191,-0.022144872695208,0.062104247510433,-0.054318092763424,0.106050580739975,-0.024337204173207,-0.075297273695469,-0.193664669990540,0.102315969765186,0.033768869936466) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.175432339310646,-0.212279900908470,-0.243069186806679,0.247026786208153,-0.221962720155716,-0.179575547575951,-0.291358143091202,0.020175687968731,0.102824352681637,0.191210851073265,-0.101157419383526,0.074753291904926,-0.098239816725254,-0.026666179299355,0.078564509749413,0.059388518333435) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.015209275297821,0.197148904204369,-0.095778025686741,0.150759279727936,-0.078703351318836,0.185316920280457,-0.021824467927217,-0.016914961859584,0.341748744249344,0.341200262308121,-0.015087117440999,0.080113857984543,-0.076008588075638,0.210665851831436,0.154261693358421,0.005483788903803) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.126944288611412,0.166396513581276,-0.160505712032318,0.178112939000130,0.233974158763885,-0.131411597132683,0.220449000597000,-0.038127172738314,0.239776507019997,0.020596105605364,0.220342695713043,-0.031010828912258,-0.043630670756102,-0.099850706756115,-0.005584821570665,0.062233556061983) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.225352883338928,-0.117781393229961,0.276460707187653,-0.457004129886627,0.205566436052322,0.267985999584198,-0.122654013335705,0.099218845367432,-0.178547844290733,0.420518666505814,-0.516437649726868,0.050770137459040,0.076698608696461,0.052811525762081,0.068303808569908,0.217700466513634) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.236116752028465,0.165408715605736,-0.106502309441566,-0.084118455648422,0.100623913109303,-0.082647316157818,-0.055837813764811,0.020959548652172,0.210085526108742,0.475332707166672,-0.067309692502022,0.394195884466171,-0.143330737948418,0.254194766283035,0.042488362640142,0.014394033700228) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.060816634446383,0.056041561067104,0.026533696800470,-0.057168558239937,-0.003871704451740,-0.123962379992008,0.025580100715160,-0.115300357341766,0.003498885314912,-0.017422027885914,-0.041935622692108,-0.015722030773759,-0.091982975602150,-0.037796873599291,-0.096647359430790,0.012271361425519) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.046759065240622,0.003990611992776,-0.040301833301783,-0.174614638090134,-0.039946127682924,-0.213312894105911,-0.007692238781601,0.072892986238003,-0.020142404362559,0.048210736364126,0.003384870709851,0.152096346020699,0.045562967658043,-0.017661636695266,-0.052592162042856,0.073024272918701) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.346087425947189,-0.143279001116753,-0.172639429569244,-0.081975221633911,-0.041439574211836,0.004556653089821,-0.012216328643262,-0.043050903826952,0.098602488636971,0.272357881069183,-0.153095617890358,0.089844509959221,0.026571407914162,0.069224916398525,0.098640024662018,0.032203320413828) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.267519712448120,0.346543043851852,0.332279145717621,0.846971809864044) * min(res, vec4(0.0));
return res;
}
//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 1.400 > OUTPUT.h LUMA.h / 1.400 > *
//!COMPONENTS 4
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL2
//!DESC (AU_F_S_2x_P) mapping 3_2
vec4 hook()
{
vec4 res = vec4(-0.088699698448181,0.044541697949171,-0.030982257798314,0.070772893726826);
res += mat4(-0.075222954154015,-0.035012442618608,0.150693267583847,-0.033928938210011,-0.013281458988786,-0.036565478891134,-0.154022678732872,-0.074555858969688,0.151410460472107,-0.387589305639267,-0.184868931770325,0.020127499476075,0.083663135766983,-0.074840985238552,-0.161760792136192,0.018493281677365) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.163778439164162,0.171264261007309,-0.032568894326687,0.114009767770767,0.106773614883423,-0.170974969863892,-0.548285245895386,-0.184399768710136,0.125003293156624,-0.390418529510498,-0.146054387092590,-0.042208131402731,0.123117066919804,0.235041663050652,-0.042830929160118,-0.199348524212837) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.238478913903236,-0.113452248275280,0.160765796899796,-0.129256412386894,0.141639426350594,0.165900632739067,-0.147828832268715,0.010910520330071,-0.013210339471698,-0.305781602859497,-0.073929406702518,0.010409479029477,-0.082931876182556,-0.104068219661713,0.082552745938301,-0.097278393805027) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.433504939079285,0.062887825071812,0.027341218665242,-0.100459344685078,0.328046619892120,0.332464903593063,0.221174225211143,0.026014186441898,0.186484947800636,-0.337125837802887,0.005975292995572,0.014358749613166,0.163834229111671,0.084838986396790,0.386733531951904,-0.046617243438959) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.217926755547523,0.041982695460320,-0.799323260784149,0.580228924751282,0.042013134807348,-0.249498188495636,0.031524080783129,0.157331779599190,0.222233176231384,-0.586313664913177,-0.074102021753788,0.083409972488880,0.305122107267380,0.125947698950768,-0.320507675409317,0.852265894412994) * MODEL4_texOff(vec2(0,0));
res += mat4(0.317699044942856,-0.002185206161812,-0.168182313442230,0.020241811871529,-0.134870439767838,0.285060256719589,-0.202543586492538,-0.106165319681168,-0.022278206422925,-0.598436236381531,-0.198697432875633,0.004525068681687,-0.265267789363861,-0.117561250925064,-0.171090736985207,-0.023998292163014) * MODEL4_texOff(vec2(0,1));
res += mat4(0.012360678985715,-0.081400834023952,0.247948825359344,-0.011315166950226,-0.006397222634405,0.339901536703110,-0.098750419914722,-0.007472543977201,0.180580019950867,-0.477432578802109,-0.096015647053719,-0.004068325273693,-0.035572271794081,-0.048917230218649,0.043649949133396,-0.038434736430645) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.302302151918411,0.001931421691552,0.136735603213310,0.005519611760974,-0.012568606063724,-0.256179273128510,0.219818070530891,-0.133512273430824,0.320732146501541,-0.691297352313995,-0.113951072096825,0.024753408506513,-0.167773962020874,-0.151446595788002,0.351407140493393,-0.208288729190826) * MODEL4_texOff(vec2(1,0));
res += mat4(0.219644069671631,0.055881254374981,-0.162105202674866,-0.057457197457552,-0.052965547889471,0.219814360141754,0.089808717370033,0.124760515987873,-0.177249550819397,-0.545238554477692,-0.099271729588509,-0.017868729308248,-0.046338457614183,0.274134367704391,-0.017865765839815,-0.108767062425613) * MODEL4_texOff(vec2(1,1));
res += mat4(0.252747267484665,-0.031028177589178,-0.001912212115712,0.041406467556953,0.168784976005554,0.089066945016384,-0.101191878318787,0.155562594532967,-0.234721571207047,0.021094957366586,0.198983401060104,-0.037751682102680,-0.159484580159187,-0.305059403181076,-0.092320792376995,-0.045963138341904) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.014764916151762,0.139049470424652,0.127380341291428,0.044685419648886,-0.020797370001674,-0.154312282800674,0.460158973932266,0.225279748439789,0.145227432250977,0.042560309171677,0.194751337170601,0.071664102375507,-0.137405082583427,-0.079373568296432,-0.189608842134476,-0.101038143038750) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.307804405689240,-0.033239345997572,0.056730691343546,0.036524150520563,-0.007675923407078,0.005246676038951,0.008516031317413,-0.003055393230170,-0.171891093254089,-0.218694537878036,0.085327528417110,0.048513617366552,-0.229352146387100,0.171885952353477,-0.081780731678009,0.004088535904884) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.134340316057205,-0.016820982098579,0.123141169548035,-0.146840453147888,0.216250419616699,-0.184106022119522,-0.057828027755022,0.269033372402191,-0.041913196444511,0.013456571847200,0.038772810250521,0.119904756546021,-0.127560093998909,0.186855897307396,0.374390244483948,0.030678691342473) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.274725794792175,-0.007946251891553,0.049735382199287,0.120146632194519,-0.142960667610168,0.205907151103020,-0.291303843259811,0.111661970615387,0.084031164646149,0.259349107742310,-0.136880487203598,0.031780447810888,-0.127954766154289,0.255949914455414,-0.093680635094643,0.139796003699303) * MODEL5_texOff(vec2(0,0));
res += mat4(0.004338316153735,0.019263084977865,0.045902218669653,-0.093170695006847,0.533985972404480,0.180983573198318,0.257072895765305,0.229856804013252,0.042236581444740,-0.098894394934177,0.068388305604458,0.180532842874527,-0.058652035892010,-0.132286295294762,-0.623627781867981,-0.276131093502045) * MODEL5_texOff(vec2(0,1));
res += mat4(0.035490758717060,0.000673076894600,0.007992758415639,0.014788840897381,-0.087333984673023,0.069924868643284,0.134007915854454,0.073021702468395,-0.068774558603764,0.049462504684925,0.070556193590164,-0.028291163966060,0.221651226282120,0.060934033244848,-0.042969726026058,-0.031750679016113) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.616186916828156,-0.009524377062917,-0.465464472770691,-0.065704591572285,0.301873266696930,0.113787747919559,-0.157279089093208,0.049929730594158,-0.673837780952454,0.007846615277231,0.381509989500046,0.091762572526932,0.207759857177734,-0.096299789845943,0.080660104751587,0.133287906646729) * MODEL5_texOff(vec2(1,0));
res += mat4(0.071484774351120,0.132084220647812,-0.050707276910543,-0.062000464648008,0.277113318443298,-0.094608545303345,0.141165837645531,-0.041182968765497,-0.159001797437668,0.043337855488062,0.284953594207764,-0.087231576442719,-0.342940509319305,0.033915985375643,0.181980207562447,-0.043295521289110) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.161319971084595,0.039866413921118,-0.218041792511940,0.136931240558624,0.005821774248034,-0.019260285422206,0.137168094515800,0.037657398730516,-0.081137605011463,0.004513289313763,0.054682053625584,-0.008407797664404,0.091901905834675,0.148701161146164,0.062634050846100,-0.018368726596236) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.205745071172714,-0.165170207619667,0.284026563167572,-0.095860384404659,0.055740870535374,0.053942479193211,0.302995890378952,0.052375394850969,0.131783753633499,0.212016627192497,0.028067316859961,-0.084000371396542,-0.049142684787512,0.197171419858932,0.124133236706257,0.060171600431204) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.164071470499039,0.111284039914608,-0.163969919085503,0.101577773690224,0.101180501282215,0.093268088996410,-0.011194913648069,0.058157913386822,-0.021663326770067,0.057522896677256,0.235591605305672,-0.044839069247246,-0.056745428591967,0.157774150371552,-0.004869072698057,0.116208769381046) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.099058762192726,-0.075799092650414,-0.021826317533851,0.141379490494728,-0.161131143569946,-0.033829566091299,-0.325797051191330,0.023020619526505,0.015591611154377,0.047025054693222,0.069675385951996,-0.008117041550577,0.090528436005116,0.221558943390846,0.063912883400917,-0.007211118005216) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.022680895403028,0.028464613482356,-0.273777484893799,-0.105187259614468,0.212758481502533,-0.011888632550836,-0.330659747123718,-0.039871178567410,0.073296122252941,0.019707199186087,-0.281400233507156,-0.130273118615150,-0.157280504703522,0.140792205929756,0.178679242730141,-0.124233298003674) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.168684124946594,-0.152497708797455,-0.224558934569359,0.196584030985832,0.219724342226982,0.017569785937667,0.094507098197937,0.061021406203508,-0.103663250803947,0.115047208964825,0.355978041887283,-0.270135819911957,0.117921188473701,0.315340876579285,0.189489454030991,0.130033090710640) * MODEL6_texOff(vec2(0,1));
res += mat4(0.050601538270712,-0.109880648553371,-0.107926771044731,0.032717354595661,0.003903801785782,0.055061176419258,0.050706531852484,0.106739744544029,0.261859595775604,0.110208660364151,0.011633326299489,-0.012605373747647,0.056017525494099,0.163090705871582,0.014880051836371,0.028924839571118) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.003430101089180,0.253066390752792,-0.126144662499428,0.062382798641920,-0.357238173484802,-0.083659850060940,-0.000471008301247,-0.062730893492699,0.068506054580212,0.048647634685040,0.155853673815727,-0.139238759875298,-0.178360432386398,0.072512775659561,0.119917385280132,-0.026692500337958) * MODEL6_texOff(vec2(1,0));
res += mat4(0.040776293724775,-0.095240697264671,-0.079571522772312,0.064260400831699,0.162886068224907,0.017006397247314,0.025893770158291,0.124771252274513,-0.007573401089758,0.137922972440720,0.072909355163574,0.008290208876133,-0.146648347377777,0.133656263351440,0.128676563501358,-0.010258661583066) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.494397848844528,-0.159179270267487,0.244722992181778,0.939643740653992) * min(res, vec4(0.0));
return res;
}
//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 1.400 > OUTPUT.h LUMA.h / 1.400 > *
//!COMPONENTS 4
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL3
//!DESC (AU_F_S_2x_P) mapping 3_3
vec4 hook()
{
vec4 res = vec4(0.097739681601524,0.105017729103565,0.061546474695206,-0.078558355569839);
res += mat4(0.129523083567619,-0.027713188901544,0.050999961793423,-0.065194807946682,0.021770300343633,-0.001189053407870,-0.034048806875944,-0.079019613564014,0.100113913416862,0.024643521755934,-0.010681482031941,-0.031311810016632,-0.056407630443573,0.140842184424400,0.098220050334930,-0.048043478280306) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.154684185981750,0.262858629226685,0.283497184514999,0.068461425602436,0.092286519706249,-0.021610440686345,0.180887863039970,-0.224935173988342,0.160227596759796,0.030259434133768,0.036907561123371,0.055796060711145,0.021023631095886,-0.331761240959167,0.227399155497551,0.061709500849247) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.098642192780972,-0.215600758790970,0.135170623660088,-0.077860310673714,0.180383622646332,0.050530385226011,-0.011382017284632,0.131016314029694,0.219218313694000,-0.009178282693028,0.056394450366497,0.108491159975529,0.181076437234879,0.096428707242012,0.096549607813358,-0.044929381459951) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.002429135376588,-0.090811572968960,-0.027118690311909,0.070147454738617,0.084774449467659,-0.022422624751925,0.000587811984587,-0.013501556590199,0.126513302326202,0.044973906129599,0.107510350644588,0.077640555799007,0.016983466222882,0.143898785114288,-0.019231555983424,0.093719594180584) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.207771405577660,0.498629152774811,-0.083013072609901,-0.251609653234482,-0.003145060269162,0.013286372646689,-0.430906951427460,0.015991883352399,0.014051514677703,-0.025861259549856,0.078879937529564,0.273400545120239,-0.233431965112686,-0.178942680358887,-0.124671056866646,0.249539941549301) * MODEL4_texOff(vec2(0,0));
res += mat4(0.042546734213829,-0.140394136309624,0.267039239406586,-0.074751317501068,0.004231667611748,0.010829228907824,-0.151611194014549,-0.017691014334559,0.174827739596367,0.017795825377107,-0.055669013410807,0.112009301781654,0.211361557245255,0.014409864321351,0.141343340277672,-0.013739900663495) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.078549094498158,-0.044836360961199,0.032290980219841,0.149496868252754,0.017878971993923,0.004279550630599,0.076109848916531,0.113823480904102,0.113489612936974,-0.010292552411556,-0.017715610563755,0.249242350459099,0.067176565527916,0.023451628163457,0.050542332231998,0.030969109386206) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.163811758160591,0.068878985941410,-0.262769639492035,-0.161424547433853,-0.147926032543182,-0.023861702531576,0.119688190519810,0.554102003574371,0.110905326902866,-0.039249222725630,-0.000340181926731,0.361334890127182,0.144385233521461,-0.034493576735258,0.138628244400024,-0.248463630676270) * MODEL4_texOff(vec2(1,0));
res += mat4(0.150213599205017,-0.008170375600457,-0.157819196581841,0.073869295418262,0.096316270530224,-0.062005992978811,0.140708267688751,-0.210345193743706,0.230015680193901,0.000365390762454,0.069652527570724,0.200560927391052,-0.243185698986053,-0.052170440554619,0.085317760705948,-0.190113127231598) * MODEL4_texOff(vec2(1,1));
res += mat4(0.049890670925379,0.011911899782717,-0.159950539469719,-0.104883573949337,0.085561156272888,-0.035158608108759,0.080272488296032,0.095281384885311,0.079868577420712,0.013592080213130,-0.025010090321302,-0.003521398408338,-0.309794753789902,0.072163417935371,-0.044260613620281,0.157574519515038) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.002336052479222,-0.014917885884643,-0.134968861937523,0.149017632007599,-0.154638662934303,0.358815371990204,-0.261808574199677,0.510530352592468,-0.080085404217243,-0.046363160014153,-0.089568205177784,0.094469919800758,0.041472263634205,-0.089343219995499,-0.003042043186724,-0.140599846839905) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.148375719785690,-0.028398899361491,-0.655104875564575,-0.022305667400360,-0.228329360485077,-0.114793486893177,0.157174691557884,-0.002765923971310,0.056055646389723,0.134301856160164,-0.180649086833000,0.080240234732628,0.236189410090446,0.067978858947754,0.031907271593809,-0.020782519131899) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.070912607014179,-0.098367102444172,-0.226261734962463,0.024953261017799,0.121531531214714,0.099184580147266,-0.038084752857685,-0.128689482808113,0.048136673867702,0.117612965404987,0.087497189640999,0.035538777709007,0.041203830391169,0.367210924625397,0.235790848731995,-0.183960914611816) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.204890653491020,0.020705979317427,0.174054518342018,-0.371038526296616,0.141887351870537,0.186707586050034,0.045634243637323,-0.527662277221680,-0.125437811017036,0.080057315528393,-0.213844269514084,0.345278948545456,-0.037167824804783,-0.237720265984535,0.067820318043232,0.255830913782120) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.198160111904144,0.007355774287134,-0.058724913746119,-0.166535690426826,-0.024415876716375,-0.118210017681122,-0.050585027784109,-0.139558523893356,0.165979772806168,0.011270334012806,-0.040638662874699,0.219341397285461,0.034353323280811,-0.096524119377136,-0.020871086046100,0.095714278519154) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.165051147341728,0.034931875765324,-0.047039106488228,-0.093127861618996,-0.043973110616207,0.138186007738113,0.118838265538216,-0.075280070304871,0.093211047351360,-0.085851244628429,0.025083027780056,0.125437870621681,0.186364650726318,-0.026802368462086,-0.122917816042900,0.042846281081438) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.031011663377285,-0.079605825245380,-0.210811197757721,-0.067344494163990,-0.157981172204018,-0.049277834594250,-0.025478847324848,-0.102810315787792,-0.014973394572735,0.129878073930740,0.210483863949776,-0.073598496615887,-0.012794286012650,-0.066238015890121,-0.246887385845184,-0.085128255188465) * MODEL5_texOff(vec2(1,0));
res += mat4(0.057432074099779,-0.023780601099133,-0.146094575524330,0.065843120217323,0.017588201910257,-0.010781526565552,0.012446832843125,0.291714936494827,0.089641861617565,0.017046967521310,0.051886625587940,-0.303237706422806,0.092658750712872,0.096896782517433,-0.105659015476704,-0.043601684272289) * MODEL5_texOff(vec2(1,1));
res += mat4(0.017935488373041,-0.170569434762001,0.117286749184132,-0.164354458451271,0.139639586210251,-0.058631185442209,-0.065324485301971,0.013678669929504,0.034480240195990,0.197811976075172,0.017573015764356,-0.054757643491030,-0.358077615499496,-0.044762119650841,0.032768804579973,-0.177331641316414) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.110178291797638,0.280308008193970,-0.010933127254248,0.286007851362228,-0.092217706143856,0.083622783422470,-0.262022465467453,0.147600397467613,0.188150078058243,-0.409640818834305,-0.046790324151516,-0.118671558797359,-0.582979202270508,0.059131409972906,-0.178988352417946,0.023111173883080) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.103497639298439,-0.161336511373520,0.250157922506332,-0.049914378672838,-0.184129476547241,-0.003844843013212,-0.050008781254292,0.000306769652525,-0.081983909010887,0.074226066470146,0.110549405217171,-0.085011713206768,-0.349954813718796,-0.069980219006538,-0.117730662226677,-0.101121507585049) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.135347619652748,-0.280103772878647,-0.041101876646280,0.267693072557449,0.061267651617527,0.186875104904175,-0.053888916969299,-0.167114093899727,-0.038806911557913,0.104770191013813,0.074517175555229,-0.011457047425210,-0.482286453247070,-0.001767169218510,0.079803630709648,-0.088736295700073) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.125459328293800,0.387177228927612,0.249899104237556,-0.304168105125427,0.059827085584402,-0.041389372199774,0.164409115910530,0.126864850521088,-0.161171466112137,-0.243209496140480,0.144825056195259,-0.238189652562141,-0.655411183834076,-0.011896524578333,0.113150775432587,-0.209084227681160) * MODEL6_texOff(vec2(0,0));
res += mat4(0.173629671335220,-0.077410064637661,0.430220723152161,-0.013992784544826,-0.060436859726906,-0.049228087067604,-0.070421807467937,0.048191897571087,-0.118140205740929,-0.018144933506846,0.019373025745153,0.278368294239044,-0.658631026744843,-0.070885710418224,-0.147212237119675,-0.200355276465416) * MODEL6_texOff(vec2(0,1));
res += mat4(0.000182608840987,-0.042347706854343,0.014152935706079,-0.073314450681210,0.218654572963715,-0.064555883407593,0.047969356179237,0.012497841380537,-0.013664395548403,-0.013760998845100,0.022573916241527,0.088338732719421,-0.478035569190979,0.016645617783070,0.075050942599773,-0.039352308958769) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.129273489117622,0.047196261584759,0.120666556060314,-0.085409812629223,0.000290004623821,0.080538146197796,-0.086453035473824,-0.345654129981995,0.109631918370724,-0.093421727418900,-0.071314528584480,-0.002100016223267,-0.364124357700348,-0.091407038271427,0.096112385392189,0.037832096219063) * MODEL6_texOff(vec2(1,0));
res += mat4(0.002792316023260,0.026241566985846,0.085343748331070,-0.094596117734909,0.058486137539148,-0.002270547440276,0.011223528534174,0.159128993749619,0.018425220623612,-0.028487967327237,0.037911657243967,-0.120871931314468,-0.257084846496582,0.001099075423554,0.008367310278118,-0.200005114078522) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.203394278883934,-0.879072308540344,-0.191747412085533,0.075340852141380) * min(res, vec4(0.0));
return res;
}
//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 1.400 > OUTPUT.h LUMA.h / 1.400 > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!SAVE MODEL4
//!DESC (AU_F_S_2x_P) mapping 4_1
vec4 hook()
{
vec4 res = vec4(0.029568893834949,-0.013127292506397,-0.187501728534698,-0.124721974134445);
res += mat4(-0.088964059948921,0.109053306281567,0.076030947268009,-0.021577458828688,-0.129947751760483,-0.039945792406797,-0.027984760701656,-0.079609476029873,-0.100500084459782,-0.064144819974899,0.105048842728138,-0.103952027857304,0.008019647561014,-0.029415154829621,0.100638493895531,-0.120769053697586) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.171492606401443,-0.041952021420002,-0.059099886566401,-0.161640182137489,-0.049836520105600,0.079601019620895,0.049230683594942,0.114940382540226,0.065317459404469,-0.149293690919876,0.086285687983036,0.114348009228706,-0.008967068977654,-0.261149555444717,0.155094653367996,-0.010970123112202) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.166842266917229,-0.002202377421781,-0.066359318792820,0.135455772280693,0.107946552336216,0.112238876521587,-0.106009416282177,0.064269870519638,0.070552803575993,-0.002867215778679,-0.109895311295986,-0.091202206909657,-0.000525214651134,-0.009087882004678,-0.092044271528721,-0.036679599434137) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.140475749969482,-0.011740447953343,0.093746840953827,-0.110399872064590,0.117189697921276,0.058363441377878,0.128159016370773,0.165003210306168,-0.299859642982483,-0.122769035398960,-0.111979983747005,0.160735696554184,-0.004997243639082,-0.177236557006836,0.161221772432327,-0.100650437176228) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.166867479681969,-0.008973893709481,-0.004305879119784,-0.065297178924084,0.052920740097761,0.053785085678101,-0.316729068756104,-0.560313880443573,0.048303283751011,0.062071528285742,0.071606397628784,-0.087752446532249,-0.233194574713707,-0.132950663566589,0.129903003573418,-0.075483210384846) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.087537422776222,0.012166628614068,-0.047770809382200,0.065791957080364,0.099572055041790,-0.098450660705566,0.124021209776402,-0.263971745967865,-0.042803272604942,0.060458123683929,0.072190485894680,0.251000344753265,0.016876801848412,-0.018612075597048,0.032923534512520,0.040332306176424) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.072734132409096,-0.015711972489953,-0.288069397211075,0.105848409235477,-0.003504245541990,-0.160495147109032,-0.237168729305267,-0.093427978456020,0.035819366574287,-0.036697447299957,0.405515611171722,0.077487736940384,0.076981514692307,0.079115144908428,-0.034229166805744,-0.069197148084641) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.094129674136639,0.043937202543020,0.035332903265953,0.280813515186310,0.039289437234402,-0.342267990112305,-0.005513950251043,0.191336661577225,0.174594312906265,-0.009787595830858,0.088807202875614,-0.050889201462269,-0.064660929143429,0.308572620153427,-0.326971888542175,0.082960225641727) * MODEL1_texOff(vec2(1,0));
res += mat4(0.039243262261152,0.036585059016943,-0.017161868512630,-0.118668392300606,-0.041135717183352,-0.091178774833679,-0.125828444957733,0.151043698191643,0.077594831585884,0.030030999332666,0.113494843244553,-0.059384610503912,0.110230460762978,-0.012206607498229,0.160881534218788,-0.004558296874166) * MODEL1_texOff(vec2(1,1));
res += mat4(0.033150020986795,0.029183607548475,-0.057200137525797,-0.024218808859587,-0.028856977820396,0.004624873865396,0.158195123076439,-0.040939159691334,-0.012629324570298,0.067840389907360,-0.043689142912626,-0.095313526690006,0.020059775561094,-0.073845051229000,0.037713799625635,0.089739762246609) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.046105176210403,-0.200394466519356,0.120053499937057,-0.149886637926102,0.230692297220230,0.265095502138138,-0.078601494431496,-0.071417093276978,0.095500871539116,0.335217982530594,-0.185464948415756,0.107311785221100,0.263954699039459,0.075361706316471,0.039835426956415,0.086377426981926) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.147698074579239,-0.073075391352177,0.127793043851852,0.036852743476629,0.192821905016899,0.005069294944406,-0.005636810325086,-0.209133028984070,-0.096165589988232,-0.023216396570206,0.088826201856136,-0.064107038080692,-0.137337371706963,0.052810594439507,-0.018715213984251,-0.135976165533066) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.036481447517872,-0.057252183556557,0.125381007790565,-0.013321467675269,0.125258639454842,-0.047024048864841,0.088556982576847,-0.101497456431389,-0.119177140295506,-0.157626971602440,0.110209673643112,-0.021637126803398,0.227898806333542,0.021709417924285,-0.149057805538177,-0.241335973143578) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.062127612531185,-0.101909667253494,-0.320367813110352,-0.196253553032875,0.140763685107231,-0.168738201260567,0.141196027398109,-0.011889847926795,-0.175149813294411,-0.354815632104874,0.698472499847412,0.316538721323013,0.225480005145073,-0.121464006602764,0.347505897283554,-0.453170895576477) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.056594755500555,0.012219902127981,-0.167242094874382,0.121053308248520,0.050248652696609,-0.099213175475597,0.140915334224701,-0.168397694826126,-0.121402218937874,-0.078777797520161,0.029080720618367,0.287208914756775,-0.170633792877197,-0.032051477581263,0.022352512925863,0.130645632743835) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.158769369125366,-0.347258508205414,-0.154299616813660,0.091310724616051,0.176364585757256,-0.151767238974571,0.014367953874171,-0.042321536689997,0.017674531787634,0.019424432888627,0.174342632293701,-0.044897906482220,-0.053757313638926,0.033573821187019,-0.130564585328102,0.067918919026852) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.095812968909740,-0.041780456900597,0.246526122093201,0.212177872657776,0.198223635554314,0.009219284169376,-0.121318832039833,-0.064930096268654,0.138411402702332,0.389400303363800,0.232720553874969,-0.319980442523956,-0.203338295221329,0.054119724780321,-0.295741528272629,0.202535942196846) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.019796280190349,-0.152543678879738,0.094794414937496,0.010421018116176,0.144254118204117,-0.155370056629181,-0.024939799681306,-0.172805353999138,0.093070343136787,0.299580782651901,0.039474636316299,-0.150625169277191,0.051332108676434,0.125089585781097,0.167497381567955,-0.016429144889116) * MODEL2_texOff(vec2(1,1));
res += mat4(0.121028177440166,0.307629942893982,-0.002259385073557,0.002676052041352,-0.007650399114937,-0.010600210167468,0.008821968920529,0.013311242684722,-0.145814552903175,-0.117347732186317,-0.052612300962210,-0.092580273747444,-0.182047486305237,-0.034579146653414,-0.101842068135738,0.062534675002098) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.030601175501943,0.058610267937183,-0.272994965314865,-0.086966440081596,-0.056387405842543,-0.112876139581203,-0.022928625345230,0.025141434744000,-0.124225206673145,-0.297953069210052,0.166914269328117,0.273220062255859,-0.113111726939678,0.045119464397430,0.042307205498219,0.261807054281235) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.046659417450428,-0.140954583883286,-0.105178453028202,0.205562725663185,-0.010896581225097,0.088771753013134,-0.080466069281101,-0.012703177519143,-0.031085196882486,-0.060368474572897,0.022928163409233,0.026875361800194,-0.003863100660965,0.220143720507622,-0.015252998098731,0.213068261742592) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.007077232468873,-0.141410022974014,0.092033378779888,-0.101471871137619,-0.085985369980335,-0.052086308598518,0.003387534758076,-0.044834326952696,0.045658968389034,-0.037019260227680,0.248113065958023,-0.053907524794340,-0.127578914165497,0.305001944303513,0.010234028100967,0.218638285994530) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.013110775500536,0.054046925157309,0.174015969038010,0.126742973923683,-0.092137232422829,0.079345867037773,-0.040852379053831,-0.063816592097282,0.040258619934320,0.008322623558342,-0.307291388511658,-0.107798293232918,-0.024833636358380,-0.022828401997685,0.118046090006828,0.227340266108513) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.001490590395406,0.150061190128326,-0.207583069801331,-0.191336557269096,0.067640334367752,-0.101649209856987,0.205253064632416,0.011454284191132,-0.063690148293972,-0.043535940349102,0.025415116921067,-0.077474415302277,0.071716718375683,-0.053503222763538,0.122096404433250,0.198004618287086) * MODEL3_texOff(vec2(0,1));
res += mat4(0.061581995338202,0.048071637749672,-0.232088699936867,0.150058090686798,-0.073225438594818,0.016887748613954,-0.101343885064125,-0.005217676050961,-0.085268221795559,-0.327478915452957,-0.017152747139335,0.027646934613585,-0.027461733669043,0.268512517213821,0.076785594224930,0.106246925890446) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.018853090703487,-0.300392597913742,-0.198189303278923,-0.280987679958344,-0.160139232873917,-0.031486127525568,0.208054319024086,0.045576781034470,0.120691202580929,-0.208678141236305,0.010959786362946,0.008537315763533,0.092975005507469,0.325443387031555,-0.008090103045106,-0.107811406254768) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.201969727873802,-0.175485417246819,-0.097777754068375,0.208327844738960,0.164787605404854,0.062795035541058,-0.229435756802559,-0.124833047389984,-0.036073360592127,-0.005052544642240,0.005498099140823,-0.012369547970593,-0.084467768669128,0.136575460433960,-0.163211479783058,0.025953264907002) * MODEL3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.810108304023743,0.208351343870163,0.207063525915146,-0.000504640862346) * min(res, vec4(0.0));
return res;
}
//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 1.400 > OUTPUT.h LUMA.h / 1.400 > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!SAVE MODEL5
//!DESC (AU_F_S_2x_P) mapping 4_2
vec4 hook()
{
vec4 res = vec4(0.028351735323668,-0.070245034992695,-0.032832127064466,-0.129625231027603);
res += mat4(-0.006283196154982,0.120608516037464,0.059156693518162,-0.020436758175492,-0.016856791451573,-0.053156252950430,-0.126497626304626,-0.101570978760719,0.074809052050114,-0.069554790854454,0.051965657621622,-0.161274269223213,-0.048747517168522,-0.088472723960876,0.031560815870762,-0.035404603928328) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.006132170557976,0.333501309156418,0.071959368884563,0.330306738615036,0.100833751261234,-0.131148800253868,0.046923462301493,-0.032792221754789,0.025891356170177,-0.138374432921410,0.128091454505920,0.113859735429287,-0.006455185357481,-0.041247118264437,-0.165479943156242,0.049904175102711) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.001946688164026,0.121341742575169,0.007602375000715,0.080977268517017,0.051171615719795,0.042131759226322,-0.000753547938075,0.056398935616016,-0.054694619029760,-0.008758157491684,0.001956021180376,0.010175003670156,0.054892081767321,-0.155570656061172,0.073166593909264,-0.018338393419981) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.155899494886398,0.147660106420517,0.145454972982407,0.065665461122990,0.118734888732433,-0.341731786727905,0.071771107614040,0.167684376239777,0.136234015226364,0.174254804849625,-0.127866894006729,0.275949358940125,0.166020214557648,0.049264356493950,-0.224905595183372,0.032232329249382) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.187576875090599,0.351654261350632,0.047675918787718,-0.455376774072647,0.386761665344238,-0.069929033517838,-0.112302720546722,0.049378503113985,-0.172657102346420,0.000877913378645,0.032084133476019,0.083508595824242,-0.340699493885040,0.319584220647812,0.461313694715500,0.117327272891998) * MODEL1_texOff(vec2(0,0));
res += mat4(0.310226112604141,0.131594747304916,-0.018069479614496,0.246192872524261,-0.286534577608109,-0.212409362196922,-0.113717101514339,-0.214332565665245,0.147896379232407,0.067778959870338,0.034243874251842,0.042666081339121,-0.089393235743046,0.075367242097855,-0.113015241920948,0.241698339581490) * MODEL1_texOff(vec2(0,1));
res += mat4(0.033066719770432,-0.098990894854069,-0.061495222151279,0.010497322306037,-0.002826133277267,0.027468519285321,0.093642659485340,-0.031198853626847,-0.102290451526642,-0.042793102562428,0.095060244202614,-0.108733437955379,-0.024825956672430,-0.090388022363186,0.036868885159492,-0.076957389712334) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.169613778591156,-0.208280727267265,-0.200221478939056,0.040836308151484,0.016927294433117,-0.244803622364998,-0.077362246811390,-0.023652533069253,-0.115617580711842,0.232601955533028,0.059053979814053,-0.166539907455444,-0.106821224093437,-0.192389503121376,-0.312702596187592,-0.013318438082933) * MODEL1_texOff(vec2(1,0));
res += mat4(0.087246343493462,-0.095056392252445,0.066746316850185,-0.108074270188808,-0.011669442988932,0.042074300348759,0.083465337753296,0.097061626613140,-0.050688125193119,0.179514229297638,-0.038734734058380,-0.028820585459471,-0.000480808143038,-0.151841163635254,-0.051836125552654,-0.083012379705906) * MODEL1_texOff(vec2(1,1));
res += mat4(0.046697400510311,-0.020963739603758,0.064183332026005,-0.141980990767479,-0.105106011033058,-0.005541486199945,0.094592630863190,-0.106266580522060,0.074086353182793,0.057458210736513,-0.071527950465679,-0.105530574917793,-0.010563494637609,0.076640717685223,0.020292110741138,0.046862479299307) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.060930494219065,-0.324709743261337,-0.050825096666813,0.227038711309433,-0.090297333896160,0.177412182092667,-0.087804496288300,-0.049095734953880,-0.088160552084446,0.119274929165840,0.050997704267502,-0.147256568074226,-0.133236557245255,0.368394494056702,-0.243745222687721,-0.031803317368031) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.023791639134288,-0.125576198101044,-0.065537922084332,-0.049751777201891,-0.005597659386694,0.065224885940552,0.110802821815014,-0.273752301931381,-0.166317567229271,0.080790832638741,-0.062135197222233,-0.053367141634226,0.045873593539000,0.180293545126915,0.069398142397404,-0.136450707912445) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.006269261706620,-0.010177779011428,0.013139920309186,0.082701705396175,-0.071825191378593,-0.234784767031670,0.023297825828195,-0.013210226781666,0.045339178293943,-0.077814638614655,-0.036122649908066,0.070984743535519,-0.035231385380030,-0.028621701523662,-0.140134364366531,-0.021500084549189) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.155387371778488,0.336633980274200,-0.121746942400932,-0.309290349483490,-0.034483585506678,-0.541038751602173,0.181318655610085,0.003614745801315,-0.133763134479523,0.168079137802124,-0.061202384531498,0.079661868512630,-0.356520235538483,-0.114835523068905,0.432268291711807,-0.112215004861355) * MODEL2_texOff(vec2(0,0));
res += mat4(0.232183933258057,0.260043203830719,-0.022064335644245,0.175513386726379,-0.285529792308807,-0.265685409307480,0.062874637544155,-0.107955627143383,0.350021213293076,-0.016608865931630,0.089204013347626,-0.145316392183304,0.489680111408234,-0.070567257702351,-0.036920320242643,0.150438234210014) * MODEL2_texOff(vec2(0,1));
res += mat4(0.000088885775767,0.030975477769971,0.006354947108775,0.044646300375462,0.001866724225692,0.000085836065409,0.046827480196953,-0.040701858699322,0.039662949740887,0.000337331352057,-0.069837830960751,-0.017001481726766,0.000463752105134,-0.111511200666428,0.014686980284750,0.068549267947674) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.155832871794701,-0.345653325319290,-0.200397536158562,0.079417437314987,-0.105927303433418,0.235204637050629,0.143577888607979,-0.147237658500671,0.238290935754776,0.076597586274147,0.219392955303192,-0.103308655321598,0.036072138696909,-0.137994438409805,-0.244978889822960,0.130471587181091) * MODEL2_texOff(vec2(1,0));
res += mat4(0.083571441471577,-0.050777997821569,0.053200196474791,-0.110651969909668,-0.008876024745405,0.097497686743736,-0.019298223778605,-0.208220258355141,0.038922950625420,0.111722499132156,0.051979590207338,0.022230712696910,0.038551647216082,-0.119549624621868,-0.010464188642800,0.073324382305145) * MODEL2_texOff(vec2(1,1));
res += mat4(0.012950729578733,0.214441090822220,-0.015585790388286,-0.038400407880545,-0.004504254087806,-0.031595740467310,0.023711010813713,0.033774722367525,0.050502024590969,-0.257093816995621,-0.086336068809032,-0.095790550112724,0.042587812989950,-0.033789895474911,-0.070804893970490,0.071122899651527) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.100468620657921,-0.088324636220932,0.141170799732208,-0.023336082696915,0.027558885514736,-0.033710703253746,-0.070883423089981,0.055635754019022,0.078134201467037,-0.446453303098679,0.067746140062809,0.018758190795779,-0.023789368569851,-0.028558678925037,-0.019117474555969,0.340274631977081) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.107038274407387,-0.288850069046021,0.076274245977402,0.021933181211352,0.038967430591583,0.058879919350147,0.011305845342577,-0.052926041185856,-0.027368348091841,-0.124938637018204,-0.009183983318508,-0.079585403203964,0.120124533772469,0.119685798883438,-0.013429671525955,0.252044886350632) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.010658126324415,-0.293697297573090,-0.027106285095215,0.043498061597347,0.087677769362926,0.039513800293207,-0.094803519546986,-0.036116559058428,0.037379223853350,-0.139625996351242,-0.018178684636950,-0.045330058783293,-0.008417292498052,0.009813676588237,-0.020933873951435,0.088965341448784) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.217526450753212,-0.119560874998569,0.063333131372929,-0.011489734053612,-0.065269574522972,0.097839102149010,0.064807280898094,-0.180455505847931,0.004447294399142,0.208016529679298,0.086190812289715,0.296362429857254,0.044070787727833,-0.109324030578136,-0.119065977632999,0.482261240482330) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.168329134583473,0.164711356163025,-0.063338123261929,-0.001114579616114,-0.212147012352943,-0.246364116668701,0.071815803647041,0.101961076259613,-0.122514344751835,-0.007511625066400,-0.041841056197882,0.033458158373833,-0.187176302075386,0.003558332799003,0.013010077178478,-0.123041689395905) * MODEL3_texOff(vec2(0,1));
res += mat4(0.000195998174604,0.248467847704887,0.089059673249722,-0.024973563849926,0.063686817884445,-0.050926674157381,-0.001983699621633,-0.005081088282168,-0.015111077576876,-0.077675171196461,-0.045258600264788,0.023785131052136,0.021140653640032,0.010698015801609,-0.071375422179699,0.022682918235660) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.070647343993187,0.094949528574944,0.087378688156605,-0.067035607993603,-0.056880239397287,-0.141031920909882,-0.112173810601234,0.066930167376995,-0.025240398943424,0.013032502494752,0.015199175104499,-0.216930463910103,0.125964596867561,0.349532216787338,0.077192530035973,-0.005037594120950) * MODEL3_texOff(vec2(1,0));
res += mat4(0.152099534869194,-0.273548871278763,-0.154757484793663,0.178724840283394,-0.077222980558872,0.031050786375999,0.082057461142540,-0.174233391880989,0.071946151554585,-0.070388562977314,-0.040552254766226,-0.025135822594166,0.004994012881070,0.069535225629807,-0.080492727458477,0.141498953104019) * MODEL3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.894678771495819,0.105614833533764,1.030059695243835,0.072801314294338) * min(res, vec4(0.0));
return res;
}
//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 1.400 > OUTPUT.h LUMA.h / 1.400 > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!SAVE MODEL6
//!DESC (AU_F_S_2x_P) mapping 4_3
vec4 hook()
{
vec4 res = vec4(-0.006212948821485,0.161270469427109,-0.121675789356232,-0.024371463805437);
res += mat4(0.065298646688461,0.010419412516057,0.048936400562525,-0.073974706232548,-0.007220231927931,-0.025903673842549,0.030730543658137,0.130861774086952,0.015122952871025,0.135850563645363,-0.120362155139446,0.056339856237173,0.084587231278419,-0.019738212227821,0.009671984240413,-0.134545952081680) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.040312316268682,-0.123599924147129,0.134819597005844,-0.088717475533485,-0.045587211847305,0.069268710911274,0.084695503115654,-0.017982779070735,0.141727432608604,-0.053010530769825,-0.078845456242561,-0.113164618611336,-0.199037089943886,-0.029194273054600,0.075217358767986,0.095805525779724) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.102847151458263,0.021610615774989,-0.232300549745560,0.071532733738422,0.059852015227079,0.063115805387497,-0.017585014924407,0.002411434659734,0.106188848614693,-0.045571941882372,-0.116763107478619,-0.057589277625084,0.046173211187124,-0.087736472487450,-0.008794293738902,0.025723692029715) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.031566351652145,0.020310506224632,0.101025708019733,-0.022561330348253,0.323910951614380,0.035793032497168,0.086455523967743,0.328509747982025,-0.332572042942047,-0.001707809744403,-0.528882801532745,0.495618253946304,-0.047299709171057,0.174248799681664,-0.193233594298363,0.066305659711361) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.298102736473083,0.173432201147079,0.408151954412460,-0.091637864708900,-0.270680099725723,0.244381189346313,-0.340533286333084,0.238309770822525,0.023114709183574,-0.085826635360718,-0.159593075513840,-0.606712460517883,-0.546391963958740,-0.514577329158783,0.267574608325958,0.293296933174133) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.102267883718014,0.101782366633415,-0.273403763771057,0.256355464458466,-0.055289514362812,-0.186881408095360,0.226546630263329,-0.022067373618484,-0.053727075457573,0.083969540894032,-0.042791873216629,0.202150434255600,0.315517693758011,0.007700835820287,0.053301349282265,-0.041803982108831) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.141492009162903,0.145748242735863,0.009151862002909,0.037177927792072,0.100926704704762,-0.001636133529246,0.150827631354332,0.229400247335434,0.082187697291374,-0.202582716941833,-0.046892095357180,0.092119805514812,0.144638940691948,-0.075726509094238,-0.147929325699806,0.078965857625008) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.240533575415611,0.076451294124126,0.065988734364510,-0.129492595791817,-0.078442394733429,-0.190319135785103,0.064067609608173,0.309792697429657,0.136242866516113,-0.265276908874512,-0.037940874695778,-0.095065861940384,0.086536027491093,0.190800696611404,0.079203508794308,0.036970730870962) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.139510735869408,0.041922949254513,-0.085572116076946,0.044643174856901,0.000978428288363,0.064948938786983,0.059116501361132,0.000030625531508,-0.021688662469387,-0.080971792340279,-0.152945920825005,0.052289921790361,0.154415354132652,-0.077367268502712,0.036649860441685,0.015530622564256) * MODEL1_texOff(vec2(1,1));
res += mat4(0.038613293319941,0.100314013659954,-0.180517211556435,0.040061421692371,0.030495233833790,-0.253750056028366,0.153889775276184,-0.030818033963442,-0.090352885425091,-0.008122993633151,-0.085186421871185,0.070068843662739,0.016315499320626,-0.060810215771198,0.077711366117001,-0.047084569931030) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.011879141442478,-0.031515248119831,0.079556025564671,-0.183468431234360,0.023238804191351,-0.022474562749267,-0.179991587996483,0.212770551443100,0.092731758952141,0.010664392262697,0.043502379208803,-0.059809636324644,-0.130319833755493,0.018259746953845,-0.042920723557472,-0.040153078734875) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.126988500356674,0.003500719554722,0.008221706375480,0.179114878177643,0.066954828798771,-0.052511230111122,0.043336525559425,-0.111457675695419,0.008442784659564,-0.136430665850639,0.078680343925953,-0.075432002544403,-0.117554835975170,-0.037520211189985,-0.189967483282089,-0.026250317692757) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.178518161177635,-0.037418413907290,-0.261779099702835,0.038078594952822,0.161653921008110,-0.017192855477333,0.264578044414520,-0.351943284273148,-0.075698636472225,-0.073601253330708,-0.327392697334290,0.014883352443576,-0.045326977968216,0.023012546822429,0.138756260275841,-0.168219149112701) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.182316288352013,-0.012597923167050,0.380838364362717,-0.269933074712753,0.126393377780914,-0.161639258265495,-0.459321796894073,0.288284063339233,0.184789106249809,-0.178750738501549,0.217569902539253,-0.183006048202515,-0.125522583723068,-0.067637838423252,-0.070200130343437,-0.496908247470856) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.089818261563778,0.181710556149483,-0.165125757455826,0.231417834758759,0.192796364426613,-0.066397316753864,0.206713885068893,-0.288118064403534,-0.061855498701334,0.069121524691582,-0.099810674786568,0.020606396719813,0.001491904491559,0.199668526649475,-0.291028290987015,0.341294169425964) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.049301289021969,0.059307023882866,-0.193933993577957,0.009072942659259,0.059542097151279,-0.023980176076293,0.021560031920671,-0.122852504253387,0.121077932417393,0.080069459974766,-0.095130413770676,-0.078125238418579,0.158060550689697,0.083494298160076,0.001664781593718,-0.047530546784401) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.153635829687119,0.051112893968821,0.175674796104431,-0.034240804612637,0.132865130901337,-0.034419938921928,-0.137104287743568,0.054351709783077,0.074656620621681,-0.274040699005127,0.070094197988510,-0.056488756090403,0.060894321650267,0.053428359329700,-0.141155347228050,-0.248208746314049) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.100154228508472,-0.044006306678057,-0.039035879075527,0.119928784668446,0.056116368621588,0.064117863774300,0.119067557156086,0.016101447865367,0.004041149280965,-0.103801459074020,-0.101177744567394,0.089132361114025,0.054066367447376,-0.158217027783394,-0.119811981916428,0.078056752681732) * MODEL2_texOff(vec2(1,1));
res += mat4(0.113465875387192,0.018893172964454,0.215118885040283,-0.134907141327858,0.007766645867378,0.039256166666746,-0.008988967165351,0.052642550319433,-0.029280418530107,0.046163421124220,0.089359521865845,-0.051669865846634,-0.116910815238953,0.089592352509499,-0.131664246320724,0.071854792535305) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.011554191820323,0.068800210952759,-0.339666187763214,0.167229950428009,-0.042717222124338,0.002385849365965,0.038693357259035,0.051163695752621,-0.001142643974163,0.018257725983858,-0.105011329054832,0.171110108494759,0.135067433118820,-0.066612705588341,-0.147809535264969,-0.183450177311897) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.096515782177448,0.056320674717426,0.210266783833504,-0.201332613825798,0.003718286519870,0.020919073373079,-0.010552579537034,0.020105510950089,0.043417710810900,-0.120268501341343,0.151968568563461,0.009663231670856,0.041855685412884,0.152605772018433,-0.047955293208361,-0.035676553845406) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.142899945378304,0.196509271860123,-0.169899329543114,-0.003237827681005,-0.082420453429222,0.101899556815624,-0.048291966319084,0.137962415814400,0.004633085336536,-0.000821280642413,-0.036837235093117,-0.092964418232441,0.019160859286785,-0.096314206719398,-0.093625180423260,0.118215769529343) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.043164677917957,-0.236447215080261,0.009126788936555,0.041955627501011,-0.028802139684558,-0.150954991579056,0.332372277975082,0.011955847963691,-0.043078750371933,-0.116236768662930,-0.111877813935280,0.277967572212219,-0.221141114830971,-0.033513512462378,-0.165806889533997,0.041323989629745) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.041173554956913,0.014200469478965,0.018198238685727,-0.119764387607574,0.196122005581856,-0.318252950906754,0.331639260053635,-0.116457968950272,-0.008990798145533,-0.040018629282713,0.299953013658524,-0.175045534968376,0.039376489818096,-0.069227859377861,0.231159731745720,-0.186362326145172) * MODEL3_texOff(vec2(0,1));
res += mat4(0.052781991660595,0.095768518745899,-0.166433557868004,0.257479041814804,-0.051481243222952,-0.062862679362297,-0.098182544112206,0.152569174766541,-0.021687848493457,-0.029334753751755,-0.205948323011398,0.022674553096294,0.142088666558266,0.048739623278379,0.094228826463223,-0.088001653552055) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.160303741693497,0.078075140714645,0.127045601606369,-0.194529071450233,-0.114805445075035,-0.000087032341980,0.177686691284180,-0.042603820562363,0.078990183770657,0.040210187435150,0.176797151565552,-0.075013697147369,0.080184303224087,-0.078508228063583,-0.248127311468124,0.107761755585670) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.078383266925812,0.126820459961891,-0.229640483856201,0.103651791810989,0.127914741635323,0.112014107406139,0.203168600797653,-0.122511290013790,-0.018967837095261,0.025756156072021,-0.068391479551792,0.096724353730679,-0.024829564616084,0.105223082005978,0.028768951073289,-0.054428275674582) * MODEL3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(1.065149307250977,2.504436969757080,-0.022964768111706,-0.007134946528822) * min(res, vec4(0.0));
return res;
}
//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 1.400 > OUTPUT.h LUMA.h / 1.400 > *
//!COMPONENTS 4
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE SUBCONV1
//!DESC (AU_F_S_2x_P) sup-pixel convolution 1
vec4 hook()
{
vec4 res = vec4(0.001107748830691,0.000770371116232,-0.000870629737619,-0.001030368148349);
res += mat4(-0.002794787986204,0.001855612732470,-0.001801547245122,0.000113790280011,-0.011212901212275,0.002982172882184,0.002685939427465,-0.004472579807043,0.006224575918168,-0.003449182026088,-0.008821171708405,-0.004224753938615,-0.004891125485301,-0.006793721113354,-0.015240704640746,0.001082092639990) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.002541047753766,-0.003760947147384,-0.003534435294569,-0.002660787198693,-0.042843442410231,-0.024929283186793,0.050000153481960,0.032173044979572,-0.041284441947937,0.016502596437931,-0.005982157774270,-0.020006116479635,0.004660920705646,0.022316502407193,-0.009465133771300,-0.026861194521189) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.000736380054150,-0.001121551846154,-0.000212997736526,-0.001923158881254,0.009238824248314,-0.019592342898250,-0.006712816655636,0.016006564721465,0.004033585544676,-0.040105681866407,0.014665907248855,0.024334365502000,0.008735649287701,-0.003282242221758,0.000487596058520,-0.002404957776889) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.001428351737559,-0.005839762743562,-0.001129404176027,0.000326446024701,0.001024579978548,0.001993017969653,-0.001427577924915,0.003429670585319,0.002464225050062,-0.002103455830365,-0.004881432745606,0.001698043779470,-0.024477457627654,-0.003878265619278,0.035841830074787,-0.006558584515005) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.019547354429960,0.013133972883224,0.011225686408579,0.014282258227468,0.039123430848122,0.017040204256773,-0.025493049994111,-0.011648820713162,-0.027548303827643,-0.053739033639431,0.065642140805721,0.027244325727224,-0.010479629971087,-0.062115114182234,-0.013353476300836,0.041472539305687) * MODEL4_texOff(vec2(0,0));
res += mat4(0.012582295574248,-0.015994567424059,0.006275091785938,-0.001507418346591,-0.004501005169004,0.018366456031799,0.001244291546755,-0.010237730108202,0.002865047659725,0.039229005575180,-0.022118682041764,0.007370200008154,-0.018965683877468,0.007051652763039,0.003706388408318,0.001098379492760) * MODEL4_texOff(vec2(0,1));
res += mat4(0.002554156584665,-0.002067944966257,0.002773419488221,-0.006498323753476,-0.003995949868113,0.007091239094734,-0.001760676386766,0.005449696909636,-0.006349062547088,-0.014047463424504,0.016292633488774,-0.011702976189554,0.010904948227108,0.005731580313295,-0.000195119340788,0.009400792419910) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.008686708286405,0.008789653889835,-0.019117930904031,0.006990194320679,-0.012585500255227,-0.013456705026329,0.008676002733409,0.002796415938064,0.028264926746488,0.022634774446487,-0.036182433366776,0.012755546718836,-0.017099784687161,-0.001022265176289,0.042108599096537,0.015209139324725) * MODEL4_texOff(vec2(1,0));
res += mat4(0.001688911113888,0.006368736270815,0.006457049865276,-0.010055241174996,0.000890508585144,-0.007462684530765,-0.002121376805007,-0.001909993356094,-0.003105763113126,0.009173501282930,-0.000948994420469,-0.015138933435082,-0.000635026372038,-0.007745437789708,-0.005769059527665,0.008209602907300) * MODEL4_texOff(vec2(1,1));
res += mat4(0.012853403575718,-0.004538988228887,-0.011736750602722,-0.011432650499046,-0.004532351158559,-0.004409241490066,0.015046018175781,0.005676149856299,0.002590026240796,-0.003937656059861,-0.009392222389579,-0.003985439427197,-0.008284311741590,0.007568619679660,0.011162204667926,0.005790046416223) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.013133043423295,0.013635374605656,-0.004398447927088,-0.006268295459449,0.001748905400746,-0.000036800352973,0.021289277821779,0.022326601669192,0.000283496658085,-0.002294217702001,-0.029525039717555,-0.027673996984959,0.009984641335905,-0.013874071650207,-0.007497556041926,-0.001255029463209) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.020838469266891,0.007284929044545,0.000565817637835,0.000559977896046,-0.002471672371030,0.001360574387945,-0.005671020131558,0.006010151468217,-0.012393168173730,-0.005059133749455,-0.000581439817324,-0.014089323580265,-0.003989144694060,-0.000795905478299,0.001849550870247,0.000692785717547) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.024998074397445,0.012814509682357,0.035994954407215,0.020140299573541,0.026950096711516,0.001289290376008,-0.025686142966151,-0.005286160856485,0.032239757478237,-0.002111646113917,0.016021825373173,-0.001758635859005,0.048677992075682,0.002153877168894,-0.023707205429673,-0.016558960080147) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.043408393859863,-0.018411828204989,-0.043413557112217,0.005988034885377,0.039944928139448,0.059482622891665,-0.045719079673290,-0.055076807737350,0.028907706961036,0.030795993283391,0.015576099976897,0.014912402257323,-0.031324829906225,0.016273256391287,0.016971630975604,0.025029797106981) * MODEL5_texOff(vec2(0,0));
res += mat4(0.025845035910606,-0.007386418990791,0.032917443662882,-0.011248018592596,0.004992042202502,0.009000807069242,0.003321700030938,-0.009946811944246,-0.002482408657670,0.020165719091892,-0.014713323675096,0.003614059649408,0.010154284536839,0.015871493145823,0.003010737476870,-0.010709958150983) * MODEL5_texOff(vec2(0,1));
res += mat4(0.003913415595889,-0.007530274800956,0.009819651022553,-0.012377413921058,-0.014865793287754,-0.003302249126136,0.001448714407161,-0.003913044929504,-0.010829799808562,-0.000482717354316,0.013889448717237,-0.002534780418500,-0.005777741782367,0.006843789946288,-0.020070573315024,0.002250181278214) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.004314332269132,0.005681517533958,-0.017264720052481,-0.005443780682981,-0.018041789531708,-0.023558001965284,-0.008357109501958,0.007075867615640,-0.030364593490958,-0.031285561621189,0.016997966915369,0.017610002309084,0.037492383271456,0.018290037289262,-0.001860279357061,-0.065279901027679) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.010342841967940,-0.001872603548691,0.005778647493571,0.009560892358422,-0.000236370295170,-0.004649268928915,0.006414794828743,-0.001323591801338,0.005104010924697,-0.009418604895473,-0.006753221154213,0.001700816443190,-0.006005600094795,-0.005311163607985,-0.022034449502826,0.013660019263625) * MODEL5_texOff(vec2(1,1));
res += mat4(0.011537500657141,0.003021996002644,0.011233051307499,0.001367894583382,-0.007837112993002,0.004754654597491,0.003395377192646,0.003750931471586,-0.001305569079705,0.009076100774109,-0.004179209005088,0.002923589898273,0.005289374850690,-0.009456339292228,0.003304552286863,0.000113362315460) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.002061680657789,0.005502348765731,0.015587541274726,0.018513092771173,0.011445953510702,-0.005113053601235,-0.006558461114764,0.001071715028957,0.011635414324701,-0.019248247146606,-0.001725103706121,-0.002368371933699,-0.024368228390813,0.015000517480075,0.004192636813968,-0.005555924959481) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.002289209514856,0.008802320808172,0.000181317955139,0.006916555110365,-0.007656046655029,-0.004835724830627,0.004467084072530,-0.001483020721935,-0.011194856837392,0.001994686201215,0.001037814188749,0.006272867787629,0.005998004227877,0.007239226251841,-0.002608435228467,0.001177253318019) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.006631795782596,0.017864268273115,-0.002254486083984,0.015426056459546,0.016803609207273,-0.012234920635819,-0.001862380304374,-0.001324126496911,0.010484482161701,0.020823316648602,0.009552188217640,0.015892237424850,-0.003549224697053,-0.021969836205244,0.003337793983519,-0.021690560504794) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.017277371138334,-0.057508070021868,-0.033516749739647,-0.056991092860699,-0.022500377148390,0.006131049711257,0.016500173136592,-0.018824432045221,0.048562958836555,-0.049494359642267,0.050309810787439,-0.049895517528057,-0.049178104847670,0.041083656251431,-0.063383847475052,0.051490720361471) * MODEL6_texOff(vec2(0,0));
res += mat4(0.010456648655236,0.031288273632526,0.010828036814928,0.018695741891861,-0.001418650266714,0.009163069538772,-0.011765736155212,0.017191048711538,-0.018555723130703,-0.003366903169081,-0.020891075953841,-0.002352320589125,0.014307742938399,0.015266241505742,0.014115364290774,0.016046371310949) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.002224220195785,-0.002055943012238,-0.005822075065225,-0.000197642453713,-0.008036395534873,-0.004011867102236,0.006521681789309,-0.008594949729741,-0.004356096964329,-0.001826957217418,-0.000345524487784,0.012070659548044,0.003500816645101,0.002895409474149,-0.000133106965222,-0.007677603978664) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.002129859989509,0.003051992738619,0.008220185525715,-0.009536216035485,-0.001107593066990,-0.003334084991366,-0.009345341473818,0.023870563134551,0.003157297149301,-0.001921163056977,0.016905665397644,-0.017303636297584,0.003203607862815,-0.005422857124358,-0.007295931689441,0.006609350908548) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.008877192623913,-0.007901802659035,-0.002857226179913,0.010747431777418,0.007660783361644,0.001957127358764,0.004227998200804,-0.006886814720929,-0.002221098169684,0.003668421646580,-0.010612695477903,0.000514131854288,-0.003882492659613,-0.004912608303130,0.005586323793977,0.002146568614990) * MODEL6_texOff(vec2(1,1));
return res;
}
//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 1.400 > OUTPUT.h LUMA.h / 1.400 > *
//!WIDTH LUMA.w 2 *
//!HEIGHT LUMA.h 2 *
//!BIND SUBCONV1
//!BIND LANCZOS3
//!DESC (AU_F_S_2x_P) depth to space
vec4 hook()
{
vec2 fcoord = fract(SUBCONV1_pos * SUBCONV1_size);
vec2 base = SUBCONV1_pos + (vec2(0.5) - fcoord) * SUBCONV1_pt;
ivec2 index = ivec2(fcoord * vec2(2));
vec4 res = SUBCONV1_tex(base);
return vec4(res[index.x * 2 + index.y] + float(LANCZOS3_texOff(0)), 0, 0, 1);
}