mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-09-24 15:54:12 +00:00
413 lines
11 KiB
Text
413 lines
11 KiB
Text
MILKDROP_PRESET_VERSION=201
|
|
PSVERSION=3
|
|
PSVERSION_WARP=2
|
|
PSVERSION_COMP=3
|
|
[preset00]
|
|
fRating=2.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=1.740853
|
|
fWaveSmoothing=0.810000
|
|
fWaveParam=0.000000
|
|
fModWaveAlphaStart=0.370000
|
|
fModWaveAlphaEnd=1.320000
|
|
fWarpAnimSpeed=1.459500
|
|
fWarpScale=2.006700
|
|
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.800000
|
|
wave_g=0.590000
|
|
wave_b=0.500000
|
|
wave_x=0.500000
|
|
wave_y=0.500000
|
|
ob_size=0.000000
|
|
ob_r=1.000000
|
|
ob_g=0.000000
|
|
ob_b=0.000000
|
|
ob_a=1.000000
|
|
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=1.850000
|
|
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=0
|
|
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=
|
|
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 + 5*xi;
|
|
wave_0_per_point7=y = .5 + 5*yi;
|
|
wave_0_per_point8=
|
|
wave_0_per_point9=a = bass_att + mid_att + treb_att;
|
|
wavecode_1_enabled=1
|
|
wavecode_1_samples=512
|
|
wavecode_1_sep=20
|
|
wavecode_1_bSpectrum=1
|
|
wavecode_1_bUseDots=1
|
|
wavecode_1_bDrawThick=1
|
|
wavecode_1_bAdditive=1
|
|
wavecode_1_scaling=5.904606
|
|
wavecode_1_smoothing=0.000000
|
|
wavecode_1_r=1.000000
|
|
wavecode_1_g=1.000000
|
|
wavecode_1_b=1.000000
|
|
wavecode_1_a=0.100000
|
|
wave_1_per_point1=
|
|
wave_1_per_point2=x = sample ;
|
|
wave_1_per_point3=
|
|
wave_1_per_point4=val = value1;
|
|
wave_1_per_point5=y = val * (.25-(sample-.5)*(sample-.5)) + .5;
|
|
wave_1_per_point6=
|
|
wave_1_per_point7=r = .6; g = 1; b = 1;
|
|
wave_1_per_point8=a=1;
|
|
wavecode_2_enabled=0
|
|
wavecode_2_samples=512
|
|
wavecode_2_sep=0
|
|
wavecode_2_bSpectrum=0
|
|
wavecode_2_bUseDots=1
|
|
wavecode_2_bDrawThick=1
|
|
wavecode_2_bAdditive=1
|
|
wavecode_2_scaling=0.099868
|
|
wavecode_2_smoothing=0.400000
|
|
wavecode_2_r=0.000000
|
|
wavecode_2_g=1.000000
|
|
wavecode_2_b=0.000000
|
|
wavecode_2_a=0.320000
|
|
wave_2_per_point1=
|
|
wave_2_per_point2=x = sample;
|
|
wave_2_per_point3=r = .0; b = .0; g = 1; a = .6;
|
|
wave_2_per_point4=y = .5 + value1;
|
|
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
|
|
wave_3_per_point1=ra = .8;
|
|
wave_3_per_point2=rb = .5;
|
|
wave_3_per_point3=pib = 6.28318530718;
|
|
wave_3_per_point4=
|
|
wave_3_per_point5=
|
|
wave_3_per_point6=tic = min(time-tin,.1);
|
|
wave_3_per_point7=tin = if(equal(sample,0),time,tin);
|
|
wave_3_per_point8=
|
|
wave_3_per_point9=mod = 1.5 + .5*sin(time*.15);
|
|
wave_3_per_point10=med = 1.5 + .5*sin(time*.134);
|
|
wave_3_per_point11=med = 5;
|
|
wave_3_per_point12=amod = 3;
|
|
wave_3_per_point13=
|
|
wave_3_per_point14=vr = rand(10001)*.0001;
|
|
wave_3_per_point15=rb = rb + rand(10001)*.0001*.1;
|
|
wave_3_per_point16=
|
|
wave_3_per_point17=a = vr;
|
|
wave_3_per_point18=
|
|
wave_3_per_point19=sa = vr*pib*.5;
|
|
wave_3_per_point20=sp = sa*mod + q1*1.3;
|
|
wave_3_per_point21=sam = sa*med - q1*.219;
|
|
wave_3_per_point22=
|
|
wave_3_per_point23=ox = ra*sin(sam*pib);
|
|
wave_3_per_point24=oy = ra*cos(sam*pib);
|
|
wave_3_per_point25=ox = ox + rb*-cos(sp)*sin(sam*pib);
|
|
wave_3_per_point26=oz = rb*-sin(sp);
|
|
wave_3_per_point27=oy = oy + rb*-cos(sp)*cos(sam*pib);
|
|
wave_3_per_point28=
|
|
wave_3_per_point29=
|
|
wave_3_per_point30=xang = time*.132;
|
|
wave_3_per_point31=xang = q2;
|
|
wave_3_per_point32=yang = time*.153;
|
|
wave_3_per_point33=yang = q3;
|
|
wave_3_per_point34=zang = time*.110;
|
|
wave_3_per_point35=zang = q4;
|
|
wave_3_per_point36=fov = 0.6 + 0.2*sin(time);
|
|
wave_3_per_point37=fov = .5;
|
|
wave_3_per_point38=
|
|
wave_3_per_point39=mx = ox*cos(zang) - oy*sin(zang);
|
|
wave_3_per_point40=my = ox*sin(zang) + oy*cos(zang);
|
|
wave_3_per_point41=ox = mx;
|
|
wave_3_per_point42=oy = my;
|
|
wave_3_per_point43=mx = ox*cos(yang) + oz*sin(yang);
|
|
wave_3_per_point44=mz = - ox*sin(yang) + oz*cos(yang);
|
|
wave_3_per_point45=ox = mx;
|
|
wave_3_per_point46=oz = mz;
|
|
wave_3_per_point47=my = oy*cos(xang) - oz*sin(xang);
|
|
wave_3_per_point48=mz = oy*sin(xang) + oz*cos(xang);
|
|
wave_3_per_point49=oy = my;
|
|
wave_3_per_point50=oz = mz;
|
|
wave_3_per_point51=
|
|
wave_3_per_point52=oz = oz - 2;
|
|
wave_3_per_point53=x = ox*fov/oz + 0.5;
|
|
wave_3_per_point54=x = (x-.5)*0.75 + 0.5;
|
|
wave_3_per_point55=y = oy*fov/oz + 0.5;
|
|
wave_3_per_point56=
|
|
shapecode_0_enabled=0
|
|
shapecode_0_sides=94
|
|
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.265742
|
|
shapecode_0_ang=2.324780
|
|
shapecode_0_tex_ang=1.005310
|
|
shapecode_0_tex_zoom=1.531168
|
|
shapecode_0_r=0.500000
|
|
shapecode_0_g=1.000000
|
|
shapecode_0_b=0.900000
|
|
shapecode_0_a=0.030000
|
|
shapecode_0_r2=0.830000
|
|
shapecode_0_g2=0.930000
|
|
shapecode_0_b2=0.800000
|
|
shapecode_0_a2=0.060000
|
|
shapecode_0_border_r=1.000000
|
|
shapecode_0_border_g=1.000000
|
|
shapecode_0_border_b=0.000000
|
|
shapecode_0_border_a=1.000000
|
|
shapecode_1_enabled=0
|
|
shapecode_1_sides=100
|
|
shapecode_1_additive=0
|
|
shapecode_1_thickOutline=0
|
|
shapecode_1_textured=0
|
|
shapecode_1_x=0.500000
|
|
shapecode_1_y=0.500000
|
|
shapecode_1_rad=1.264578
|
|
shapecode_1_ang=0.000000
|
|
shapecode_1_tex_ang=1.445100
|
|
shapecode_1_tex_zoom=1.493308
|
|
shapecode_1_r=0.700000
|
|
shapecode_1_g=0.400000
|
|
shapecode_1_b=0.000000
|
|
shapecode_1_a=0.010000
|
|
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
|
|
shapecode_2_enabled=0
|
|
shapecode_2_sides=63
|
|
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.156480
|
|
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=1.000000
|
|
shapecode_2_b=1.000000
|
|
shapecode_2_a=0.300000
|
|
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
|
|
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=1.000000
|
|
shapecode_3_rad=0.548217
|
|
shapecode_3_ang=0.000000
|
|
shapecode_3_tex_ang=0.000000
|
|
shapecode_3_tex_zoom=0.499805
|
|
shapecode_3_r=1.000000
|
|
shapecode_3_g=1.000000
|
|
shapecode_3_b=1.000000
|
|
shapecode_3_a=1.000000
|
|
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=0.000000
|
|
per_frame_1=dec_med = pow (0.9, 30/fps);
|
|
per_frame_2=dec_slow = pow (0.94, 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, .5+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))%2;
|
|
per_frame_10=index3 = (index3 + is_beat*bnot(index)*bnot(index2))%3;
|
|
per_frame_11=
|
|
per_frame_12=monitor = index4;
|
|
per_frame_13=
|
|
per_frame_14=q20 = avg;
|
|
per_frame_15=q21 = beat;
|
|
per_frame_16=q22 = peak;
|
|
per_frame_17=q23 = index;
|
|
per_frame_18=q24 = is_beat;
|
|
per_frame_19=vol = bass + mid + treb;
|
|
per_frame_20=q26 = max (peak,10)/20;
|
|
per_frame_21=
|
|
per_frame_22=
|
|
per_frame_23=k1 = is_beat*equal(index,0);
|
|
per_frame_24=p1 = k1*(p1+1) + (1-k1)*p1;
|
|
per_frame_25=p2 = dec_med * p2+ (1-dec_med)*p1;
|
|
per_frame_26=p3 = dec_slow * p3+ (1-dec_slow)*p2;
|
|
per_frame_27=
|
|
per_frame_28=rott = p3 * 3.14159265359/4;
|
|
per_frame_29=
|
|
per_frame_30=q1 = cos(rott);
|
|
per_frame_31=q2 = sin(rott);
|
|
per_frame_32=q3 = -q2;
|
|
per_frame_33=q4 = q1;
|
|
per_frame_34=
|
|
per_frame_35=q27 = 8-index;
|
|
per_frame_36=q28 = index2;
|
|
per_frame_37=
|
|
per_frame_38=movez = movez + .02*30/fps;
|
|
per_frame_39=q29 = movez*1;
|
|
per_frame_40=
|
|
per_frame_41=movex = movex + .004*30/fps*q1;
|
|
per_frame_42=q30 = movex*1;
|
|
per_frame_43=
|
|
per_frame_44=
|
|
per_frame_45=q5 = rott;
|
|
per_frame_46=zoom = 1.0;
|
|
per_pixel_1=rot = q22/4-1;
|
|
per_pixel_2=rot = 0;
|
|
per_pixel_3=zoom = 1 + .02 * (1-rad);
|
|
per_pixel_4=dy = .001;
|
|
per_pixel_5=warp = .4 * (1-rad);
|
|
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=`float3 noiseVal =.0*(tex2D(sampler_noise_lq, uv*.3+.01*rand_frame));
|
|
warp_6=`float3 Feedback = GetBlur1(1-uv);
|
|
warp_7=`
|
|
warp_8=`float2 zz = uv1 *texsize.xy *.01;
|
|
warp_9=`zz =mul(zz,float2x2(_qa));
|
|
warp_10=`zz = zz.yx;
|
|
warp_11=`float2 h1 = cos(zz);
|
|
warp_12=`
|
|
warp_13=`uv += h1*texsize.zw * 12;
|
|
warp_14=`
|
|
warp_15=`float3 crisp = tex2D(sampler_main,uv);
|
|
warp_16=`
|
|
warp_17=`ret = crisp+noiseVal-.01;
|
|
warp_18=`}
|
|
comp_1=`float3 ret1, neu, dx, dy;
|
|
comp_2=`float2 rs,rs2,uv1,uv2, uv3,uv4,dz;
|
|
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=`dz = 0;
|
|
comp_10=`
|
|
comp_11=`float2 hor = float2(texsize.z,0)/2;
|
|
comp_12=`float2 ver = float2(0,texsize.w)/2;
|
|
comp_13=`
|
|
comp_14=`float dist = 1;
|
|
comp_15=`float inten = 1;
|
|
comp_16=`float mask = 0;
|
|
comp_17=`ret1 = 0;
|
|
comp_18=`int anz = 4;
|
|
comp_19=`float n = 0;
|
|
comp_20=`while (n <= anz) {
|
|
comp_21=` dist = 1-frac(1.0/anz*n+time/2); //evtl sqrt !;
|
|
comp_22=` inten = sqrt(dist)*(1-dist*dist)*2;
|
|
comp_23=`
|
|
comp_24=` uv3 = 2*uv*dist + .35 + float2(q30,0);
|
|
comp_25=` neu = GetPixel(uv3);
|
|
comp_26=` dz.x += inten*(GetPixel(uv3+hor)- GetPixel (uv3-hor));
|
|
comp_27=` dz.y += inten*(GetPixel(uv3+ver)- GetPixel (uv3-ver));
|
|
comp_28=` ret1 = max(ret1,neu*inten);
|
|
comp_29=`n++;
|
|
comp_30=`}
|
|
comp_31=`
|
|
comp_32=`
|
|
comp_33=`//clouds
|
|
comp_34=`uv += dz/2;
|
|
comp_35=`uv4 = uv-float2 (0.2,-.1);
|
|
comp_36=`float z = .5*clamp(1/(abs(uv.y)+.1),0,12);
|
|
comp_37=`rs = float2(uv.x * z, z);
|
|
comp_38=`float3 clouds = lum(tex2D (sampler_noise_hq,rs+.04*time));
|
|
comp_39=`clouds *= saturate(1-12*uv.y) * 0.1/(.03+length(uv4));
|
|
comp_40=`
|
|
comp_41=`float3 sky = .1*float3 (0,0,saturate(1-3*uv.y));
|
|
comp_42=`ret = .03*float3(0,1,1)+ sky;
|
|
comp_43=`ret += clouds;
|
|
comp_44=`
|
|
comp_45=`
|
|
comp_46=`ret += 0.1*ret1 + 0.2*q21*ret1 ;
|
|
comp_47=`
|
|
comp_48=`}
|