mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-04 20:41:01 -05:00
358 lines
8.9 KiB
Text
358 lines
8.9 KiB
Text
MILKDROP_PRESET_VERSION=201
|
|
PSVERSION=3
|
|
PSVERSION_WARP=2
|
|
PSVERSION_COMP=3
|
|
[preset00]
|
|
fRating=3.000000
|
|
fGammaAdj=1.980001
|
|
fDecay=0.500000
|
|
fVideoEchoZoom=0.999998
|
|
fVideoEchoAlpha=0.500000
|
|
nVideoEchoOrientation=3
|
|
nWaveMode=1
|
|
bAdditiveWaves=1
|
|
bWaveDots=0
|
|
bWaveThick=1
|
|
bModWaveAlphaByVolume=1
|
|
bMaximizeWaveColor=0
|
|
bTexWrap=1
|
|
bDarkenCenter=0
|
|
bRedBlueStereo=0
|
|
bBrighten=0
|
|
bDarken=1
|
|
bSolarize=0
|
|
bInvert=0
|
|
fWaveAlpha=0.001000
|
|
fWaveScale=0.167975
|
|
fWaveSmoothing=0.000000
|
|
fWaveParam=-0.200000
|
|
fModWaveAlphaStart=0.710000
|
|
fModWaveAlphaEnd=1.300000
|
|
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.000000
|
|
wave_g=0.000000
|
|
wave_b=0.000000
|
|
wave_x=0.500000
|
|
wave_y=0.500000
|
|
ob_size=0.000000
|
|
ob_r=0.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=31.999998
|
|
nMotionVectorsY=24.000004
|
|
mv_dx=0.000000
|
|
mv_dy=0.000000
|
|
mv_l=0.500000
|
|
mv_r=0.299900
|
|
mv_g=0.499900
|
|
mv_b=0.399900
|
|
mv_a=0.000000
|
|
b1n=0.000000
|
|
b2n=0.000000
|
|
b3n=0.000000
|
|
b1x=1.000000
|
|
b2x=1.000000
|
|
b3x=1.000000
|
|
b1ed=0.700000
|
|
wavecode_0_enabled=0
|
|
wavecode_0_samples=128
|
|
wavecode_0_sep=49
|
|
wavecode_0_bSpectrum=0
|
|
wavecode_0_bUseDots=1
|
|
wavecode_0_bDrawThick=1
|
|
wavecode_0_bAdditive=0
|
|
wavecode_0_scaling=0.067077
|
|
wavecode_0_smoothing=0.820000
|
|
wavecode_0_r=0.000000
|
|
wavecode_0_g=1.000000
|
|
wavecode_0_b=0.500000
|
|
wavecode_0_a=1.000000
|
|
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=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
|
|
wavecode_2_enabled=0
|
|
wavecode_2_samples=100
|
|
wavecode_2_sep=0
|
|
wavecode_2_bSpectrum=0
|
|
wavecode_2_bUseDots=0
|
|
wavecode_2_bDrawThick=1
|
|
wavecode_2_bAdditive=0
|
|
wavecode_2_scaling=0.010000
|
|
wavecode_2_smoothing=0.820000
|
|
wavecode_2_r=1.000000
|
|
wavecode_2_g=1.000000
|
|
wavecode_2_b=1.000000
|
|
wavecode_2_a=0.100000
|
|
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=1
|
|
shapecode_0_sides=3
|
|
shapecode_0_additive=0
|
|
shapecode_0_thickOutline=0
|
|
shapecode_0_textured=1
|
|
shapecode_0_x=0.500000
|
|
shapecode_0_y=0.130000
|
|
shapecode_0_rad=1.504993
|
|
shapecode_0_ang=0.000000
|
|
shapecode_0_tex_ang=0.000000
|
|
shapecode_0_tex_zoom=0.459514
|
|
shapecode_0_r=1.000000
|
|
shapecode_0_g=1.000000
|
|
shapecode_0_b=0.000000
|
|
shapecode_0_a=0.100000
|
|
shapecode_0_r2=1.000000
|
|
shapecode_0_g2=0.000000
|
|
shapecode_0_b2=0.000000
|
|
shapecode_0_a2=0.000000
|
|
shapecode_0_border_r=0.700000
|
|
shapecode_0_border_g=0.000000
|
|
shapecode_0_border_b=0.000000
|
|
shapecode_0_border_a=0.000000
|
|
shapecode_1_enabled=1
|
|
shapecode_1_sides=8
|
|
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=0.013478
|
|
shapecode_1_ang=0.000000
|
|
shapecode_1_tex_ang=0.000000
|
|
shapecode_1_tex_zoom=0.499805
|
|
shapecode_1_r=0.000000
|
|
shapecode_1_g=1.000000
|
|
shapecode_1_b=1.000000
|
|
shapecode_1_a=1.000000
|
|
shapecode_1_r2=0.000000
|
|
shapecode_1_g2=0.300000
|
|
shapecode_1_b2=0.000000
|
|
shapecode_1_a2=1.000000
|
|
shapecode_1_border_r=1.000000
|
|
shapecode_1_border_g=0.500000
|
|
shapecode_1_border_b=0.500000
|
|
shapecode_1_border_a=0.000000
|
|
shapecode_2_enabled=1
|
|
shapecode_2_sides=24
|
|
shapecode_2_additive=1
|
|
shapecode_2_thickOutline=0
|
|
shapecode_2_textured=1
|
|
shapecode_2_x=0.590000
|
|
shapecode_2_y=0.000000
|
|
shapecode_2_rad=0.449286
|
|
shapecode_2_ang=0.062832
|
|
shapecode_2_tex_ang=1.884956
|
|
shapecode_2_tex_zoom=0.179142
|
|
shapecode_2_r=0.600000
|
|
shapecode_2_g=0.500000
|
|
shapecode_2_b=0.700000
|
|
shapecode_2_a=0.100000
|
|
shapecode_2_r2=0.700000
|
|
shapecode_2_g2=0.500000
|
|
shapecode_2_b2=0.600000
|
|
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=1
|
|
shapecode_3_thickOutline=0
|
|
shapecode_3_textured=1
|
|
shapecode_3_x=0.760000
|
|
shapecode_3_y=0.750000
|
|
shapecode_3_rad=0.686364
|
|
shapecode_3_ang=0.439823
|
|
shapecode_3_tex_ang=0.502655
|
|
shapecode_3_tex_zoom=0.615900
|
|
shapecode_3_r=0.700000
|
|
shapecode_3_g=0.700000
|
|
shapecode_3_b=0.700000
|
|
shapecode_3_a=0.150000
|
|
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
|
|
shape_3_per_frame1=x = .5+.3*cos(time/59);
|
|
shape_3_per_frame2=y = .5+.3 *sin(time/59);
|
|
per_frame_init_1=q28 = 0; q29 = 0; p1= 0;
|
|
per_frame_init_2=fade = .9;
|
|
per_frame_1=dec_med = pow (0.9, 30/fps);
|
|
per_frame_2=dec_slow = pow (0.99, 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=
|
|
per_frame_10=q20 = avg;
|
|
per_frame_11=q21 = beat;
|
|
per_frame_12=q22 = peak;
|
|
per_frame_13=q23 = index;
|
|
per_frame_14=q24 = is_beat;
|
|
per_frame_15=q26 = bass + mid + treb;
|
|
per_frame_16=
|
|
per_frame_17=k1 = is_beat*equal(index,0);
|
|
per_frame_18=p1 = k1*(p1+1) + (1-k1)*p1;
|
|
per_frame_19=
|
|
per_frame_20=p2 = dec_med * p2+ (1-dec_med)*p1;
|
|
per_frame_21=p3 = dec_med * p3+ (1-dec_med)*p2;
|
|
per_frame_22=rott = p3 * 3.1416/2;
|
|
per_frame_23=q27 = index + 1;
|
|
per_frame_24=
|
|
per_frame_25=movz = movz + .001*30/fps*(1.5+sin(rott));
|
|
per_frame_26=q29 = movz ;
|
|
per_frame_27=
|
|
per_frame_28=
|
|
per_frame_29=movx = movx + .001*30/fps*(1+sin(time/7));
|
|
per_frame_30=q28 = movx;
|
|
per_frame_31=
|
|
per_frame_32=
|
|
per_frame_33=q30 = .5 * (sin(time/19)+1);
|
|
per_frame_34=q31 = 3*(sin(time/23)+2);
|
|
per_frame_35=q32 = sin(time/17)+1;
|
|
per_frame_36=
|
|
per_frame_37=
|
|
per_frame_38=fade = fade * dec_med + .98 * (1-dec_med);
|
|
per_frame_39=q10 = fade;
|
|
per_frame_40=
|
|
per_frame_41=
|
|
per_pixel_1= //rot = q1/10* (rad
|
|
per_pixel_2=warp = .02;
|
|
warp_1=`float3 color, mus;
|
|
warp_2=`float dx,dy;
|
|
warp_3=`
|
|
warp_4=`shader_body {
|
|
warp_5=`float corr = texsize.xy*texsize_noise_lq.zw;
|
|
warp_6=`
|
|
warp_7=`float2 uv1 = (uv-.5);
|
|
warp_8=`float2 uv6 = uv1;
|
|
warp_9=`
|
|
warp_10=`float rota = lum(tex2D (sampler_noise_hq,uv/4))*q31;
|
|
warp_11=`
|
|
warp_12=`uv6 = mul(uv1,float2x2(cos(rota),-sin(rota),sin(rota),cos(rota)));
|
|
warp_13=`uv6 += sin(q32*uv1);
|
|
warp_14=`mus = .2/(sqrt(uv6.x)+.2);
|
|
warp_15=`
|
|
warp_16=`mus *= float3 (1.1,1,.95);
|
|
warp_17=`mus *= .9+.1*tex2D (sampler_noise_hq,uv);
|
|
warp_18=`
|
|
warp_19=`float3 blur = GetBlur1(frac(uv));
|
|
warp_20=`
|
|
warp_21=`float2 hor = float2 (0.005,0);
|
|
warp_22=`float2 ver = float2 (0,.005);
|
|
warp_23=`
|
|
warp_24=`float dx = lum(tex2D(sampler_main,uv+hor)
|
|
warp_25=` - tex2D(sampler_main,uv-hor));
|
|
warp_26=`float dy = lum(tex2D(sampler_main,uv+ver)
|
|
warp_27=` - tex2D(sampler_main,uv-ver));
|
|
warp_28=`
|
|
warp_29=`
|
|
warp_30=`float2 zz = float2 (dx,dy);
|
|
warp_31=`
|
|
warp_32=`float3 crisp= tex2D(sampler_main,uv+zz*.02);
|
|
warp_33=`float3 crisp2 = tex2D(sampler_main,uv);
|
|
warp_34=`crisp += crisp2/2;
|
|
warp_35=`crisp *= .67;
|
|
warp_36=`crisp +=.08 * mus - length(zz)*blur;
|
|
warp_37=`
|
|
warp_38=`float3 ret1 = crisp - lum(blur)*.04;
|
|
warp_39=`ret = ret1 * q10 - .04 ;
|
|
warp_40=`}
|
|
comp_1=`float3 ret1, neu, neu2, glow, sky;
|
|
comp_2=`float2 uv1,uv2,uv3,uv4,uv5,rs,zz;
|
|
comp_3=`float k,m,n,zoom,dist,dist2,inten,mask,dx,dy;
|
|
comp_4=`float2x2 dir;
|
|
comp_5=`int i, anz;
|
|
comp_6=`
|
|
comp_7=`shader_body
|
|
comp_8=`{
|
|
comp_9=`uv -= 0.5;
|
|
comp_10=`uv *= aspect.xy;
|
|
comp_11=`float2 hor = float2 (0.004,0);
|
|
comp_12=`float2 ver = float2 (0,.004);
|
|
comp_13=`
|
|
comp_14=`ret1 = 0; anz = 3;
|
|
comp_15=`float t_rel = q29;
|
|
comp_16=`
|
|
comp_17=`
|
|
comp_18=`for (n=1;n<=anz;n++) {
|
|
comp_19=` m = n-int(t_rel);
|
|
comp_20=`
|
|
comp_21=` dist = 1-frac(n/anz-frac(-t_rel)/anz);
|
|
comp_22=` zoom = 2 ;
|
|
comp_23=` dist2 = dist*dist;
|
|
comp_24=` inten = pow(dist,.3)*(1-dist2);
|
|
comp_25=`
|
|
comp_26=` uv2 =zoom*dist*(uv -.4)-.1; //Blickpunkt vert.
|
|
comp_27=` uv3 = frac(uv2+(m+q28)*float2(.4,1));
|
|
comp_28=`
|
|
comp_29=` dx = lum(GetPixel(uv3+hor)
|
|
comp_30=` - GetPixel(uv3-hor));
|
|
comp_31=` dy = lum(GetPixel(uv3+ver)
|
|
comp_32=` - GetPixel(uv3-ver));
|
|
comp_33=`
|
|
comp_34=` zz = float2 (dx,dy);
|
|
comp_35=` neu = GetPixel (uv3+.5*zz);
|
|
comp_36=` glow = GetBlur1(uv3) * float3 (.5,1,1);
|
|
comp_37=`
|
|
comp_38=` mask = 1-saturate(8*neu);
|
|
comp_39=` ret1 = ret1*mask + (neu+2*glow)*inten;
|
|
comp_40=`//n++;
|
|
comp_41=`}
|
|
comp_42=`
|
|
comp_43=`uv1 = uv + float2(2*frac(.003*time)-.55,.25) - ret1/8;
|
|
comp_44=`float moon = saturate (.01/length(uv1));
|
|
comp_45=`
|
|
comp_46=`
|
|
comp_47=`float mask = saturate(1-2*ret1.r);
|
|
comp_48=`sky = .4*saturate(.4-uv.y) * float3 (.2,0.3,1);
|
|
comp_49=`ret = ret1*float3(0,1,1)+ sky*mask;
|
|
comp_50=`ret = ret + 8*ret*moon;
|
|
comp_51=`
|
|
comp_52=`//ret = GetPixel(uv+.5)*2;
|
|
comp_53=`}
|