mpv-conf/shaders/AiUpscale_Fast_Sharp_2x_LineArt.glsl

739 lines
134 KiB
Text
Raw 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_LA) 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_LA) feature map 1
vec4 hook()
{
vec4 res = vec4(0.044386569410563,-0.414953261613846,0.012682431377470,0.565710723400116);
res += vec4(-0.032844796776772,0.064278274774551,-0.030060157179832,0.030327733606100) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(0.028769601136446,-0.040574058890343,-0.011429971083999,0.005647864658386) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(0.001110261073336,-0.068451710045338,0.050079487264156,-0.044299282133579) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(0.017345296218991,-0.035842366516590,0.036804921925068,-0.010369060561061) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(-0.004639739636332,0.097881779074669,0.059552241116762,0.029530443251133) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(0.114276960492134,-0.068194262683392,0.084360755980015,-0.034059301018715) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(-0.123157225549221,-0.011157193221152,-0.071026980876923,0.137010082602501) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(-0.093394368886948,0.221264436841011,0.275030612945557,-0.009021383710206) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(-0.040832359343767,-0.114209398627281,0.007820614613593,0.040822573006153) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(-0.003811016911641,-0.028517628088593,0.018021751195192,-0.091827437281609) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(-0.050239346921444,-0.044853791594505,-0.021481206640601,0.042003616690636) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(-0.635811090469360,0.067230530083179,-0.549835205078125,-0.049628570675850) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(0.386260956525803,0.689254939556122,0.072645068168640,-0.578385591506958) * float(LUMA_texOff(vec2(0,0)));
res += vec4(0.118433311581612,0.197181463241577,0.074348784983158,0.139305412769318) * float(LUMA_texOff(vec2(0,1)));
res += vec4(0.010864598676562,-0.057722564786673,-0.007727107498795,-0.036831025034189) * float(LUMA_texOff(vec2(0,2)));
res += vec4(-0.101622290909290,0.011749891564250,0.041862498968840,0.015173841267824) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(-0.128929600119591,-0.050180058926344,0.184832736849785,-0.223148137331009) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(0.581569373607635,-0.032819170504808,0.435718983411789,-0.372341513633728) * float(LUMA_texOff(vec2(1,0)));
res += vec4(-0.033160213381052,-0.038363229483366,-0.382010340690613,-0.262588411569595) * float(LUMA_texOff(vec2(1,1)));
res += vec4(-0.030576335266232,0.011331440880895,0.071496322751045,0.055634234100580) * float(LUMA_texOff(vec2(1,2)));
res += vec4(0.033454388380051,0.015694996342063,-0.056613899767399,-0.036544416099787) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(0.025229062885046,0.022168803960085,-0.224700540304184,0.039065871387720) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(-0.059049874544144,-0.002830702811480,-0.286279708147049,-0.062412485480309) * float(LUMA_texOff(vec2(2,0)));
res += vec4(0.003612020984292,-0.012005289085209,0.119191713631153,0.130335479974747) * float(LUMA_texOff(vec2(2,1)));
res += vec4(0.000000230265869,0.003383733099326,0.021095469594002,0.052242390811443) * float(LUMA_texOff(vec2(2,2)));
res = max(res, vec4(0.0)) + vec4(-0.394167780876160,0.347105473279953,1.090684413909912,0.830385208129883) * 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_LA) feature map 2
vec4 hook()
{
vec4 res = vec4(0.251683980226517,0.090648919343948,0.327211856842041,0.063424743711948);
res += vec4(0.025348586961627,0.055103883147240,0.010875904932618,0.007593422662467) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(0.095728218555450,0.037979859858751,-0.063939616084099,0.024987516924739) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(-0.223429530858994,0.207682758569717,0.046518668532372,-0.027425557374954) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(0.032204966992140,0.126607626676559,0.023547464981675,-0.035881482064724) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(0.006881518289447,0.032649833709002,0.007709917146713,0.010586459189653) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(-0.028559733182192,-0.021277595311403,0.024637352675200,-0.012908137403429) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(-0.020535796880722,-0.167225837707520,0.128262802958488,-0.016664488241076) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(0.306147336959839,-0.379315435886383,-0.045129332691431,-0.066490128636360) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(-0.097680911421776,-0.007247395813465,-0.373610377311707,0.079658105969429) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(-0.033975049853325,0.098841607570648,0.040269073098898,0.029033729806542) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(-0.172963082790375,-0.028090685606003,0.046981427818537,-0.007042821496725) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(0.467921882867813,0.165023028850555,0.099813893437386,-0.014530866406858) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(-0.677199482917786,-0.553243815898895,-0.502088129520416,-0.483645230531693) * float(LUMA_texOff(vec2(0,0)));
res += vec4(-0.239746093750000,0.468387782573700,-0.850106477737427,-0.410534799098969) * float(LUMA_texOff(vec2(0,1)));
res += vec4(-0.153173133730888,-0.118077412247658,0.200807943940163,-0.036205444484949) * float(LUMA_texOff(vec2(0,2)));
res += vec4(0.167707100510597,-0.064520180225372,-0.006515565328300,-0.022629624232650) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(-0.371533930301666,0.007414313964546,-0.018262866884470,0.135881930589676) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(0.625840425491333,-0.066217184066772,-0.099341325461864,0.441558569669724) * float(LUMA_texOff(vec2(1,0)));
res += vec4(-0.154490724205971,0.109590090811253,0.136503130197525,0.403918266296387) * float(LUMA_texOff(vec2(1,1)));
res += vec4(0.163414344191551,-0.020950358361006,-0.033431410789490,-0.064950689673424) * float(LUMA_texOff(vec2(1,2)));
res += vec4(-0.128206267952919,0.030968489125371,0.000510317098815,0.023178188130260) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(0.133861273527145,-0.017954217270017,-0.009532447904348,-0.121033631265163) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(-0.111783683300018,-0.077270358800888,0.032010287046432,0.122506245970726) * float(LUMA_texOff(vec2(2,0)));
res += vec4(-0.005919427610934,0.066146828234196,-0.010970195755363,-0.025135789066553) * float(LUMA_texOff(vec2(2,1)));
res += vec4(0.037814993411303,0.025063039734960,-0.057024449110031,0.050558894872665) * float(LUMA_texOff(vec2(2,2)));
res = max(res, vec4(0.0)) + vec4(1.003536701202393,-0.027080168947577,0.090467296540737,-0.442627280950546) * 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_LA) feature map 3
vec4 hook()
{
vec4 res = vec4(0.180295050144196,0.008225162513554,0.003694486338645,-0.735284209251404);
res += vec4(-0.059259433299303,0.003837673924863,-0.044086296111345,-0.014211059547961) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(0.115948237478733,0.038993977010250,0.025042835623026,-0.024534018710256) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(0.205397456884384,-0.128884285688400,0.016297327354550,0.015511121600866) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(0.242297559976578,0.129783287644386,0.065921753644943,-0.031926691532135) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(-0.124411970376968,0.021433997899294,-0.044491589069366,0.018264189362526) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(-0.013332923874259,0.117178827524185,0.005992945749313,0.051273170858622) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(0.143594875931740,-0.185438871383667,-0.008298489265144,0.168868973851204) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(-1.790086269378662,0.840206980705261,-0.234040662646294,-0.296247750520706) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(-0.096134334802628,-0.311442762613297,0.171443611383438,0.030098086223006) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(0.134217321872711,0.081633158028126,0.009401153773069,-0.000856610655319) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(-0.013576854951680,-0.248275801539421,0.065465942025185,0.016372425481677) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(0.222076386213303,0.111082673072815,-0.200502574443817,1.048153042793274) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(-0.174410611391068,-0.662480294704437,0.706092953681946,-0.062518313527107) * float(LUMA_texOff(vec2(0,0)));
res += vec4(0.176681771874428,0.375028163194656,0.109569735825062,0.003859843825921) * float(LUMA_texOff(vec2(0,1)));
res += vec4(-0.075920589268208,-0.198580592870712,-0.137388423085213,-0.033452279865742) * float(LUMA_texOff(vec2(0,2)));
res += vec4(-0.003028843551874,-0.142152830958366,-0.005934241693467,0.012030073441565) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(-0.120742157101631,0.309755295515060,0.122988797724247,0.080005139112473) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(0.113161183893681,-0.336591750383377,0.070506259799004,-0.053182587027550) * float(LUMA_texOff(vec2(1,0)));
res += vec4(-0.114150702953339,0.103356935083866,-0.537192165851593,-0.050019435584545) * float(LUMA_texOff(vec2(1,1)));
res += vec4(-0.004471064079553,0.053478021174669,0.031397148966789,-0.004059311933815) * float(LUMA_texOff(vec2(1,2)));
res += vec4(0.042906671762466,-0.026591088622808,0.000111790111987,-0.001960791880265) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(-0.010893062688410,0.010880609042943,-0.025829799473286,-0.009249301627278) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(0.036698885262012,0.032330576330423,-0.024271335452795,-0.019328877329826) * float(LUMA_texOff(vec2(2,0)));
res += vec4(0.015832379460335,0.093330778181553,-0.023447148501873,0.025746133178473) * float(LUMA_texOff(vec2(2,1)));
res += vec4(0.033095244318247,-0.071684241294861,0.051609765738249,0.002141347154975) * float(LUMA_texOff(vec2(2,2)));
res = max(res, vec4(0.0)) + vec4(-0.012527154758573,0.983374297618866,-0.419598370790482,-0.064917795360088) * 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_LA) mapping 1_1
vec4 hook()
{
vec4 res = vec4(0.050851870328188,-0.102551281452179,0.003611556487158,0.164593473076820);
res += mat4(-0.073510065674782,-0.086919039487839,0.019876748323441,-0.053316835314035,0.075989745557308,0.030085062608123,0.021430045366287,-0.147232577204704,0.355099052190781,0.066965803503990,0.153985410928726,0.120081841945648,0.085923798382282,-0.352763831615448,0.059764701873064,-0.124893046915531) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(-0.195101857185364,-0.303103119134903,-0.025998611003160,-0.119097717106342,0.066441573202610,-0.052845504134893,0.545500576496124,-0.204428136348724,0.062151867896318,-0.004728688858449,-0.087611980736256,0.048537045717239,0.059418119490147,0.497235387563705,0.139928862452507,0.022352358326316) * FEATURE1_texOff(vec2(-1,0));
res += mat4(-0.082368925213814,-0.072865881025791,-0.281315386295319,-0.234823688864708,0.000858811428770,0.072543442249298,0.095246486365795,-0.041723601520061,0.252940803766251,-0.311912238597870,-0.300267338752747,-0.036711357533932,-0.136210411787033,0.298009693622589,-0.022131035104394,0.128861606121063) * FEATURE1_texOff(vec2(-1,1));
res += mat4(-0.166893154382706,-0.037880592048168,-0.083406329154968,-0.102423846721649,-0.393495351076126,0.042382061481476,-0.096037723124027,0.059551298618317,0.105177983641624,-0.101525411009789,-0.241477683186531,-0.054839193820953,-0.003318862058222,-0.306060910224915,-0.069545269012451,-0.407608658075333) * FEATURE1_texOff(vec2(0,-1));
res += mat4(0.128020405769348,-0.059163171797991,0.004367358051240,-0.078512109816074,-0.326190650463104,-0.431470930576324,0.014275480061769,0.265256583690643,0.274451255798340,0.070424094796181,0.322072625160217,-0.028304452076554,0.073503002524376,0.109913110733032,0.347009927034378,0.533685028553009) * FEATURE1_texOff(vec2(0,0));
res += mat4(0.141908109188080,-0.201691970229149,0.152433738112450,0.027807354927063,0.268783420324326,-0.212794318795204,-0.199333220720291,0.236895769834518,0.025787232443690,0.354963779449463,0.380452930927277,0.417802900075912,0.042226385325193,0.130236938595772,-0.164301350712776,0.199106901884079) * FEATURE1_texOff(vec2(0,1));
res += mat4(-0.035033758729696,0.115483917295933,0.004147357307374,-0.014797140844166,0.231742963194847,0.051265981048346,-0.032548587769270,0.036120429635048,-0.146903797984123,0.212651640176773,0.019345499575138,0.223524361848831,-0.072244398295879,0.048506904393435,-0.012572490610182,-0.139063924551010) * FEATURE1_texOff(vec2(1,-1));
res += mat4(-0.133426964282990,0.117189116775990,-0.118782706558704,-0.026624668389559,-0.093605823814869,0.082749657332897,-0.132460221648216,-0.104918271303177,0.264043897390366,-0.125317364931107,-0.147331267595291,-0.258740574121475,-0.189124599099159,-0.030146554112434,-0.140987589955330,0.183229222893715) * FEATURE1_texOff(vec2(1,0));
res += mat4(-0.138642907142639,-0.072530224919319,-0.138008534908295,-0.096865288913250,0.083557732403278,0.030042927712202,-0.051116190850735,-0.063836209475994,-0.111399747431278,-0.095878295600414,-0.000587576651014,-0.110811591148376,0.147852092981339,-0.146331533789635,-0.024860268458724,-0.156154736876488) * FEATURE1_texOff(vec2(1,1));
res += mat4(0.264288932085037,0.382230937480927,0.034096844494343,0.062026839703321,-0.202765733003616,-0.081298835575581,-0.051043856889009,-0.013343770988286,0.075235754251480,-0.156148955225945,-0.077455647289753,-0.286764204502106,0.096952281892300,-0.111251220107079,-0.246086776256561,-0.110799409449100) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(0.085759356617928,-0.031007628887892,-0.412036299705505,-0.125882014632225,-0.048412904143333,-0.100453265011311,0.130607068538666,-0.058800544589758,0.019193243235350,-0.044115122407675,-0.209227830171585,-0.254634320735931,0.015285614877939,0.073269978165627,-0.752129077911377,-0.063828416168690) * FEATURE2_texOff(vec2(-1,0));
res += mat4(0.143569707870483,-0.082636117935181,0.221268087625504,-0.071500949561596,-0.046450503170490,0.081594713032246,0.150200292468071,-0.092765331268311,0.111277982592583,0.013206236064434,0.067912273108959,-0.105262473225594,0.124111451208591,0.042854458093643,0.086186386644840,-0.120684400200844) * FEATURE2_texOff(vec2(-1,1));
res += mat4(0.051347259432077,0.123433679342270,-0.098222985863686,-0.101257070899010,-0.140508353710175,-0.209585517644882,0.067986257374287,-0.024717543274164,0.037233576178551,0.364173173904419,0.325807422399521,0.577530086040497,-0.001172037678771,0.144051894545555,0.073955886065960,0.190436512231827) * FEATURE2_texOff(vec2(0,-1));
res += mat4(-0.337568163871765,0.054423168301582,0.351399451494217,0.154265567660332,0.159985840320587,0.246404871344566,-0.260930567979813,-0.207157701253891,0.243000388145447,0.365346729755402,-0.050331387668848,0.489160090684891,0.179768234491348,0.069571301341057,0.124946475028992,0.014255974441767) * FEATURE2_texOff(vec2(0,0));
res += mat4(0.027219895273447,-0.184634596109390,-0.205491483211517,-0.198555380105972,-0.163063377141953,0.241301178932190,-0.150272384285927,-0.368578106164932,0.103514038026333,0.004298781976104,-0.088565178215504,0.011870637536049,0.284516423940659,0.081455558538437,-0.043542806059122,0.081833422183990) * FEATURE2_texOff(vec2(0,1));
res += mat4(0.084201283752918,0.010998989455402,-0.018925618380308,0.015876712277532,-0.162628948688507,-0.034809127449989,0.116766862571239,0.243069887161255,0.014104661531746,-0.217268422245979,-0.008017660118639,-0.153244033455849,0.020815167576075,0.081852190196514,0.038611698895693,-0.073307573795319) * FEATURE2_texOff(vec2(1,-1));
res += mat4(0.113635137677193,-0.213156297802925,0.104593098163605,0.106047481298447,-0.209170892834663,0.033980537205935,0.287325292825699,0.001189484260976,0.133360773324966,-0.340684652328491,0.082271344959736,-0.473031848669052,0.153641104698181,0.080173969268799,0.028487546369433,-0.172727927565575) * FEATURE2_texOff(vec2(1,0));
res += mat4(-0.016539487987757,0.102694548666477,0.076494611799717,-0.185540094971657,-0.096080511808395,-0.210638999938965,-0.019448280334473,-0.259149670600891,-0.092439495027065,-0.140084877610207,-0.003916648682207,-0.141899123787880,-0.079948388040066,-0.054050989449024,-0.008311841636896,-0.073836602270603) * FEATURE2_texOff(vec2(1,1));
res += mat4(0.127850055694580,0.095815196633339,-0.067118652164936,-0.009837418794632,-0.221073910593987,-0.369080126285553,0.165082663297653,-0.033895943313837,-0.396239310503006,0.240284696221352,0.204506888985634,-0.072646066546440,-0.190799295902252,-0.110642828047276,0.174345836043358,-0.045645695179701) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(0.223860472440720,0.229459419846535,-0.291348457336426,0.054514680057764,0.011616628617048,0.589488089084625,-0.271487176418304,-0.134242087602615,0.167236149311066,0.186789929866791,0.367010056972504,-0.028729284182191,-0.203503996133804,-0.016849229112267,0.021520357578993,-0.013454270549119) * FEATURE3_texOff(vec2(-1,0));
res += mat4(0.034890774637461,0.065121494233608,0.045532986521721,-0.018654238432646,-0.210957437753677,0.271460294723511,-0.115570105612278,-0.100736767053604,0.132782831788063,-0.001920908456668,-0.114697635173798,0.001256818417460,0.069852933287621,-0.272491693496704,0.376220434904099,-0.020468460395932) * FEATURE3_texOff(vec2(-1,1));
res += mat4(-0.052039153873920,-0.266861826181412,-0.052400074899197,-0.119348056614399,0.019756568595767,-0.058556802570820,-0.058441676199436,-0.524775743484497,-0.552287757396698,-0.117479279637337,0.166868060827255,-0.004612542688847,-0.085417278110981,-0.065522998571396,-0.046987373381853,-0.217299669981003) * FEATURE3_texOff(vec2(0,-1));
res += mat4(0.461129605770111,0.531835317611694,0.523635864257813,-0.135061606764793,-0.260353386402130,0.037817720323801,0.593788087368011,0.587413191795349,-0.329899579286575,0.229732885956764,-0.216374263167381,-0.329594165086746,-0.068491511046886,0.100893892347813,-0.118804164230824,-0.266455054283142) * FEATURE3_texOff(vec2(0,0));
res += mat4(-0.090834841132164,-0.051138110458851,0.066345915198326,0.097498401999474,0.097987890243530,-0.135880380868912,0.133287340402603,-0.305325448513031,-0.014260301366448,-0.004499661736190,0.030524557456374,0.006457263603806,-0.060739766806364,-0.197329670190811,-0.349752038717270,0.057003833353519) * FEATURE3_texOff(vec2(0,1));
res += mat4(-0.198056221008301,-0.039892792701721,0.004979462362826,0.299104988574982,0.077787995338440,0.026398198679090,-0.025665182620287,0.254906177520752,0.096081234514713,-0.350007086992264,0.021937822923064,0.109636187553406,0.186077848076820,0.105334021151066,-0.043603349477053,-0.109461218118668) * FEATURE3_texOff(vec2(1,-1));
res += mat4(-0.801342725753784,0.365670055150986,-0.130440339446068,0.149851292371750,0.182554960250854,-0.457440286874771,-0.118618972599506,-0.336045205593109,-0.021491836756468,-0.097163088619709,-0.001645412761718,-0.041261281818151,-0.126680359244347,0.005067303311080,0.142050564289093,0.159692287445068) * FEATURE3_texOff(vec2(1,0));
res += mat4(0.253009617328644,0.055549606680870,-0.167663216590881,0.377120107412338,0.005641313269734,-0.008195503614843,0.145314782857895,0.135653838515282,-0.051380336284637,0.129821285605431,0.008252857252955,0.137497782707214,-0.075233794748783,0.041445240378380,0.016754021868110,0.203541025519371) * FEATURE3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.829067289829254,-0.186240315437317,-0.617832481861115,0.797805786132813) * 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_LA) mapping 1_2
vec4 hook()
{
vec4 res = vec4(-0.013499349355698,-0.408507972955704,0.103261530399323,0.064768686890602);
res += mat4(-0.119941689074039,-0.064992591738701,0.011317881755531,-0.045409847050905,-0.129403144121170,-0.174309685826302,0.084040105342865,-0.116449579596519,0.069767616689205,-0.125096857547760,-0.215875327587128,0.008434186689556,0.304563850164413,-0.182890415191650,0.135772243142128,-0.137627750635147) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(-0.210161209106445,0.140314638614655,0.193374022841454,0.135121196508408,-0.092059321701527,-0.225456833839417,0.041323225945234,-0.046562895178795,0.021988756954670,0.071791589260101,0.348118931055069,0.263722062110901,-0.126543283462524,-0.453950971364975,-0.122533671557903,-0.256115376949310) * FEATURE1_texOff(vec2(-1,0));
res += mat4(-0.193599522113800,-0.128171563148499,-0.125189989805222,0.231088787317276,-0.082539059221745,-0.066581785678864,0.019221637398005,-0.094086468219757,-0.036989882588387,0.243621170520782,0.146355509757996,0.093525268137455,-0.162227123975754,-0.302940160036087,-0.153922453522682,-0.059581395238638) * FEATURE1_texOff(vec2(-1,1));
res += mat4(0.028256366029382,0.063323631882668,-0.003100815229118,-0.037913486361504,0.542375564575195,0.001448252005503,0.156982138752937,0.053583059459925,-0.067597702145576,0.022389082238078,0.091623134911060,0.263801813125610,0.273500621318817,0.042668573558331,0.144570857286453,-0.040524799376726) * FEATURE1_texOff(vec2(0,-1));
res += mat4(0.124951899051666,-0.015037991106510,0.018382158130407,-0.265241593122482,0.272331357002258,0.218775525689125,0.150392860174179,0.370634853839874,0.113243281841278,0.039959784597158,0.017218852415681,-0.047537669539452,-0.449428558349609,-0.336444169282913,-0.302782684564590,-0.502057611942291) * FEATURE1_texOff(vec2(0,0));
res += mat4(-0.673640787601471,-0.282195538282394,0.053963441401720,0.061759587377310,-0.507230103015900,0.069514416158199,-0.011740565299988,-0.192252829670906,-0.260128796100616,-0.308319628238678,-0.146957293152809,-0.225306645035744,0.113612130284309,-0.230240315198898,0.066221892833710,-0.073179908096790) * FEATURE1_texOff(vec2(0,1));
res += mat4(-0.158193290233612,-0.018535742536187,-0.000936416967306,-0.024913866072893,-0.055546581745148,-0.177652299404144,-0.092445403337479,0.069000922143459,-0.146990358829498,-0.054395209997892,-0.186431050300598,-0.118256375193596,0.076024763286114,0.059913463890553,0.114301033318043,-0.257761478424072) * FEATURE1_texOff(vec2(1,-1));
res += mat4(-0.091636657714844,-0.028583781793714,-0.197806358337402,0.160260722041130,-0.002570324577391,-0.011158914305270,-0.193918883800507,0.377014219760895,0.276266843080521,0.072491168975830,0.244209036231041,0.107626974582672,-0.170331194996834,-0.063650846481323,0.071393422782421,0.284833073616028) * FEATURE1_texOff(vec2(1,0));
res += mat4(0.172132834792137,0.102234005928040,-0.098977461457253,0.115272499620914,-0.164421945810318,-0.123611174523830,-0.063205204904079,-0.047277156263590,-0.063695430755615,0.109525628387928,0.112558297812939,0.103391557931900,0.120717391371727,0.025760605931282,0.029923645779490,-0.047351721674204) * FEATURE1_texOff(vec2(1,1));
res += mat4(-0.155816569924355,-0.010258915834129,-0.066354259848595,-0.039242692291737,-0.082022838294506,-0.011107437312603,0.002704438520595,0.058760732412338,-0.050977684557438,0.023875486105680,0.278012633323669,-0.008509894832969,0.028929201886058,0.004073176532984,0.018693991005421,-0.070551641285419) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(0.199567154049873,0.565150260925293,0.489529877901077,0.546394705772400,-0.208755880594254,-0.074155695736408,0.201173409819603,-0.361741751432419,0.098738968372345,-0.181886807084084,0.059665091335773,-0.025798352435231,-0.198875486850739,-0.131548613309860,0.076583303511143,-0.131583586335182) * FEATURE2_texOff(vec2(-1,0));
res += mat4(-0.032031618058681,-0.037380013614893,0.036323688924313,0.004469042178243,0.100386470556259,-0.097819253802299,-0.139746770262718,-0.067744180560112,0.060201998800039,0.162129327654839,-0.065736979246140,-0.069464795291424,0.140319198369980,-0.099018163979053,-0.038143828511238,0.164996623992920) * FEATURE2_texOff(vec2(-1,1));
res += mat4(0.080616392195225,-0.189267098903656,-0.172752693295479,0.237951442599297,-0.013101682998240,0.046319793909788,0.167147830128670,0.096670135855675,-0.172701090574265,-0.514481604099274,-0.233467847108841,0.371144413948059,0.006411858834326,0.016059355810285,-0.048643440008163,0.042998291552067) * FEATURE2_texOff(vec2(0,-1));
res += mat4(-0.194845199584961,-0.428775042295456,-0.534682154655457,-0.511625647544861,-0.302980065345764,-0.003439891384915,-0.146333962678909,0.079409055411816,-0.282557845115662,-0.404849052429199,-0.285799056291580,0.007109354715794,-0.044639647006989,-0.248046368360519,-0.188893839716911,-0.252330034971237) * FEATURE2_texOff(vec2(0,0));
res += mat4(0.199854806065559,0.200871095061302,0.113110378384590,0.315529912710190,0.333930015563965,0.251658439636230,-0.395079970359802,0.157358184456825,0.280119568109512,-0.074723586440086,0.051940854638815,-0.014331983402371,-0.177947625517845,0.218695491552353,0.158148914575577,0.076746858656406) * FEATURE2_texOff(vec2(0,1));
res += mat4(-0.155732288956642,-0.183309704065323,-0.149724453687668,0.027074333280325,-0.210748642683029,0.055368781089783,-0.001019421149977,0.185801520943642,-0.092793308198452,-0.298333048820496,-0.073852948844433,-0.000598894665018,0.010828274302185,0.003656138665974,0.100777246057987,-0.063668221235275) * FEATURE2_texOff(vec2(1,-1));
res += mat4(0.122881032526493,0.168863415718079,0.199343398213387,0.429303735494614,-0.169628843665123,0.112754568457603,-0.161178633570671,0.064679257571697,-0.018737368285656,-0.234677091240883,-0.049237489700317,0.024661481380463,0.005970790050924,0.194701388478279,0.106346704065800,0.018542349338531) * FEATURE2_texOff(vec2(1,0));
res += mat4(0.035868685692549,-0.027668196707964,-0.168146416544914,-0.222683697938919,0.109344594180584,0.130073040723801,0.008258583955467,-0.044081065803766,0.035845573991537,0.079258158802986,-0.092506490647793,0.201700761914253,0.045323871076107,0.026287795975804,-0.046316184103489,0.090602926909924) * FEATURE2_texOff(vec2(1,1));
res += mat4(-0.023105310276151,0.171106100082397,-0.006701289676130,0.112722717225552,0.112716875970364,0.082100428640842,0.183101966977119,-0.105162888765335,-0.191368341445923,-0.296696186065674,0.099305100739002,-0.319890439510345,-0.049097169190645,-0.066103786230087,0.115884490311146,0.120064176619053) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(0.058231398463249,-0.104511581361294,-0.084372155368328,0.075150303542614,-0.303837746381760,-0.257656365633011,-0.389185816049576,0.033654898405075,0.174775764346123,0.010085831396282,-0.292221158742905,0.128739580512047,-0.112903840839863,-0.141698062419891,0.030558791011572,0.057422477751970) * FEATURE3_texOff(vec2(-1,0));
res += mat4(0.047918345779181,0.182908505201340,0.041185408830643,0.098026849329472,0.148756399750710,0.151221856474876,-0.133274331688881,-0.090937204658985,-0.277292340993881,0.215428858995438,0.248847588896751,-0.052102871239185,0.122239790856838,-0.100037477910519,0.173809587955475,-0.114822790026665) * FEATURE3_texOff(vec2(-1,1));
res += mat4(0.254518926143646,0.195989206433296,0.317798614501953,-0.188440948724747,0.247924327850342,0.380017817020416,0.291545242071152,-0.060569457709789,0.251394301652908,0.116268835961819,0.191436305642128,-0.217831477522850,0.631277620792389,0.044906191527843,0.167045861482620,0.291690647602081) * FEATURE3_texOff(vec2(0,-1));
res += mat4(-0.425123363733292,-0.206750795245171,-0.057469844818115,-0.069391526281834,-0.145709469914436,-0.567235946655273,-0.023632416501641,-0.282861649990082,0.163952946662903,-0.039859090000391,-0.009088496677577,0.057703945785761,-0.282852739095688,-0.518719971179962,-0.181467726826668,0.182557284832001) * FEATURE3_texOff(vec2(0,0));
res += mat4(-0.195697829127312,-0.084038607776165,0.122425340116024,0.108773052692413,0.042104382067919,-0.049827713519335,-0.280216276645660,0.217199996113777,-0.121336445212364,-0.035995930433273,0.104014694690704,0.087212972342968,0.561244726181030,0.967728853225708,-0.041991695761681,0.202669903635979) * FEATURE3_texOff(vec2(0,1));
res += mat4(0.388868331909180,0.087988957762718,0.054247308522463,0.301188379526138,-0.079552516341209,-0.126305982470512,-0.115923672914505,-0.007073997519910,0.089446425437927,0.208112269639969,-0.071528531610966,-0.017166171222925,-0.046929795295000,0.024803129956126,-0.039315093308687,0.116837613284588) * FEATURE3_texOff(vec2(1,-1));
res += mat4(-0.254667311906815,-0.818361163139343,-0.332988739013672,0.267778396606445,0.371394127607346,0.466134160757065,0.328505456447601,0.535094738006592,-0.082596510648727,-0.049827273935080,-0.118986390531063,-0.189847752451897,-0.355345249176025,-0.518981456756592,-0.186276823282242,0.222781866788864) * FEATURE3_texOff(vec2(1,0));
res += mat4(-0.364199489355087,0.053353101015091,0.149773105978966,-0.240455195307732,-0.426764637231827,0.051712378859520,0.219301030039787,-0.066919542849064,0.007399346679449,-0.088819667696953,0.022826103493571,0.158573329448700,0.066090919077396,-0.182084754109383,-0.087979145348072,-0.183842018246651) * FEATURE3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.082527078688145,-0.214429065585136,0.870531022548676,0.897679388523102) * 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_LA) mapping 1_3
vec4 hook()
{
vec4 res = vec4(0.025920266285539,-0.026994192972779,0.028944466263056,0.002425494370982);
res += mat4(-0.033962193876505,0.089324712753296,0.101963728666306,0.076429687440395,0.084152787923813,0.228351652622223,-0.004151211585850,-0.043562490493059,0.148803010582924,0.010151598602533,-0.056576851755381,-0.020997485145926,-0.138328582048416,-0.005188702140003,0.091702476143837,-0.075491197407246) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(-0.169034719467163,0.466597616672516,0.120968177914619,0.106332831084728,-0.015577076002955,-0.051634933799505,0.010456486605108,-0.054854124784470,0.077966228127480,-0.018624311313033,-0.017951484769583,0.329324454069138,0.321117281913757,0.052647285163403,-0.244781568646431,0.047307360917330) * FEATURE1_texOff(vec2(-1,0));
res += mat4(0.034973397850990,-0.070526778697968,-0.124220028519630,-0.235863894224167,0.309006601572037,-0.007415379397571,-0.108943104743958,0.020752241834998,0.004052679054439,-0.125113278627396,0.112794578075409,0.034065648913383,-0.165796473622322,0.009795790538192,0.073853306472301,-0.214924275875092) * FEATURE1_texOff(vec2(-1,1));
res += mat4(-0.197572141885757,0.024440076202154,0.175409153103828,0.031444601714611,0.057689629495144,-0.492727905511856,-0.042068317532539,0.127375110983849,0.170047581195831,-0.036084525287151,0.100401513278484,0.433437854051590,-0.171089053153992,0.363645166158676,-0.077090106904507,0.076530337333679) * FEATURE1_texOff(vec2(0,-1));
res += mat4(-0.184550806879997,0.581547737121582,0.241491034626961,-0.346120327711105,-0.685299515724182,0.308627337217331,0.400440394878387,0.164955556392670,-0.154606416821480,0.261292159557343,-0.295165002346039,-0.392475605010986,-0.245881035923958,-0.169393122196198,-0.317524939775467,-0.387991845607758) * FEATURE1_texOff(vec2(0,0));
res += mat4(-0.212202891707420,-0.226444438099861,-0.369147449731827,-0.208963200449944,-0.029163058847189,0.084946453571320,-0.248097911477089,0.039431866258383,-0.090687096118927,0.012395822443068,-0.213405176997185,-0.437846451997757,0.171419337391853,-0.197519168257713,0.292205095291138,0.002395059913397) * FEATURE1_texOff(vec2(0,1));
res += mat4(-0.080206289887428,0.025871654972434,-0.020894110202789,-0.063485592603683,0.133307620882988,-0.079054608941078,-0.095314867794514,-0.188545420765877,0.355982720851898,-0.113044627010822,-0.013820841908455,-0.301574647426605,0.308970510959625,0.065476328134537,0.086595699191093,-0.167387560009956) * FEATURE1_texOff(vec2(1,-1));
res += mat4(0.187936663627625,-0.180616617202759,0.124905392527580,0.014016272500157,-0.012130226939917,-0.125913307070732,0.399435728788376,-0.149357467889786,-0.214834436774254,-0.060764122754335,0.160751402378082,0.299647867679596,-0.342130035161972,-0.148913726210594,0.026528166607022,0.382134616374969) * FEATURE1_texOff(vec2(1,0));
res += mat4(-0.295823454856873,-0.047415539622307,0.004121130332351,0.378502070903778,0.117892973124981,0.041839104145765,-0.128101333975792,-0.092822156846523,-0.233796358108521,0.081405609846115,0.008065718226135,0.127948850393295,0.117405056953430,-0.021016538143158,0.147737964987755,0.249413564801216) * FEATURE1_texOff(vec2(1,1));
res += mat4(0.569557726383209,-0.093280479311943,0.367908000946045,0.410522311925888,-0.113527566194534,0.066645853221416,0.063525862991810,-0.071776911616325,0.260543137788773,0.186629503965378,0.165440201759338,0.217990487813950,0.023891115561128,-0.292624771595001,-0.004707253072411,-0.052851498126984) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(0.214685216546059,0.377341628074646,0.292142540216446,0.171578884124756,-0.111819960176945,-0.013123186305165,-0.132813259959221,0.009688007645309,0.050947621464729,-0.056758925318718,-0.062039058655500,0.090242177248001,0.231916844844818,0.077412366867065,0.056492619216442,-0.250114023685455) * FEATURE2_texOff(vec2(-1,0));
res += mat4(-0.343205779790878,-0.093666404485703,-0.133867666125298,-0.182092398405075,-0.084281928837299,-0.093356378376484,-0.119764454662800,-0.014833735302091,0.094911910593510,0.008193546906114,0.123815812170506,0.105927377939224,-0.149295359849930,0.021427465602756,0.043551363050938,0.094720035791397) * FEATURE2_texOff(vec2(-1,1));
res += mat4(-0.163912743330002,-0.073834642767906,-0.062605582177639,0.120421707630157,-0.000749693135731,0.298512011766434,0.193003118038177,0.040830388665199,-0.259681493043900,-0.197701796889305,-0.303351432085037,-0.428409665822983,0.101194836199284,0.121574871242046,-0.124570183455944,-0.320075690746307) * FEATURE2_texOff(vec2(0,-1));
res += mat4(0.005576880183071,-0.504981637001038,-0.513909101486206,-0.610828518867493,0.158574372529984,-0.185077950358391,-0.130892097949982,0.052625365555286,0.027877239510417,-0.430156081914902,-0.069937735795975,-0.026051232591271,0.187705919146538,-0.045068204402924,-0.248752847313881,-0.811182260513306) * FEATURE2_texOff(vec2(0,0));
res += mat4(-0.014575188979506,0.189986541867256,0.140242427587509,0.200519964098930,0.211805224418640,0.200539186596870,0.120906859636307,0.091558925807476,0.119192242622375,0.030685484409332,0.021020831540227,-0.074371144175529,0.121988616883755,0.026286695152521,0.052968725562096,0.292588144540787) * FEATURE2_texOff(vec2(0,1));
res += mat4(-0.065836600959301,-0.049148593097925,-0.018233666196465,-0.085862636566162,-0.495592445135117,-0.024218870326877,-0.020377140492201,-0.231697529554367,-0.101330094039440,0.202410668134689,0.043319277465343,-0.096440374851227,-0.087866105139256,0.006100524682552,-0.012116204947233,-0.007947258651257) * FEATURE2_texOff(vec2(1,-1));
res += mat4(-0.469950914382935,0.154550313949585,-0.198525577783585,0.079360619187355,-0.117278188467026,-0.136878103017807,-0.162064343690872,-0.434581816196442,-0.036847341805696,0.063802815973759,0.034499455243349,0.136346668004990,0.036038205027580,-0.069679170846939,0.041821267455816,0.068958289921284) * FEATURE2_texOff(vec2(1,0));
res += mat4(0.480520188808441,0.070799671113491,0.042927253991365,0.077665328979492,0.201352626085281,-0.091247692704201,-0.055763598531485,0.097224570810795,0.012082439847291,0.082457244396210,0.038375310599804,0.125010833144188,-0.089304566383362,0.068892799317837,0.064680203795433,0.152318999171257) * FEATURE2_texOff(vec2(1,1));
res += mat4(-0.015130254440010,0.009383471682668,0.148792207241058,0.023800883442163,-0.417394667863846,-0.003815043950453,0.078636072576046,-0.060020178556442,-0.302954316139221,-0.270660728216171,0.268737107515335,0.075515978038311,-0.111065223813057,-0.014586002565920,-0.031073631718755,0.046770911663771) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(0.060685314238071,-0.051789607852697,0.063355147838593,0.025947563350201,0.249065145850182,-0.160334855318069,-0.117432728409767,-0.103182926774025,0.273467868566513,0.076953314244747,0.156292796134949,0.487802833318710,0.048457048833370,-0.327120810747147,-0.128431603312492,-0.026098463684320) * FEATURE3_texOff(vec2(-1,0));
res += mat4(0.146652281284332,0.020304163917899,-0.033308852463961,-0.086430847644806,0.090689145028591,0.177391722798347,0.161059007048607,-0.127909958362579,-0.048385113477707,0.024056464433670,-0.111121945083141,0.028170915320516,-0.127001732587814,0.126944765448570,0.139816895127296,0.118356399238110) * FEATURE3_texOff(vec2(-1,1));
res += mat4(0.105143502354622,0.130014359951019,-0.310849040746689,0.099534712731838,-0.188423246145248,0.332484394311905,-0.082143180072308,-0.155380517244339,0.052891388535500,-0.272815942764282,-0.020635256543756,0.413321197032928,-0.041151545941830,0.403329819440842,-0.164258003234863,-0.065049469470978) * FEATURE3_texOff(vec2(0,-1));
res += mat4(-0.048426676541567,-0.245556116104126,-0.265540510416031,0.011508070863783,-0.175881564617157,-0.446105271577835,-0.476154237985611,0.013186843134463,-0.184969916939735,0.050312981009483,0.143851250410080,0.186486065387726,0.346134334802628,-0.738537311553955,-0.229673206806183,0.114231906831264) * FEATURE3_texOff(vec2(0,0));
res += mat4(-0.073313191533089,0.174640432000160,0.137963116168976,-0.179416254162788,0.373266249895096,0.059085458517075,0.107767194509506,0.213847756385803,-0.195982873439789,-0.105143919587135,-0.163233578205109,-0.176485195755959,-0.366674780845642,0.112443313002586,0.569130778312683,0.126215115189552) * FEATURE3_texOff(vec2(0,1));
res += mat4(-0.005498838610947,-0.473629862070084,-0.424178749322891,-0.325134843587875,0.361001461744308,-0.255919694900513,0.018609467893839,0.044858466833830,-0.249449819326401,0.202659428119659,-0.103857077658176,0.014222884550691,0.020135484635830,0.071999177336693,0.053325172513723,-0.049511570483446) * FEATURE3_texOff(vec2(1,-1));
res += mat4(-0.755223453044891,-0.292242676019669,0.013292013667524,0.162382230162621,-0.215519309043884,0.328295588493347,0.278424978256226,0.281369477510452,0.450314402580261,0.089815430343151,-0.058944631367922,-0.413323104381561,-0.350753396749496,0.289575874805450,-0.063482232391834,0.348415344953537) * FEATURE3_texOff(vec2(1,0));
res += mat4(-0.112731069326401,0.620200157165527,0.221391603350639,0.087062194943428,-0.185216411948204,0.062903732061386,-0.183304026722908,-0.136873245239258,-0.206989973783493,-0.016983797773719,-0.049363650381565,-0.149547159671783,0.232702955603600,-0.097283162176609,0.294603109359741,-0.692845225334167) * FEATURE3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.371796905994415,-0.492503941059113,-0.224001780152321,-0.437830567359924) * 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_LA) mapping 2_1
vec4 hook()
{
vec4 res = vec4(0.084320940077305,0.104562960565090,0.215087041258812,-0.011274769902229);
res += mat4(-0.122827671468258,0.097457163035870,-0.028196718543768,0.043236721307039,-0.064660213887691,0.003183385822922,-0.005286925472319,0.094705000519753,-0.135139986872673,0.072768151760101,0.066739298403263,-0.012889463454485,0.117850065231323,-0.053331892937422,-0.061089329421520,-0.138198450207710) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.257849782705307,0.035326890647411,0.091568142175674,-0.138191208243370,0.021391190588474,0.037255711853504,-0.002013106830418,0.008387554436922,-0.434281975030899,0.103330783545971,-0.054674167186022,-0.124698042869568,0.111649714410305,0.116269230842590,-0.055941656231880,0.057540476322174) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.228839546442032,0.081309184432030,0.138769701123238,0.049746885895729,-0.033676646649837,0.006390267517418,0.104125551879406,-0.008681009523571,-0.274841129779816,0.064652770757675,-0.011804541572928,0.029898317530751,0.080212496221066,0.071634881198406,-0.049786280840635,-0.216259300708771) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.132509738206863,-0.098025463521481,-0.147928059101105,-0.055836275219917,-0.048348184674978,-0.028616761788726,0.210602954030037,-0.204876855015755,0.090549871325493,0.215085849165916,0.087814606726170,0.117549203336239,-0.029870597645640,0.115707717835903,-0.289108484983444,-0.199248909950256) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.026068568229675,-0.048649046570063,-0.244895160198212,-0.102730855345726,0.273578763008118,-0.129540190100670,0.004208369180560,0.126769945025444,0.051217991858721,-0.088941849768162,-0.005792669951916,0.097896151244640,0.017268570140004,0.004582555033267,0.187807649374008,0.377158373594284) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.042680509388447,0.037903323769569,-0.051867201924324,0.092047236859798,0.015260137617588,-0.124184638261795,-0.125917866826057,-0.200945913791656,-0.079551421105862,-0.068085625767708,-0.018188295885921,-0.421869844198227,0.086484730243683,-0.107549659907818,0.100354306399822,0.007377027999610) * MODEL1_texOff(vec2(0,1));
res += mat4(0.022158375009894,-0.005197365302593,-0.230642259120941,-0.178806513547897,0.146175533533096,-0.187498152256012,0.178237959742546,-0.206005275249481,-0.017111524939537,-0.162753388285637,-0.088796295225620,0.145193427801132,-0.194591611623764,0.224268451333046,0.059047199785709,0.235538959503174) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.379655271768570,0.222849920392036,0.462557137012482,0.040611945092678,-0.066857397556305,0.016229057684541,0.438414812088013,0.320163369178772,0.036980144679546,-0.390471339225769,-0.720714986324310,-0.179362297058105,-0.325274646282196,-0.117108933627605,-0.095865264534950,0.184146448969841) * MODEL1_texOff(vec2(1,0));
res += mat4(0.123416900634766,-0.152473509311676,-0.193943560123444,-0.212049141526222,0.188262194395065,0.106584288179874,-0.044423684477806,0.007270336616784,0.015263761393726,-0.060157258063555,-0.036795128136873,0.058905120939016,-0.190212145447731,-0.068043790757656,-0.186276167631149,0.202763885259628) * MODEL1_texOff(vec2(1,1));
res += mat4(0.010172033682466,0.369807332754135,0.187070026993752,-0.233782738447189,-0.016415145248175,-0.196067929267883,-0.029454696923494,-0.139000609517097,0.046984180808067,0.028367934748530,-0.027054935693741,0.051070760935545,0.051307294517756,0.117744863033295,0.010271714068949,0.025403028354049) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.034793931990862,0.110046185553074,0.007903194986284,-0.397521346807480,0.499009668827057,0.036411337554455,-0.200752511620522,0.084185302257538,0.454904228448868,0.031655412167311,-0.024596191942692,-0.274366468191147,0.236823588609695,0.295342296361923,0.035619482398033,0.010614133439958) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.002427558880299,0.004449629224837,-0.037557769566774,-0.162601888179779,0.195022881031036,0.138484165072441,-0.067567698657513,-0.033357989042997,0.162334606051445,0.134639099240303,-0.022272109985352,0.005168405361474,0.172669321298599,-0.215500280261040,0.057813756167889,-0.131052151322365) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.270050227642059,0.161257624626160,-0.060981370508671,-0.295516043901443,0.016480688005686,-0.035024221986532,-0.041803814470768,-0.260164082050323,-0.093345776200294,0.106199488043785,-0.035897321999073,-0.472663611173630,0.054473336786032,0.292973577976227,0.005274018272758,-0.054316729307175) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.013166738674045,0.037458702921867,0.131953984498978,0.136721253395081,-0.163779601454735,-0.225266158580780,-0.027825605124235,0.568440318107605,-0.453941702842712,0.005662885960191,-0.765070259571075,0.091107733547688,-0.357026100158691,-0.396159589290619,-0.316911011934280,0.248105168342590) * MODEL2_texOff(vec2(0,0));
res += mat4(0.069944307208061,-0.042292840778828,-0.173205733299255,-0.266746550798416,0.031825516372919,0.048443548381329,0.067551031708717,0.284142136573792,0.011475316248834,-0.141270935535431,-0.134518772363663,0.000621652347036,-0.049689859151840,-0.001319110277109,0.170395523309708,0.336671084165573) * MODEL2_texOff(vec2(0,1));
res += mat4(0.205334588885307,-0.072608247399330,-0.240443512797356,-0.304962575435638,0.028025962412357,0.080191329121590,0.000527642259840,-0.060831125825644,0.002285666298121,-0.022135844454169,0.283465236425400,-0.139860495924950,-0.042921364307404,-0.151974827051163,-0.046086087822914,-0.199712738394737) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.068513810634613,-0.258071452379227,0.109064139425755,-0.390710085630417,-0.320317298173904,0.106511764228344,0.250950306653976,0.511425971984863,0.104029893875122,0.226556152105331,-0.046594291925430,0.007879911921918,0.000151518368511,-0.208507627248764,0.223850831389427,-0.053252905607224) * MODEL2_texOff(vec2(1,0));
res += mat4(0.067188568413258,0.247935369610786,0.067299015820026,0.077645264565945,-0.053276322782040,0.043219432234764,-0.075837187469006,-0.336588710546494,0.110552370548248,0.185442760586739,-0.010205208323896,0.153301268815994,-0.012189057655632,0.289332568645477,-0.025832254439592,-0.275866419076920) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.007635347079486,0.137788698077202,-0.043207932263613,0.011077794246376,0.041454501450062,-0.047091409564018,-0.028113646432757,0.086132995784283,-0.042282916605473,-0.137344092130661,0.005221748258919,-0.244628891348839,-0.144707500934601,-0.499184638261795,-0.022391173988581,-0.008893134072423) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.217098489403725,0.119158536195755,-0.143292114138603,0.169577926397324,-0.062858074903488,0.056825809180737,-0.020065210759640,0.166375905275345,0.360521495342255,-0.008674870245159,-0.024290079250932,0.118419758975506,-0.179807156324387,-0.480629771947861,0.031071290373802,-0.315377324819565) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.081996411085129,0.182438850402832,0.006509144790471,0.141315400600433,-0.200405821204185,-0.020546060055494,0.083252467215061,0.070519976317883,0.285791665315628,0.096264697611332,0.098346695303917,0.175379782915115,-0.147295340895653,-0.314819663763046,0.002754817716777,-0.044948093593121) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.008878998458385,0.344399333000183,-0.260156869888306,0.065144896507263,-0.076567165553570,0.102083913981915,-0.017398754134774,0.063994228839874,-0.135347992181778,0.102016307413578,-0.130367025732994,0.033501602709293,-0.020797889679670,-0.680499434471130,-0.063661001622677,-0.105233885347843) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.113101854920387,0.029960488900542,-0.239719167351723,-0.089633435010910,-0.046024717390537,0.053282015025616,0.181110531091690,0.309423536062241,-0.091527163982391,-0.193713963031769,0.202101364731789,0.042505495250225,0.249759525060654,-0.808605253696442,-0.003775637131184,-0.298288702964783) * MODEL3_texOff(vec2(0,0));
res += mat4(0.112559549510479,0.181025117635727,0.104674741625786,0.102198615670204,-0.024350287392735,0.051096197217703,0.010999452322721,-0.302226781845093,-0.244935229420662,-0.050676532089710,0.141031712293625,0.132366463541985,0.075256377458572,-0.645671963691711,-0.050337295979261,-0.234073653817177) * MODEL3_texOff(vec2(0,1));
res += mat4(0.111660607159138,0.455787628889084,-0.118468143045902,0.120030522346497,-0.013904011808336,0.129600197076797,0.011009708046913,0.097030542790890,0.067586958408356,0.097837485373020,0.037075746804476,0.000910682487302,0.079850614070892,-0.173030361533165,-0.105510793626308,-0.012843837030232) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.035523608326912,0.273800045251846,-0.374108850955963,0.264722585678101,-0.182409152388573,-0.030025241896510,-0.110632441937923,0.277058571577072,0.075142644345760,-0.103621967136860,0.379648655653000,0.053427565842867,-0.008274078369141,-0.317584365606308,-0.155868917703629,-0.114208221435547) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.012547793798149,0.199997708201408,-0.139082938432693,-0.109119504690170,-0.095294244587421,-0.035254057496786,-0.214413449168205,0.074103340506554,-0.103829652070999,-0.359900832176208,-0.032336313277483,-0.014039226807654,-0.008129669353366,-0.343441635370255,-0.086692497134209,-0.135700955986977) * MODEL3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.613092303276062,0.290867000818253,-0.223629072308540,0.534463584423065) * 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_LA) mapping 2_2
vec4 hook()
{
vec4 res = vec4(-0.069905824959278,0.131668478250504,0.016085151582956,0.050971165299416);
res += mat4(-0.171389177441597,0.027344649657607,0.309503734111786,-0.046427842229605,0.101333089172840,0.054901745170355,0.059431180357933,-0.313181817531586,0.075326934456825,0.064240701496601,0.174949362874031,-0.018570842221379,0.083292573690414,0.069694735109806,0.351860612630844,0.013163099065423) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.185222044587135,0.093570403754711,-0.314439684152603,0.253120094537735,0.017950586974621,-0.080658309161663,-0.232315763831139,-0.206995829939842,-0.073677696287632,-0.037614237517118,0.141482368111610,0.007470985874534,0.135579198598862,0.280693709850311,-0.210552960634232,-0.201488748192787) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.335586220026016,-0.029468216001987,-0.087753571569920,0.041629455983639,-0.064362615346909,-0.076338559389114,-0.055783145129681,-0.162885367870331,-0.126595512032509,-0.081709690392017,0.074776999652386,-0.106678068637848,-0.052433058619499,-0.278792381286621,0.040370058268309,-0.011350177228451) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.214233830571175,-0.278527438640594,-0.216347098350525,0.205698877573013,-0.281203925609589,0.031353421509266,-0.475448906421661,-0.127427160739899,0.079612284898758,0.034490592777729,-0.333999603986740,0.232866480946541,0.260161101818085,-0.308550685644150,-0.113353520631790,0.109581202268600) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.250074952840805,0.246404871344566,0.126383468508720,0.217773392796516,0.322559386491776,0.168211042881012,-0.334151774644852,-0.567707002162933,-0.117689408361912,-0.043580170720816,0.230549871921539,0.385479569435120,-0.147882595658302,0.354164361953735,-0.321459680795670,-0.286815583705902) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.018420917913318,0.190465748310089,0.413751035928726,0.173626065254211,-0.044681813567877,-0.038405176252127,0.091505423188210,0.009178645908833,-0.087454810738564,-0.021269131451845,0.094502106308937,-0.043124668300152,0.003022872610018,-0.622363686561584,0.046326473355293,-0.467755109071732) * MODEL1_texOff(vec2(0,1));
res += mat4(0.018618276342750,-0.191851109266281,0.012758863158524,0.207338348031044,-0.279379934072495,0.114302463829517,-0.361635923385620,-0.044082209467888,0.131254091858864,0.068844355642796,-0.010980905964971,0.053983148187399,0.047838084399700,0.076288968324661,0.218306347727776,0.057276926934719) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.004598823376000,0.247631579637527,-0.168939560651779,-0.594539105892181,0.157815635204315,0.169239088892937,-0.370400130748749,-0.287216007709503,0.076553866267204,0.098060145974159,0.089261449873447,0.528272092342377,-0.143347203731537,-0.048855114728212,0.429657548666000,0.461209297180176) * MODEL1_texOff(vec2(1,0));
res += mat4(0.091006793081760,0.075362570583820,0.308840245008469,-0.014464093372226,0.030585985630751,-0.092490501701832,0.098289035260677,-0.148440375924110,0.052473939955235,0.031842358410358,0.082521572709084,0.192287474870682,-0.020583624020219,-0.079978108406067,-0.145928561687469,0.186008557677269) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.069805055856705,0.069785676896572,0.086879648268223,0.073959261178970,0.249615341424942,0.088551089167595,-0.376523107290268,0.069450363516808,-0.052951142191887,0.064336590468884,-0.172996774315834,-0.178195327520370,-0.077026687562466,0.050528604537249,-0.462706774473190,0.192887410521507) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.032285790890455,-0.036572292447090,0.146207407116890,-0.159874558448792,0.459397584199905,0.205856263637543,0.046621806919575,-0.029611073434353,-0.050670552998781,0.311065047979355,0.108234211802483,0.278737604618073,0.009176667779684,0.323812067508698,0.172019228339195,0.508960068225861) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.134832173585892,-0.148304298520088,0.058369949460030,0.101977214217186,0.221128195524216,0.103991530835629,0.159929946064949,-0.102459684014320,-0.073670409619808,0.006462211720645,0.052576713263988,-0.056683890521526,-0.034719336777925,-0.012221822515130,-0.308233797550201,-0.241818144917488) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.166993722319603,0.105862252414227,0.124732516705990,0.165518209338188,-0.394791096448898,-0.343212366104126,-0.149512261152267,-0.094558656215668,0.240066647529602,-0.157558277249336,0.390105664730072,-0.306653797626495,0.057888370007277,0.160490721464157,0.230900466442108,-0.246775045990944) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.325997740030289,0.185449793934822,-0.372864603996277,0.036716554313898,-0.173360735177994,-0.252807915210724,-0.574213981628418,-0.730531275272369,0.325126469135284,-0.487226635217667,0.074841544032097,0.604522049427032,0.305531650781631,-0.627546608448029,0.095317676663399,-0.096600741147995) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.437075763940811,-0.302662551403046,0.308010280132294,-0.131571009755135,0.161394461989403,0.121529564261436,-0.094452492892742,0.170656353235245,-0.195099398493767,0.062916584312916,0.035736095160246,-0.104134872555733,-0.017368519678712,-0.103701844811440,-0.413145571947098,-0.021356677636504) * MODEL2_texOff(vec2(0,1));
res += mat4(0.073226504027843,-0.039909277111292,0.409388065338135,0.347013056278229,-0.020239382982254,0.021342048421502,-0.114732675254345,-0.122439309954643,-0.296832531690598,0.121736057102680,-0.132809266448021,-0.167074009776115,0.009697408415377,0.007385374512523,0.044396452605724,0.094819016754627) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.000612419040408,0.011013355106115,0.136150732636452,0.106073051691055,-0.158311426639557,-0.155776813626289,-0.301193624734879,-0.117235124111176,0.360811233520508,-0.174178674817085,-0.301433682441711,-0.124048970639706,-0.085845015943050,0.134824231266975,-0.036263208836317,-0.290271192789078) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.205857545137405,-0.209362640976906,-0.120531022548676,-0.117683015763760,0.010883810929954,-0.032642915844917,0.034065231680870,-0.034208998084068,0.016252018511295,0.071697205305099,0.049022633582354,0.010941861197352,-0.030120695009828,-0.068343259394169,0.157868251204491,-0.088775925338268) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.079499587416649,-0.085852853953838,-0.281781911849976,0.555701017379761,0.061564095318317,0.001727515133098,0.042252078652382,0.080661132931709,-0.065449342131615,-0.132659614086151,0.094581685960293,0.081588186323643,0.041085332632065,0.109799519181252,0.212408661842346,-0.047109529376030) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.118584975600243,0.072460755705833,0.212649136781693,0.251641571521759,-0.141347393393517,0.011728377081454,-0.084491819143295,0.022764166817069,0.015062293037772,-0.060613822191954,-0.108855158090591,0.000904870161321,-0.095456905663013,0.091111294925213,-0.022534374147654,-0.173391997814178) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.035845715552568,0.009564372710884,-0.139780983328819,0.062696523964405,-0.181019470095634,-0.006663388106972,0.072244815528393,-0.074546568095684,0.166736215353012,0.064238488674164,-0.048747591674328,-0.018618760630488,0.045287694782019,0.080072790384293,0.280270189046860,-0.159177199006081) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.345418244600296,-0.000544298323803,-0.129729092121124,0.218888744711876,0.188133329153061,0.041757527738810,-0.094190932810307,0.052597172558308,-0.036352977156639,-0.170854449272156,0.107678592205048,0.074955366551876,0.151813775300980,0.047575496137142,0.019666681066155,-0.007817965000868) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.183406308293343,-0.003434491343796,-0.022662151604891,0.359472364187241,0.045261550694704,0.126502782106400,0.466384470462799,-0.314732611179352,-0.460052967071533,-0.355920314788818,-0.403383314609528,-0.474312454462051,0.180326342582703,0.065078869462013,-0.215858995914459,-0.479921787977219) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.043143261224031,0.139961406588554,-0.290083914995193,0.306645810604095,-0.216598883271217,0.038288880139589,0.124921329319477,0.129575818777084,0.272067755460739,0.118901178240776,-0.350932836532593,0.137905642390251,0.186560466885567,0.091688185930252,0.273750096559525,-0.184090539813042) * MODEL3_texOff(vec2(0,1));
res += mat4(0.112435691058636,-0.041014961898327,-0.138963684439659,-0.021160107105970,0.095254972577095,0.020747231319547,0.196402072906494,-0.130160793662071,0.021952714771032,-0.063644893467426,-0.176788374781609,-0.119865663349628,0.126928955316544,-0.030964607372880,0.202054157853127,-0.219970583915710) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.125486001372337,-0.100698567926884,0.107958078384399,0.529345333576202,-0.148029461503029,-0.008290718309581,0.176530689001083,0.120672836899757,-0.013010759837925,-0.041851382702589,-0.256474673748016,0.045655362308025,0.164850592613220,-0.050848256796598,0.237163230776787,-0.052937623113394) * MODEL3_texOff(vec2(1,0));
res += mat4(0.007855792529881,0.047680627554655,0.024688342586160,0.375668495893478,-0.134190335869789,0.046956028789282,-0.020522326231003,0.087921947240829,0.137247100472450,0.041899796575308,0.131090641021729,0.168920144438744,0.054346438497305,-0.035518631339073,0.239491477608681,-0.000437291018898) * MODEL3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(1.230537414550781,1.051147222518921,0.191630914807320,0.132520735263824) * 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_LA) mapping 2_3
vec4 hook()
{
vec4 res = vec4(-0.035692289471626,0.050445929169655,-0.059625655412674,0.308948278427124);
res += mat4(0.168010249733925,-0.074342407286167,-0.037116244435310,0.116514876484871,-0.131476044654846,0.117806650698185,-0.004147187341005,0.106916971504688,0.209615245461464,-0.012728727422655,-0.007232823409140,0.063522450625896,0.300197720527649,-0.120373554527760,-0.129715412855148,-0.013152972795069) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.121947899460793,-0.056390438228846,-0.039275337010622,0.285764664411545,0.031714707612991,-0.027605436742306,-0.016288137063384,0.052213005721569,0.279498845338821,-0.109429143369198,0.013876204378903,0.073887377977371,-0.004499504342675,0.209640666842461,0.073330610990524,-0.308148443698883) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.032576177269220,0.088659353554249,0.046697925776243,0.020261796191335,-0.081783801317215,-0.128802508115768,-0.112641699612141,0.147348254919052,0.055511739104986,-0.134280666708946,-0.019312672317028,0.132521659135818,-0.102362945675850,-0.071205772459507,-0.035854343324900,0.058724932372570) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.057347271591425,-0.029172578826547,-0.195288166403770,0.095451772212982,-0.253019928932190,0.191895887255669,-0.226388365030289,0.254217803478241,0.313947379589081,-0.003422538982704,0.155719891190529,-0.205233395099640,0.067899338901043,-0.131261378526688,-0.017776856198907,0.068489447236061) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.142918333411217,-0.069541439414024,0.175074622035027,-0.197359636425972,-0.221367016434669,-0.256110280752182,0.077733144164085,-0.217745855450630,0.627225399017334,-0.107911020517349,0.080049537122250,-0.317236453294754,0.192678108811378,-0.167126744985580,0.408310502767563,0.116642981767654) * MODEL1_texOff(vec2(0,0));
res += mat4(0.214507773518562,0.099812887609005,0.259956598281860,-0.143358051776886,-0.043275710195303,-0.000408569758292,-0.059264086186886,-0.193769738078117,0.184343934059143,-0.136857852339745,0.086183026432991,-0.100990593433380,-0.096343398094177,-0.217835411429405,-0.167298600077629,0.126895025372505) * MODEL1_texOff(vec2(0,1));
res += mat4(0.119204349815845,-0.080270648002625,-0.268841773271561,0.011981376446784,0.103230208158493,0.287553042173386,-0.152637973427773,-0.050757791846991,-0.020557662472129,0.023650515824556,0.184970393776894,-0.016621816903353,-0.199271723628044,0.092659540474415,0.254211038351059,-0.145520627498627) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.056281350553036,-0.116259798407555,0.147723928093910,0.141937062144279,0.421384692192078,0.036684218794107,0.001729566138238,-0.101756878197193,0.026338659226894,-0.187179669737816,0.179251000285149,-0.310264796018600,-0.149637609720230,0.140014693140984,0.249615207314491,-0.331846535205841) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.236398488283157,0.100316129624844,0.003688472090289,-0.013084759935737,-0.074202373623848,-0.138062149286270,-0.070831604301929,0.040716074407101,-0.100232705473900,-0.140961512923241,-0.014211159199476,0.028254311531782,0.067756794393063,0.021604748442769,-0.100051805377007,-0.032532252371311) * MODEL1_texOff(vec2(1,1));
res += mat4(0.028986299410462,-0.032058503478765,-0.000637048855424,-0.535271763801575,-0.155851766467094,0.196095541119576,-0.079201646149158,-0.228690266609192,0.070528596639633,0.125325202941895,-0.100407831370831,0.106992647051811,0.167639300227165,-0.045692101120949,0.232728242874146,-0.345550239086151) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.007318974472582,0.201618194580078,0.046289503574371,0.033602472394705,-0.180667325854301,0.043349657207727,0.163808360695839,0.094831556081772,0.083938851952553,0.082206994295120,0.028675351291895,-0.050727982074022,0.028730051591992,-0.255891561508179,0.168787091970444,0.023412795737386) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.055966742336750,-0.083886474370956,-0.081207625567913,0.199844762682915,0.019121855497360,-0.189296990633011,-0.019001113250852,-0.078276522457600,-0.053985998034477,-0.055770561099052,-0.076308116316795,-0.054023832082748,0.002254531951621,0.038506641983986,0.006096087861806,0.167487591505051) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.029835190623999,0.403238594532013,0.282763987779617,-0.457821816205978,-0.072269082069397,-0.229410246014595,-0.469008505344391,-0.224434077739716,-0.255965083837509,0.272053182125092,0.177435517311096,0.185067981481552,-0.133984312415123,0.177538573741913,0.149735972285271,0.136483967304230) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.003044517943636,0.083999097347260,0.287260830402374,0.388993948698044,-0.418023139238358,-0.404259949922562,-0.100165605545044,0.176974982023239,-0.113039575517178,0.374765783548355,-0.221781536936760,0.226608559489250,-0.403472930192947,-0.284845679998398,-0.280582994222641,-0.006238769739866) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.282032310962677,-0.023442922160029,-0.178797259926796,0.323910504579544,0.240675732493401,0.527699172496796,0.278533220291138,0.020819544792175,0.001534943119623,0.024185622110963,-0.178878977894783,0.028319494798779,-0.025205548852682,0.346338123083115,0.003937402274460,0.380164474248886) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.174261271953583,0.031247388571501,0.129012212157249,-0.267900377511978,0.093602582812309,0.066050827503204,-0.127405256032944,-0.131687268614769,0.008075080811977,0.232202947139740,0.085509859025478,-0.121242634952068,-0.024967368692160,0.063692860305309,-0.224290564656258,0.014548870734870) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.072364851832390,0.219897732138634,0.240297392010689,0.278768688440323,0.296103298664093,0.112210601568222,-0.077081397175789,0.194361522793770,0.152477994561195,-0.082293674349785,-0.306877732276917,0.134019419550896,0.286033809185028,-0.042986791580915,-0.052865959703922,-0.152766048908234) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.005586519837379,0.028227858245373,0.038386587053537,0.278442084789276,-0.066556155681610,0.150776281952858,-0.007045499049127,-0.082523830235004,-0.019257457926869,-0.234616816043854,-0.024756917729974,-0.108324214816093,0.052764695137739,0.106703035533428,-0.000824990333058,-0.086550742387772) * MODEL2_texOff(vec2(1,1));
res += mat4(0.014402145519853,-0.098505102097988,-0.133053377270699,0.161538287997246,0.070821158587933,-0.024758571758866,-0.053885217756033,0.083776228129864,-0.093442209064960,0.067334629595280,0.130240067839622,-0.128591254353523,0.274080514907837,0.087245479226112,0.011515329591930,-0.179278329014778) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.182808741927147,-0.163558810949326,-0.126584202051163,0.196350350975990,0.194020718336105,0.184949740767479,0.106963627040386,-0.396464526653290,-0.244505524635315,0.019160645082593,-0.061273533850908,-0.006227515172213,0.297190606594086,0.412724912166595,0.007292174268514,-0.503532707691193) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.056203421205282,-0.199631512165070,-0.088018797338009,0.358863800764084,-0.008394844830036,-0.026846831664443,0.112070776522160,-0.192852199077606,-0.093328401446342,-0.041159555315971,0.073919221758842,-0.070176661014557,-0.068396948277950,0.217424392700195,0.049274731427431,-0.012740020640194) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.042345106601715,-0.262701839208603,-0.183919697999954,-0.217087298631668,0.053362503647804,-0.117108233273029,0.116513431072235,-0.134793773293495,-0.015098267234862,-0.150661960244179,0.184674158692360,0.053312737494707,0.227859020233154,-0.128923952579498,0.093150302767754,-0.325456351041794) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.082245603203773,-0.007058986462653,-0.445869952440262,-0.535994231700897,0.121403679251671,0.461896091699600,0.525255739688873,-1.148957371711731,-0.481079548597336,-0.439392656087875,-0.405693322420120,-0.176603049039841,0.123904041945934,0.139531314373016,-0.010507064871490,-0.269364684820175) * MODEL3_texOff(vec2(0,0));
res += mat4(0.072551049292088,0.026896161958575,0.054824054241180,0.175736084580421,0.172633200883865,0.072073996067047,0.178734600543976,-0.903586804866791,0.146688982844353,0.258317172527313,0.133427113294601,-0.261911183595657,-0.031691804528236,-0.079178065061569,0.045614741742611,0.138727098703384) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.122638359665871,-0.093640588223934,0.036330763250589,0.280695348978043,-0.094975620508194,0.053173143416643,0.155623972415924,0.058710727840662,0.059118703007698,-0.100020870566368,-0.030917285010219,-0.036561947315931,-0.060893535614014,-0.195153012871742,-0.006023725960404,0.230507925152779) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.224951595067978,-0.378083586692810,-0.051995687186718,-0.111637271940708,-0.129441887140274,0.052491389214993,0.298732876777649,-0.565484523773193,0.270504027605057,-0.128441140055656,-0.047652311623096,-0.127403005957603,-0.096183396875858,-0.124182634055614,0.046237193048000,0.171329140663147) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.159438461065292,-0.104145839810371,0.005179869011045,0.161837995052338,-0.123655699193478,0.066826306283474,-0.053104128688574,-0.075271278619766,0.075647935271263,-0.123396262526512,0.022723352536559,-0.103252433240414,-0.182444348931313,-0.050981812179089,-0.013043673709035,0.207027599215508) * MODEL3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.150713816285133,0.648675203323364,-0.583734691143036,0.103963054716587) * 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_LA) mapping 3_1
vec4 hook()
{
vec4 res = vec4(-0.155189558863640,-0.088638730347157,-0.028159232810140,-0.055543798953295);
res += mat4(0.002106039784849,-0.066454328596592,-0.071109443902969,-0.164694547653198,-0.066764287650585,-0.186870455741882,0.375219136476517,-0.007178101222962,-0.100204132497311,0.157142236828804,0.194800630211830,0.046847593039274,-0.124176383018494,0.421955853700638,-0.049582928419113,0.015641761943698) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.324075341224670,0.122965842485428,-0.097834877669811,-0.347196936607361,-0.039363522082567,-0.177310258150101,-0.048534404486418,-0.230487704277039,-0.013608183711767,0.144808351993561,0.034387502819300,0.254377424716949,-0.048389092087746,0.139429464936256,-0.064492806792259,0.064967982470989) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.130345046520233,0.005034125875682,0.168010145425797,-0.024811843410134,-0.063747085630894,0.278119683265686,0.449327528476715,-0.115466237068176,0.191962271928787,-0.065070286393166,0.012393897399306,-0.023332582786679,0.090055607259274,-0.076266579329967,0.067079573869705,-0.060961704701185) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.073496811091900,0.071674227714539,-0.262342780828476,0.091750890016556,0.242251992225647,-0.104794286191463,0.327737927436829,-0.092601656913757,0.006521154195070,0.094414174556732,0.104971796274185,-0.189392849802971,0.010420694947243,0.118435472249985,-0.316717386245728,-0.139204978942871) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.189369618892670,-0.079442806541920,0.226819396018982,0.369310945272446,-0.154563859105110,0.120105333626270,-0.089628934860229,0.079138234257698,0.064022921025753,0.119705393910408,0.152430459856987,-0.200515329837799,0.106339126825333,0.081297539174557,0.214771911501884,0.321159571409225) * MODEL4_texOff(vec2(0,0));
res += mat4(0.046299066394567,0.023265002295375,0.021830275654793,-0.000117506933748,0.259861111640930,-0.025399906560779,0.236245676875114,0.025137662887573,0.163837701082230,-0.208379909396172,-0.087026588618755,0.251410454511642,0.134498164057732,-0.157838612794876,0.040998470038176,0.031281810253859) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.043550096452236,0.158702298998833,-0.101402290165424,0.028835231438279,0.116249494254589,0.109039336442947,0.079105868935585,0.096395798027515,0.060667466372252,0.135774105787277,-0.210341185331345,0.126136064529419,-0.015057019889355,0.017931178212166,-0.117928981781006,0.022965621203184) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.002625973895192,0.027912916615605,0.009698706679046,-0.270372837781906,0.137516736984253,0.200658917427063,-0.007011586800218,0.242306441068649,0.138601467013359,0.023697460070252,-0.012097419239581,0.310890555381775,0.026421286165714,0.070239484310150,0.220280289649963,-0.107094004750252) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.076973974704742,-0.000391792797018,-0.036844622343779,-0.066957794129848,0.113088138401508,-0.046281542629004,-0.231948256492615,0.116938389837742,0.018379662185907,0.017265677452087,0.012802056036890,0.046489700675011,0.025410903617740,-0.011133661493659,-0.061178941279650,0.007792822085321) * MODEL4_texOff(vec2(1,1));
res += mat4(0.046006686985493,0.313973605632782,0.020868452265859,0.003813460469246,-0.081573486328125,-0.355074435472488,0.006243113428354,-0.080736525356770,0.013517580926418,-0.112597629427910,0.127783983945847,-0.062755852937698,0.150884717702866,-0.033498127013445,0.100323811173439,-0.156747892498970) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.164759546518326,-0.004143213387579,0.002761355368420,0.232223212718964,0.424373716115952,0.412164568901062,-0.022290542721748,0.039788223803043,0.253511041402817,-0.220336705446243,0.129845440387726,-0.027208494022489,0.317319840192795,0.126644626259804,-0.120104655623436,-0.116485886275768) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.123521655797958,-0.013661555945873,0.150463879108429,0.055879354476929,0.109368979930878,-0.035331934690475,-0.069451823830605,-0.078337535262108,-0.018829885870218,0.033454071730375,0.013273703865707,0.126864746212959,0.306283622980118,-0.116888687014580,0.097280405461788,-0.000659705605358) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.211511880159378,0.241858780384064,0.040859885513783,-0.262639820575714,-0.199920803308487,-0.332386821508408,-0.014745996333659,0.136811196804047,0.068255528807640,-0.109339654445648,0.129534393548965,0.233635887503624,0.303292810916901,-0.109999269247055,0.002245683688670,-0.039160501211882) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.014015548862517,-0.139289319515228,0.448523730039597,-0.114456228911877,-0.450993865728378,0.290111780166626,0.573910713195801,-0.113154232501984,0.239924818277359,0.048348214477301,0.053659383207560,-0.027250351384282,0.355352252721786,0.018270893022418,0.572183787822723,0.316391021013260) * MODEL5_texOff(vec2(0,0));
res += mat4(0.151330858469009,-0.140210285782814,-0.226800352334976,0.049772489815950,0.188320532441139,-0.166808590292931,-0.195009484887123,0.066267021000385,-0.038663595914841,0.095893561840057,0.294510751962662,-0.067269802093506,0.138420999050140,-0.269386589527130,-0.256645798683167,0.154563814401627) * MODEL5_texOff(vec2(0,1));
res += mat4(0.048607107251883,0.019949447363615,0.000180532777449,-0.105186566710472,-0.082808271050453,0.008250122889876,-0.254648894071579,0.138369783759117,0.016858173534274,0.033938374370337,0.127588853240013,0.028081441298127,0.057342763990164,-0.077656120061874,0.167848765850067,0.030953623354435) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.004197628702968,0.151000067591667,-0.243854165077209,0.119468808174133,-0.012068183161318,0.013943473808467,0.050560634583235,0.179947301745415,0.111869439482689,0.063013434410095,-0.049423176795244,-0.181573897600174,0.017141951248050,0.098241105675697,0.101595081388950,-0.304756402969360) * MODEL5_texOff(vec2(1,0));
res += mat4(0.012798807583749,-0.055271763354540,-0.107665777206421,0.113165043294430,0.055870298296213,0.098796620965004,0.111844874918461,-0.050514325499535,0.003479535691440,-0.054062422364950,0.132613569498062,0.189139783382416,-0.131390571594238,0.074576430022717,-0.148609697818756,-0.138740018010139) * MODEL5_texOff(vec2(1,1));
res += mat4(0.017421765252948,0.236516013741493,-0.061438564211130,0.021345864981413,-0.155427694320679,0.043385542929173,-0.095656238496304,-0.197967067360878,0.150706321001053,0.165452986955643,-0.013999766670167,-0.025824861600995,-0.141434103250504,0.627880156040192,-0.260384857654572,-0.052943248301744) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.272569298744202,0.234709382057190,0.160387337207794,0.340629905462265,-0.151986569166183,0.025377908721566,0.089919894933701,0.097998812794685,-0.003938181791455,-0.336398810148239,0.113766662776470,0.023750601336360,0.133501470088959,0.128657042980194,-0.060369376093149,0.148352518677711) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.284453362226486,0.016717901453376,-0.045003715902567,-0.018633352592587,-0.259922504425049,-0.101267904043198,0.061470396816730,0.043123766779900,0.149061471223831,0.123981773853302,0.048602487891912,0.034862484782934,-0.047189645469189,0.122703716158867,0.013883613981307,0.093948848545551) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.162383630871773,0.018926445394754,-0.115538477897644,-0.121450558304787,-0.237040594220161,-0.137917548418045,0.012784816324711,-0.006298210471869,0.194768607616425,0.098015382885933,-0.063060134649277,-0.042702324688435,-0.198776945471764,0.506771504878998,-0.582105576992035,-0.119626998901367) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.203733339905739,0.246459752321243,-0.302905350923538,-0.018688505515456,0.128338977694511,-0.096142761409283,-0.031698923557997,-0.044561933726072,0.004075931385159,-0.399763971567154,0.489107787609100,-0.093733370304108,0.169442728161812,-0.040070593357086,-0.264930218458176,0.216503635048866) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.089039228856564,0.096108272671700,-0.010669607669115,-0.007684472948313,-0.156508326530457,-0.116658307611942,-0.128183066844940,-0.013273964636028,-0.093437246978283,0.042143478989601,0.300643801689148,-0.067911118268967,-0.013506415300071,0.279345870018005,-0.141835168004036,0.079574272036552) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.046003334224224,0.132938906550407,-0.175876334309578,0.050320848822594,-0.001926527125761,0.011961936950684,-0.073448978364468,-0.083970621228218,0.016616348177195,-0.050105873495340,0.104514554142952,-0.018873561173677,0.018703386187553,0.415858685970306,-0.489738702774048,0.064862862229347) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.222114488482475,-0.069878943264484,-0.240431204438210,0.266595065593719,-0.075664922595024,0.126172676682472,-0.002588892821223,-0.222178310155869,-0.141614422202110,-0.066070735454559,0.031527303159237,-0.174697577953339,0.135036736726761,0.055819749832153,-0.110031425952911,0.177765846252441) * MODEL6_texOff(vec2(1,0));
res += mat4(0.051663506776094,0.229582712054253,-0.066909477114677,0.023523706942797,-0.034746054559946,-0.077012978494167,-0.125656813383102,0.056982453912497,-0.076810151338577,0.015325298532844,0.122741565108299,-0.194029659032822,0.009437704458833,0.067271634936333,-0.034565836191177,-0.003746443195269) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.828130245208740,-0.173502027988434,0.089178033173084,0.869291305541992) * 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_LA) mapping 3_2
vec4 hook()
{
vec4 res = vec4(0.011771610938013,-0.066601909697056,-0.080891773104668,-0.025022579357028);
res += mat4(-0.186992347240448,0.111454375088215,-0.093452565371990,0.052803736180067,-0.203448608517647,-0.119721502065659,-0.100390240550041,-0.074442908167839,0.047329399734735,-0.013135302811861,0.104669526219368,0.004248924087733,-0.046676881611347,-0.054021690040827,0.119207747280598,0.028623322024941) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.569205224514008,-0.089650258421898,0.008816783316433,0.083228528499603,-0.143459543585777,-0.068704217672348,0.184260025620461,0.108799554407597,0.102149531245232,-0.180630952119827,0.119723446667194,-0.176542520523071,0.100361779332161,0.343753010034561,0.123725555837154,0.223637238144875) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.010485951788723,0.012410098686814,0.372752815485001,0.093183867633343,0.226406216621399,-0.155000463128090,0.802620649337769,0.073668174445629,-0.107343949377537,0.028074968606234,0.036544296890497,-0.025229224935174,0.004507633857429,-0.065023243427277,0.111704252660275,-0.038425255566835) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.111184857785702,-0.005330185405910,-0.097309283912182,-0.037181895226240,0.145931482315063,0.003139338456094,-0.057860467582941,0.247548758983612,0.070069238543510,0.022688517346978,0.128672465682030,-0.051747512072325,0.061882805079222,-0.027912264689803,-0.074946194887161,-0.338688522577286) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.185974970459938,0.133269011974335,0.305771589279175,0.193157091736794,-0.129185840487480,-0.254331707954407,0.247353166341782,-0.075284734368324,0.000291472591925,0.249217256903648,0.072064861655235,0.062266338616610,0.134639769792557,0.377740055322647,-0.197952121496201,0.254019290208817) * MODEL4_texOff(vec2(0,0));
res += mat4(0.009551653638482,-0.080740801990032,0.196872919797897,0.093338571488857,-0.158066183328629,-0.015926772728562,0.144637748599052,-0.055740755051374,-0.029914170503616,0.205792650580406,-0.132406696677208,0.174535036087036,-0.141355127096176,-0.023323796689510,0.042210303246975,0.124017186462879) * MODEL4_texOff(vec2(0,1));
res += mat4(0.119777612388134,-0.036119375377893,0.167191371321678,-0.177085906267166,0.071150042116642,-0.067775733768940,0.206168025732040,0.203910276293755,0.003328853286803,0.041571751236916,-0.002457422669977,-0.120344869792461,0.027118917554617,-0.044180285185575,-0.216127023100853,0.013775976374745) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.446114867925644,-0.083228521049023,-0.047985576093197,-0.098401360213757,-0.064241990447044,0.117284543812275,0.314410895109177,0.116056196391582,-0.170590087771416,0.255553841590881,0.555553495883942,0.040387414395809,0.232572689652443,-0.082855716347694,0.053190529346466,0.097457252442837) * MODEL4_texOff(vec2(1,0));
res += mat4(0.124727122485638,-0.049320463091135,0.122332505881786,-0.082859091460705,-0.216485023498535,0.214729666709900,0.165573447942734,0.077055662870407,-0.066006921231747,0.112740382552147,0.182047739624977,0.102197319269180,0.062793821096420,0.029692828655243,0.185152366757393,0.080226220190525) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.080382972955704,0.045941177755594,0.110600747168064,0.021669637411833,0.112720973789692,0.064118981361389,-0.054511126130819,0.037254832684994,0.105595387518406,-0.035153940320015,-0.036703664809465,0.048003584146500,-0.109051339328289,0.069617338478565,0.074113309383392,0.124484129250050) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.448824018239975,-0.057974845170975,0.035893950611353,0.018377237021923,-0.285133421421051,-0.138326808810234,0.110416904091835,-0.212973669171333,-0.144917190074921,-0.110427334904671,-0.049192983657122,0.048285134136677,-0.479046165943146,-0.052144810557365,0.053772300481796,0.083059594035149) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.218358606100082,0.226168036460876,-0.042219065129757,-0.009346731007099,-0.128879368305206,0.184207335114479,0.040651131421328,0.059863533824682,0.151923522353172,-0.153294458985329,-0.212191268801689,0.015073219314218,-0.108603768050671,-0.018704812973738,0.350675344467163,0.095567002892494) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.248521760106087,0.042939469218254,-0.027437202632427,0.249120563268661,-0.204148530960083,-0.068367734551430,-0.113128803670406,-0.185104981064796,0.100421369075775,-0.105696782469749,-0.208013802766800,-0.046569488942623,0.141242831945419,0.104560106992722,0.339342147111893,0.485988408327103) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.202072083950043,0.074956953525543,-0.059015195816755,-0.288859307765961,0.518734633922577,-0.416651487350464,0.126618698239326,0.440863996744156,0.240123778581619,-0.362507611513138,-0.150948807597160,0.246433854103088,-0.100148752331734,-0.344571888446808,0.477743208408356,0.064927950501442) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.408234447240829,0.067958220839500,-0.225000321865082,-0.002125977771357,-0.050101697444916,0.205210939049721,-0.339983731508255,-0.240530058741570,0.256966114044189,-0.529006421566010,0.018439374864101,0.153378441929817,-0.258357614278793,0.298467397689819,-0.178692668676376,0.150897577404976) * MODEL5_texOff(vec2(0,1));
res += mat4(0.047060508280993,0.013470483012497,-0.008141016587615,0.026834730058908,-0.002866225084290,0.058024056255817,-0.197180330753326,-0.042321424931288,0.050672721117735,-0.086867846548557,-0.057997640222311,0.009305004961789,-0.276243805885315,-0.066286213696003,0.119796790182590,0.013403171673417) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.020615950226784,0.153296470642090,0.072401635348797,-0.016862114891410,-0.110151998698711,0.233895599842072,-0.157959982752800,-0.014114646241069,0.359077751636505,-0.204901650547981,0.062763035297394,-0.083098351955414,0.051391202956438,-0.059187319129705,0.105798818171024,-0.039824664592743) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.091475367546082,0.244191691279411,-0.006838528905064,0.037569619715214,0.017672389745712,0.275719672441483,0.014303634874523,-0.011545471847057,-0.032914243638515,0.020746340975165,0.031418710947037,0.118389487266541,-0.001664452254772,0.103100158274174,-0.019028114154935,-0.215623021125793) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.202901497483253,-0.111030302941799,0.007861104793847,-0.115689150989056,-0.116550035774708,-0.047357130795717,-0.156342133879662,-0.011418621987104,-0.025674048811197,0.063588373363018,-0.015131343156099,-0.015369034372270,-0.013871059753001,0.045034065842628,0.179440811276436,-0.072728507220745) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.651005268096924,0.097082436084747,0.251760572195053,0.050260607153177,0.338947087526321,0.050288520753384,-0.109300144016743,0.040267266333103,-0.156540304422379,0.182992592453957,-0.323636144399643,-0.024532649666071,-0.013008806854486,0.324331462383270,0.056237101554871,0.044587720185518) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.247090131044388,0.070576861500740,-0.199947014451027,-0.055509962141514,0.156033620238304,0.087657302618027,-0.232504308223724,-0.041527554392815,-0.235845923423767,-0.045051869004965,-0.108805179595947,-0.035214968025684,0.078464142978191,0.381674945354462,-0.268400251865387,-0.029278177767992) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.128835499286652,0.038034584373236,-0.065205648541451,0.094491258263588,-0.147355765104294,0.186288893222809,-0.258043915033340,-0.176642283797264,0.171700701117516,-0.001871560234576,0.115756459534168,0.286483675241470,0.117759235203266,0.240996226668358,0.086571343243122,-0.181052953004837) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.291564494371414,-0.070090815424919,-0.177337363362312,-0.464333087205887,-0.068562686443329,-0.236398681998253,-0.380837112665176,-0.249142736196518,-0.006937234662473,-0.165631338953972,0.094220176339149,0.234383285045624,0.138203725218773,0.131007775664330,-0.153476536273956,0.169676080346107) * MODEL6_texOff(vec2(0,0));
res += mat4(0.022645927965641,0.334447979927063,-0.284111917018890,-0.178979560732841,-0.027522912248969,-0.114405311644077,-0.295493215322495,-0.167922973632813,-0.011958717368543,-0.030308436602354,-0.123264901340008,-0.045509599149227,0.026722103357315,0.098754972219467,-0.119279481470585,0.002838457468897) * MODEL6_texOff(vec2(0,1));
res += mat4(0.020373655483127,-0.138329088687897,-0.023497458547354,-0.077830895781517,0.069744974374771,0.033700093626976,-0.188462257385254,-0.076271042227745,-0.087554775178432,-0.030390702188015,0.172897353768349,0.061378717422485,0.004182634409517,-0.030904892832041,-0.158616498112679,-0.235526993870735) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.234176412224770,-0.036236010491848,-0.248375639319420,0.296388328075409,0.245474860072136,0.075693435966969,-0.048512972891331,-0.080234766006470,-0.049078702926636,-0.144879058003426,-0.242390692234039,-0.095729947090149,0.173182442784309,0.289912164211273,-0.071210578083992,0.051676198840141) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.021943027153611,0.138523995876312,0.266620665788651,0.076299540698528,0.023802286013961,0.034509636461735,-0.084888786077499,-0.098381623625755,0.070922583341599,-0.167749688029289,-0.221908241510391,-0.192669495940208,0.187764301896095,0.297068357467651,0.001855777576566,0.058469045907259) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.362893313169479,1.333146691322327,0.107886962592602,1.044577956199646) * 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_LA) mapping 3_3
vec4 hook()
{
vec4 res = vec4(-0.231176167726517,-0.021616227924824,-0.161771148443222,-0.104334846138954);
res += mat4(0.209094554185867,-0.071183145046234,-0.151701703667641,0.010871252976358,0.081551663577557,-0.088576436042786,0.159508720040321,-0.240371674299240,-0.064443096518517,-0.044558499008417,0.003132585436106,0.024197192862630,0.237043738365173,-0.045472502708435,0.134164407849312,0.164068102836609) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.060194000601768,-0.280495733022690,-0.191140145063400,-0.335960835218430,-0.183712616562843,0.035519246011972,-0.065813414752483,-0.148280799388885,0.171011373400688,-0.078826345503330,-0.010129019618034,-0.300742179155350,0.341914266347885,-0.186090871691704,0.326402336359024,0.004460282158107) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.050770640373230,-0.002385879168287,0.090650960803032,-0.136145323514938,-0.236808314919472,0.016860025003552,0.407755255699158,-0.408972740173340,0.090413130819798,-0.030452556908131,-0.185495391488075,0.001287930645049,-0.135207056999207,-0.132202997803688,0.013094061054289,-0.090461924672127) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.065475046634674,0.085731104016304,0.141418233513832,-0.067819997668266,0.050428170710802,0.098161228001118,0.082161210477352,0.149852961301804,0.073452636599541,-0.005266700405627,0.029681812971830,0.023330822587013,0.226234689354897,-0.034696161746979,0.118812702596188,-0.108472824096680) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.041206981986761,-0.110622413456440,0.168355524539948,0.120029099285603,-0.192997559905052,0.175647661089897,-0.214923664927483,-0.187569692730904,0.191569387912750,0.291657239198685,0.349773854017258,-0.614951252937317,0.407997876405716,0.355280756950378,0.410353809595108,-0.081773594021797) * MODEL4_texOff(vec2(0,0));
res += mat4(0.038225710391998,0.237609714269638,0.037998802959919,-0.140570327639580,0.199384033679962,-0.308548271656036,-0.126897588372231,0.156314671039581,-0.117135733366013,-0.142014294862747,-0.131423473358154,0.165218681097031,-0.111642166972160,0.192088827490807,0.147038653492928,0.063074357807636) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.030757332220674,0.224428132176399,0.155448555946350,0.012995689176023,0.205243393778801,0.259558647871017,0.136846423149109,-0.021240461617708,0.003471329575405,-0.167257770895958,-0.058735176920891,0.130789965391159,-0.038030289113522,0.094498418271542,0.055104624480009,0.042904987931252) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.198588147759438,-0.399413168430328,-0.159738659858704,0.271710008382797,0.413255035877228,0.392444700002670,0.073870472609997,0.115153424441814,0.166736707091331,-0.212483987212181,-0.068500533699989,0.347432643175125,-0.111718945205212,0.145093351602554,0.030278818681836,0.150732055306435) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.142761975526810,0.059299755841494,0.149258673191071,-0.075874216854572,0.277581006288528,-0.026728626340628,0.017575874924660,-0.175867915153503,0.082773379981518,-0.072326436638832,-0.022013174369931,-0.126582801342010,-0.082523465156555,0.210673078894615,0.102318987250328,-0.075504273176193) * MODEL4_texOff(vec2(1,1));
res += mat4(0.089019261300564,-0.086117766797543,0.087752416729927,-0.059510186314583,0.006214289925992,-0.074744246900082,-0.247502073645592,0.126435816287994,-0.137969344854355,0.173311010003090,0.021010652184486,0.270286560058594,0.132721096277237,0.007002030033618,-0.155472666025162,0.037985391914845) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.226484119892120,-0.104600287973881,0.129309028387070,-0.092227838933468,-0.145965427160263,-0.326736450195313,-0.246871963143349,-0.145050540566444,-0.145872682332993,0.093180865049362,-0.070582561194897,-0.027723362669349,0.236520126461983,-0.139665901660919,-0.287506639957428,-0.523826241493225) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.069681547582150,-0.027276189997792,-0.134664669632912,0.009528086520731,0.053686901926994,-0.189194634556770,-0.115105837583542,0.085505209863186,0.079662181437016,0.047885276377201,-0.055480170994997,-0.088585600256920,-0.118452541530132,0.003413473023102,-0.268796294927597,-0.227037832140923) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.066158019006252,-0.097174979746342,0.089615948498249,0.184899926185608,-0.035434704273939,-0.068734414875507,-0.132050544023514,-0.138236254453659,-0.122454464435577,-0.011257017962635,0.042632564902306,-0.009773405268788,0.076384142041206,0.057107016444206,-0.142033547163010,0.034833576530218) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.191626012325287,-0.307166934013367,0.412031799554825,-0.000670320121571,-0.618516087532043,0.119093045592308,0.390688240528107,0.098125904798508,-0.327631264925003,0.023425929248333,0.194824457168579,0.525729358196259,0.079149067401886,-0.050998602062464,0.513277888298035,-0.109490342438221) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.067117437720299,-0.044557277113199,-0.263410627841949,0.091156244277954,0.184492215514183,0.129525095224380,0.048963487148285,0.018964819610119,-0.231543630361557,-0.500999510288239,0.226389154791832,-0.069403313100338,0.197680205106735,-0.044451199471951,-0.042908869683743,-0.188258439302444) * MODEL5_texOff(vec2(0,1));
res += mat4(0.057112839072943,-0.222441732883453,0.159730717539787,0.066248044371605,0.041085910052061,0.097251810133457,0.118656195700169,0.118200898170471,0.021688273176551,-0.314707696437836,-0.153087079524994,-0.164803877472878,0.194986730813980,-0.025287430733442,-0.003088593715802,-0.263733386993408) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.064890287816525,-0.085552476346493,0.144414544105530,-0.071032933890820,0.202795594930649,-0.161031901836395,0.025957226753235,0.092383660376072,-0.117857709527016,-0.399945974349976,0.249086275696754,0.213766828179359,-0.307560831308365,0.125365853309631,-0.068145006895065,-0.579784035682678) * MODEL5_texOff(vec2(1,0));
res += mat4(0.112158335745335,-0.390264749526978,-0.042843848466873,-0.081971585750580,0.236419752240181,-0.254464447498322,-0.069461457431316,-0.132530599832535,0.029729092493653,0.084802329540253,0.297055631875992,0.463870912790298,-0.020869385451078,0.165897846221924,-0.031025009229779,-0.153426736593246) * MODEL5_texOff(vec2(1,1));
res += mat4(0.098576515913010,0.069402769207954,0.168064981698990,-0.005748488474637,0.091146916151047,-0.105595059692860,0.153611034154892,0.348318159580231,0.055410634726286,0.063996613025665,0.073373690247536,-0.089650191366673,0.347135186195374,-0.218887537717819,0.346803128719330,0.159182667732239) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.004688510671258,0.265388578176498,0.663721024990082,0.492099612951279,-0.164578184485435,-0.027780696749687,0.324500650167465,0.094525799155235,-0.024136515334249,-0.025322366505861,0.006828887853771,0.457218647003174,0.100246787071228,0.181133702397346,0.373889863491058,-0.093465723097324) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.069338053464890,0.068555682897568,0.283908903598785,0.165819212794304,0.102146834135056,0.045335967093706,0.182954713702202,0.232059523463249,0.035634703934193,-0.121586896479130,-0.427360475063324,-0.240066230297089,0.373958289623260,0.002187355421484,0.336123347282410,0.258908271789551) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.151396155357361,0.184799626469612,0.183704584836960,0.089963793754578,0.425256073474884,-0.163138449192047,0.006525745615363,0.088437423110008,-0.008186903782189,0.134973809123039,0.038895070552826,0.175537019968033,0.553316891193390,0.107955791056156,0.021805688738823,0.027084654197097) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.025950681418180,-0.013153066858649,-0.470042407512665,-0.195637702941895,-0.671337783336639,-0.146491646766663,-0.060139037668705,-0.034682724624872,-0.388423115015030,-0.053973082453012,-0.131029322743416,0.137581095099449,0.063527330756187,-0.058309476822615,0.221195831894875,-0.248154655098915) * MODEL6_texOff(vec2(0,0));
res += mat4(0.165806636214256,-0.045153055340052,-0.108534820377827,0.256414175033569,-0.145311713218689,-0.171169042587280,-0.179832845926285,0.158310502767563,-0.402442395687103,0.012170054949820,0.130122199654579,0.265688091516495,0.470809429883957,-0.063060067594051,0.315048277378082,0.040902074426413) * MODEL6_texOff(vec2(0,1));
res += mat4(0.112522982060909,0.067469015717506,0.025783047080040,0.057469312101603,-0.032331854104996,0.542091906070709,-0.037790514528751,0.059344783425331,0.128601983189583,-0.017635349184275,-0.013296362943947,-0.028566922992468,0.198139160871506,0.266774773597717,0.000895101169590,0.121563114225864) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.324420690536499,-0.291052132844925,-0.260176599025726,-0.131969556212425,-0.198072612285614,0.305880308151245,0.110397808253765,0.295334786176682,-0.159009143710136,0.156779408454895,0.047957681119442,-0.146274209022522,0.374409765005112,0.220547065138817,0.041851021349430,-0.152529925107956) * MODEL6_texOff(vec2(1,0));
res += mat4(0.108397766947746,-0.396741330623627,-0.069514743983746,-0.112065538764000,-0.081878453493118,-0.082414187490940,-0.108673751354218,-0.004692309536040,-0.022178987041116,-0.144196733832359,-0.039825752377510,0.132728740572929,0.247458636760712,0.219215974211693,0.201441451907158,-0.165623784065247) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.158107891678810,-0.034763123840094,-0.128555983304977,0.305889040231705) * 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_LA) mapping 4_1
vec4 hook()
{
vec4 res = vec4(0.091260455548763,0.172468617558479,-0.061040524393320,0.010817800648510);
res += mat4(-0.014138868078589,0.012252984568477,-0.093150056898594,-0.019651601091027,0.035225048661232,-0.013909452594817,0.056478574872017,-0.010760409757495,0.055931929498911,0.034046445041895,0.053436353802681,0.077470779418945,0.002734185894951,0.124289244413376,0.246331751346588,0.145371988415718) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.031655363738537,0.057017520070076,-0.341363400220871,-0.003533803159371,-0.133211582899094,-0.015748403966427,0.005262432619929,0.019612243399024,-0.048949167132378,0.074914686381817,0.126455485820770,0.191827312111855,0.004309693817049,-0.002019374398515,0.120524168014526,-0.093386970460415) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.061781521886587,-0.022092968225479,0.064853809773922,-0.090147458016872,-0.076096981763840,-0.073859848082066,-0.033927764743567,0.207568749785423,-0.034749127924442,0.027035331353545,-0.086366757750511,-0.147664159536362,-0.023943873122334,0.039373777806759,-0.024563895538449,0.313968449831009) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.266680389642715,-0.066637635231018,-0.230073601007462,0.123219996690750,-0.100347496569157,-0.210928991436958,-0.205896496772766,0.406112849712372,-0.199606627225876,0.418388009071350,0.075830996036530,-0.108039237558842,-0.214833289384842,0.176992952823639,0.009731958620250,-0.023889213800430) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.088849082589149,-0.084197849035263,0.348927289247513,-0.100312553346157,0.497063130140305,-0.185526654124260,0.021979944780469,-0.107881322503090,-0.424198985099792,-0.235923394560814,-0.192026123404503,0.161297947168350,0.348888397216797,-0.216487795114517,-0.325842589139938,-0.083867467939854) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.173052459955215,-0.129908174276352,-0.043558184057474,0.102588258683681,0.176314547657967,0.013996258378029,0.058567225933075,-0.318287611007690,0.419291257858276,0.053767785429955,0.171288654208183,-0.033312931656837,-0.085246168076992,0.124984867870808,0.031799610704184,0.249219581484795) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.188529625535011,0.011601989157498,-0.034347612410784,0.022702582180500,0.094101324677467,-0.187476232647896,-0.047300286591053,0.115991041064262,-0.025804419070482,0.099996410310268,0.098716147243977,0.022708063945174,-0.012833393178880,0.084004864096642,-0.041433978825808,-0.035942688584328) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.051247797906399,0.204678475856781,-0.445968717336655,-0.075397744774818,0.134613737463951,0.064772568643093,-0.003352917265147,0.112987570464611,0.179613932967186,0.193818852305412,-0.079924412071705,0.116730347275734,0.267742723226547,-0.043028641492128,-0.079770565032959,-0.038019265979528) * MODEL1_texOff(vec2(1,0));
res += mat4(0.044540829956532,0.122393995523453,-0.083443872630596,-0.063314318656921,-0.017025580629706,0.112718366086483,-0.068433657288551,-0.115348920226097,-0.065639026463032,-0.039105605334044,0.161655828356743,0.004426380153745,0.077878557145596,0.158015325665474,0.099772259593010,-0.032447047531605) * MODEL1_texOff(vec2(1,1));
res += mat4(0.067589975893497,0.020160812884569,-0.143607676029205,-0.187397316098213,-0.075303472578526,-0.003255894407630,-0.080317087471485,-0.068259991705418,0.248352512717247,-0.129354029893875,-0.243519484996796,-0.047065030783415,0.156931459903717,-0.076434619724751,0.153532549738884,-0.038423165678978) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.002961435820907,-0.242554530501366,0.088161304593086,-0.043756905943155,-0.124556340277195,0.045789614319801,0.106226392090321,-0.254539817571640,0.000535965140443,0.016094176098704,0.397949904203415,-0.219368577003479,-0.218489125370979,-0.025491503998637,-0.048038590699434,-0.177187353372574) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.019923863932490,-0.037009179592133,0.047771003097296,-0.257783144712448,-0.079392030835152,0.043188862502575,0.005183532834053,0.142608806490898,-0.089410677552223,0.093528971076012,0.043845646083355,0.175628706812859,0.016006402671337,-0.106663413345814,-0.009319014847279,-0.013898063451052) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.148339673876762,-0.148469135165215,-0.005110457539558,-0.188355520367622,-0.245452821254730,0.007217363454401,-0.344742923974991,-0.052500750869513,0.294947564601898,-0.036014370620251,0.088751509785652,-0.191353514790535,0.126815587282181,-0.413836747407913,-0.226379692554474,0.317880392074585) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.111953943967819,-0.138658672571182,-0.009458214975893,-0.088874623179436,0.186643034219742,0.079104989767075,0.320732951164246,-0.470689862966537,0.111245363950729,0.105193115770817,-0.061996594071388,-0.252021521329880,0.029210779815912,0.016498025506735,0.197447940707207,-0.336949139833450) * MODEL2_texOff(vec2(0,0));
res += mat4(0.049805138260126,-0.156331852078438,0.114129744470119,-0.067241333425045,-0.139328092336655,-0.078069604933262,-0.017380883917212,0.097005091607571,0.028776548802853,-0.175414755940437,0.055106084793806,-0.087109811604023,-0.023176729679108,-0.128387555480003,0.133789807558060,-0.003822502680123) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.078087568283081,-0.079762876033783,0.000113652567961,0.080423526465893,-0.026458870619535,-0.060408886522055,-0.001860324642621,-0.133545055985451,0.006340429186821,-0.008122627623379,0.038055356591940,-0.322343438863754,0.091591805219650,-0.271626174449921,-0.113404884934425,0.172902837395668) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.043335124850273,-0.236022785305977,0.222111538052559,-0.228374868631363,-0.021646760404110,-0.027308331802487,-0.055238015949726,-0.076245106756687,0.063134670257568,-0.092178523540497,-0.100348375737667,0.021361552178860,-0.151061207056046,0.078404039144516,0.094797655940056,0.074884675443172) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.034798514097929,0.009557521902025,0.037878211587667,0.147201523184776,-0.004505361896008,0.020484179258347,-0.009264698252082,0.009065291844308,0.065060511231422,0.011407679878175,0.105244159698486,0.122637227177620,-0.039224579930305,-0.122670002281666,-0.006468997802585,-0.027261247858405) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.044134117662907,-0.010510777123272,0.020615270361304,0.088353209197521,-0.053581316024065,-0.175756826996803,-0.109677672386169,0.092914648354053,0.127369210124016,0.025701433420181,0.030683374032378,-0.199068456888199,0.150483340024948,0.071270488202572,0.043799050152302,0.010701929219067) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.091941229999065,0.028538806363940,-0.056218985468149,0.025571631267667,0.047259408980608,0.133390650153160,-0.257985442876816,-0.225057616829872,0.070773310959339,0.073010593652725,-0.020618077367544,0.000679150747601,-0.054015249013901,0.034684460610151,0.059744216501713,-0.064836084842682) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.022036315873265,-0.042641874402761,-0.042388945817947,0.073235310614109,-0.132736787199974,0.012322154827416,-0.133662834763527,0.186976268887520,0.002820282708853,-0.013396430760622,-0.004584581591189,-0.074456103146076,0.123772628605366,0.042074870318174,0.173178851604462,0.188928410410881) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.044868841767311,0.262349337339401,0.218109562993050,-0.358587145805359,0.026232207193971,-0.042669799178839,0.130901724100113,0.019147638231516,0.055996149778366,0.098881818354130,0.021160809323192,-0.256367802619934,0.151642680168152,-0.192527413368225,-0.352905660867691,0.241774469614029) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.189878195524216,0.034992173314095,-0.101518444716930,-0.445131629705429,-0.055935200303793,0.110362306237221,0.036950610578060,0.009381752461195,0.275190353393555,-0.081367626786232,0.085725396871567,-0.157940849661827,0.102766431868076,0.432215332984924,0.072663582861423,-0.435177505016327) * MODEL3_texOff(vec2(0,0));
res += mat4(0.014892813749611,-0.006508945021778,-0.115818448364735,0.255819439888000,-0.026399523019791,0.035338062793016,-0.095130167901516,-0.146199360489845,0.169104620814323,0.104370959103107,0.083317391574383,-0.272685140371323,-0.129121214151382,-0.043541658669710,0.029556989669800,0.267139077186584) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.101006783545017,0.060281597077847,0.041667025536299,0.183059841394424,0.005252330563962,0.021068045869470,0.098326802253723,-0.081911936402321,0.045556236058474,0.141120657324791,0.048224471509457,-0.155587360262871,0.010897637344897,-0.018675304949284,-0.021180955693126,0.101004153490067) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.026293123140931,-0.012897004373372,-0.077733524143696,-0.084511816501617,-0.106434486806393,-0.111249327659607,0.139624133706093,0.069895990192890,0.054013058543205,0.053812220692635,-0.032250776886940,-0.146898895502090,0.013447310775518,0.208237737417221,-0.264600723981857,-0.205922871828079) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.041710231453180,-0.178571984171867,0.037491314113140,0.165028318762779,-0.032147619873285,-0.004562675487250,-0.032470744103193,0.042036816477776,0.000911015144084,0.026774944737554,0.028191560879350,-0.001469751470722,0.037190582603216,0.028870726004243,-0.031157009303570,-0.021699976176023) * MODEL3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(1.569302439689636,0.907370030879974,1.027502536773682,-0.052217662334442) * 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_LA) mapping 4_2
vec4 hook()
{
vec4 res = vec4(0.192733570933342,-0.176883026957512,-0.059092070907354,-0.051986448466778);
res += mat4(-0.065878644585609,-0.192998155951500,-0.007068291772157,-0.068474128842354,0.016949955374002,0.038710001856089,0.033963181078434,-0.015077739022672,0.065115854144096,-0.040464919060469,0.150395855307579,-0.007557994686067,-0.066826604306698,-0.052073672413826,-0.043623913079500,0.061232347041368) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.032512702047825,0.022832358255982,-0.043817318975925,-0.021416591480374,0.048434067517519,0.160001099109650,0.118662342429161,0.052553959190845,0.088262960314751,0.091734118759632,-0.268852949142456,-0.074638597667217,-0.009770045988262,-0.129128828644753,0.093810640275478,0.042441673576832) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.038513045758009,-0.001691166777164,0.015683803707361,0.037663698196411,-0.157232254743576,0.076609022915363,0.096114180982113,0.000769718433730,0.034159746021032,-0.081988684833050,0.419953048229218,-0.022690342739224,0.168791323900223,0.097289271652699,-0.047198779881001,-0.051470562815666) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.135782942175865,0.160732805728912,-0.118147067725658,0.023770159110427,-0.142196550965309,0.044351629912853,-0.305254727602005,0.118448153138161,0.162552520632744,-0.094473220407963,0.213686957955360,-0.163073658943176,-0.017078477889299,-0.107587419450283,-0.022620500996709,-0.151043221354485) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.463706582784653,0.089028805494308,0.192659005522728,0.280982196331024,-0.094506606459618,-0.262839287519455,0.304034203290939,-0.000513228587806,-0.293509393930435,-0.077501766383648,-0.340000122785568,-0.144277706742287,-0.180394947528839,0.003686953336000,0.108240760862827,-0.532366752624512) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.184923559427261,0.172644793987274,-0.213394820690155,0.019525669515133,0.208539888262749,-0.198189169168472,0.396979868412018,0.101834356784821,0.207571968436241,0.117287777364254,0.111676633358002,0.060218442231417,0.064892388880253,-0.058183897286654,0.111235432326794,0.057862780988216) * MODEL1_texOff(vec2(0,1));
res += mat4(0.044209476560354,0.021547263488173,-0.076168075203896,-0.026541259139776,0.014494359493256,-0.109625540673733,-0.036500073969364,0.119782648980618,-0.038178790360689,0.136364012956619,0.013289139606059,-0.055016752332449,-0.064943484961987,0.087230369448662,0.010906313546002,-0.039301715791225) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.001519807963632,0.172202765941620,0.077452145516872,0.095587745308876,0.055030178278685,-0.076228804886341,0.038570683449507,0.233936682343483,0.105632528662682,-0.033723197877407,0.116968348622322,-0.109955146908760,0.264459609985352,0.243454486131668,-0.055983074009418,0.338243007659912) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.004018197767437,-0.109984956681728,-0.167006582021713,-0.150430947542191,-0.015275422483683,-0.025054134428501,0.411655902862549,0.063875839114189,0.095744743943214,-0.091412164270878,0.119540832936764,-0.179169729351997,-0.075873941183090,0.172141611576080,0.103330358862877,0.060461945831776) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.024942934513092,-0.106825143098831,0.091253235936165,-0.012690875679255,0.069413788616657,0.135293528437614,0.012617935426533,-0.031670942902565,0.124021545052528,0.187132075428963,-0.109836846590042,0.083508498966694,-0.016938891261816,0.069374069571495,-0.113235548138618,0.063003264367580) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.067030765116215,0.353427112102509,-0.235555306077003,0.049203939735889,0.087887912988663,0.016976138576865,-0.070593625307083,0.017947340384126,-0.007907749153674,0.174132198095322,0.036285281181335,0.070860415697098,-0.018939701840281,-0.008572587743402,0.154555767774582,0.267878144979477) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.161537721753120,0.012860107235610,0.070645317435265,0.094976045191288,-0.044600192457438,-0.043568372726440,-0.012366553768516,-0.068777665495872,0.025212688371539,0.026809353381395,-0.212360545992851,-0.107316672801971,0.004524480551481,-0.031997185200453,0.067180886864662,-0.000694416637998) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.028920417651534,0.290921658277512,-0.147693485021591,0.151778221130371,-0.066494904458523,-0.276525884866714,-0.042402382940054,-0.076724544167519,0.169221177697182,-0.316870152950287,0.063786476850510,0.120775885879993,-0.174307182431221,0.070829384028912,-0.349400609731674,0.236949265003204) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.012670510448515,-0.027193095535040,-0.000444773409981,0.229205459356308,-0.070431321859360,0.036683779209852,-0.606364727020264,0.041266020387411,0.111818276345730,-0.259975761175156,-0.297426462173462,-0.107947632670403,0.106791436672211,0.010312437079847,0.356881886720657,-0.477370321750641) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.191862627863884,0.214416667819023,-0.114766351878643,0.082678332924843,0.099642120301723,-0.065239727497101,0.185976281762123,-0.191504687070847,0.033614009618759,-0.197550088167191,0.017882553860545,-0.029761025682092,-0.136006176471710,0.164068967103958,0.093571908771992,0.101302310824394) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.122452512383461,0.047733597457409,-0.103419773280621,-0.071802519261837,0.035815656185150,-0.045701839029789,0.028252361342311,0.048624694347382,-0.043678291141987,0.062318261712790,0.031412377953529,-0.093252547085285,-0.084092594683170,-0.239111825823784,-0.110521487891674,0.149048224091530) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.114663414657116,0.494761765003204,-0.093717977404594,0.077682159841061,-0.072686262428761,-0.227285087108612,-0.062693797051907,0.061557121574879,0.191760092973709,-0.154227495193481,-0.181818559765816,0.260806828737259,-0.129852458834648,-0.218211457133293,0.155479446053505,0.346149653196335) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.124313093721867,0.078061461448669,-0.063699848949909,-0.038527417927980,-0.142984673380852,0.090982452034950,0.009873254224658,-0.012657564133406,-0.027970772236586,0.193720802664757,0.064880415797234,0.057959079742432,-0.052935939282179,-0.023897934705019,-0.038294862955809,-0.058215703815222) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.209298819303513,-0.252461910247803,0.173173591494560,0.031549371778965,-0.133384674787521,-0.066664494574070,-0.333807408809662,0.009034221060574,0.155985996127129,0.210167497396469,-0.025067169219255,-0.006624195724726,0.100094564259052,-0.142097920179367,-0.008176405914128,-0.085118956863880) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.147061780095100,-0.114834979176521,-0.171793907880783,-0.036383997648954,0.153004676103592,-0.117541179060936,-0.074097424745560,-0.043420962989330,0.297925680875778,0.085006780922413,-0.144102662801743,-0.010016661137342,0.183863565325737,0.144663825631142,0.155928537249565,0.060516823083162) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.051364701241255,0.063400126993656,-0.054264452308416,0.017450472339988,0.096937067806721,-0.120636515319347,-0.054828517138958,-0.057213485240936,-0.075996607542038,-0.053306750953197,-0.037505399435759,0.005142612382770,0.008610151708126,0.006180142052472,-0.093307271599770,0.012431755661964) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.238017439842224,0.289492368698120,0.357439160346985,-0.138429716229439,0.069789528846741,0.188068628311157,-0.122836060822010,0.029518453404307,0.017740787938237,-0.164852440357208,-0.081104956567287,-0.028763942420483,0.078073985874653,-0.041763652116060,-0.170539721846581,0.096626669168472) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.239564329385757,-0.159685194492340,-0.540258526802063,-0.130215585231781,-0.069663837552071,0.112642109394073,0.046208266168833,0.318912178277969,-0.098675221204758,-0.078347995877266,-0.169087827205658,0.015925507992506,0.078228063881397,0.029192864894867,0.243928536772728,-0.078280024230480) * MODEL3_texOff(vec2(0,0));
res += mat4(0.027222255244851,0.030270099639893,-0.764413475990295,0.188733741641045,-0.056882545351982,-0.124238871037960,0.139561206102371,0.081893272697926,-0.024494277313352,0.010855008848011,0.088689364492893,0.025321543216705,0.291036844253540,0.029323462396860,-0.231200531125069,-0.362171202898026) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.207553997635841,0.143979430198669,0.095556579530239,0.003172502852976,0.021201593801379,-0.289168655872345,0.005835077259690,-0.068625077605247,0.138193249702454,-0.246941044926643,-0.062685571610928,-0.023683905601501,0.040268886834383,0.032184399664402,0.102098569273949,0.103239424526691) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.004976211581379,0.203747168183327,-0.068050779402256,-0.083911836147308,-0.253974169492722,-0.010710868984461,-0.084964908659458,-0.305256754159927,0.063345111906528,-0.028866954147816,-0.201514139771461,-0.142308637499809,0.269147992134094,-0.308086037635803,-0.069163240492344,0.332140177488327) * MODEL3_texOff(vec2(1,0));
res += mat4(0.128043055534363,-0.139276280999184,-0.204162850975990,0.027701951563358,-0.011037853546441,0.032273791730404,0.072665639221668,-0.021440993994474,0.088406212627888,-0.001588379265741,-0.006193880923092,0.055740155279636,0.100087694823742,-0.124742403626442,0.012937085703015,-0.069367684423923) * MODEL3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(2.183890819549561,0.228538140654564,0.047653649002314,1.014042019844055) * 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_LA) mapping 4_3
vec4 hook()
{
vec4 res = vec4(-0.020938904955983,-0.063506975769997,-0.020147977396846,0.127546355128288);
res += mat4(-0.037530008703470,-0.046696595847607,0.080806493759155,-0.024253187701106,0.061157714575529,0.042301237583160,0.050192955881357,0.035777624696493,0.023152168840170,-0.097384117543697,0.031757447868586,-0.058957513421774,0.083853393793106,0.022796932607889,-0.050955526530743,0.055468939244747) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.245714306831360,-0.055077258497477,0.143422976136208,0.088947817683220,0.018868526443839,0.061389833688736,-0.111020177602768,-0.023680893704295,-0.122707821428776,0.122708372771740,0.013198993168771,0.012119208462536,-0.019765093922615,0.048490460962057,0.058935157954693,-0.052545119076967) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.128906086087227,-0.093724094331264,0.035682924091816,-0.038695730268955,-0.140794232487679,0.098086148500443,0.030990956351161,-0.024742370471358,-0.115870222449303,0.047903586179018,0.038537133485079,-0.007855598814785,0.080894857645035,0.037234909832478,0.011175119318068,0.068663612008095) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.293760031461716,-0.085451155900955,-0.111436501145363,0.018793076276779,-0.041563630104065,0.300331562757492,-0.036392264068127,-0.092493548989296,-0.111869640648365,-0.270671546459198,-0.051919993013144,0.115950889885426,-0.081988237798214,-0.006348935887218,0.035242188721895,-0.026694042608142) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.140761896967888,0.072758629918098,0.303770691156387,0.056665740907192,-0.313609302043915,-0.142739817500114,0.001327182515524,-0.155502244830132,-0.185421526432037,0.440798133611679,-0.145066902041435,-0.489774674177170,0.289003401994705,0.004342746455222,0.130039080977440,-0.005182375665754) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.010842406190932,0.214499354362488,0.107688620686531,0.061494402587414,-0.071017935872078,-0.002668346278369,-0.260134965181351,0.048934929072857,0.040400628000498,0.348243951797485,-0.207018554210663,0.022010808810592,0.100626699626446,-0.079566150903702,0.147711560130119,0.107918426394463) * MODEL1_texOff(vec2(0,1));
res += mat4(0.047762084752321,-0.053684737533331,0.172451809048653,-0.142326906323433,0.122575171291828,0.131299361586571,0.037010315805674,-0.196024969220161,0.027492884546518,0.038235142827034,-0.018210655078292,0.016634328290820,0.136826083064079,-0.014911959879100,-0.063013687729836,-0.039778180420399) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.275871902704239,0.022172251716256,0.388374537229538,0.205384999513626,0.135785043239594,-0.152531713247299,-0.129261180758476,0.192367061972618,0.054781634360552,0.021850481629372,-0.036299895495176,-0.318415671586990,0.034278027713299,0.033562377095222,0.093060769140720,-0.061821043491364) * MODEL1_texOff(vec2(1,0));
res += mat4(0.046093173325062,0.143823429942131,0.163090363144875,0.066974371671677,-0.060470279306173,0.046070821583271,0.007601382676512,0.157486975193024,-0.046403996646404,0.002920995233580,0.003441149136052,-0.028866564854980,-0.081972450017929,-0.130503103137016,0.091578856110573,0.020361270755529) * MODEL1_texOff(vec2(1,1));
res += mat4(0.109858512878418,-0.095565214753151,0.159408628940582,0.027813876047730,0.178207695484161,-0.084401190280914,0.023244457319379,0.107961125671864,0.088543616235256,0.244895488023758,0.143239796161652,-0.009801022708416,0.054919637739658,0.056139953434467,0.014145844615996,-0.019888319075108) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.299156337976456,0.069169297814369,-0.063482768833637,-0.142236322164536,0.172558665275574,-0.027625465765595,0.009963926859200,-0.062648996710777,0.015080448240042,-0.245775997638702,-0.218149632215500,-0.028511872515082,0.210264235734940,-0.152108505368233,-0.069571830332279,0.049532569944859) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.143687501549721,-0.261191308498383,-0.037862408906221,-0.054616242647171,0.018800729885697,0.067451201379299,0.115310020744801,-0.000544964452274,-0.051978517323732,0.136504784226418,-0.070920921862125,0.037263277918100,0.141447365283966,-0.089635506272316,0.017363209277391,-0.081015817821026) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.307735323905945,0.119850590825081,0.169697925448418,-0.074582606554031,-0.281622320413589,0.087663128972054,0.029121501371264,0.161088898777962,-0.449137866497040,0.215468809008598,-0.281225025653839,-0.153698414564133,-0.093723490834236,0.307526558637619,-0.015736984089017,-0.312640488147736) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.376506209373474,-0.271061360836029,0.439695894718170,-0.014968665316701,-0.405427277088165,0.032082557678223,-0.327227443456650,-0.144246816635132,-0.440997451543808,-0.266476660966873,-0.072425819933414,0.188962683081627,-0.121318355202675,-0.308374077081680,0.095241330564022,-0.023273102939129) * MODEL2_texOff(vec2(0,0));
res += mat4(0.089901357889175,-0.041296154260635,0.378687679767609,-0.072057716548443,-0.004358050413430,-0.289690315723419,-0.176000177860260,0.001716029131785,-0.034844297915697,-0.121997952461243,0.116657778620720,-0.184717595577240,-0.020687889307737,0.075468651950359,0.108398489654064,-0.083284877240658) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.105617344379425,0.151040270924568,0.077059678733349,0.065670639276505,0.144327670335770,-0.077565878629684,0.004534546285868,-0.030682725831866,0.034009076654911,-0.091136910021305,0.062031775712967,0.202727958559990,-0.020937491208315,0.107066668570042,0.004177785478532,-0.134528160095215) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.068783327937126,-0.205771312117577,0.342099845409393,-0.252333492040634,0.171869784593582,-0.083948135375977,0.046461742371321,0.104437395930290,0.068886786699295,0.075428515672684,-0.284212172031403,-0.042619176208973,0.036094684153795,-0.062475919723511,-0.068289577960968,0.084986582398415) * MODEL2_texOff(vec2(1,0));
res += mat4(0.185226812958717,0.012652298435569,0.130478709936142,0.050764750689268,-0.034834790974855,-0.019040836021304,0.142440795898438,-0.004254887346178,-0.007727602031082,-0.253853857517242,-0.260410070419312,-0.056530494242907,0.002424599137157,0.077443793416023,-0.016752917319536,-0.033659085631371) * MODEL2_texOff(vec2(1,1));
res += mat4(0.009623076766729,0.006348363589495,0.139475107192993,-0.104114323854446,-0.171593204140663,0.104102127254009,-0.017338193953037,-0.036541692912579,0.133372843265533,0.006981200538576,-0.016937619075179,0.009459366090596,-0.106567524373531,-0.025222839787602,0.059390850365162,0.081966169178486) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.136149868369102,-0.049672171473503,0.395824730396271,0.079079382121563,0.030428595840931,-0.159980401396751,-0.069521918892860,0.147852912545204,0.142090067267418,-0.020367501303554,-0.129488319158554,0.042479977011681,0.194756358861923,-0.062879636883736,-0.234713599085808,0.030996263027191) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.077302001416683,-0.044434808194637,0.115912564098835,-0.048540104180574,-0.107780016958714,0.114293716847897,-0.102322675287724,0.065107390284538,-0.009281447157264,-0.098543494939804,-0.066399864852428,-0.022387806326151,0.002046711044386,-0.055541381239891,0.035182431340218,-0.025108037516475) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.085822105407715,-0.299540877342224,-0.041876327246428,0.170754238963127,0.080362133681774,-0.004974571056664,-0.186976954340935,-0.028144564479589,-0.467473298311234,-0.094651505351067,-0.096655510365963,0.071306630969048,-0.181585788726807,0.208673745393753,-0.102726742625237,-0.085609190165997) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.409314841032028,0.174877762794495,-0.341408163309097,0.225093513727188,0.000897088320926,0.070753104984760,-0.617009758949280,0.114173032343388,-0.445004224777222,-0.160277038812637,-0.185157626867294,-0.159380391240120,-0.635991513729095,0.003584120655432,0.241579219698906,0.288329601287842) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.165066838264465,-0.257210403680801,-0.142260491847992,-0.076214522123337,0.053878586739302,0.139770686626434,-0.158856555819511,-0.090389832854271,-0.091020092368126,-0.577742516994476,0.065757706761360,0.066463708877563,-0.208352506160736,-0.080368652939796,-0.004297438543290,0.078531861305237) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.075952284038067,0.180884838104248,0.105506204068661,0.065084919333458,-0.071657776832581,-0.105183668434620,0.092307105660439,-0.057945437729359,-0.292126208543777,-0.132695734500885,-0.229473948478699,0.007973504252732,-0.007899197749794,0.071978725492954,-0.144721835851669,0.019078772515059) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.101846829056740,0.108342640101910,-0.308166176080704,0.163310542702675,-0.275756269693375,0.035171169787645,0.244505986571312,-0.004155134782195,-0.294128358364105,-0.069323375821114,-0.381958127021790,0.175017923116684,0.133844971656799,0.078564822673798,-0.609155297279358,0.424679934978485) * MODEL3_texOff(vec2(1,0));
res += mat4(0.101860277354717,-0.104826249182224,-0.263352900743484,-0.185517370700836,0.050054308027029,0.100955598056316,0.144664660096169,-0.035372488200665,-0.142202779650688,-0.578159570693970,-0.301754325628281,0.079774960875511,0.007373149972409,-0.080293603241444,-0.167712345719337,-0.037968661636114) * MODEL3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.209451064467430,-0.069775104522705,-0.158557876944542,-0.186207190155983) * 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_LA) sup-pixel convolution 1
vec4 hook()
{
vec4 res = vec4(-0.000946193002164,-0.001486241468228,0.001577824354172,0.001381602603942);
res += mat4(-0.009498032741249,0.005544221960008,-0.002112014917657,-0.003227126551792,-0.004529843106866,0.011614089831710,0.012684177607298,0.001944490126334,-0.004135096911341,-0.002763117663562,-0.009339938871562,0.000299393606838,-0.008772174827754,-0.003821486607194,0.002382813720033,0.002194158267230) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.007418814115226,-0.005274426192045,0.003065620549023,0.011205568909645,0.016085539013147,-0.015966523438692,0.017399180680513,0.023989081382751,0.004452524706721,0.009833939373493,-0.010335537604988,-0.017664108425379,-0.003580737626180,0.008948349393904,0.001132091972977,-0.002762043150142) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.007044403813779,-0.010720817372203,0.000278395309579,-0.005895640701056,0.003722425084561,0.030399356037378,0.001262813224457,0.010626425035298,0.006576168816537,-0.002801135880873,0.005438242573291,0.000686340092216,0.004870539996773,-0.004139422904700,-0.004242722876370,0.002327913884073) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.009412022307515,0.002496533328667,-0.006310849450529,0.015364408493042,-0.003927412908524,-0.009634918533266,-0.014917667023838,0.008630112744868,-0.008946395479143,0.005301808938384,-0.003867891384289,0.003457798389718,0.001553189940751,-0.019356746226549,-0.008520099334419,-0.013908642344177) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.026943791657686,-0.016541235148907,0.026715073734522,-0.018564881756902,-0.014908607117832,-0.001750534051098,-0.012232228182256,-0.039704702794552,0.045369893312454,0.008776667527854,0.041469886898994,0.026894113048911,-0.042056150734425,0.042150881141424,-0.032369282096624,0.042118486016989) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.031257797032595,0.002299209358171,-0.027400610968471,-0.012154633179307,0.023745791986585,0.030929960310459,0.012911153025925,0.032361149787903,0.005511249881238,0.028356468304992,0.010451077483594,0.017502104863524,0.018492752686143,0.003576785326004,0.022434735670686,-0.010654718615115) * MODEL4_texOff(vec2(0,1));
res += mat4(0.006975790485740,0.005246904212981,-0.004984109662473,0.001276274793781,0.002219952410087,0.003055227221921,-0.006169934757054,-0.006190402433276,-0.012986330315471,-0.003632079111412,-0.014114054851234,-0.006995665375143,0.001533303642645,0.001851210370660,0.004190307110548,-0.006604680791497) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.005722653586417,0.007995826192200,0.005434784106910,-0.010243709199131,-0.005361674353480,-0.001206404762343,-0.021501891314983,-0.011090002022684,-0.023630425333977,-0.023238344117999,-0.006234803237021,-0.016779512166977,-0.005241611972451,0.002449761377648,-0.021084588021040,0.011823903769255) * MODEL4_texOff(vec2(1,0));
res += mat4(0.002169477287680,0.003484711283818,-0.010429051704705,0.007619931362569,-0.007166698575020,-0.007167013827711,0.000732560176402,0.003832727670670,-0.000340818369295,-0.009967526420951,-0.006857539061457,0.000501626054756,-0.000144490855746,-0.000346894870745,0.004643712658435,0.008074634708464) * MODEL4_texOff(vec2(1,1));
res += mat4(0.009231149218976,-0.003764952998608,-0.000397325580707,-0.000773006002419,-0.010659961961210,0.008246766403317,0.012802782468498,0.001368061057292,0.008975315839052,-0.003270026994869,-0.001515472889878,0.001775910495780,0.009763819165528,-0.009116939269006,0.006111660972238,0.002297363709658) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.006827423814684,0.020970387384295,-0.015214726328850,-0.011253841221333,-0.006229985971004,-0.031585380434990,-0.019707409664989,0.008240512572229,-0.003168040886521,-0.007685084827244,-0.000677108648233,-0.003164765192196,0.041207455098629,0.048303693532944,0.014288200065494,0.013138063251972) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.001544393599033,-0.003952168393880,0.000545316201169,-0.004968518391252,0.003734735073522,0.017547534778714,-0.006486754864454,-0.018000010401011,-0.003936864435673,0.005287232808769,0.000140476608067,0.000564195099287,0.003723269095644,0.017089342698455,0.003182508982718,0.011484632268548) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.002060836879537,0.008611939847469,-0.008215193636715,-0.005974655970931,0.013351636007428,-0.005034517031163,-0.015471059828997,0.005131604149938,0.005942603107542,0.018238421529531,0.017506331205368,0.003149249125272,-0.025370646268129,-0.020567631348968,-0.018728019669652,-0.031253669410944) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.024874256923795,-0.025847937911749,0.021098241209984,0.010288225486875,-0.033821098506451,0.018174504861236,0.055782027542591,0.004647582769394,0.053463712334633,-0.054563716053963,0.022875653579831,-0.038444325327873,0.005551389884204,0.004726089537144,0.029855934903026,0.040972594171762) * MODEL5_texOff(vec2(0,0));
res += mat4(0.003634531982243,-0.002983723534271,0.000843346118927,0.010658152401447,-0.006094917189330,-0.039801377803087,-0.007196497637779,0.028542475774884,-0.027187447994947,0.003267275635153,-0.018091635778546,0.010641172528267,-0.003606013488024,-0.004343963693827,-0.003391490550712,0.004955484997481) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.006874073296785,-0.007629921659827,0.012070104479790,0.002134539885446,-0.003743363544345,-0.000199361413252,0.003025735961273,-0.003024041419849,0.002260676817968,-0.001340094371699,0.000377904216293,0.009360191412270,-0.006804532371461,-0.004524303600192,-0.015208234079182,-0.010094179771841) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.013127111829817,0.008834879845381,-0.008369524963200,0.007685475982726,0.026135843247175,0.006517107132822,-0.031637620180845,-0.006115776021034,-0.002416193485260,-0.001319496310316,0.028563933447003,-0.020909762009978,-0.000997070805170,-0.003614181419834,-0.003102866932750,-0.005559950135648) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.001470314105973,0.004024531692266,0.001529182307422,-0.006608352996409,-0.001735727419145,0.016255168244243,0.012769558466971,-0.007640871219337,0.001308678067289,-0.002952277660370,-0.011042823083699,-0.005186916328967,0.001258063362911,0.003137149149552,0.001090802601539,-0.001090010977350) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.001137205050327,0.000555041769985,-0.003221335355192,0.004856296349317,0.007372510153800,-0.012050306424499,0.002252582693473,0.002026013564318,0.008231979794800,0.001877416856587,0.008663790300488,-0.001668404089287,0.002701504155993,-0.003679744666442,-0.001713153789751,-0.005160258151591) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.010126523673534,0.004521889146417,-0.024006756022573,-0.021052695810795,-0.018534736707807,0.011824071407318,-0.001129904645495,-0.002700598677620,0.009576362557709,0.012727054767311,0.008087151683867,0.015913886949420,-0.014251378364861,0.021997962146997,-0.002040858380497,-0.001324694720097) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.000710083288141,0.005107648205012,-0.002377431141213,-0.013593193143606,0.008916859515011,-0.002570884535089,0.000283722853055,0.002621897961944,0.000903180392925,0.004378992132843,-0.000102328165667,0.001939702196978,0.019326386973262,-0.022731309756637,0.006358924321830,0.007986733689904) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.003231015987694,0.000309451948851,0.002693319926038,0.001425071153790,-0.000897186400834,-0.017824940383434,0.014593727886677,-0.026858804747462,0.015765465795994,0.003946270793676,-0.024905214086175,0.001506143831648,-0.011766306124628,0.002167827915400,-0.007745226379484,-0.002613720251247) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.054349180310965,-0.035796236246824,0.038464948534966,0.025301141664386,-0.033072333782911,0.031755968928337,-0.042701426893473,0.038586456328630,0.032585404813290,0.037326496094465,-0.038201414048672,-0.056976415216923,0.019076664000750,-0.009392772801220,0.009035340510309,0.021878173574805) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.006557581480592,-0.029896022751927,0.007312923669815,0.023306438699365,0.022669857367873,-0.006446666549891,0.022423049435019,-0.007495749741793,-0.000622661318630,0.007689840625972,-0.000652457121760,-0.007789598777890,0.001904677483253,0.000140360541991,0.010746441781521,-0.033185679465532) * MODEL6_texOff(vec2(0,1));
res += mat4(0.002388617023826,-0.001691992511041,0.008064306341112,-0.003616893198341,0.004069548100233,0.003366404445842,-0.004990445449948,0.000433460081695,-0.011219117790461,-0.000565844704397,0.003404787508771,-0.000831311452202,-0.000061839542468,-0.000685028848238,-0.000504316645674,0.001969476463273) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.013200583867729,0.007898194715381,0.011305744759738,0.013271004892886,0.002903381129727,-0.000669282802846,-0.005525629967451,0.006347333081067,-0.022553613409400,-0.025958096608520,0.003869163570926,0.010677496902645,0.000134172281832,0.001837297226302,0.003120790002868,-0.003906520083547) * MODEL6_texOff(vec2(1,0));
res += mat4(0.003480153623968,0.011718771420419,0.000452447711723,0.010413853451610,-0.003593920031562,-0.000493517029099,0.005063458345830,-0.004440259654075,0.004617390222847,-0.002298756036907,0.000160283729201,-0.001231744186953,-0.005052879452705,-0.004132364876568,-0.001613790052943,0.002270765602589) * 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_LA) 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);
}