mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-04 20:31:01 -05:00
395 lines
10 KiB
Text
395 lines
10 KiB
Text
MILKDROP_PRESET_VERSION=201
|
|
PSVERSION=2
|
|
PSVERSION_WARP=2
|
|
PSVERSION_COMP=2
|
|
[preset00]
|
|
fRating=3.000000
|
|
fGammaAdj=1.980001
|
|
fDecay=0.500000
|
|
fVideoEchoZoom=0.999998
|
|
fVideoEchoAlpha=0.500000
|
|
nVideoEchoOrientation=3
|
|
nWaveMode=6
|
|
bAdditiveWaves=0
|
|
bWaveDots=0
|
|
bWaveThick=0
|
|
bModWaveAlphaByVolume=1
|
|
bMaximizeWaveColor=1
|
|
bTexWrap=1
|
|
bDarkenCenter=0
|
|
bRedBlueStereo=0
|
|
bBrighten=0
|
|
bDarken=1
|
|
bSolarize=0
|
|
bInvert=0
|
|
fWaveAlpha=0.001000
|
|
fWaveScale=0.391314
|
|
fWaveSmoothing=0.450000
|
|
fWaveParam=0.080000
|
|
fModWaveAlphaStart=0.000000
|
|
fModWaveAlphaEnd=1.320000
|
|
fWarpAnimSpeed=0.442000
|
|
fWarpScale=0.498000
|
|
fZoomExponent=1.000000
|
|
fShader=0.000000
|
|
zoom=0.999900
|
|
rot=0.000000
|
|
cx=0.500000
|
|
cy=0.500000
|
|
dx=0.000000
|
|
dy=0.000000
|
|
warp=0.010000
|
|
sx=0.999900
|
|
sy=1.000000
|
|
wave_r=0.000000
|
|
wave_g=0.000000
|
|
wave_b=0.000000
|
|
wave_x=0.500000
|
|
wave_y=0.500000
|
|
ob_size=0.000000
|
|
ob_r=1.000000
|
|
ob_g=1.000000
|
|
ob_b=1.000000
|
|
ob_a=0.050000
|
|
ib_size=0.260000
|
|
ib_r=0.250000
|
|
ib_g=0.250000
|
|
ib_b=0.250000
|
|
ib_a=0.000000
|
|
nMotionVectorsX=64.000000
|
|
nMotionVectorsY=48.000000
|
|
mv_dx=0.000000
|
|
mv_dy=0.000000
|
|
mv_l=0.000000
|
|
mv_r=0.499900
|
|
mv_g=0.499900
|
|
mv_b=0.499900
|
|
mv_a=0.000000
|
|
b1n=0.000000
|
|
b2n=0.000000
|
|
b3n=0.000000
|
|
b1x=1.000000
|
|
b2x=1.000000
|
|
b3x=1.000000
|
|
b1ed=0.000000
|
|
wavecode_0_enabled=0
|
|
wavecode_0_samples=512
|
|
wavecode_0_sep=120
|
|
wavecode_0_bSpectrum=0
|
|
wavecode_0_bUseDots=0
|
|
wavecode_0_bDrawThick=0
|
|
wavecode_0_bAdditive=1
|
|
wavecode_0_scaling=0.891519
|
|
wavecode_0_smoothing=0.820000
|
|
wavecode_0_r=1.000000
|
|
wavecode_0_g=1.000000
|
|
wavecode_0_b=1.000000
|
|
wavecode_0_a=0.600000
|
|
wave_0_per_frame1=t2 = t2 + bass_att;
|
|
wave_0_per_point1=k1 = (sample*100)%2;
|
|
wave_0_per_point2=k2 = (sample*100)%4;
|
|
wave_0_per_point3=xi = value1*k1 + xi*(1-k1);
|
|
wave_0_per_point4=yi = value2*(1-k1) + yi*k1;
|
|
wave_0_per_point5=
|
|
wave_0_per_point6=x = .5 + xi;
|
|
wave_0_per_point7=y = .5 + yi;
|
|
wave_0_per_point8=
|
|
wave_0_per_point9=a = q22/8;
|
|
wave_0_per_point10=a = min(a,.2);
|
|
wavecode_1_enabled=0
|
|
wavecode_1_samples=512
|
|
wavecode_1_sep=0
|
|
wavecode_1_bSpectrum=0
|
|
wavecode_1_bUseDots=1
|
|
wavecode_1_bDrawThick=1
|
|
wavecode_1_bAdditive=0
|
|
wavecode_1_scaling=0.891519
|
|
wavecode_1_smoothing=0.820000
|
|
wavecode_1_r=1.000000
|
|
wavecode_1_g=1.000000
|
|
wavecode_1_b=1.000000
|
|
wavecode_1_a=0.100000
|
|
wave_1_per_point1=xi = rand(100)/100;
|
|
wave_1_per_point2=yi = rand(100)/100;
|
|
wave_1_per_point3=
|
|
wave_1_per_point4=x = xi; y = yi;
|
|
wave_1_per_point5=
|
|
wave_1_per_point6=a = q21/15;
|
|
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=0
|
|
wavecode_2_scaling=0.891519
|
|
wavecode_2_smoothing=0.820000
|
|
wavecode_2_r=0.000000
|
|
wavecode_2_g=0.200000
|
|
wavecode_2_b=0.000000
|
|
wavecode_2_a=1.000000
|
|
wavecode_3_enabled=0
|
|
wavecode_3_samples=512
|
|
wavecode_3_sep=0
|
|
wavecode_3_bSpectrum=1
|
|
wavecode_3_bUseDots=1
|
|
wavecode_3_bDrawThick=0
|
|
wavecode_3_bAdditive=0
|
|
wavecode_3_scaling=1.000000
|
|
wavecode_3_smoothing=0.500000
|
|
wavecode_3_r=1.000000
|
|
wavecode_3_g=1.000000
|
|
wavecode_3_b=1.000000
|
|
wavecode_3_a=1.000000
|
|
shapecode_0_enabled=0
|
|
shapecode_0_sides=44
|
|
shapecode_0_additive=0
|
|
shapecode_0_thickOutline=0
|
|
shapecode_0_textured=0
|
|
shapecode_0_x=0.500000
|
|
shapecode_0_y=0.500000
|
|
shapecode_0_rad=0.054080
|
|
shapecode_0_ang=0.000000
|
|
shapecode_0_tex_ang=1.005310
|
|
shapecode_0_tex_zoom=1.531168
|
|
shapecode_0_r=0.800000
|
|
shapecode_0_g=1.000000
|
|
shapecode_0_b=0.000000
|
|
shapecode_0_a=1.000000
|
|
shapecode_0_r2=0.000000
|
|
shapecode_0_g2=0.000000
|
|
shapecode_0_b2=0.000000
|
|
shapecode_0_a2=1.000000
|
|
shapecode_0_border_r=1.000000
|
|
shapecode_0_border_g=1.000000
|
|
shapecode_0_border_b=0.000000
|
|
shapecode_0_border_a=0.000000
|
|
shape_0_per_frame1=xi = xi - dx*q22/200;
|
|
shape_0_per_frame2=yi = yi - dy*q23/200;
|
|
shape_0_per_frame3=
|
|
shape_0_per_frame4=low = 0;
|
|
shape_0_per_frame5=high = 1;
|
|
shape_0_per_frame6=
|
|
shape_0_per_frame7=k0x = below(xi,low);
|
|
shape_0_per_frame8=k1x = above(xi,high);
|
|
shape_0_per_frame9=k0y = below(yi,low);
|
|
shape_0_per_frame10=k1y = above(yi,high);
|
|
shape_0_per_frame11=
|
|
shape_0_per_frame12=dx = k0x*1 + k1x*-1;
|
|
shape_0_per_frame13=dy = k0y*1 + k1y*-1;
|
|
shape_0_per_frame14=
|
|
shape_0_per_frame15=//xi = 0; yi = 0;
|
|
shape_0_per_frame16=x = xi;
|
|
shape_0_per_frame17=y = yi;
|
|
shape_0_per_frame18=
|
|
shape_0_per_frame19=trel = time;
|
|
shape_0_per_frame20=
|
|
shape_0_per_frame21=x = .5+.4*sin(trel*2);
|
|
shape_0_per_frame22=y = .5+.4*cos(trel*1.3);
|
|
shape_0_per_frame23=
|
|
shape_0_per_frame24=a = 1;
|
|
shape_0_per_frame25=a2 = a;
|
|
shape_0_per_frame26=r = 1; g = 0; b =.5 +.3*sin(time/7);
|
|
shape_0_per_frame27=r2 = r; g2 = g; b2 = b;
|
|
shapecode_1_enabled=0
|
|
shapecode_1_sides=4
|
|
shapecode_1_additive=0
|
|
shapecode_1_thickOutline=1
|
|
shapecode_1_textured=0
|
|
shapecode_1_x=0.400000
|
|
shapecode_1_y=0.500000
|
|
shapecode_1_rad=2.366958
|
|
shapecode_1_ang=0.000000
|
|
shapecode_1_tex_ang=3.455753
|
|
shapecode_1_tex_zoom=0.993053
|
|
shapecode_1_r=0.500000
|
|
shapecode_1_g=0.000000
|
|
shapecode_1_b=1.000000
|
|
shapecode_1_a=0.200000
|
|
shapecode_1_r2=0.700000
|
|
shapecode_1_g2=0.400000
|
|
shapecode_1_b2=0.000000
|
|
shapecode_1_a2=0.000000
|
|
shapecode_1_border_r=0.500000
|
|
shapecode_1_border_g=0.500000
|
|
shapecode_1_border_b=0.500000
|
|
shapecode_1_border_a=0.000000
|
|
shape_1_per_frame1=a2 =0;a = 0;
|
|
shape_1_per_frame2=a = q24/2;
|
|
shapecode_2_enabled=0
|
|
shapecode_2_sides=4
|
|
shapecode_2_additive=0
|
|
shapecode_2_thickOutline=0
|
|
shapecode_2_textured=0
|
|
shapecode_2_x=0.503000
|
|
shapecode_2_y=0.500000
|
|
shapecode_2_rad=0.038857
|
|
shapecode_2_ang=0.000000
|
|
shapecode_2_tex_ang=0.000000
|
|
shapecode_2_tex_zoom=0.609857
|
|
shapecode_2_r=1.000000
|
|
shapecode_2_g=0.100000
|
|
shapecode_2_b=0.000000
|
|
shapecode_2_a=0.900000
|
|
shapecode_2_r2=1.000000
|
|
shapecode_2_g2=1.000000
|
|
shapecode_2_b2=1.000000
|
|
shapecode_2_a2=0.000000
|
|
shapecode_2_border_r=0.500000
|
|
shapecode_2_border_g=0.500000
|
|
shapecode_2_border_b=0.500000
|
|
shapecode_2_border_a=0.000000
|
|
shape_2_per_frame1=x = rand(10)/10;
|
|
shape_2_per_frame2=y = rand(10)/10;
|
|
shape_2_per_frame3=
|
|
shape_2_per_frame4=r = rand(4)/3;
|
|
shape_2_per_frame5=g = rand(4)/3;
|
|
shape_2_per_frame6=b = rand(4)/3;
|
|
shape_2_per_frame7=
|
|
shape_2_per_frame8=a = min(q21/2 ,.9);
|
|
shape_2_per_frame9=rad = a *a/3 ;
|
|
shape_2_per_frame10=
|
|
shapecode_3_enabled=0
|
|
shapecode_3_sides=63
|
|
shapecode_3_additive=0
|
|
shapecode_3_thickOutline=0
|
|
shapecode_3_textured=1
|
|
shapecode_3_x=0.500000
|
|
shapecode_3_y=0.500000
|
|
shapecode_3_rad=0.301766
|
|
shapecode_3_ang=0.000000
|
|
shapecode_3_tex_ang=0.879646
|
|
shapecode_3_tex_zoom=0.954309
|
|
shapecode_3_r=1.000000
|
|
shapecode_3_g=1.000000
|
|
shapecode_3_b=1.000000
|
|
shapecode_3_a=0.500000
|
|
shapecode_3_r2=1.000000
|
|
shapecode_3_g2=1.000000
|
|
shapecode_3_b2=1.000000
|
|
shapecode_3_a2=0.000000
|
|
shapecode_3_border_r=0.500000
|
|
shapecode_3_border_g=0.500000
|
|
shapecode_3_border_b=0.500000
|
|
shapecode_3_border_a=1.000000
|
|
per_frame_init_1=dirx = 1;
|
|
per_frame_1=dec_med = pow (0.7, 30/fps);
|
|
per_frame_2=dec_slow = pow (0.9, 30/fps);
|
|
per_frame_3=beat = max (max (bass, mid), treb);
|
|
per_frame_4=avg = avg*dec_slow + beat*(1-dec_slow);
|
|
per_frame_5=is_beat = above(beat, .2+avg+peak) * above (time, t0+.2);
|
|
per_frame_6=t0 = is_beat*time + (1-is_beat)*t0;
|
|
per_frame_7=peak = is_beat * beat + (1-is_beat)*peak*dec_med;
|
|
per_frame_8=index = (index + is_beat) %8;
|
|
per_frame_9=index2 = (index2 + is_beat*bnot(index))%4;
|
|
per_frame_10=index3 = (index3 + is_beat*bnot(index)*bnot(index2))%3;
|
|
per_frame_11=
|
|
per_frame_12=
|
|
per_frame_13=q20 = avg;
|
|
per_frame_14=q21 = beat;
|
|
per_frame_15=q22 = peak;
|
|
per_frame_16=q23 = index;
|
|
per_frame_17=q24 = is_beat;
|
|
per_frame_18=q26 = bass + mid + treb;
|
|
per_frame_19=ava = ava*dec_slow + q26*(1-dec_slow);
|
|
per_frame_20=
|
|
per_frame_21=
|
|
per_frame_22=
|
|
per_frame_23=//k1 = is_beat*bnot(index)*bnot(index2);
|
|
per_frame_24=
|
|
per_frame_25=k1 = is_beat*equal(index%2,0);
|
|
per_frame_26=p1 = k1*(p1+1) + (1-k1)*p1;
|
|
per_frame_27=p2 = dec_med * p2+ (1-dec_med)*p1;
|
|
per_frame_28=rott = p2 * 3.1416/4;
|
|
per_frame_29=q1 = cos(rott);
|
|
per_frame_30=q2 = sin(rott);
|
|
per_frame_31=
|
|
per_frame_32=q27 = 8-index;
|
|
per_frame_33=q28 = .5 + sin(time/7)/10;
|
|
per_frame_34=
|
|
per_frame_35=mov = is_beat*(q26) + (1-is_beat)*mov;
|
|
per_frame_36=mov_ = dec_med*mov_ + (1-dec_med)*mov;
|
|
per_frame_37=
|
|
per_frame_38=movez = movez + .1/fps*mov_;
|
|
per_frame_39=q30 = movez;
|
|
per_frame_40=//**************************
|
|
per_frame_41=
|
|
per_frame_42=
|
|
per_frame_43=movex = movex + .2/fps*sin(rott);
|
|
per_frame_44=movey = movey + .2/fps*cos(rott);
|
|
per_frame_45=
|
|
per_frame_46=q18 = movex; q19 = movey;
|
|
per_frame_47=q16 = (q27+2)/4;
|
|
per_frame_48=q15 = q27/3 + time/8;
|
|
per_frame_49=
|
|
warp_1=`shader_body {
|
|
warp_2=`float corr = texsize.xy*texsize_noise_lq.zw;
|
|
warp_3=`//float2 uv1 = float2(uv.x-0.5,uv.y-0.5);//*aspect.xy;
|
|
warp_4=`
|
|
warp_5=`
|
|
warp_6=`float2 hor = float2 (.003,0);
|
|
warp_7=`float2 ver = float2 (0,.003);
|
|
warp_8=`float dx = lum(tex2D(sampler_main,uv+hor) - tex2D(sampler_main,uv-hor));
|
|
warp_9=`float dy = lum(tex2D(sampler_main,uv+ver) - tex2D(sampler_main,uv-ver));
|
|
warp_10=`
|
|
warp_11=`float2 dz = float2 (dx,dy);
|
|
warp_12=`
|
|
warp_13=`
|
|
warp_14=`float3 noise2 = lum(tex2D(sampler_noise_hq,
|
|
warp_15=` uv+ .0*time+.01*rand_frame));
|
|
warp_16=`noise2 = 2*(noise2-.5);
|
|
warp_17=`
|
|
warp_18=`float3 noise3 = lum(tex2D(sampler_noise_lq,
|
|
warp_19=` corr*uv*.5 + 0.1*rand_frame));
|
|
warp_20=`
|
|
warp_21=`
|
|
warp_22=`float3 blur = GetBlur1(frac(uv));
|
|
warp_23=`float3 blur2 = GetBlur1(frac(uv*noise3));
|
|
warp_24=`
|
|
warp_25=`float2 zz = (blur*noise3)* (dz);
|
|
warp_26=`
|
|
warp_27=`double3 crisp = tex2D(sampler_main,uv+zz*.03);
|
|
warp_28=`crisp += noise2*(.01) +.02 ;
|
|
warp_29=`
|
|
warp_30=`
|
|
warp_31=`float3 ret1 = -0.03*blur2+ crisp - length(zz)*.0;
|
|
warp_32=`
|
|
warp_33=`//ret1 -= .1*pow(rad,4);
|
|
warp_34=`ret1 -= .07*pow(uv.x-.6,2) + .1*pow(uv.y-.6,2);
|
|
warp_35=`
|
|
warp_36=`ret = ret1 * .99 - .01;
|
|
warp_37=`}
|
|
comp_1=`float3 ret1, neu;
|
|
comp_2=`float2 rs,rs2,uv1;
|
|
comp_3=`shader_body
|
|
comp_4=`{
|
|
comp_5=`float2 uv2;
|
|
comp_6=`float ang2, c, s;
|
|
comp_7=`uv -= 0.5;
|
|
comp_8=`uv *= aspect.xy;
|
|
comp_9=`
|
|
comp_10=`float dist = 1;
|
|
comp_11=`float inten = 1;
|
|
comp_12=`ret1 = 0;
|
|
comp_13=`int anz = 2;
|
|
comp_14=`float n = 0;
|
|
comp_15=`while (n <= anz) {
|
|
comp_16=` uv2 = uv;
|
|
comp_17=` dist = 1-frac(1.0/anz*n+q30); //evtl sqrt !
|
|
comp_18=`;
|
|
comp_19=` inten = dist*(1-dist)*3;
|
|
comp_20=` float2 uv3 = frac(1.5*uv2*dist+q15+float2(q18+dist/3,0));
|
|
comp_21=` neu = GetPixel(uv3) -.7*GetBlur3(uv3*1.05);
|
|
comp_22=` neu = lum(neu);
|
|
comp_23=` ret1 = max(ret1,neu*inten);
|
|
comp_24=`n++;
|
|
comp_25=`}
|
|
comp_26=`
|
|
comp_27=`rs2 = .3*sin(uv*4+q15) - lum(ret1);;
|
|
comp_28=`float dots = (.05/length(rs2))*q26/4 ;
|
|
comp_29=`
|
|
comp_30=`
|
|
comp_31=`ret = (q1+.5)*ret1 + dots*float3 (.5,.5,1) ;
|
|
comp_32=`//ret = GetPixel(uv+.5);
|
|
comp_33=`
|
|
comp_34=`}
|