mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-04 21:17:55 +01:00
341 lines
10 KiB
Plaintext
341 lines
10 KiB
Plaintext
MILKDROP_PRESET_VERSION=201
|
|
PSVERSION=2
|
|
PSVERSION_WARP=2
|
|
PSVERSION_COMP=2
|
|
[preset00]
|
|
fRating=5.000000
|
|
fGammaAdj=1.000
|
|
fDecay=0.500
|
|
fVideoEchoZoom=1.000
|
|
fVideoEchoAlpha=0.000
|
|
nVideoEchoOrientation=3
|
|
nWaveMode=0
|
|
bAdditiveWaves=0
|
|
bWaveDots=0
|
|
bWaveThick=1
|
|
bModWaveAlphaByVolume=1
|
|
bMaximizeWaveColor=1
|
|
bTexWrap=1
|
|
bDarkenCenter=0
|
|
bRedBlueStereo=0
|
|
bBrighten=0
|
|
bDarken=0
|
|
bSolarize=0
|
|
bInvert=0
|
|
fWaveAlpha=0.009
|
|
fWaveScale=2.136
|
|
fWaveSmoothing=0.900
|
|
fWaveParam=0.000
|
|
fModWaveAlphaStart=1.600
|
|
fModWaveAlphaEnd=1.600
|
|
fWarpAnimSpeed=9.861
|
|
fWarpScale=16.217
|
|
fZoomExponent=1.50374
|
|
fShader=0.000
|
|
zoom=1.00000
|
|
rot=0.00000
|
|
cx=0.500
|
|
cy=0.500
|
|
dx=0.00000
|
|
dy=0.00000
|
|
warp=1.00000
|
|
sx=1.00000
|
|
sy=1.00000
|
|
wave_r=0.000
|
|
wave_g=0.040
|
|
wave_b=0.000
|
|
wave_x=0.500
|
|
wave_y=0.500
|
|
ob_size=0.000
|
|
ob_r=1.000
|
|
ob_g=0.100
|
|
ob_b=0.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.850
|
|
mv_r=0.500
|
|
mv_g=0.500
|
|
mv_b=0.500
|
|
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=1
|
|
wavecode_0_bAdditive=0
|
|
wavecode_0_scaling=2.02310
|
|
wavecode_0_smoothing=0.00000
|
|
wavecode_0_r=0.000
|
|
wavecode_0_g=1.000
|
|
wavecode_0_b=0.000
|
|
wavecode_0_a=1.000
|
|
wave_0_init1=t2 = 0;
|
|
wave_0_init2=t3 = 0;
|
|
wave_0_init3=t4 = 0;
|
|
wave_0_init4=cl = 0;
|
|
wave_0_per_point1=tt3 = tt3*0.6 + (value1)*1;
|
|
wave_0_per_point2=tt2 = tt2*0.7 + tt3*0.2;
|
|
wave_0_per_point3=tt1 = tt1*0.8 + tt2*0.1;
|
|
wave_0_per_point4=d = d*0.9 + tt1*0.2;
|
|
wave_0_per_point5=
|
|
wave_0_per_point6=y = 0.5 + d*sample*(1-sample);
|
|
wave_0_per_point7=x = -0.05 + sample*1.1;
|
|
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=1.00000
|
|
wavecode_1_smoothing=0.50000
|
|
wavecode_1_r=1.000
|
|
wavecode_1_g=1.000
|
|
wavecode_1_b=1.000
|
|
wavecode_1_a=1.000
|
|
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=1
|
|
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.99596
|
|
shapecode_0_ang=0.00000
|
|
shapecode_0_tex_ang=0.00000
|
|
shapecode_0_tex_zoom=1.00000
|
|
shapecode_0_r=1.000
|
|
shapecode_0_g=0.000
|
|
shapecode_0_b=0.000
|
|
shapecode_0_a=1.000
|
|
shapecode_0_r2=0.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
|
|
shapecode_1_enabled=0
|
|
shapecode_1_sides=5
|
|
shapecode_1_additive=0
|
|
shapecode_1_thickOutline=0
|
|
shapecode_1_textured=1
|
|
shapecode_1_num_inst=1
|
|
shapecode_1_x=0.500
|
|
shapecode_1_y=0.500
|
|
shapecode_1_rad=0.98600
|
|
shapecode_1_ang=0.00000
|
|
shapecode_1_tex_ang=3.14159
|
|
shapecode_1_tex_zoom=0.99979
|
|
shapecode_1_r=1.000
|
|
shapecode_1_g=1.000
|
|
shapecode_1_b=1.000
|
|
shapecode_1_a=1.000
|
|
shapecode_1_r2=1.000
|
|
shapecode_1_g2=1.000
|
|
shapecode_1_b2=1.000
|
|
shapecode_1_a2=1.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_per_frame1=ang =sin(time/65) ;// ang + (bass*.2) + (time*.4);
|
|
shapecode_2_enabled=0
|
|
shapecode_2_sides=100
|
|
shapecode_2_additive=0
|
|
shapecode_2_thickOutline=0
|
|
shapecode_2_textured=1
|
|
shapecode_2_num_inst=1
|
|
shapecode_2_x=0.900
|
|
shapecode_2_y=0.500
|
|
shapecode_2_rad=0.10000
|
|
shapecode_2_ang=0.00000
|
|
shapecode_2_tex_ang=0.00000
|
|
shapecode_2_tex_zoom=1.00000
|
|
shapecode_2_r=1.000
|
|
shapecode_2_g=1.000
|
|
shapecode_2_b=1.000
|
|
shapecode_2_a=1.000
|
|
shapecode_2_r2=1.000
|
|
shapecode_2_g2=1.000
|
|
shapecode_2_b2=1.000
|
|
shapecode_2_a2=1.000
|
|
shapecode_2_border_r=1.000
|
|
shapecode_2_border_g=1.000
|
|
shapecode_2_border_b=1.000
|
|
shapecode_2_border_a=0.100
|
|
shape_2_per_frame1=x = sin(time) * .4 + .5;
|
|
shape_2_per_frame2=
|
|
shape_2_per_frame3=
|
|
shape_2_per_frame4=pow( (bass*.15),2);
|
|
shapecode_3_enabled=0
|
|
shapecode_3_sides=36
|
|
shapecode_3_additive=1
|
|
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.81623
|
|
shapecode_3_ang=0.00000
|
|
shapecode_3_tex_ang=0.00000
|
|
shapecode_3_tex_zoom=1.00000
|
|
shapecode_3_r=0.000
|
|
shapecode_3_g=0.040
|
|
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_per_frame1=x = 1-q1;
|
|
shape_3_per_frame2=y = q2;
|
|
shape_3_per_frame3=x = 0.5 + (x - 0.5)*0.25;
|
|
shape_3_per_frame4=y = 0.5 + (y - 0.5)*0.25;
|
|
per_frame_1=warp = 0;
|
|
per_frame_2=volume = 0.3*(bass+mid+att);
|
|
per_frame_3=xamptarg = if(equal(frame%15,0),min(0.25*volume*bass_att,0.5),xamptarg);
|
|
per_frame_4=xamp = xamp + 0.5*(xamptarg-xamp);
|
|
per_frame_5=xdir = if(above(abs(xpos),xamp),-sign(xpos),if(below(abs(xspeed),0.1),2*above(xpos,0)-1,xdir));
|
|
per_frame_6=xspeed = xspeed + xdir*xamp - xpos - xspeed*0.055*below(abs(xpos),xamp);
|
|
per_frame_7=xpos = xpos + 0.001*xspeed;
|
|
per_frame_8=yamptarg = if(equal(frame%15,0),min(0.15*volume*treb_att,0.5),yamptarg);
|
|
per_frame_9=yamp = yamp + 0.5*(yamptarg-yamp);
|
|
per_frame_10=ydir = if(above(abs(ypos),yamp),-sign(ypos),if(below(abs(yspeed),0.1),2*above(ypos,0)-1,ydir));
|
|
per_frame_11=yspeed = yspeed + ydir*yamp - ypos - yspeed*0.055*below(abs(ypos),yamp);
|
|
per_frame_12=ypos = ypos + 0.001*yspeed;
|
|
per_frame_13=beatrate = equal(beatrate,0) + (1-equal(beatrate,0))*(below(volume,0.01) + (1-below(volume,0.01))*beatrate);
|
|
per_frame_14=lastbeat = lastbeat + equal(lastbeat,0)*time;
|
|
per_frame_15=meanbass_att = 0.1*(meanbass_att*9 + bass_att);
|
|
per_frame_16=peakbass_att = max(bass_att,peakbass_att);
|
|
per_frame_17=beat = above(volume,0.8)*below(peakbass_att - bass_att, 0.05*peakbass_att)*above(time - lastbeat, 0.1 + 0.5*(beatrate - 0.1));
|
|
per_frame_18=beatrate = max(if(beat,if(below(time-lastbeat,2*beatrate),0.1*(beatrate*9 + time - lastbeat),beatrate),beatrate),0.1);
|
|
per_frame_19=peakbass_att = beat*bass_att + (1-beat)*peakbass_att*(above(time - lastbeat, 2*beatrate)*0.95 + (1-above(time - lastbeat, 2*beatrate))*0.995);
|
|
per_frame_20=lastbeat = beat*time + (1-beat)*lastbeat;
|
|
per_frame_21=peakbass_att = max(peakbass_att,1.1*meanbass_att);
|
|
per_frame_22=//wave_x = xpos + 0.5;
|
|
per_frame_23=//wave_y = 1-(ypos + 0.5);
|
|
per_frame_24=wave_r = 0.5 + 0.499*( 0.60*sin(0.980*time) + 0.40*sin(1.047*time) );
|
|
per_frame_25=wave_g = 0.5 + 0.499*( 0.60*sin(0.835*time) + 0.40*sin(1.081*time) );
|
|
per_frame_26=wave_b = 0.5 + 0.499*( 0.60*sin(0.814*time) + 0.40*sin(1.011*time) );
|
|
per_frame_27=wave_mystery = -0.17 + 0.03*(0.6*sin(0.637*time) + 0.4*sin(0.949*time));
|
|
per_frame_28=mv_r = if(beat, 1, ib_r);
|
|
per_frame_29=mv_b = if(beat, wave_b, ib_b);
|
|
per_frame_30=//mv_a = if(beat, 0.1, ib_a);
|
|
per_frame_31=//ib_a = 0.015;
|
|
per_frame_32=q3 = wave_mystery;
|
|
per_frame_33=q1 = wave_x;
|
|
per_frame_34=q2 = 1-wave_y;
|
|
per_frame_35=q2 = ypos+0.5;
|
|
per_frame_36=warp=0;
|
|
per_frame_37=
|
|
per_frame_38=//q2 = 1-(ypos + 0.5);
|
|
per_frame_39=//q1 = 0.5;
|
|
per_frame_40=//q2=0.5;
|
|
per_frame_41=ob_r = 1-wave_g;
|
|
per_frame_42=ob_b = 1-wave_r;
|
|
per_frame_43=ob_g = 1-wave_b;
|
|
per_frame_44=
|
|
per_frame_45=monitor = wave_y;
|
|
per_frame_46=movement =movement + 0.4*(((bass+bass_att + 0.1*pow((bass+0.6*bass_att+0.2*treb_att),3)))/fps);
|
|
per_frame_47=movement = if(above(movement,10000), 0, movement);
|
|
per_frame_48=rot =1*sin(movement);
|
|
per_frame_49=cx = wave_x;
|
|
per_frame_50=cy = y_pos+0.5;
|
|
per_frame_51=
|
|
per_frame_52=q8 = movement;
|
|
per_pixel_1=myy = x-q1;
|
|
per_pixel_2=myx = y-q2+0.1;
|
|
per_pixel_3=dx = 3*sin(q8*0.675)*(2*myx*myy);
|
|
per_pixel_4=dy = 3*sin(q8*0.675)*((myx*myx) - (myy*myy));
|
|
warp_1=`shader_body
|
|
warp_2=`{
|
|
warp_3=`float2 uv_m = 1.0 - abs( frac( uv * 0.5 ) * 2.0 - 1.0 ); // Eo.S' mirror code
|
|
warp_4=`ret.x = tex2D( sampler_fc_main, uv_m ).z; // first julia fractal iteration
|
|
warp_5=`ret.y = lerp(lerp(tex2D( sampler_fc_main, uv_m ).x, ret.x,0.5),
|
|
warp_6=` GetPixel(uv_orig).y,
|
|
warp_7=` 0.75); // 75% of motion blur to the green channel
|
|
warp_8=`
|
|
warp_9=`
|
|
warp_10=`float2 d = texsize.zw*6;
|
|
warp_11=`float2 uv_z = (uv_orig-0.5)*0.998 + 0.5; // a small dose of zoom-in
|
|
warp_12=`float3 dx = ( GetBlur1(uv_z + float2(1,0)*d) - GetBlur1(uv_z-float2(1,0)*d) );
|
|
warp_13=`float3 dy = ( GetBlur1(uv_z + float2(0,1)*d) - GetBlur1(uv_z-float2(0,1)*d) );
|
|
warp_14=`uv_z -=float2(dx.z,dy.z)*texsize.zw*2; //shortening of the nebulous matter
|
|
warp_15=`ret.z = max((tex2d(sampler_fc_main,uv_m).x-0.5)*3*saturate(1-length(uv_orig-0.5)*3.2), // feeded by the inner of the red channel
|
|
warp_16=` tex2d(sampler_fc_main,uv_z).z);
|
|
warp_17=`ret.z += (tex2d(sampler_fc_main,uv_z).z - GetBlur1(saturate(uv_z)).z)*0.02; // sort of geiss' skin dot code
|
|
warp_18=`}
|
|
comp_1=`shader_body
|
|
comp_2=`{
|
|
comp_3=` float2 uv2;
|
|
comp_4=`
|
|
comp_5=` float4 c = float4(1,0.4,0.15,0.1);
|
|
comp_6=`
|
|
comp_7=` uv2 = uv + float2(1,0)*texsize.zw;
|
|
comp_8=` float gx1 = GetPixel(uv2)*c.x + GetBlur1(uv2)*c.y + GetBlur2(uv2)*c.z + GetBlur3(uv2)*c.w;
|
|
comp_9=` uv2 = uv + float2(-1,0)*texsize.zw;
|
|
comp_10=` float gx2 = GetPixel(uv2)*c.x + GetBlur1(uv2)*c.y + GetBlur2(uv2)*c.z + GetBlur3(uv2)*c.w;
|
|
comp_11=`
|
|
comp_12=` uv2 = uv + float2(0,1)*texsize.zw;
|
|
comp_13=` float gy1 = GetPixel(uv2)*c.x + GetBlur1(uv2)*c.y + GetBlur2(uv2)*c.z + GetBlur3(uv2)*c.w;
|
|
comp_14=` uv2 = uv + float2(0,-1)*texsize.zw;
|
|
comp_15=` float gy2 = GetPixel(uv2)*c.x + GetBlur1(uv2)*c.y + GetBlur2(uv2)*c.z + GetBlur3(uv2)*c.w;
|
|
comp_16=`
|
|
comp_17=` float3 g = normalize(float3(gx1-gx2, gy1-gy2, 0.14));
|
|
comp_18=`
|
|
comp_19=` ret = 0.5 + 0.5*g;
|
|
comp_20=` ret *= saturate(length(ret.xy-0.5)*5);
|
|
comp_21=` ret = ret.xxy;
|
|
comp_22=`
|
|
comp_23=` //ret *= 1.5; //old gamma effect
|
|
comp_24=`}
|