mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-09-24 15:54:12 +00:00
376 lines
9.9 KiB
Text
376 lines
9.9 KiB
Text
MILKDROP_PRESET_VERSION=201
|
|
PSVERSION=2
|
|
PSVERSION_WARP=2
|
|
PSVERSION_COMP=2
|
|
[preset00]
|
|
fRating=4.000
|
|
fGammaAdj=1.560
|
|
fDecay=1.000
|
|
fVideoEchoZoom=0.362
|
|
fVideoEchoAlpha=0.000
|
|
nVideoEchoOrientation=1
|
|
nWaveMode=0
|
|
bAdditiveWaves=0
|
|
bWaveDots=0
|
|
bWaveThick=1
|
|
bModWaveAlphaByVolume=0
|
|
bMaximizeWaveColor=0
|
|
bTexWrap=1
|
|
bDarkenCenter=0
|
|
bRedBlueStereo=0
|
|
bBrighten=0
|
|
bDarken=1
|
|
bSolarize=0
|
|
bInvert=0
|
|
fWaveAlpha=0.001
|
|
fWaveScale=1.599
|
|
fWaveSmoothing=0.000
|
|
fWaveParam=-0.500
|
|
fModWaveAlphaStart=2.000
|
|
fModWaveAlphaEnd=2.000
|
|
fWarpAnimSpeed=1.000
|
|
fWarpScale=0.107
|
|
fZoomExponent=0.15840
|
|
fShader=1.000
|
|
zoom=1.00000
|
|
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=0.510
|
|
wave_g=0.500
|
|
wave_b=1.000
|
|
wave_x=0.500
|
|
wave_y=0.500
|
|
ob_size=0.000
|
|
ob_r=0.000
|
|
ob_g=0.000
|
|
ob_b=0.000
|
|
ob_a=1.000
|
|
ib_size=0.010
|
|
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.500
|
|
mv_r=0.000
|
|
mv_g=0.000
|
|
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=0
|
|
wavecode_0_bDrawThick=0
|
|
wavecode_0_bAdditive=0
|
|
wavecode_0_scaling=0.16188
|
|
wavecode_0_smoothing=0.50000
|
|
wavecode_0_r=1.000
|
|
wavecode_0_g=1.000
|
|
wavecode_0_b=1.000
|
|
wavecode_0_a=1.000
|
|
wavecode_1_enabled=0
|
|
wavecode_1_samples=512
|
|
wavecode_1_sep=0
|
|
wavecode_1_bSpectrum=0
|
|
wavecode_1_bUseDots=0
|
|
wavecode_1_bDrawThick=1
|
|
wavecode_1_bAdditive=1
|
|
wavecode_1_scaling=25.12601
|
|
wavecode_1_smoothing=1.00000
|
|
wavecode_1_r=1.000
|
|
wavecode_1_g=1.000
|
|
wavecode_1_b=1.000
|
|
wavecode_1_a=0.100
|
|
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=100
|
|
shapecode_0_additive=0
|
|
shapecode_0_thickOutline=1
|
|
shapecode_0_textured=0
|
|
shapecode_0_num_inst=1
|
|
shapecode_0_x=0.500
|
|
shapecode_0_y=0.500
|
|
shapecode_0_rad=0.50126
|
|
shapecode_0_ang=0.00000
|
|
shapecode_0_tex_ang=0.00000
|
|
shapecode_0_tex_zoom=0.99996
|
|
shapecode_0_r=1.000
|
|
shapecode_0_g=1.000
|
|
shapecode_0_b=1.000
|
|
shapecode_0_a=1.000
|
|
shapecode_0_r2=1.000
|
|
shapecode_0_g2=0.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.000
|
|
shape_0_per_frame1=x = 0.5+sin(time*0.618)*0.2;
|
|
shape_0_per_frame2=y = 0.5+cos(time*1.618)*0.2;
|
|
shape_0_per_frame3=rad = bass*0.05;
|
|
shape_0_per_frame4=border_r = 1-(sin(time*1.25)*0.3+0.7);
|
|
shape_0_per_frame5=border_g = 1-(sin(time)*0.3+0.3);
|
|
shape_0_per_frame6=border_b = 1-(sin(time/3)*0.5+0.5);
|
|
shapecode_1_enabled=0
|
|
shapecode_1_sides=100
|
|
shapecode_1_additive=0
|
|
shapecode_1_thickOutline=1
|
|
shapecode_1_textured=0
|
|
shapecode_1_num_inst=1
|
|
shapecode_1_x=0.500
|
|
shapecode_1_y=0.500
|
|
shapecode_1_rad=0.50126
|
|
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=1.000
|
|
shapecode_1_b=1.000
|
|
shapecode_1_a=1.000
|
|
shapecode_1_r2=0.000
|
|
shapecode_1_g2=0.000
|
|
shapecode_1_b2=1.000
|
|
shapecode_1_a2=0.000
|
|
shapecode_1_border_r=1.000
|
|
shapecode_1_border_g=0.000
|
|
shapecode_1_border_b=1.000
|
|
shapecode_1_border_a=0.000
|
|
shape_1_per_frame1=x = 0.5+sin(time*2.618)*0.3;
|
|
shape_1_per_frame2=y = 0.5+cos(time*3.14)*0.3;
|
|
shape_1_per_frame3=rad = bass*0.05;
|
|
shape_1_per_frame4=border_r = 1-(sin(time*1.25)*0.3+0.7);
|
|
shape_1_per_frame5=border_g = 1-(sin(time)*0.3+0.3);
|
|
shape_1_per_frame6=border_b = 1-(sin(time/3)*0.5+0.5);
|
|
shape_1_per_frame7=
|
|
shapecode_2_enabled=0
|
|
shapecode_2_sides=100
|
|
shapecode_2_additive=0
|
|
shapecode_2_thickOutline=1
|
|
shapecode_2_textured=0
|
|
shapecode_2_num_inst=1
|
|
shapecode_2_x=0.500
|
|
shapecode_2_y=0.500
|
|
shapecode_2_rad=0.50126
|
|
shapecode_2_ang=0.00000
|
|
shapecode_2_tex_ang=0.00000
|
|
shapecode_2_tex_zoom=0.99980
|
|
shapecode_2_r=1.000
|
|
shapecode_2_g=1.000
|
|
shapecode_2_b=1.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.000
|
|
shape_2_per_frame1=x = 0.5+sin(-time*2.618)*0.4;
|
|
shape_2_per_frame2=y = 0.5+cos(-time*1.14)*0.4;
|
|
shape_2_per_frame3=rad = bass*0.05;
|
|
shape_2_per_frame4=border_r = 1-(sin(time*1.25)*0.3+0.7);
|
|
shape_2_per_frame5=border_g = 1-(sin(time)*0.3+0.3);
|
|
shape_2_per_frame6=border_b = 1-(sin(time/3)*0.5+0.5);
|
|
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=q11 = 0.5/asin(1);
|
|
per_frame_1=//zoom = 0.99;
|
|
per_frame_2=ib_r = sin(time*1.25*4)*0.3+0.7;
|
|
per_frame_3=ib_g = sin(time*4)*0.3+0.3;
|
|
per_frame_4=ib_b = sin(time/3*4)*0.5+0.5;
|
|
per_frame_5=
|
|
per_frame_6=xx1 = xx1*0.9 + (bass)*0.01;
|
|
per_frame_7=xx2 = xx2*0.9 + (treb)*0.01;
|
|
per_frame_8=yy1 = yy1*0.94 + (treb+bass)*0.0075;
|
|
per_frame_9=
|
|
per_frame_10=x1 = 0.5 + (xx1-xx2)*2;
|
|
per_frame_11=y1 = 0.4 + yy1;
|
|
per_frame_12=
|
|
per_frame_13=x1 = max(0,min(1,x1)); y1 = max(0,min(1,y1));
|
|
per_frame_14=
|
|
per_frame_15=spring = 10;
|
|
per_frame_16=grav = .5;
|
|
per_frame_17=resist = 1;
|
|
per_frame_18=bounce = 0.75;
|
|
per_frame_19=dt = 0.0002*(60/fps);
|
|
per_frame_20=
|
|
per_frame_21=vx2 = vx2*(1-resist*dt) + dt*((x1+x3-2*x2)*spring);
|
|
per_frame_22=vy2 = vy2*(1-resist*dt) + dt*((y1+y3-2*y2)*spring-grav);
|
|
per_frame_23=vx3 = vx3*(1-resist*dt) + dt*((x2+x4-2*x3)*spring);
|
|
per_frame_24=vy3 = vy3*(1-resist*dt) + dt*((y2+y4-2*y3)*spring-grav);
|
|
per_frame_25=vx4 = vx4*(1-resist*dt) + dt*((x3-x4)*spring);
|
|
per_frame_26=vy4 = vy4*(1-resist*dt) + dt*((y3-y4)*spring-grav);
|
|
per_frame_27=
|
|
per_frame_28=x2 = x2 + vx2;
|
|
per_frame_29=y2 = y2 + vy2;
|
|
per_frame_30=x3 = x3 + vx3;
|
|
per_frame_31=y3 = y3 + vy3;
|
|
per_frame_32=x4 = x4 + vx4;
|
|
per_frame_33=y4 = y4 + vy4;
|
|
per_frame_34=
|
|
per_frame_35=vx2 = if(above(x2,0),vx2,abs(vx2)*bounce);
|
|
per_frame_36=vx2 = if(below(x2,1),vx2,-abs(vx2)*bounce);
|
|
per_frame_37=vx3 = if(above(x3,0),vx3,abs(vx3)*bounce);
|
|
per_frame_38=vx3 = if(below(x3,1),vx3,-abs(vx3)*bounce);
|
|
per_frame_39=vx4 = if(above(x4,0),vx4,abs(vx4)*bounce);
|
|
per_frame_40=vx4 = if(below(x4,1),vx4,-abs(vx4)*bounce);
|
|
per_frame_41=vy2 = if(above(y2,0),vy2,abs(vy2)*bounce);
|
|
per_frame_42=vy2 = if(below(y2,1),vy2,-abs(vy2)*bounce);
|
|
per_frame_43=vy3 = if(above(y3,0),vy3,abs(vy3)*bounce);
|
|
per_frame_44=vy3 = if(below(y3,1),vy3,-abs(vy3)*bounce);
|
|
per_frame_45=vy4 = if(above(y4,0),vy4,abs(vy4)*bounce);
|
|
per_frame_46=vy4 = if(below(y4,1),vy4,-abs(vy4)*bounce);
|
|
per_frame_47=q4 = x4;
|
|
per_frame_48=q8 = y4;
|
|
per_frame_49=
|
|
per_frame_50=q1 = aspectx;
|
|
per_frame_51=q2 = aspecty;
|
|
per_frame_52=
|
|
per_frame_53=zoom = 1;
|
|
per_frame_54=warp = 0;
|
|
per_frame_55=bb = bb*0.99 + bass*0.02;
|
|
per_frame_56=mm = mm*0.99 + mid*0.02;
|
|
per_frame_57=tt = tt*0.99 + treb*0.02;
|
|
per_frame_58=
|
|
per_frame_59=mx = max(max(bb,mm),tt);
|
|
per_frame_60=mn = min(min(bb,mm),tt);
|
|
per_frame_61=
|
|
per_frame_62=ob_r = (bb-mn)/(mx-mn);
|
|
per_frame_63=ob_b = (mm-mn)/(mx-mn);
|
|
per_frame_64=ob_g = (tt-mn)/(mx-mn);
|
|
per_frame_65=q6 = atan2(vx4,vy4);
|
|
per_frame_66=q5 = sqrt(vx4*vx4 + vy4*vy4);
|
|
per_frame_67=
|
|
per_frame_68=a = a*0.95 + q5;
|
|
per_frame_69=
|
|
per_frame_70=s = s*0.9 + a;
|
|
per_frame_71=q3 = s*0.1;
|
|
per_frame_72=monitor = s;
|
|
per_frame_73=
|
|
per_frame_74=wave_a = 0;
|
|
per_frame_75=
|
|
per_frame_76=q9 = 0.5 + 0.5*sin(time*0.1);
|
|
per_pixel_1=x = 0.5 + (x-0.5)*q1;
|
|
per_pixel_2=y = 0.5 + (y-0.5)*q2;
|
|
per_pixel_3=xx = q4;
|
|
per_pixel_4=yy = 1-q8;
|
|
per_pixel_5=
|
|
per_pixel_6=dx = 0; dy = 0;
|
|
per_pixel_7=
|
|
per_pixel_8=d = sqrt((x-xx)*(x-xx)+(y-yy)*(y-yy));
|
|
per_pixel_9=
|
|
per_pixel_10=r = 0.11;
|
|
per_pixel_11=v = 20;
|
|
per_pixel_12=v2 = q5;
|
|
per_pixel_13=dx = (v*(sin(y-yy)*(d-r)-(x-xx)*(d-r/2)) + cos(dir)*v2)*(1.00-sigmoid(d-r,100));
|
|
per_pixel_14=dy = (-v*(sin(x-xx)*(d-r)+(y-yy)*(d-r/2)) -sin(dir)*v2)*(1.00-sigmoid(d-r,100));
|
|
warp_1=`shader_body
|
|
warp_2=`{
|
|
warp_3=`float2 dither_uv = uv_orig*texsize.xy*texsize_noise_lq.zw*1.5 + rand_frame.xy;
|
|
warp_4=`uv -= (float2(0,1)*(lum(GetPixel(uv)-0.35))*texsize.zw*32)*(lum(GetPixel(uv))-0.4);
|
|
warp_5=`ret = GetPixel(saturate(uv)) - 0.0011 + (tex2D(sampler_noise_lq, dither_uv)-0.5)*0.0038;
|
|
warp_6=`}
|
|
comp_1=`float2 d;
|
|
comp_2=`float3 dx, dy;
|
|
comp_3=`
|
|
comp_4=`shader_body
|
|
comp_5=`{
|
|
comp_6=`
|
|
comp_7=`
|
|
comp_8=`// ***** Martin's ripples on water surface code, parameterized by Flexi *****
|
|
comp_9=`
|
|
comp_10=`float h = q9; // height of the horizon
|
|
comp_11=`float cut_off = 0.02; // cut off lower border
|
|
comp_12=`float2 t = float2(0.1,-0.05)*time; // velocity
|
|
comp_13=`float strength = 0.025;
|
|
comp_14=`
|
|
comp_15=`
|
|
comp_16=`float2 c = uv_orig-float2(0.5,1-h);
|
|
comp_17=`float z = 3/c.y;
|
|
comp_18=`float2 uv_water = float2(c.x*z*h,z*h)*0.05+t;
|
|
comp_19=`int mask = (c.y>0);
|
|
comp_20=`uv_water = (tex2D(sampler_noise_hq,uv_water)-0.5)*mask;
|
|
comp_21=`float2 uv_mirror = 1.0-abs(frac((c+float2(0.5,1))*0.5)*2-1)+float2(0,-cut_off);
|
|
comp_22=`uv_mirror =frac(uv_mirror-uv_water.xy*strength);
|
|
comp_23=`
|
|
comp_24=`// ***** :)
|
|
comp_25=`
|
|
comp_26=`uv = uv_mirror;
|
|
comp_27=`
|
|
comp_28=` d = texsize.zw*1.5;
|
|
comp_29=` dx = GetPixel(uv_orig + float2(1,0)*d) - GetPixel(uv_orig - float2(1,0)*d);
|
|
comp_30=` dy = GetPixel(uv_orig + float2(0,1)*d) - GetPixel(uv_orig - float2(0,1)*d);
|
|
comp_31=`
|
|
comp_32=`
|
|
comp_33=`ret = GetPixel(uv).x*(1-length(float2(dx.y,dy.y)*8))*((hue_shader*6)-4)*0.8;
|
|
comp_34=`ret = lerp(ret,float3(1,1,1),length(float2(dx.z,dy.z)*4));
|
|
comp_35=`
|
|
comp_36=`
|
|
comp_37=`}
|
|
comp_38=`
|