mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-12 16:21:06 +01:00
391 lines
14 KiB
Plaintext
391 lines
14 KiB
Plaintext
MILKDROP_PRESET_VERSION=201
|
|
PSVERSION=2
|
|
PSVERSION_WARP=2
|
|
PSVERSION_COMP=2
|
|
[preset00]
|
|
fRating=5.000
|
|
fGammaAdj=1.900
|
|
fDecay=0.980
|
|
fVideoEchoZoom=1.169
|
|
fVideoEchoAlpha=0.000
|
|
nVideoEchoOrientation=0
|
|
nWaveMode=7
|
|
bAdditiveWaves=1
|
|
bWaveDots=0
|
|
bWaveThick=1
|
|
bModWaveAlphaByVolume=0
|
|
bMaximizeWaveColor=0
|
|
bTexWrap=1
|
|
bDarkenCenter=0
|
|
bRedBlueStereo=0
|
|
bBrighten=0
|
|
bDarken=0
|
|
bSolarize=0
|
|
bInvert=0
|
|
fWaveAlpha=0.625
|
|
fWaveScale=0.242
|
|
fWaveSmoothing=0.000
|
|
fWaveParam=0.000
|
|
fModWaveAlphaStart=0.710
|
|
fModWaveAlphaEnd=1.300
|
|
fWarpAnimSpeed=1.000
|
|
fWarpScale=1.331
|
|
fZoomExponent=1.00000
|
|
fShader=0.000
|
|
zoom=13.29089
|
|
rot=0.00000
|
|
cx=0.500
|
|
cy=0.500
|
|
dx=-0.28000
|
|
dy=-0.32000
|
|
warp=0.00909
|
|
sx=1.00000
|
|
sy=1.00000
|
|
wave_r=0.500
|
|
wave_g=0.500
|
|
wave_b=0.500
|
|
wave_x=0.500
|
|
wave_y=0.500
|
|
ob_size=0.080
|
|
ob_r=0.000
|
|
ob_g=0.000
|
|
ob_b=0.000
|
|
ob_a=1.000
|
|
ib_size=0.050
|
|
ib_r=1.000
|
|
ib_g=0.000
|
|
ib_b=0.000
|
|
ib_a=1.000
|
|
nMotionVectorsX=64.000
|
|
nMotionVectorsY=48.000
|
|
mv_dx=0.000
|
|
mv_dy=0.000
|
|
mv_l=0.850
|
|
mv_r=0.500
|
|
mv_g=0.500
|
|
mv_b=0.500
|
|
mv_a=0.000
|
|
b1n=0.000
|
|
b2n=0.000
|
|
b3n=0.000
|
|
b1x=1.000
|
|
b2x=1.000
|
|
b3x=1.000
|
|
b1ed=0.250
|
|
wavecode_0_enabled=1
|
|
wavecode_0_samples=512
|
|
wavecode_0_sep=0
|
|
wavecode_0_bSpectrum=0
|
|
wavecode_0_bUseDots=0
|
|
wavecode_0_bDrawThick=1
|
|
wavecode_0_bAdditive=0
|
|
wavecode_0_scaling=2.02310
|
|
wavecode_0_smoothing=0.00000
|
|
wavecode_0_r=0.000
|
|
wavecode_0_g=1.000
|
|
wavecode_0_b=1.000
|
|
wavecode_0_a=1.000
|
|
wave_0_init1=t2 = 0;
|
|
wave_0_init2=t3 = 0;
|
|
wave_0_init3=t4 = 0;
|
|
wave_0_init4=cl = 0;
|
|
wave_0_per_point1=tt3 = tt3*0.6 + (value1)*1;
|
|
wave_0_per_point2=tt2 = tt2*0.7 + tt3*0.2;
|
|
wave_0_per_point3=tt1 = tt1*0.8 + tt2*0.1;
|
|
wave_0_per_point4=d = d*0.9 + tt1*0.2;
|
|
wave_0_per_point5=
|
|
wave_0_per_point6=y = 0.5 + d*sample*(1-sample)*4;
|
|
wave_0_per_point7=x = -0.05 + sample*1.1;
|
|
wavecode_1_enabled=0
|
|
wavecode_1_samples=512
|
|
wavecode_1_sep=0
|
|
wavecode_1_bSpectrum=0
|
|
wavecode_1_bUseDots=0
|
|
wavecode_1_bDrawThick=0
|
|
wavecode_1_bAdditive=0
|
|
wavecode_1_scaling=1.00000
|
|
wavecode_1_smoothing=0.50000
|
|
wavecode_1_r=1.000
|
|
wavecode_1_g=1.000
|
|
wavecode_1_b=1.000
|
|
wavecode_1_a=1.000
|
|
wavecode_2_enabled=0
|
|
wavecode_2_samples=512
|
|
wavecode_2_sep=0
|
|
wavecode_2_bSpectrum=0
|
|
wavecode_2_bUseDots=0
|
|
wavecode_2_bDrawThick=0
|
|
wavecode_2_bAdditive=0
|
|
wavecode_2_scaling=1.00000
|
|
wavecode_2_smoothing=0.50000
|
|
wavecode_2_r=1.000
|
|
wavecode_2_g=1.000
|
|
wavecode_2_b=1.000
|
|
wavecode_2_a=1.000
|
|
wavecode_3_enabled=0
|
|
wavecode_3_samples=512
|
|
wavecode_3_sep=0
|
|
wavecode_3_bSpectrum=0
|
|
wavecode_3_bUseDots=0
|
|
wavecode_3_bDrawThick=0
|
|
wavecode_3_bAdditive=0
|
|
wavecode_3_scaling=1.00000
|
|
wavecode_3_smoothing=0.50000
|
|
wavecode_3_r=1.000
|
|
wavecode_3_g=1.000
|
|
wavecode_3_b=1.000
|
|
wavecode_3_a=1.000
|
|
shapecode_0_enabled=0
|
|
shapecode_0_sides=4
|
|
shapecode_0_additive=0
|
|
shapecode_0_thickOutline=0
|
|
shapecode_0_textured=0
|
|
shapecode_0_num_inst=1
|
|
shapecode_0_x=0.500
|
|
shapecode_0_y=0.500
|
|
shapecode_0_rad=0.10000
|
|
shapecode_0_ang=0.00000
|
|
shapecode_0_tex_ang=0.00000
|
|
shapecode_0_tex_zoom=1.00000
|
|
shapecode_0_r=1.000
|
|
shapecode_0_g=0.000
|
|
shapecode_0_b=0.000
|
|
shapecode_0_a=1.000
|
|
shapecode_0_r2=0.000
|
|
shapecode_0_g2=1.000
|
|
shapecode_0_b2=0.000
|
|
shapecode_0_a2=0.000
|
|
shapecode_0_border_r=1.000
|
|
shapecode_0_border_g=1.000
|
|
shapecode_0_border_b=1.000
|
|
shapecode_0_border_a=0.100
|
|
shapecode_1_enabled=0
|
|
shapecode_1_sides=4
|
|
shapecode_1_additive=0
|
|
shapecode_1_thickOutline=0
|
|
shapecode_1_textured=0
|
|
shapecode_1_num_inst=1
|
|
shapecode_1_x=0.500
|
|
shapecode_1_y=0.500
|
|
shapecode_1_rad=0.10000
|
|
shapecode_1_ang=0.00000
|
|
shapecode_1_tex_ang=0.00000
|
|
shapecode_1_tex_zoom=1.00000
|
|
shapecode_1_r=1.000
|
|
shapecode_1_g=0.000
|
|
shapecode_1_b=0.000
|
|
shapecode_1_a=1.000
|
|
shapecode_1_r2=0.000
|
|
shapecode_1_g2=1.000
|
|
shapecode_1_b2=0.000
|
|
shapecode_1_a2=0.000
|
|
shapecode_1_border_r=1.000
|
|
shapecode_1_border_g=1.000
|
|
shapecode_1_border_b=1.000
|
|
shapecode_1_border_a=0.100
|
|
shapecode_2_enabled=0
|
|
shapecode_2_sides=4
|
|
shapecode_2_additive=0
|
|
shapecode_2_thickOutline=0
|
|
shapecode_2_textured=0
|
|
shapecode_2_num_inst=1
|
|
shapecode_2_x=0.500
|
|
shapecode_2_y=0.500
|
|
shapecode_2_rad=0.10000
|
|
shapecode_2_ang=0.00000
|
|
shapecode_2_tex_ang=0.00000
|
|
shapecode_2_tex_zoom=1.00000
|
|
shapecode_2_r=1.000
|
|
shapecode_2_g=0.000
|
|
shapecode_2_b=0.000
|
|
shapecode_2_a=1.000
|
|
shapecode_2_r2=0.000
|
|
shapecode_2_g2=1.000
|
|
shapecode_2_b2=0.000
|
|
shapecode_2_a2=0.000
|
|
shapecode_2_border_r=1.000
|
|
shapecode_2_border_g=1.000
|
|
shapecode_2_border_b=1.000
|
|
shapecode_2_border_a=0.100
|
|
shapecode_3_enabled=0
|
|
shapecode_3_sides=4
|
|
shapecode_3_additive=0
|
|
shapecode_3_thickOutline=0
|
|
shapecode_3_textured=0
|
|
shapecode_3_num_inst=1
|
|
shapecode_3_x=0.500
|
|
shapecode_3_y=0.500
|
|
shapecode_3_rad=0.10000
|
|
shapecode_3_ang=0.00000
|
|
shapecode_3_tex_ang=0.00000
|
|
shapecode_3_tex_zoom=1.00000
|
|
shapecode_3_r=1.000
|
|
shapecode_3_g=0.000
|
|
shapecode_3_b=0.000
|
|
shapecode_3_a=1.000
|
|
shapecode_3_r2=0.000
|
|
shapecode_3_g2=1.000
|
|
shapecode_3_b2=0.000
|
|
shapecode_3_a2=0.000
|
|
shapecode_3_border_r=1.000
|
|
shapecode_3_border_g=1.000
|
|
shapecode_3_border_b=1.000
|
|
shapecode_3_border_a=0.100
|
|
per_frame_init_1=zoom=1;
|
|
per_frame_init_2=xpos=0;
|
|
per_frame_init_3=ypos=0;
|
|
per_frame_1=//pogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogo
|
|
per_frame_2=r = 0.045+ max(bass_att,treb_att)*0.0075;
|
|
per_frame_3=bounce = below(y1,r);y1 = y1+vy1;vy1 = if(bounce, abs(vy1)*0.94 + (r-y1)*0.1, vy1-0.0001*60/fps);
|
|
per_frame_4=bounce = below(x1,r);x1 = x1+vx1;vx1 = if(bounce, abs(vx1)*0.94 + (r-x1)*0.1, vx1);
|
|
per_frame_5=bounce = above(x1,1-r);vx1 = if(bounce, - abs(vx1)*0.94 + (1-r-x1)*0.04, vx1);
|
|
per_frame_6=bounce = below(y2,r);y2 = y2 + vy2;vy2 = if(bounce,abs(vy2)*0.94+(r-y2)*.1, vy2-0.0001*60/fps);
|
|
per_frame_7=bounce = below(x2,r);x2 = x2+ vx2;vx2 = if(bounce, abs(vx2)*0.94 + (r-x2)*0.1, vx2);
|
|
per_frame_8=bounce = above(x2,1-r);vx2 = if(bounce, - abs(vx2)*0.94 + (1-r-x2)*0.1, vx2);
|
|
per_frame_9=bounce = below(y3,r);y3 = y3 + vy3;vy3 = if(bounce,abs(vy3)*0.94+(r-y3)*.1, vy3-0.0001*60/fps);
|
|
per_frame_10=bounce = below(x3,r);x3 = x3+ vx3;vx3 = if(bounce, abs(vx3)*0.94 + (r-x3)*0.1, vx3);
|
|
per_frame_11=bounce = above(x3,1-r);vx3 = if(bounce, - abs(vx3)*0.94 + (1-r-x3)*0.1, vx3);
|
|
per_frame_12=bounce = below(y4,r);y4 = y4 + vy4;vy4 = if(bounce,abs(vy4)*0.94+(r-y4)*.1, vy4-0.0001*60/fps);
|
|
per_frame_13=bounce = below(x4,r);x4 = x4+ vx4;vx4 = if(bounce, abs(vx4)*0.94 + (r-x4)*0.1, vx4);
|
|
per_frame_14=bounce = above(x4,1-r);vx4 = if(bounce, - abs(vx4)*0.94 + (1-r-x4)*0.1, vx4);
|
|
per_frame_15=bounce = below( sqrt( sqr(x1+vx1-x2-vx2) + sqr(y1+vy1-y2-vy2)), 2*r);
|
|
per_frame_16=ref_ang = atan2(x2-x1,y2-y1)+asin(1); // common tangent
|
|
per_frame_17=v1 = sqrt(vx1*vx1+vy1*vy1);v2 = sqrt(vx2*vx2+vy2*vy2);w1 = atan2(vx1,vy1);w2 = atan2(vx2,vy2);
|
|
per_frame_18=vx1 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx1);
|
|
per_frame_19=vy1 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy1);
|
|
per_frame_20=vx2 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx2);
|
|
per_frame_21=vy2 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy2);
|
|
per_frame_22=bounce = below( sqrt( sqr(x1+vx1-x3-vx3) + sqr(y1+vy1-y3-vy3)), 2*r);
|
|
per_frame_23=ref_ang = atan2(x3-x1,y3-y1)+asin(1); // common tangent
|
|
per_frame_24=v1 = sqrt(vx1*vx1+vy1*vy1);v2 = sqrt(vx3*vx3+vy3*vy3);w1 = atan2(vx1,vy1);w2 = atan2(vx3,vy3);
|
|
per_frame_25=vx1 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx1);
|
|
per_frame_26=vy1 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy1);
|
|
per_frame_27=vx3 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx3);
|
|
per_frame_28=vy3 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy3);
|
|
per_frame_29=bounce = below( sqrt( sqr(x2+vx2-x3-vx3) + sqr(y2+vy2-y3-vy3)), 2*r);
|
|
per_frame_30=ref_ang = atan2(x3-x2,y3-y2)+asin(1); // common tangent
|
|
per_frame_31=v1 = sqrt(vx2*vx2+vy2*vy2);v2 = sqrt(vx3*vx3+vy3*vy3);w1 = atan2(vx2,vy2);w2 = atan2(vx3,vy3);
|
|
per_frame_32=vx2 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx2);
|
|
per_frame_33=vy2 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy2);
|
|
per_frame_34=vx3 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx3);
|
|
per_frame_35=vy3 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy3);
|
|
per_frame_36=bounce = below( sqrt( sqr(x1+vx1-x4-vx4) + sqr(y1+vy1-y4-vy4)), 2*r);
|
|
per_frame_37=ref_ang = atan2(x4-x1,y4-y1)+asin(1); // common tangent
|
|
per_frame_38=v1 = sqrt(vx1*vx1+vy1*vy1);v2 = sqrt(vx4*vx4+vy4*vy4);w1 = atan2(vx1,vy1);w2 = atan2(vx4,vy4);
|
|
per_frame_39=vx1 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx1);
|
|
per_frame_40=vy1 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy1);
|
|
per_frame_41=vx4 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx4);
|
|
per_frame_42=vy4 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy4);
|
|
per_frame_43=bounce = below( sqrt( sqr(x2+vx2-x4-vx4) + sqr(y2+vy2-y4-vy4)), 2*r);
|
|
per_frame_44=ref_ang = atan2(x4-x2,y4-y2)+asin(1); // common tangent
|
|
per_frame_45=v1 = sqrt(vx2*vx2+vy2*vy2);v2 = sqrt(vx4*vx4+vy4*vy4);w1 = atan2(vx2,vy2);w2 = atan2(vx4,vy4);
|
|
per_frame_46=vx2 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx2);
|
|
per_frame_47=vy2 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy2);
|
|
per_frame_48=vx4 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx4);
|
|
per_frame_49=vy4 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy4);
|
|
per_frame_50=bounce = below( sqrt( sqr(x3+vx3-x4-vx4) + sqr(y3+vy3-y4-vy4)), 2*r);
|
|
per_frame_51=ref_ang = atan2(x4-x3,y4-y3)+asin(1); // common tangent
|
|
per_frame_52=v1 = sqrt(vx3*vx3+vy3*vy3);v2 = sqrt(vx4*vx4+vy4*vy4);w1 = atan2(vx3,vy3);w2 = atan2(vx4,vy4);
|
|
per_frame_53=vx3 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx3);
|
|
per_frame_54=vy3 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy3);
|
|
per_frame_55=vx4 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx4);
|
|
per_frame_56=vy4 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy4);
|
|
per_frame_57=//pogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogo
|
|
per_frame_58=q1 = 0.5 - x1;
|
|
per_frame_59=q2 = -0.5 + y1;
|
|
per_frame_60=q3 = 0.5 - x2;
|
|
per_frame_61=q4 = -0.5 + y2;
|
|
per_frame_62=q5 = 0.5 - x3;
|
|
per_frame_63=q6 = -0.5 + y3;
|
|
per_frame_64=q7 = 0.5 - x4;
|
|
per_frame_65=q8 = -0.5 + y4;
|
|
per_frame_66=
|
|
per_frame_67=wave_a = 0;
|
|
per_frame_68=bb = bb*0.98 + bass*0.04;
|
|
per_frame_69=mm = mm*0.98 + mid*0.04;
|
|
per_frame_70=tt = tt*0.98 + treb*0.04;
|
|
per_frame_71=w = w + (bb-tt)*0.004;
|
|
per_frame_72=q11 = sin(w);
|
|
per_frame_73=q12 = cos(w);
|
|
per_frame_74=q13 = 0.5 + sin((bb-mm)*4)*0.1; // cx
|
|
per_frame_75=q14 = 0.5 + sin((tt-mm)*4)*0.1; // cy
|
|
per_frame_76=q15 = 4;
|
|
per_frame_77=q16 = 0.06;
|
|
per_frame_78=q17 = sin(-w);
|
|
per_frame_79=q18 = cos(-w);
|
|
warp_1=`sampler sampler_rand00;
|
|
warp_2=`shader_body
|
|
warp_3=`{
|
|
warp_4=`
|
|
warp_5=`uv = lerp(uv_orig,uv,0);
|
|
warp_6=`float2 ac = float2(q11,q12);
|
|
warp_7=`float2 mu = float2(q13,q14);
|
|
warp_8=`float2 c = float2(q15,q16);
|
|
warp_9=`float2 d = float2(q17,q18);
|
|
warp_10=`
|
|
warp_11=`float2 z = (uv-0.5);
|
|
warp_12=`
|
|
warp_13=`// (c*z + d)
|
|
warp_14=`float2 czd = float2(z.x*c.x-z.y*c.y,z.x*c.y-z.y*c.x)*aspect.yx + d;
|
|
warp_15=`// mu/(cz+d)
|
|
warp_16=`float2 moebius = float2( mu.x*czd.x + mu.y*czd.y , mu.y*czd.x-mu.x*czd.y )/(czd.x*czd.x+czd.y*czd.y) + ac;
|
|
warp_17=`
|
|
warp_18=`//moebius = 0.5 + (1.0 - abs( frac( moebius * 0.5 ) * 2 - 1.0 )-0.5);
|
|
warp_19=`
|
|
warp_20=`
|
|
warp_21=`ret.x = tex2D( sampler_fc_main, frac(moebius) ).x*0.96 - 0.004;
|
|
warp_22=`
|
|
warp_23=`ret.yz = GetPixel(uv).yz*0.96 - 0.004;
|
|
warp_24=`//ret = lerp(ret, GetPixel(uv_orig), 0.5); // motion-blur comes so cool with this one...
|
|
warp_25=`
|
|
warp_26=`}
|
|
comp_1=`sampler sampler_fc_sunrise;
|
|
comp_2=`float2 factorA, factorB, product;
|
|
comp_3=`float2 numerator, denominator, fraction;
|
|
comp_4=`shader_body
|
|
comp_5=`{
|
|
comp_6=`uv = 0.5 + (uv-0.5)*0.95;
|
|
comp_7=`float2 uvo = uv;
|
|
comp_8=`uv = (uv-0.5);
|
|
comp_9=`factorA = uv+ float2(q1,q2);
|
|
comp_10=`factorB = float2(8,0);
|
|
comp_11=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x);
|
|
comp_12=`float2 uv1 = product;
|
|
comp_13=`factorA = uv+ float2(q3,q4);
|
|
comp_14=`factorB = float2(8,0);
|
|
comp_15=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x);
|
|
comp_16=`float2 uv2 = product;
|
|
comp_17=`factorA = uv+ float2(q5,q6);
|
|
comp_18=`factorB = float2(8,0);
|
|
comp_19=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x);
|
|
comp_20=`float2 uv3 = product;
|
|
comp_21=`factorA = uv+ float2(q7,q8);
|
|
comp_22=`factorB = float2(8,0);
|
|
comp_23=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x);
|
|
comp_24=`float2 uv4 = product;
|
|
comp_25=`factorA = uv1;
|
|
comp_26=`factorB = uv2;
|
|
comp_27=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x);
|
|
comp_28=`float2 uv12 = product;
|
|
comp_29=`factorA = uv3;
|
|
comp_30=`factorB = uv4;
|
|
comp_31=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x);
|
|
comp_32=`float2 uv34 = product;
|
|
comp_33=`factorA = uv12;
|
|
comp_34=`factorB = uv34;
|
|
comp_35=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x);
|
|
comp_36=`numerator = float2(1,0);
|
|
comp_37=`denominator = product;
|
|
comp_38=`fraction = float2( numerator.x*denominator.x + numerator.y*denominator.y, // the fractions real part
|
|
comp_39=` numerator.y*denominator.x - numerator.x*denominator.y)/ // the fractions imaginary part
|
|
comp_40=` (denominator.x*denominator.x + denominator.y*denominator.y);
|
|
comp_41=`uv = fraction.yx*float2(-1,1)*32;
|
|
comp_42=`uv = lerp(0.5 + (uvo-0.5)*2,uv+0.5,0.5);
|
|
comp_43=`float l = length(uv-0.5);
|
|
comp_44=`uv = 0.5 + (1.0 - abs( frac( uv * 0.5 ) * 2 - 1.0 )-0.5); // Eo.S. mirror code with cutted borders
|
|
comp_45=`ret = lerp(float3(0.8,0.5,0),-0.5,(GetBlur2(uv)*2-GetPixel(uv)).x);
|
|
comp_46=`ret = lerp(ret,1,(GetBlur3(uv)*2-GetPixel(uv)).y*1.5);
|
|
comp_47=`float c =saturate(1.6-pow(l,6)*0.004);
|
|
comp_48=`ret = lerp((GetBlur3(uvo)*2-GetPixel(uvo)).y,ret,c);
|
|
comp_49=`}
|