From ceb3d5d33f77250d1b989cedbaf9a7307de23828 Mon Sep 17 00:00:00 2001 From: drewcassidy Date: Tue, 11 Jun 2019 15:27:00 -0700 Subject: [PATCH 1/3] Allow ModuleRestockDepthMask to have multiple masks --- .../GameData/ReStock/Plugins/Restock.dll | Bin 26624 -> 26624 bytes Source/Restock/ModuleRestockDepthMask.cs | 37 +++++++----------- 2 files changed, 15 insertions(+), 22 deletions(-) diff --git a/Distribution/Restock/GameData/ReStock/Plugins/Restock.dll b/Distribution/Restock/GameData/ReStock/Plugins/Restock.dll index 360d3328799dd73754c14e27802ba3c0c2f82ee7..5fae2a6aad6494629e027694bbd54bf336ac95b3 100644 GIT binary patch delta 8931 zcmai433yc1+5XPC`z$we?~NAHVQ!qv}>wR6`@*s(_alCi&d&H51E+H#Y()cXenVe7xB87t*&yO8EMs#VzGaytyv0Fy zyk6uJNqI}y7K+Yr3*q~{w0SnW+y?>ZGutu9pM-d8BogccX9o+}R>{4j@oFg%O!?bmv=y z!Lgv#ay8^cg+dErb0O7j6^kAl0?}%@1{j|R2&;~|wxTOfjDTMzM0ODChWfQCa>72h z=~}O!zo3hl%CO~Fxv}#RT3*N#n-Jxg@p)dOKX=M}C>^Xr*l-L-EX6arqs6SuV%FY? z^4Xq_cJ`G1w>|kB-`a|T&Yrye{vM@1q*+^mlBYyTe|#Q_o$j>E)}a$VG0Q6qj4p|b zu?3xAw$&g{+^AwA#Hh+lCm8p6%L6ei^K*e{axfM*DpoatpwdgSOl@isB^C+Y4T&9y z=5aB3u@boQ`1KH#*bUOkTW-X)cZJ#~w@hnUEM=n)mpzseb*)k;hhudxnN7{G`Xu^e zOCZNvyfMMzIZH)Qs-M`7xNm)dtW7xJ2KU9W9elysFT@#9LxqVu8!2 zCr&_i)OZRE7h#TJhJCRG01nMf-dn-$Y`J$l*sWRy*J-DNr$YYE!NY73Jj1R{iiCRn zW?06E2C~I+|DsscDsfTLEEV z6h86W0RJSfrV8kM@ij1^^jchoEID=R)M48-e~jRn(={H3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JuG4s$k~9OIX|L=qQ$$X~H2~rLh(zCq46Y!_GwF!uu#3 z9?x-7`$afGBh}*|-On!1D-q=!l5UM$x4r0(+h&isn>S-%vdJLTwhIdjRozL?t2fZ6 z)cf%3>bW`%Uj8mA6O{-`FyYkklbnbu{jj&3)IU@d+knbbpEK`@0vr5M79lB%kQD_r zg(VS4Cq-1CMH%Xk6&>g@Wa$pqy<*)Zi~NSpO($w&<8^7oifr2#Rf_B)+YF~4Q4Quy z&Nl+W!fUCCeVyvE5jNF@tT0qe(S|>YKFjpm+(k22Iw&r+L(z+Dd=ynj?XG{;kTTJ0 zq3Tj}Cu-`MxmkKo1fl!VojvPxcF1*SRbMDFd0V$#l#PA(bY`s@elBHVAQ+x#cPq0+ zFH&7{Y;qGQF|zR~)M7&J2EPAk&Ko1X{EFD5$>NlmhtGEWqQ2b?&(71!@IAY%(XF1{ zFBF_qlvw+lgBP{kJ8W9kh-GKFvuDq)$_Ss?n-LkiILHFUzxK|{!ZbY gS#9p|*?n2cwHiA*?H_!t@D1m5hOhpNwGT1=2_v{t-~a#s diff --git a/Source/Restock/ModuleRestockDepthMask.cs b/Source/Restock/ModuleRestockDepthMask.cs index fe5f4303..69ad65fc 100644 --- a/Source/Restock/ModuleRestockDepthMask.cs +++ b/Source/Restock/ModuleRestockDepthMask.cs @@ -1,3 +1,4 @@ +using System; using UnityEngine; using UnityEngine.Serialization; @@ -25,8 +26,8 @@ namespace Restock public int maskRenderQueue = 1999; - // depth mask object transform - public Transform maskTransformObject; + // depth mask object transforms + public Transform[] maskTransformObjects; // body object transform public Transform bodyTransformObject; @@ -38,7 +39,7 @@ namespace Restock public override void OnStart(StartState state) { base.OnStart(state); - UpdatematerialQueue(); + UpdateAllMaterials(); // the part variant system is implemented extremely stupidly // so we have to make this whole module more complicated as a result @@ -58,14 +59,14 @@ namespace Restock if (HighLogic.LoadedSceneIsEditor || HighLogic.LoadedSceneIsFlight) return; - this.maskTransformObject = base.part.FindModelTransform(maskTransform); - if (this.maskTransformObject == null) + this.maskTransformObjects = base.part.FindModelTransforms(maskTransform); + if (this.maskTransformObjects.Length == 0 || this.maskTransformObjects == null) { this.LogError($"Can't find transform {maskTransform}"); return; } - if (bodyTransform == "") + if (bodyTransform.Length == 0) { this.bodyTransformObject = base.part.partTransform; } @@ -91,34 +92,26 @@ namespace Restock public void OnVariantApplied(Part appliedPart, PartVariant variant) { // I dont know why changing part variants resets all the materials to their as-loaded state, but it does - if (appliedPart == this.part) UpdatematerialQueue(); + if (appliedPart == this.part) UpdateAllMaterials(); } - private void UpdatematerialQueue() + private void UpdateAllMaterials() { - var windowRenderer = maskTransformObject.GetComponent(); + var renderers = bodyTransformObject.GetComponentsInChildren(true); - windowRenderer.material.shader = depthShader; - windowRenderer.material.renderQueue = maskRenderQueue; - - var meshRenderers = bodyTransformObject.GetComponentsInChildren(true); - var skinnedMeshRenderers = bodyTransformObject.GetComponentsInChildren(true); - - foreach (var renderer in meshRenderers) + foreach (var renderer in renderers) { - if (renderer == windowRenderer) continue; var queue = renderer.material.renderQueue; queue = meshRenderQueue + ((queue - 2000) / 2); renderer.material.renderQueue = queue; } - foreach (var renderer in skinnedMeshRenderers) + foreach (var maskObject in maskTransformObjects) { - if (renderer == windowRenderer) continue; - var queue = renderer.material.renderQueue; - queue = meshRenderQueue + ((queue - 2000) / 2); - renderer.material.renderQueue = queue; + var renderer = maskObject.GetComponent(); + renderer.material.shader = depthShader; + renderer.material.renderQueue = maskRenderQueue; } } } From 7a5a2a0d46fd0cc3692db8861a30d0ecdb5b9e6b Mon Sep 17 00:00:00 2001 From: drewcassidy Date: Tue, 11 Jun 2019 16:33:30 -0700 Subject: [PATCH 2/3] Add check for if the queue has already been updated --- .../GameData/ReStock/Plugins/Restock.dll | Bin 26624 -> 26624 bytes Source/Restock/ModuleRestockDepthMask.cs | 1 + 2 files changed, 1 insertion(+) diff --git a/Distribution/Restock/GameData/ReStock/Plugins/Restock.dll b/Distribution/Restock/GameData/ReStock/Plugins/Restock.dll index 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OeIey4E>~x8xsa^gf>V|LIiqHVSl521l}M2xP1g}nQ9l_rwH%~My!uirl}(M4vIjr zspgZKMamdE0t*a9V@F`I8Ixm2pjxUFY%k}=_N{wzyF@s^{p_+m!V8&v|8#)WIsm)i zo>I!|Sje>s`Af@M{yfw>C&O$Io*>k*iLQ4N@8Rv+3x7)yKsj4X#4C; zbU?Oh#jFzDC8n}9_H=QP%legAlR+Q5DPD|;J~rA@DXP)c3boK7>O>2?@4{>9aIK&Q7iJRFg*3f1uVO8o5j25^nu~|SrEI#BLojR`F===>< zd)3u0-h@9|E+L&MS8pH0&HMIU+G{B>_P zo|ByYKHsU@l{$97p({-6RDDVxTWQZ!Rh7(B-=qb5>A*W#x>~C4rA#+( zw|o>%)+5r%W!hk2XRvivMhQDfg zU?+N@7wsYN4`epjEP0R%X-Is%A;%G)g%M~^BmXQYMSB7Hmk?LL3iP}N+mZFK-%>+|p=1d|+iE$#N&{|@g z*i1Z0?3qu0z)nfTNrvs9a>OVxPHZMt!Dld;U1V9jod1*$5f8*e9saQ1+l&^&0*J2N3etzWJ$5bcM#T+Jvom!r(Ey1;+4mc$MMxH@wPOK3mFu z-}=4cF2BAqI_3JiH4nb=-cPO`J~U@Symfp<7PmSq%FwiUhqbk8{(dzBt9JeH{61jQ zXUbM9@p^t8UWuVmpW232TcRYIt$(@uR)2bX!Hnj6r$4&vE^13uN23ALd2g8Ml!fk= z%q?9$ack# Date: Thu, 13 Jun 2019 23:18:00 -0700 Subject: [PATCH 3/3] Update Pork depthmasks to fix some errors and improve consistancy --- Assets/CineboxAndrew | 2 +- .../DepthMasks/restock-coneintake-mask.mu | Bin 2453 -> 1734 bytes .../Aero/DepthMasks/restock-fanintake-mask.mu | Bin 2446 -> 1731 bytes .../DepthMasks/restock-inlineintake-mask.mu | Bin 773 -> 608 bytes .../DepthMasks/restock-longintake-mask.mu | Bin 663 -> 498 bytes .../DepthMasks/restock-miniintake-mask.mu | Bin 2440 -> 1734 bytes .../DepthMasks/restock-radialintake-mask.mu | Bin 1085 -> 1128 bytes .../DepthMasks/restock-rampintake-mask.mu | Bin 1079 -> 1018 bytes .../DepthMasks/restock-basicjet-mask.mu | Bin 1882 -> 3144 bytes .../Engine/DepthMasks/restock-minijet-mask.mu | Bin 1879 -> 1797 bytes .../Engine/DepthMasks/restock-ramjet-mask.mu | Bin 2452 -> 2298 bytes .../DepthMasks/restock-turbojet-mask.mu | Bin 2170 -> 2016 bytes .../restock-intakes-depthmasks.cfg | 1 + 13 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Assets/CineboxAndrew b/Assets/CineboxAndrew index d7bd2843..e07a544f 160000 --- a/Assets/CineboxAndrew +++ b/Assets/CineboxAndrew @@ -1 +1 @@ -Subproject commit d7bd2843df00322a0974a09d74c40d6aff9c9085 +Subproject commit e07a544f43258f6ca20819fe598739a6366d9548 diff --git a/Distribution/Restock/GameData/ReStock/Assets/Aero/DepthMasks/restock-coneintake-mask.mu b/Distribution/Restock/GameData/ReStock/Assets/Aero/DepthMasks/restock-coneintake-mask.mu index 8fd41a5a337b37ed3a3fcd0caee41864ad1e4bc9..fa87165680c1b95984aac2927a3ef630dbd70dfa 100644 GIT binary patch delta 117 zcmbO#e2jO3g~b2=|MxSXf(9VBVPb%Vm2#?MC5>=sEtrX}PjH)JR}s$A zR2eq>z8N%O7e`P=uM#{)LeGhY(VXRv$E|9L1Q~S;@W^$kFLi%M3CudGo0v26o5~QF zg*$zs?dB}K!q~d_6Iwwv7J|`Y6zv|Lsh4 xM(HR!u3-V5ojce~UPB(*+{4MK1RdcvC}v)AO(ocp>JJjV&dZCcASx~jtskkN+}!{G diff --git a/Distribution/Restock/GameData/ReStock/Assets/Aero/DepthMasks/restock-fanintake-mask.mu b/Distribution/Restock/GameData/ReStock/Assets/Aero/DepthMasks/restock-fanintake-mask.mu index 2f25c6881b8e012741d1a747c3907dd5a1974078..17d79f5cbf9098a0f89a153389c7b508df4fda44 100644 GIT binary patch delta 110 zcmeAZKFmA8leK|?fuUidpSh9-kO2l?SWNdrnGK&DJ30n!VV%47!XH5qFI)^wSDsXF1kBQNr7_zA=ES| z;#b5-6jY%Gi3W*=f(8ldFyG$pah9+<3Z$$wnQy+Co0*;4Tj%6Tu`p986jnnK#evgX zZ*$-CW8M?%eIE73(DXn;@|TrZ(0TK;g9$GhrpUY0-k#DZa6r2 zb|Z&}z!4PDORingJvIb72= zH110HfN@vChQ^&>@Pf9X@twg3jPnE=8v8Q%oVKA?a(GqS(C2d)eHV+E1{O3rhMsSF zp)-&?+)_V4QOS|@H1D1H3t2(PZM2I z)Pz!H_JD`fCf`Mym5;Bl)iP$nV@vG5?1!134%F$VxG?{l?y;-*X p*cOgC2{Wt}xWZUvW`|Bg3g0#FsLVE^ILF{%K7A5;v3@48egor8#%}-s diff --git a/Distribution/Restock/GameData/ReStock/Assets/Aero/DepthMasks/restock-inlineintake-mask.mu b/Distribution/Restock/GameData/ReStock/Assets/Aero/DepthMasks/restock-inlineintake-mask.mu index a4e30547bc5bb413846eae4331d25874a3532f82..72f31a3b3a1836c591a61de734d588ea2c3c627e 100644 GIT binary patch delta 98 zcmZo=d%!ZmpS6L3fuUhyh?Uq@AOj4(u$bg7G1#xdo|3i6x~)sYo`#^(VQbUu{gUVHMfAzJ2*f; nG%qK!#5q4Fzlag2j4d9_1ZlW?XQ%D!AC~qdE9>onrrHAlO%@%1 delta 265 zcmeywJe_rdH!A}OObjp=XJ`O3fy5UU)BSMv#(A=g_3VE63Vw;XsodVd0s1bPX=$a! zsq8={9Pz%1nRy|p6)Zr`e;{CBXt0N1hyiTz&iOg{MGy{53PN+l`xhi8XO>hlgJm1+ zx#NQ}bKMeia`MyCKw@XloU!Eui8;q2%z&5#BL(9_QgaJZixNvpi&Bwng2_W@u6U=? LqC6yNREGcnuUk49 diff --git a/Distribution/Restock/GameData/ReStock/Assets/Aero/DepthMasks/restock-miniintake-mask.mu b/Distribution/Restock/GameData/ReStock/Assets/Aero/DepthMasks/restock-miniintake-mask.mu index d273ddc5ab3a3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t9fChU81_YJ> zs^AC(nwXxRngUZTh-^_j$ReOj15EY{i|KwOHimKBp2_)n@gA8eDXDoNb?iXQ3&cD? z%m~DMKVx9SnfX8r*zgpi||b&IQFi6O;|2nSq!E%7?K*G$_flLFHg<5DiL4 z98ftJ8$@#gF&9)0#0Ft*sF)a3oRJY^I|zVikZKUk?w7CNmzbN%?HwGT?~<98R$812 zHaXrmF*7eDwF2b4|3ClmQc( MB`fQJRy5cH06@feSO5S3 delta 452 zcmeyxzMW%&H!A}OOboCPYXGx=#1|IR{c!fgdD@IT6Hi6k+kA<(&lCHyZ<}4(K06?L zmD>xus;m|Jcooe-?0q0MKaf3N=(OFet#|kBS2qE%_d(f{YZxsj&t;Tw{(IGbe_pw$ zJ;(-Rwq=;uetuJbusAZ?NBQyIP1$u|aVUGT2GdbiVW57w$wJK4^XTl^rO@5$~IrnHQ2;!2;y`2Lc9$2B0M%3;}HM z&iOg{MGy{53PN+l`xhi8XO>hl17)j0nz-YGGIQM$b8_<2(m;Y|&z!O41c@P;0Wk?i e3dV<|<`$$DC6<&HrQ%e@74KA9l!qjZ>JR{}?R5+Q diff --git a/Distribution/Restock/GameData/ReStock/Assets/Engine/DepthMasks/restock-basicjet-mask.mu b/Distribution/Restock/GameData/ReStock/Assets/Engine/DepthMasks/restock-basicjet-mask.mu index 0f04827615bc901445d8029e51fad5b89b3d457e..404c38d9f0b5d525728419fb66904697791cfff2 100644 GIT binary patch literal 3144 zcmeH}O-NKx6vy9~*_5eenP#7pP9K^nMnT29F5FZWMB&Du$#hUtXJTfMAfZ88gu9s* zx@b2G6?c(T*u0>Kb}fW(QxH)J6Bd}+hf@9jGv~$)Y8}K}IGo@Ay!*~O_spI5?vE;$ zwcN6-l8`?f3AT0DTxbn%U@ll8tjU*hPV8Sy ze*M^|rW12cao^(Yc`)No>lf`0;5VKr=W`
6ix2&okKdVJg&f}Iw=93NM2!PA)g z3HRj9XZV?CO1(n70M9v#yl%wFM|>&u67kWd9PbRC&G@;QI`5Oj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Distribution/Restock/GameData/ReStock/Assets/Engine/DepthMasks/restock-minijet-mask.mu index 19e562a217035de4edabc6b7bc7f2901464a30f1..470fbdc5a2a79159ceedaf3da2af407095791f0d 100644 GIT binary patch literal 1797 zcmeH|y=zlZ7{+hf+NSoyulh9zmV!p1h=vRWa|7y7aZyS(HIycl*d{6M1qYReqFDa~ zam*l!OL5U5CxYnW$Kc|k4h~&JT`GtO_4!@jBLSTq!~+lc<+<;D&U-HBp1Xc95o`#8 zU}(Oy5Y?t;Ml0oN`9digtxPV={Lu`8`Xk-YKI-}-)pPCIB{P|?Mw8RirJ^_<{T5#! zUQYd|9RzD#nN}PBmehB0s#YzGmy5+xmAW2jK-w)Oq(Ld29&!7I4`h~x*WJaVdsm|U zsm#-rm+o<6k2|xLYF?H9BtPKZ9ceVLiSIvOZJw8|i__^w^OmkHi@&M%rtY~RR&3C# zTv&eA`>N0SdgWw&j`BmFuX#g1uX+o8Z}^Qbscc=D)GsS*QA|$q#cKA7nEcPWcG>3r zsCzDn>F1oXVEXhv{rh^><#SlC&*wS#c{dUCkBlu^N9Vl`?U^7bj-36qkF>p7hv&YB z;jy0Zw){^M@52*!m%>-#v1boL^jeI^HGFEhhkEkJB~!lhzUrN?SBCRB@|@3Ct@HCL zBhDhnd}sYo@2nqkob^L~?AyF?z4gR3}E;T?Wi4Zle~D^aO3H+X8| l^r3upwj3R=&DQ3*)?J8E6uf=&F#F-_ST4G=s7+tb{Q!%bi`)PJ literal 1879 zcmeHHJx>Bb5Iy|h8x_Tm#zbRdOo#>b0YPJ9M59n&F1U~rjw8pBXh--f_zz6%z{1$! z-|!b$+2FjrU06-DvoK+k;k`FA*_j>oc6<=f7Bx*vxvcFum3rE?n$`{T(ze;I$AvH; zG%cT}M7g>|gmrU7C$>d_aJlK3wHmu7&eyk{q#M|MQq`|Jg(x#Yh7tj?C9;qAeZ99k z&OZ0Iha@%dOlEIL{(4Og?ryAUky-^Q- zaH_}sy~p@HYQqn%t`sSMs3HK)iE^ zfro_#Mid?u8W>Y}TxcNPO2okNRzd^uCP=;_G!WkzV&J$>&_J9^@|4iPb%k#T4ct^X z`VIsz4J;r!28N2xPSLbk?DXp5@Yt$WJ8g!OhmAASYL?h7Ml`17U*qXt7c`EXhT~F{ z7Ti+{8|N*vVtIG|$h*0iacS8nW~1R$tMI*!MtTH3WedK~2+N8V^-8C Nblj#Ap7wx#J^?KbBFF#$ diff --git a/Distribution/Restock/GameData/ReStock/Assets/Engine/DepthMasks/restock-ramjet-mask.mu b/Distribution/Restock/GameData/ReStock/Assets/Engine/DepthMasks/restock-ramjet-mask.mu index 91c30f447fb3930dac7304ab19e681eff115a93b..4e77cf28bb057cdc53d21184e0119a2f56b427b6 100644 GIT binary patch literal 2298 zcmeHJO-NKx6n@jFX_oy=|9@t+h(cRLfx_Ge)xsEvNQPEAW6q43&YPHdSrq771-5BX ztt6sN5xJ8g+`MrULHk;SDYPjN(m(<4DQ zai`sEi7&c?4HxoV;Pg8qL3L5%FCr6eCO+V%Jin}^KNufSaroyZN8P%qQMcRUZzo4p zOye!6F@-gkw0!!XMJ7}S{CVuF2m4?S`LXt2oj9@( ze${rvOubwPzmM3a)$l!h=(JU~;{RQq_{B=T)DbOl@r%{tq9rct#OiU;5|?#i^|)w> z%Q~@od?R}F^Kr_*5&U%i^I~KEy*_Nhz804T3!f`Lj+JKT6sTu4J>%1#9=58fnw#EC z9dlOGGn&2{8g?Ij&EY-C$1!!?ufN9^uZFLMO>__Ssbe+-SIG>C2N`0PpMV$)`EA&(9o4U?wam>fXyre$o zwM=7P%QWV1-hKX|*_#)?59U2h-}mVd5>J+ri}%|q@E}kD@UkYa@-!{)L&nIfJzWF4 z2B-zd*Ls?kcPC@yygRA+KHdQEokPy=F*PmsBYd-`x4>=%wgKe4r>SXo`1npw?}FV8 z>;cI4dYZQ0$M<=<0d_xd0AO97D-hsq&xe*LpsnWL2|Jm-QWt4EcQk7C_1LE}eVHs{ YRk0!kGu};%g{QwXoA%Q|49+os0KL$Gr~m)} literal 2452 zcmeHIOH30{6rBq8L+b}Y6u*F)7!8`3pfRyC1c@O*fe3DyOkheXbV}NSs0(Lff~?pY zVvHNNu3Wg8VP|4+MO+)*7{kV$AVxf=ojXn^Lbon_$>pAN?|GN|?rZzD&P9~nilQ_X z%wj1&HrZJ)a(B&AXU-^2CM#GchNK(zmt|{;^2ZKC5x--VjEMfV)G+Q|T650C=F9rv zUdF#h=gay_`m!?w<6h!sec6u-j-kdV_J~IGjCU-pmGwpR^%#9nLp(8Fr-d<&ptPWG ziHn}`^=Mr5s>D%84b<^5{;w+iP$PQAr5~I{l|G5(EJ2Jps4}0Ro^hEE=BCNai34-? zG44VO+=Z{-hjU#%znOkF{6NdR-AsS(FKJf$&-B?|%l8uBPA75kqL(_tB`oYZ%()!^3X6Q}dptkidNHF!gx zt-kzlPwH!_5D({*eYOL=)YlRr4t-S~|6fHvQlI_o$Z{&R@mDdCX76Jf%M8 zxg*E@IJhsVui^fxIPR;823#uu76>T!C$hs+Vj zJ)VGXfF)tXDUZ|h?PQLaZznl_kN3m)n?uacF*!Z^5!~$YgYYe|Loi~#_T==f0er;c zN8yjbj>Cvgc%1%Z0JnL(9lis03dXuTS0uvMo{OF*ppOmY+XjrBnd~1Py4ah|WM+yc zClc3h8Ch$@oa1P=u=rJ}7y?*P{d#^XU#JjCReW3@oHoX?rTZK;_ayb(+1w3dYAT<} pF!p|BC7oa_P@*jL|1|0&W^URn7^Rtlxvi=}@0lrBfpm2rzX9}BYB~S_ diff --git a/Distribution/Restock/GameData/ReStock/Assets/Engine/DepthMasks/restock-turbojet-mask.mu b/Distribution/Restock/GameData/ReStock/Assets/Engine/DepthMasks/restock-turbojet-mask.mu index e494f5439ba2f7b40dbf06e85273b15c45ac0541..35b97524e0725f6ff58cfa8cba72e07596ae4b05 100644 GIT binary patch delta 587 zcmew*@PL1UoStY=YH>+^a<*@pt(PY1~M0%%rkU38)_= z?f_)R9@}Xr1Y~=E(c5eJ_@tfcQ>Xg8)jwI)U zT?*kq*j7NpIe@O!1S-PR08tYHRFe*L6v+3;>bZapE(3Z96k57K_8*{!G&XB8xibe& zpLyBVd12jtNYpg!pFx0sZ{B|M&2&4{oncwpFG*5= zMqkYuiN!#6Ei-T2)3brJwz}xGnMx)}xiGA|H0rH>9FFd}<*c@_px?FKVk%pgq{>FZyY88T}x7w6b1QWPfpFJ5m~|ZWib2!3|;=_{`6sLOcr3WtTrR4E(HC zDEi8V>7NAtP&Q2cH8gVi2Z3MI3Z_2f@)s}RdFt1JXDaKV0pKX+xlr9SJzswWH#i^j z=j%bmZ{cCg?}q0*^qA}qO(73GS5eCt@=y<8{sQI|^^eeJQG@7-Lo1;^>Mwyu;1lsR zB z5XRfh--oX@Vtu_lzg&O`oTbO47-%+lC@u&m$TYLcV7&`C36X=8JC#`tOfqlT_^s|0h=5DYtvNFc5 zm~l3yrFBnqc4qWODw$kc)y);Fx3tu9T))q)*+FY;d+VptsZJP6Mh2s3t(%#+Tb*9f z5~=Ki#+K*89`$xAeN$UnGLlJZ@3*!TH#J8JGf(rQSB>lG6+NTj?}5Ijt4EEjWtJVo Hzt`~##9Z(q diff --git a/Distribution/Restock/GameData/ReStock/Patches/Aerodynamic/restock-intakes-depthmasks.cfg b/Distribution/Restock/GameData/ReStock/Patches/Aerodynamic/restock-intakes-depthmasks.cfg index 53407259..9876fdef 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Aerodynamic/restock-intakes-depthmasks.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Aerodynamic/restock-intakes-depthmasks.cfg @@ -129,6 +129,7 @@ MODULE { name = ModuleRestockDepthMask + shaderName = Depth Mask maskTransform = radialintake_mask } }