mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-13 22:11:04 +01:00
573 lines
16 KiB
Plaintext
573 lines
16 KiB
Plaintext
MILKDROP_PRESET_VERSION=201
|
|
PSVERSION=2
|
|
PSVERSION_WARP=2
|
|
PSVERSION_COMP=2
|
|
[preset00]
|
|
fRating=0.000
|
|
fGammaAdj=1.700
|
|
fDecay=1.000
|
|
fVideoEchoZoom=1.000
|
|
fVideoEchoAlpha=0.500
|
|
nVideoEchoOrientation=0
|
|
nWaveMode=0
|
|
bAdditiveWaves=0
|
|
bWaveDots=0
|
|
bWaveThick=1
|
|
bModWaveAlphaByVolume=0
|
|
bMaximizeWaveColor=0
|
|
bTexWrap=0
|
|
bDarkenCenter=0
|
|
bRedBlueStereo=0
|
|
bBrighten=0
|
|
bDarken=1
|
|
bSolarize=0
|
|
bInvert=1
|
|
fWaveAlpha=0.004
|
|
fWaveScale=0.010
|
|
fWaveSmoothing=0.000
|
|
fWaveParam=-0.440
|
|
fModWaveAlphaStart=1.000
|
|
fModWaveAlphaEnd=1.000
|
|
fWarpAnimSpeed=0.010
|
|
fWarpScale=100.000
|
|
fZoomExponent=0.92178
|
|
fShader=0.000
|
|
zoom=0.99010
|
|
rot=0.00000
|
|
cx=0.500
|
|
cy=0.500
|
|
dx=0.00000
|
|
dy=0.00000
|
|
warp=0.01000
|
|
sx=1.00000
|
|
sy=1.00000
|
|
wave_r=1.000
|
|
wave_g=1.000
|
|
wave_b=1.000
|
|
wave_x=0.500
|
|
wave_y=0.040
|
|
ob_size=0.005
|
|
ob_r=1.000
|
|
ob_g=1.000
|
|
ob_b=1.000
|
|
ob_a=1.000
|
|
ib_size=0.000
|
|
ib_r=0.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.250
|
|
mv_r=1.000
|
|
mv_g=0.500
|
|
mv_b=0.000
|
|
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=0
|
|
wavecode_0_samples=512
|
|
wavecode_0_sep=0
|
|
wavecode_0_bSpectrum=0
|
|
wavecode_0_bUseDots=1
|
|
wavecode_0_bDrawThick=0
|
|
wavecode_0_bAdditive=0
|
|
wavecode_0_scaling=2.44415
|
|
wavecode_0_smoothing=0.00000
|
|
wavecode_0_r=1.000
|
|
wavecode_0_g=1.000
|
|
wavecode_0_b=1.000
|
|
wavecode_0_a=0.000
|
|
wave_0_init1=t2 = 0;
|
|
wave_0_init2=t3 = 0;
|
|
wave_0_init3=t4 = 0;
|
|
wave_0_init4=cl = 0;
|
|
wave_0_per_frame1=t1 = 0;
|
|
wave_0_per_frame2=v = 0.01;
|
|
wave_0_per_frame3=j = j + (bass)*0.01;
|
|
wave_0_per_frame4=j2 = j2 + (mid_att)*0.01;
|
|
wave_0_per_frame5=j3 = j3 + (treb_att)*0.01;
|
|
wave_0_per_frame6=t2 = j;
|
|
wave_0_per_frame7=t3 = j2;
|
|
wave_0_per_frame8=t4 = j3;
|
|
wave_0_per_frame9=//t5 = 0;
|
|
wave_0_per_frame10=k = k*0.99 + 10*mid/fps;
|
|
wave_0_per_frame11=t5 = -k;
|
|
wave_0_per_frame12=
|
|
wave_0_per_frame13=cl1 = cl1 + 0.002;
|
|
wave_0_per_frame14=cl1 = if(above(cl1,1),0,cl1);
|
|
wave_0_per_frame15=cl1 = if(below(cl1,0),1,cl1);
|
|
wave_0_per_frame16=t8 = cl1;
|
|
wave_0_per_frame17=
|
|
wave_0_per_frame18=cl2 = cl2 -1*q1;
|
|
wave_0_per_frame19=cl2 = if(above(cl2,1),0,cl2);
|
|
wave_0_per_frame20=cl2 = if(below(cl2,0),1,cl2);
|
|
wave_0_per_frame21=t7 = cl2;
|
|
wave_0_per_frame22=
|
|
wave_0_per_frame23=cl3 = cl3 +0.001;
|
|
wave_0_per_frame24=cl3 = if(above(cl3,1),0,cl3);
|
|
wave_0_per_frame25=cl3 = if(below(cl3,0),1,cl3);
|
|
wave_0_per_frame26=t6 = cl3;
|
|
wave_0_per_point1=xx = ((sample*0983624912364)%10000000+100)/10000000;
|
|
wave_0_per_point2=yy = ((xx*1896575575)%10000000+100)/10000000;
|
|
wave_0_per_point3=zz = ((yy*58652340875)%10000000+100)/10000000;
|
|
wave_0_per_point4=
|
|
wave_0_per_point5=
|
|
wave_0_per_point6=d = sqrt(sqr(xx)+sqr(yy)+sqr(zz));
|
|
wave_0_per_point7=
|
|
wave_0_per_point8=zz = zz + t8 - if(above(zz+t8,1),1,0) - 0.5;
|
|
wave_0_per_point9=xx = xx + t7 - if(above(xx+t7,1),1,0) - 0.5;
|
|
wave_0_per_point10=yy = yy + t6 - if(above(yy+t6,1),1,0) - 0.5;
|
|
wave_0_per_point11=
|
|
wave_0_per_point12=v = 0.001;
|
|
wave_0_per_point13=
|
|
wave_0_per_point14=w = 1;// (sample*sin(time*0.3)*0.01-1);
|
|
wave_0_per_point15=bb = d*d*0.5;
|
|
wave_0_per_point16=n= 0.3;
|
|
wave_0_per_point17=s1 = sin(sin(t2*w+bb)*n);
|
|
wave_0_per_point18=s2 = sin(sin(t3*w+bb)*n);
|
|
wave_0_per_point19=s3 = sin(sin(t4*w+bb)*n);
|
|
wave_0_per_point20=c1 = cos(sin(t2*w+bb)*n);
|
|
wave_0_per_point21=c2 = cos(sin(t3*w+bb)*n);
|
|
wave_0_per_point22=c3 = cos(sin(t4*w+bb)*n);
|
|
wave_0_per_point23=
|
|
wave_0_per_point24=z = (c3*s1*c2 + s3*s2)*xx - (c3*s1*s2-s3*c2)*yy + c3*c1*zz;
|
|
wave_0_per_point25=x1 = (c1*c2*xx + c1*s2*yy - s1*zz);
|
|
wave_0_per_point26=y1 = ((s3*s1*c2 - c3*s2)*xx + (s3*s1*s2+c3*c2)*yy + s3*c1*zz);
|
|
wave_0_per_point27=
|
|
wave_0_per_point28=zoom = .5*(1/(z+0.5));
|
|
wave_0_per_point29=x = 0.5 + zoom*x1 + sin(time*0.1)*0.;;
|
|
wave_0_per_point30=y = 0.5 + zoom*y1 + cos(time*0.16801)*0.;
|
|
wave_0_per_point31=
|
|
wave_0_per_point32=pi3 = 3.1415*2*0.3333;
|
|
wave_0_per_point33=t = z*2+t2*1;
|
|
wave_0_per_point34=c=3;
|
|
wave_0_per_point35=//r = sin(t)*c;
|
|
wave_0_per_point36=
|
|
wave_0_per_point37=//g = sin(t+pi3)*c;
|
|
wave_0_per_point38=
|
|
wave_0_per_point39=//b = sin(t-pi3)*c;
|
|
wave_0_per_point40=
|
|
wave_0_per_point41=
|
|
wave_0_per_point42=r = if(above(r,1),1,r);
|
|
wave_0_per_point43=r = if(below(r,0),0,r);
|
|
wave_0_per_point44=g = if(above(g,1),1,g);
|
|
wave_0_per_point45=g = if(below(g,0),0,g);
|
|
wave_0_per_point46=b = if(above(b,1),1,b);
|
|
wave_0_per_point47=b = if(below(b,0),0,b);
|
|
wave_0_per_point48=
|
|
wave_0_per_point49=a = 0.4;
|
|
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=2.44415
|
|
wavecode_1_smoothing=0.00000
|
|
wavecode_1_r=1.000
|
|
wavecode_1_g=1.000
|
|
wavecode_1_b=1.000
|
|
wavecode_1_a=1.000
|
|
wave_1_init1=t2 = 0;
|
|
wave_1_init2=t3 = 0;
|
|
wave_1_init3=t4 = 0;
|
|
wave_1_init4=cl = 0;
|
|
wave_1_per_frame1=t8 = 1;
|
|
wave_1_per_point1=t8 = -t8;
|
|
wave_1_per_point2=y = sample*0.05;
|
|
wave_1_per_point3=x = 0.5 + t8*0.005;
|
|
wave_1_per_point4=
|
|
wave_1_per_point5=pi3 = 3.1415*2*0.3333;
|
|
wave_1_per_point6=t = (q4-q6)*10;
|
|
wave_1_per_point7=c=2;
|
|
wave_1_per_point8=r = sin(t)*c;
|
|
wave_1_per_point9=g = sin(t+pi3)*c;
|
|
wave_1_per_point10=
|
|
wave_1_per_point11=b = sin(t-pi3)*c;
|
|
wave_1_per_point12=
|
|
wave_1_per_point13=
|
|
wave_1_per_point14=r = if(above(r,1),1,r);
|
|
wave_1_per_point15=r = if(below(r,0),0,r);
|
|
wave_1_per_point16=g = if(above(g,1),1,g);
|
|
wave_1_per_point17=g = if(below(g,0),0,g);
|
|
wave_1_per_point18=b = if(above(b,1),1,b);
|
|
wave_1_per_point19=b = if(below(b,0),0,b);
|
|
wave_1_per_point20=
|
|
wavecode_2_enabled=0
|
|
wavecode_2_samples=512
|
|
wavecode_2_sep=0
|
|
wavecode_2_bSpectrum=0
|
|
wavecode_2_bUseDots=0
|
|
wavecode_2_bDrawThick=1
|
|
wavecode_2_bAdditive=1
|
|
wavecode_2_scaling=100.00000
|
|
wavecode_2_smoothing=0.60000
|
|
wavecode_2_r=0.000
|
|
wavecode_2_g=0.400
|
|
wavecode_2_b=1.000
|
|
wavecode_2_a=0.300
|
|
wave_2_per_frame1=t1 = q1;
|
|
wave_2_per_frame2=t2 = q2;
|
|
wave_2_per_frame3=t3 = q3;
|
|
wave_2_per_frame4=t4 = q4;
|
|
wave_2_per_frame5=t5 = q5;
|
|
wave_2_per_frame6=t6 = q6;
|
|
wave_2_per_frame7=t7 = q7;
|
|
wave_2_per_frame8=t8 = q8;
|
|
wave_2_per_point1=sample = 1-sample;
|
|
wave_2_per_point2=xxx = xx;
|
|
wave_2_per_point3=yyy = yy;
|
|
wave_2_per_point4=xx = pow(sample,5)*t1 + 5*pow(sample,4)*(1-sample)*t1 + 10*pow(sample,3)*sqr(1-sample)*t2
|
|
wave_2_per_point5=+ 10*sqr(sample)*pow(1-sample,3)*t3 + 5*pow(1-sample,4)*sample*t4 + pow(1-sample,5)*t4;
|
|
wave_2_per_point6=
|
|
wave_2_per_point7=yy = pow(sample,5)*t5 + 5*pow(sample,4)*(1-sample)*t5 + 10*pow(sample,3)*sqr(1-sample)*t6
|
|
wave_2_per_point8=+ 10*sqr(sample)*pow(1-sample,3)*t7 + 5*pow(1-sample,4)*sample*t8 + pow(1-sample,5)*t8;
|
|
wave_2_per_point9=d = 1/sqrt(sqr(xx-xxx)+sqr(yy-yyy));
|
|
wave_2_per_point10=x = xx + sample*(1-sample)*(value1-value2)*(yy-yyy)*d;
|
|
wave_2_per_point11=y = yy - sample*(1-sample)*(value1-value2)*(xx-xxx)*d;
|
|
wavecode_3_enabled=0
|
|
wavecode_3_samples=512
|
|
wavecode_3_sep=0
|
|
wavecode_3_bSpectrum=0
|
|
wavecode_3_bUseDots=1
|
|
wavecode_3_bDrawThick=0
|
|
wavecode_3_bAdditive=0
|
|
wavecode_3_scaling=2.44415
|
|
wavecode_3_smoothing=0.00000
|
|
wavecode_3_r=0.000
|
|
wavecode_3_g=0.000
|
|
wavecode_3_b=1.000
|
|
wavecode_3_a=1.000
|
|
wave_3_init1=t2 = 0;
|
|
wave_3_init2=t3 = 0;
|
|
wave_3_init3=t4 = 0;
|
|
wave_3_init4=cl = 0;
|
|
wave_3_per_frame1=t8 = 1;
|
|
wave_3_per_point1=t8 = -t8;
|
|
wave_3_per_point2=y = (1+t8)*0.01;
|
|
wave_3_per_point3=x = sample;
|
|
shapecode_0_enabled=0
|
|
shapecode_0_sides=100
|
|
shapecode_0_additive=0
|
|
shapecode_0_thickOutline=1
|
|
shapecode_0_textured=0
|
|
shapecode_0_num_inst=1
|
|
shapecode_0_x=0.770
|
|
shapecode_0_y=0.790
|
|
shapecode_0_rad=0.02339
|
|
shapecode_0_ang=4.27256
|
|
shapecode_0_tex_ang=0.12566
|
|
shapecode_0_tex_zoom=1.51878
|
|
shapecode_0_r=1.000
|
|
shapecode_0_g=1.000
|
|
shapecode_0_b=1.000
|
|
shapecode_0_a=0.960
|
|
shapecode_0_r2=1.000
|
|
shapecode_0_g2=1.000
|
|
shapecode_0_b2=1.000
|
|
shapecode_0_a2=0.000
|
|
shapecode_0_border_r=1.000
|
|
shapecode_0_border_g=1.000
|
|
shapecode_0_border_b=0.000
|
|
shapecode_0_border_a=1.000
|
|
shape_0_init1=vx = 0
|
|
shape_0_per_frame1=x = q3;
|
|
shape_0_per_frame2=y = q7;
|
|
shapecode_1_enabled=0
|
|
shapecode_1_sides=100
|
|
shapecode_1_additive=1
|
|
shapecode_1_thickOutline=1
|
|
shapecode_1_textured=0
|
|
shapecode_1_num_inst=1
|
|
shapecode_1_x=0.500
|
|
shapecode_1_y=0.750
|
|
shapecode_1_rad=0.04208
|
|
shapecode_1_ang=0.00000
|
|
shapecode_1_tex_ang=0.00000
|
|
shapecode_1_tex_zoom=0.73458
|
|
shapecode_1_r=1.000
|
|
shapecode_1_g=1.000
|
|
shapecode_1_b=0.000
|
|
shapecode_1_a=1.000
|
|
shapecode_1_r2=0.000
|
|
shapecode_1_g2=0.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.000
|
|
shape_1_init1=vx = 0
|
|
shape_1_per_frame1=x = q3;
|
|
shape_1_per_frame2=y = q7;
|
|
shapecode_2_enabled=0
|
|
shapecode_2_sides=100
|
|
shapecode_2_additive=1
|
|
shapecode_2_thickOutline=1
|
|
shapecode_2_textured=0
|
|
shapecode_2_num_inst=1
|
|
shapecode_2_x=0.500
|
|
shapecode_2_y=0.750
|
|
shapecode_2_rad=0.04208
|
|
shapecode_2_ang=0.00000
|
|
shapecode_2_tex_ang=0.00000
|
|
shapecode_2_tex_zoom=0.73458
|
|
shapecode_2_r=1.000
|
|
shapecode_2_g=1.000
|
|
shapecode_2_b=0.000
|
|
shapecode_2_a=1.000
|
|
shapecode_2_r2=0.000
|
|
shapecode_2_g2=0.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.000
|
|
shape_2_init1=vx = 0
|
|
shape_2_per_frame1=x = q2;
|
|
shape_2_per_frame2=y = q6;
|
|
shapecode_3_enabled=0
|
|
shapecode_3_sides=100
|
|
shapecode_3_additive=1
|
|
shapecode_3_thickOutline=1
|
|
shapecode_3_textured=0
|
|
shapecode_3_num_inst=1
|
|
shapecode_3_x=0.500
|
|
shapecode_3_y=0.750
|
|
shapecode_3_rad=0.07059
|
|
shapecode_3_ang=0.00000
|
|
shapecode_3_tex_ang=0.00000
|
|
shapecode_3_tex_zoom=0.73458
|
|
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=0.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.000
|
|
shape_3_init1=vx = 0
|
|
shape_3_per_frame1=x = q1;
|
|
shape_3_per_frame2=y = q5;
|
|
per_frame_init_1=x1 = 0.9;
|
|
per_frame_init_2=y1 = 0.5;
|
|
per_frame_init_3=
|
|
per_frame_init_4=x2 = 0.5; y2 = 0.5;
|
|
per_frame_init_5=x3 = 0.5; y3 = 0.5;
|
|
per_frame_init_6=x4 = 0.5; y4 = 0.5;
|
|
per_frame_1=decay = 1;
|
|
per_frame_2=xx1 = xx1*0.9 + (bass)*0.01;
|
|
per_frame_3=xx2 = xx2*0.9 + (treb)*0.01;
|
|
per_frame_4=yy1 = yy1*0.94 + (treb+bass)*0.0075;
|
|
per_frame_5=
|
|
per_frame_6=x1 = 0.5 + (xx1-xx2);
|
|
per_frame_7=y1 = 0.85 + yy1*.3;
|
|
per_frame_8=
|
|
per_frame_9=//x2 = 0;y2 = 0;x3 = 0;y3 = 0;x4 = 0;y4 = 0;
|
|
per_frame_10=
|
|
per_frame_11=spring = 100;
|
|
per_frame_12=grav = 11;
|
|
per_frame_13=resist = 0.2;
|
|
per_frame_14=bounce = 0.8;
|
|
per_frame_15=dt = 0.0001;
|
|
per_frame_16=
|
|
per_frame_17=vx2 = vx2*(1-resist*dt) + dt*((x1+x3-2*x2)*spring);
|
|
per_frame_18=vy2 = vy2*(1-resist*dt) + dt*((y1+y3-2*y2)*spring-grav);
|
|
per_frame_19=vx3 = vx3*(1-resist*dt) + dt*((x2+x4-2*x3)*spring);
|
|
per_frame_20=vy3 = vy3*(1-resist*dt) + dt*((y2+y4-2*y3)*spring-grav);
|
|
per_frame_21=vx4 = vx4*(1-resist*dt) + dt*((x3-x4)*spring);
|
|
per_frame_22=vy4 = vy4*(1-resist*dt) + dt*((y3-y4)*spring-grav);
|
|
per_frame_23=
|
|
per_frame_24=x2 = x2 + vx2;
|
|
per_frame_25=y2 = y2 + vy2;
|
|
per_frame_26=x3 = x3 + vx3;
|
|
per_frame_27=y3 = y3 + vy3;
|
|
per_frame_28=x4 = x4 + vx4;
|
|
per_frame_29=y4 = y4 + vy4;
|
|
per_frame_30=
|
|
per_frame_31=vx2 = if(above(x2,0),vx2,abs(vx2)*bounce);
|
|
per_frame_32=vx2 = if(below(x2,1),vx2,-abs(vx2)*bounce);
|
|
per_frame_33=vx3 = if(above(x3,0),vx3,abs(vx3)*bounce);
|
|
per_frame_34=vx3 = if(below(x3,1),vx3,-abs(vx3)*bounce);
|
|
per_frame_35=vx4 = if(above(x4,0),vx4,abs(vx4)*bounce);
|
|
per_frame_36=vx4 = if(below(x4,1),vx4,-abs(vx4)*bounce);
|
|
per_frame_37=
|
|
per_frame_38=vy2 = if(above(y2,0),vy2,abs(vy2)*bounce);
|
|
per_frame_39=vy2 = if(below(y2,1),vy2,-abs(vy2)*bounce);
|
|
per_frame_40=vy3 = if(above(y3,0),vy3,abs(vy3)*bounce);
|
|
per_frame_41=vy3 = if(below(y3,1),vy3,-abs(vy3)*bounce);
|
|
per_frame_42=vy4 = if(above(y4,0),vy4,abs(vy4)*bounce);
|
|
per_frame_43=vy4 = if(below(y4,1),vy4,-abs(vy4)*bounce);
|
|
per_frame_44=q3 = x4;
|
|
per_frame_45=q4 = x2;
|
|
per_frame_46=q7 = y4;
|
|
per_frame_47=q8 = y2;
|
|
per_frame_48=q9 = x1;
|
|
per_frame_49=q10 = y1;
|
|
per_frame_50=q11 = x3;
|
|
per_frame_51=q12 = y3;
|
|
per_frame_52=
|
|
per_frame_53=zoom = 1;
|
|
per_frame_54=bb = bb*0.99 + bass*0.02;
|
|
per_frame_55=mm = mm*0.99 + mid*0.02;
|
|
per_frame_56=tt = tt*0.99 + treb*0.02;
|
|
per_frame_57=
|
|
per_frame_58=mx = max(max(bb,mm),tt);
|
|
per_frame_59=mn = min(min(bb,mm),tt);
|
|
per_frame_60=
|
|
per_frame_61=ob_r = (bb-mn)/(mx-mn);
|
|
per_frame_62=ob_b = (mm-mn)/(mx-mn);
|
|
per_frame_63=ob_g = (tt-mn)/(mx-mn);
|
|
per_frame_64=
|
|
per_frame_65=q2 = atan2(vx4,vy4);
|
|
per_frame_66=q13 = atan2(vx3,vy3);
|
|
per_frame_67=q1 = sqrt(vx4*vx4 + vy4*vy4);
|
|
per_frame_68=q14 = sqrt(vx3*vx3 + vy3*vy3);
|
|
per_frame_69=q6 = atan2(vx2,vy2);
|
|
per_frame_70=q5 = sqrt(vx2*vx2 + vy2*vy2);
|
|
per_frame_71=
|
|
per_frame_72=
|
|
per_frame_73=a = a*0.95 + q5;
|
|
per_frame_74=
|
|
per_frame_75=monitor = q7;
|
|
per_pixel_1=w1 = q9;
|
|
per_pixel_2=w2 = q10;
|
|
per_pixel_3=w3 = q11;
|
|
per_pixel_4=w4 = q12;
|
|
per_pixel_5=w5 = q13;
|
|
per_pixel_6=w6 = q14;
|
|
per_pixel_7=
|
|
per_pixel_8=
|
|
per_pixel_9=dir = -q6*1 + asin(1)*1;
|
|
per_pixel_10=
|
|
per_pixel_11=b1 = 0.075; // distance
|
|
per_pixel_12=m1 = q5*50;//-0.6 + q5*200; // size
|
|
per_pixel_13=t1 = 0.1; // velocity
|
|
per_pixel_14=
|
|
per_pixel_15=xx = q4;
|
|
per_pixel_16=yy = 1-q8;
|
|
per_pixel_17=
|
|
per_pixel_18=
|
|
per_pixel_19=x1 = xx +cos(dir+1.5708)*b1;
|
|
per_pixel_20=y1 = yy -sin(dir+1.5708)*b1;
|
|
per_pixel_21=
|
|
per_pixel_22=x2 = xx -cos(dir+1.5708)*b1;
|
|
per_pixel_23=y2 = yy +sin(dir+1.5708)*b1;
|
|
per_pixel_24=
|
|
per_pixel_25=d1 = sqrt((x1-x)*(x1-x)+(y1-y)*(y1-y))-b1*2;
|
|
per_pixel_26=si1 = 1- 1/(1+pow(2,-d1*100));
|
|
per_pixel_27=
|
|
per_pixel_28=d2 = sqrt((x2-x)*(x2-x)+(y2-y)*(y2-y))-b1*2;
|
|
per_pixel_29=si2 = 1- 1/(1+pow(2,-d2*100));
|
|
per_pixel_30=
|
|
per_pixel_31=si3 = -pow(q5,3)*10;
|
|
per_pixel_32=
|
|
per_pixel_33=dx = (si1*sin(y1-y)*m1*d1 - si2*sin(y2-y)*m1*d2 + si3*cos(dir)*t1)*2;
|
|
per_pixel_34=dy = (-si1*sin(x1-x)*m1*d1 + si2*sin(x2-x)*m1*d2 - si3*sin(dir)*t1)*2;
|
|
per_pixel_35=
|
|
per_pixel_36=m = 1- si1 - si2;
|
|
per_pixel_37=
|
|
per_pixel_38=dir = -q2*1 + asin(1)*0;
|
|
per_pixel_39=xx = q3;
|
|
per_pixel_40=yy = 1-q7;
|
|
per_pixel_41=d = sqrt((x-xx)*(x-xx)+(y-yy)*(y-yy));
|
|
per_pixel_42=
|
|
per_pixel_43=r = 0.05;
|
|
per_pixel_44=v = -35*q1;
|
|
per_pixel_45=dx = dx + v*sin(dir)*(r-d)*(1-sigmoid(d-r,280));
|
|
per_pixel_46=dy = dy + v*cos(dir)*(r-d)*(1-sigmoid(d-r,280));
|
|
per_pixel_47=
|
|
per_pixel_48=xx = w1;
|
|
per_pixel_49=yy = 1-w2;
|
|
per_pixel_50=d = sqrt((x-xx)*(x-xx)+(y-yy)*(y-yy));
|
|
per_pixel_51=
|
|
per_pixel_52=r = 0.1;
|
|
per_pixel_53=v = -35;
|
|
per_pixel_54=dx = dx + v*(x-xx)*(r-d)*(1-sigmoid(d-r,70));
|
|
per_pixel_55=dy = dy + v*(y-yy)*(r-d)*(1-sigmoid(d-r,70));
|
|
per_pixel_56=
|
|
per_pixel_57=xx = w3;
|
|
per_pixel_58=yy = 1- w4;
|
|
per_pixel_59=
|
|
per_pixel_60=dir = w5;
|
|
per_pixel_61=
|
|
per_pixel_62=d = sqrt((x-xx)*(x-xx)+(y-yy)*(y-yy));
|
|
per_pixel_63=
|
|
per_pixel_64=r = 0.1;
|
|
per_pixel_65=v = 20;
|
|
per_pixel_66=v2 = w6;
|
|
per_pixel_67=dx = dx + (v*(sin(y-yy)*(d-r)-(x-xx)*(d-r/2)) + cos(dir)*v2)*(1.00-sigmoid(d-r,180));
|
|
per_pixel_68=dy = dy + (-v*(sin(x-xx)*(d-r)+(y-yy)*(d-r/2)) -sin(dir)*v2)*(1.00-sigmoid(d-r,180));
|
|
per_pixel_69=
|
|
per_pixel_70=
|
|
per_pixel_71=
|
|
per_pixel_72=d = sqrt((x-0.5)*(x-0.5)+(y-0.5)*(y-0.5))*rad;
|
|
per_pixel_73=n=80;
|
|
per_pixel_74=
|
|
per_pixel_75=t = q3*3*0 +time*0;
|
|
per_pixel_76=
|
|
per_pixel_77=w= -q6 + asin(1)/2;
|
|
per_pixel_78=
|
|
per_pixel_79=//x = x - xx;
|
|
per_pixel_80=//y = y - yy;
|
|
per_pixel_81=v = 0.1*q3;
|
|
per_pixel_82=X2 = x-0.5;
|
|
per_pixel_83=Y2 = y-0.5;
|
|
per_pixel_84=X1 = sin(w)*X2 -cos(w)*Y2;
|
|
per_pixel_85=Y1 = cos(w)*X2 +sin(w)*Y2;
|
|
per_pixel_86=x = X1;
|
|
per_pixel_87=y = Y1;
|
|
per_pixel_88=dx1 = 0.01*(cos((-x+y)*n+t) + sin((x+y)*n+t));//*bass;
|
|
per_pixel_89=dy1 = 0.01*(cos((x-y)*n-t) + sin((-x-y)*n-t));//*bass;
|
|
per_pixel_90=dx2 = sin(-w)*dx1 - cos(-w)*dy1;
|
|
per_pixel_91=dy2 = cos(-w)*dx1 + sin(-w)*dy1;
|
|
per_pixel_92=//dx = dx + v*dx2*m;
|
|
per_pixel_93=//dy = dy + v*dy2*m;
|
|
warp_1=`shader_body
|
|
warp_2=`{
|
|
warp_3=` // sample previous frame
|
|
warp_4=` ret = tex2D( sampler_fc_main, uv ).xyz;
|
|
warp_5=`
|
|
warp_6=` // darken (decay) over time
|
|
warp_7=` ret *= 1.00; //or try: ret -= 0.004;
|
|
warp_8=`}
|
|
comp_1=`shader_body
|
|
comp_2=`{
|
|
comp_3=` float rad_lq = rad * length(texsize.xy)*0.5;
|
|
comp_4=` float ang_lq = ang;
|
|
comp_5=` float2 uv_temp1 = (uv - 0.5) * texsize.xy;
|
|
comp_6=` float rad_hq = length(uv_temp1);
|
|
comp_7=` float ang_hq = atan2(-uv_temp1.y, uv_temp1.x);
|
|
comp_8=`
|
|
comp_9=` float2 uv2 = (uv - 0.5);
|
|
comp_10=` float rad2 = rad_lq*0.8;
|
|
comp_11=` float ang2 = ang_lq * M_INV_PI_2 + rad_lq*0.000 + time*0.00;
|
|
comp_12=`
|
|
comp_13=`
|
|
comp_14=` // FIN TYPE
|
|
comp_15=` float fins = 6;
|
|
comp_16=` ang2 = frac(ang2*fins)/fins;
|
|
comp_17=` // ENABLE THIS TO MAKE THE FINS ALTERNATE: (seamless!)
|
|
comp_18=` ang2 = abs(ang2 - 0.5/fins);
|
|
comp_19=`
|
|
comp_20=`
|
|
comp_21=` ang2 *= M_PI_2;
|
|
comp_22=` uv = 0.5 + rad2*float2(cos(ang2),sin(ang2))*texsize.zw;
|
|
comp_23=`
|
|
comp_24=` ret = 1.4*pow(saturate(GetBlur1(uv))*((tex2D(sampler_pc_main,uv)-GetBlur3(uv))),0.5); //invert
|
|
comp_25=`}
|