460 lines
14 KiB
Plaintext
460 lines
14 KiB
Plaintext
|
MILKDROP_PRESET_VERSION=201
|
||
|
PSVERSION=3
|
||
|
PSVERSION_WARP=3
|
||
|
PSVERSION_COMP=3
|
||
|
[preset00]
|
||
|
fRating=1.000
|
||
|
fGammaAdj=1.210
|
||
|
fDecay=1.000
|
||
|
fVideoEchoZoom=1.000
|
||
|
fVideoEchoAlpha=0.500
|
||
|
nVideoEchoOrientation=0
|
||
|
nWaveMode=0
|
||
|
bAdditiveWaves=0
|
||
|
bWaveDots=0
|
||
|
bWaveThick=1
|
||
|
bModWaveAlphaByVolume=0
|
||
|
bMaximizeWaveColor=0
|
||
|
bTexWrap=0
|
||
|
bDarkenCenter=0
|
||
|
bRedBlueStereo=0
|
||
|
bBrighten=0
|
||
|
bDarken=0
|
||
|
bSolarize=0
|
||
|
bInvert=0
|
||
|
fWaveAlpha=0.004
|
||
|
fWaveScale=0.073
|
||
|
fWaveSmoothing=0.000
|
||
|
fWaveParam=-0.440
|
||
|
fModWaveAlphaStart=1.000
|
||
|
fModWaveAlphaEnd=1.000
|
||
|
fWarpAnimSpeed=0.010
|
||
|
fWarpScale=100.000
|
||
|
fZoomExponent=0.92178
|
||
|
fShader=1.000
|
||
|
zoom=0.99010
|
||
|
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=1.000
|
||
|
wave_g=1.000
|
||
|
wave_b=1.000
|
||
|
wave_x=0.500
|
||
|
wave_y=0.040
|
||
|
ob_size=0.000
|
||
|
ob_r=0.000
|
||
|
ob_g=0.000
|
||
|
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.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=1
|
||
|
wavecode_0_samples=512
|
||
|
wavecode_0_sep=0
|
||
|
wavecode_0_bSpectrum=0
|
||
|
wavecode_0_bUseDots=0
|
||
|
wavecode_0_bDrawThick=1
|
||
|
wavecode_0_bAdditive=1
|
||
|
wavecode_0_scaling=5.58215
|
||
|
wavecode_0_smoothing=0.00000
|
||
|
wavecode_0_r=0.000
|
||
|
wavecode_0_g=0.000
|
||
|
wavecode_0_b=1.000
|
||
|
wavecode_0_a=1.000
|
||
|
wave_0_per_frame1=t1 = q1;
|
||
|
wave_0_per_frame2=t2 = q2;
|
||
|
wave_0_per_frame3=t3 = q3;
|
||
|
wave_0_per_frame4=t4 = q4;
|
||
|
wave_0_per_frame5=t5 = q5;
|
||
|
wave_0_per_frame6=t6 = q6;
|
||
|
wave_0_per_frame7=t7 = q7;
|
||
|
wave_0_per_frame8=t8 = q8;
|
||
|
wave_0_per_point1=sample = 1-sample;
|
||
|
wave_0_per_point2=xxx = xx;
|
||
|
wave_0_per_point3=yyy = yy;
|
||
|
wave_0_per_point4=xx = pow(sample,5)*t1 + 5*pow(sample,4)*(1-sample)*t1 + 10*pow(sample,3)*sqr(1-sample)*t2
|
||
|
wave_0_per_point5=+ 10*sqr(sample)*pow(1-sample,3)*t3 + 5*pow(1-sample,4)*sample*t4 + pow(1-sample,5)*t4;
|
||
|
wave_0_per_point6=
|
||
|
wave_0_per_point7=yy = pow(sample,5)*t5 + 5*pow(sample,4)*(1-sample)*t5 + 10*pow(sample,3)*sqr(1-sample)*t6
|
||
|
wave_0_per_point8=+ 10*sqr(sample)*pow(1-sample,3)*t7 + 5*pow(1-sample,4)*sample*t8 + pow(1-sample,5)*t8;
|
||
|
wave_0_per_point9=
|
||
|
wave_0_per_point10=d = 1/sqrt(sqr(xx-xxx)+sqr(yy-yyy));
|
||
|
wave_0_per_point11=dd = dd*0.95 + (value1);
|
||
|
wave_0_per_point12=ddd = dd*sample*(1-sample)*d;
|
||
|
wave_0_per_point13=ddd = sample*(1-sample)*dd*d*0.1;
|
||
|
wave_0_per_point14=x = xx + (yy-yyy)*ddd;
|
||
|
wave_0_per_point15=y = yy - (xx-xxx)*ddd;
|
||
|
wave_0_per_point16=
|
||
|
wave_0_per_point17=x = 0.5 + (x-0.5)*q9;
|
||
|
wave_0_per_point18=y = 0.5 + (y-0.5)*q10;
|
||
|
wave_0_per_point19=
|
||
|
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=2.44415
|
||
|
wavecode_1_smoothing=0.00000
|
||
|
wavecode_1_r=1.000
|
||
|
wavecode_1_g=1.000
|
||
|
wavecode_1_b=1.000
|
||
|
wavecode_1_a=1.000
|
||
|
wave_1_init1=t2 = 0;
|
||
|
wave_1_init2=t3 = 0;
|
||
|
wave_1_init3=t4 = 0;
|
||
|
wave_1_init4=cl = 0;
|
||
|
wave_1_per_frame1=t8 = 1;
|
||
|
wave_1_per_point1=t8 = -t8;
|
||
|
wave_1_per_point2=y = sample*0.05;
|
||
|
wave_1_per_point3=x = 0.5 + t8*0.005;
|
||
|
wave_1_per_point4=
|
||
|
wave_1_per_point5=pi3 = 3.1415*2*0.3333;
|
||
|
wave_1_per_point6=t = (q4-q6)*10;
|
||
|
wave_1_per_point7=c=2;
|
||
|
wave_1_per_point8=r = sin(t)*c;
|
||
|
wave_1_per_point9=g = sin(t+pi3)*c;
|
||
|
wave_1_per_point10=
|
||
|
wave_1_per_point11=b = sin(t-pi3)*c;
|
||
|
wave_1_per_point12=
|
||
|
wave_1_per_point13=
|
||
|
wave_1_per_point14=r = if(above(r,1),1,r);
|
||
|
wave_1_per_point15=r = if(below(r,0),0,r);
|
||
|
wave_1_per_point16=g = if(above(g,1),1,g);
|
||
|
wave_1_per_point17=g = if(below(g,0),0,g);
|
||
|
wave_1_per_point18=b = if(above(b,1),1,b);
|
||
|
wave_1_per_point19=b = if(below(b,0),0,b);
|
||
|
wave_1_per_point20=
|
||
|
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=100.00000
|
||
|
wavecode_2_smoothing=0.60000
|
||
|
wavecode_2_r=0.000
|
||
|
wavecode_2_g=0.000
|
||
|
wavecode_2_b=1.000
|
||
|
wavecode_2_a=1.000
|
||
|
wave_2_per_frame1=t1 = q1;
|
||
|
wave_2_per_frame2=t2 = q2;
|
||
|
wave_2_per_frame3=t3 = q3;
|
||
|
wave_2_per_frame4=t4 = q4;
|
||
|
wave_2_per_frame5=t5 = q5;
|
||
|
wave_2_per_frame6=t6 = q6;
|
||
|
wave_2_per_frame7=t7 = q7;
|
||
|
wave_2_per_frame8=t8 = q8;
|
||
|
wave_2_per_point1=y = 0.5;
|
||
|
wave_2_per_point2=x = sample;
|
||
|
wavecode_3_enabled=0
|
||
|
wavecode_3_samples=512
|
||
|
wavecode_3_sep=0
|
||
|
wavecode_3_bSpectrum=0
|
||
|
wavecode_3_bUseDots=1
|
||
|
wavecode_3_bDrawThick=0
|
||
|
wavecode_3_bAdditive=0
|
||
|
wavecode_3_scaling=2.44415
|
||
|
wavecode_3_smoothing=0.00000
|
||
|
wavecode_3_r=0.000
|
||
|
wavecode_3_g=0.000
|
||
|
wavecode_3_b=1.000
|
||
|
wavecode_3_a=1.000
|
||
|
wave_3_init1=t2 = 0;
|
||
|
wave_3_init2=t3 = 0;
|
||
|
wave_3_init3=t4 = 0;
|
||
|
wave_3_init4=cl = 0;
|
||
|
wave_3_per_frame1=t8 = 1;
|
||
|
wave_3_per_point1=t8 = -t8;
|
||
|
wave_3_per_point2=y = (1+t8)*0.01;
|
||
|
wave_3_per_point3=x = sample;
|
||
|
shapecode_0_enabled=1
|
||
|
shapecode_0_sides=4
|
||
|
shapecode_0_additive=0
|
||
|
shapecode_0_thickOutline=0
|
||
|
shapecode_0_textured=0
|
||
|
shapecode_0_num_inst=4
|
||
|
shapecode_0_x=0.000
|
||
|
shapecode_0_y=0.500
|
||
|
shapecode_0_rad=1.03630
|
||
|
shapecode_0_ang=0.00000
|
||
|
shapecode_0_tex_ang=0.12566
|
||
|
shapecode_0_tex_zoom=1.51878
|
||
|
shapecode_0_r=0.000
|
||
|
shapecode_0_g=1.000
|
||
|
shapecode_0_b=0.000
|
||
|
shapecode_0_a=0.960
|
||
|
shapecode_0_r2=0.000
|
||
|
shapecode_0_g2=1.000
|
||
|
shapecode_0_b2=0.000
|
||
|
shapecode_0_a2=1.000
|
||
|
shapecode_0_border_r=1.000
|
||
|
shapecode_0_border_g=0.000
|
||
|
shapecode_0_border_b=0.000
|
||
|
shapecode_0_border_a=0.000
|
||
|
shape_0_init1=vx = 0
|
||
|
shape_0_per_frame1=rad = 2;
|
||
|
shape_0_per_frame2=h = sqrt(2);
|
||
|
shape_0_per_frame3=w = 0.004;
|
||
|
shape_0_per_frame4=
|
||
|
shape_0_per_frame5=x = if(1-equal(instance,0),if(1-equal(instance,1),if(1-equal(instance,2),w - h*0.5*q10,1-w + h*0.5*q10),0.5),0.5);
|
||
|
shape_0_per_frame6=y = if(1-equal(instance,0),if(1-equal(instance,1),0.5,w - h*0.5*q9),1-w + h*0.5*q9);
|
||
|
shape_0_per_frame7=g = if(1-equal(instance,0),if(1-equal(instance,1),0,1),1);
|
||
|
shape_0_per_frame8=g2 = g;
|
||
|
shapecode_1_enabled=1
|
||
|
shapecode_1_sides=100
|
||
|
shapecode_1_additive=1
|
||
|
shapecode_1_thickOutline=1
|
||
|
shapecode_1_textured=0
|
||
|
shapecode_1_num_inst=1
|
||
|
shapecode_1_x=0.500
|
||
|
shapecode_1_y=0.750
|
||
|
shapecode_1_rad=0.03184
|
||
|
shapecode_1_ang=0.00000
|
||
|
shapecode_1_tex_ang=0.00000
|
||
|
shapecode_1_tex_zoom=0.73458
|
||
|
shapecode_1_r=0.000
|
||
|
shapecode_1_g=0.000
|
||
|
shapecode_1_b=1.000
|
||
|
shapecode_1_a=0.500
|
||
|
shapecode_1_r2=0.000
|
||
|
shapecode_1_g2=0.000
|
||
|
shapecode_1_b2=0.000
|
||
|
shapecode_1_a2=0.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_init1=vx = 0
|
||
|
shape_1_per_frame1=x = q1;
|
||
|
shape_1_per_frame2=y = q5;
|
||
|
shapecode_2_enabled=1
|
||
|
shapecode_2_sides=100
|
||
|
shapecode_2_additive=1
|
||
|
shapecode_2_thickOutline=0
|
||
|
shapecode_2_textured=0
|
||
|
shapecode_2_num_inst=1
|
||
|
shapecode_2_x=0.500
|
||
|
shapecode_2_y=0.500
|
||
|
shapecode_2_rad=0.05780
|
||
|
shapecode_2_ang=3.20442
|
||
|
shapecode_2_tex_ang=0.00000
|
||
|
shapecode_2_tex_zoom=6.23873
|
||
|
shapecode_2_r=1.000
|
||
|
shapecode_2_g=0.000
|
||
|
shapecode_2_b=0.000
|
||
|
shapecode_2_a=1.000
|
||
|
shapecode_2_r2=1.000
|
||
|
shapecode_2_g2=0.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
|
||
|
shapecode_3_enabled=0
|
||
|
shapecode_3_sides=100
|
||
|
shapecode_3_additive=1
|
||
|
shapecode_3_thickOutline=1
|
||
|
shapecode_3_textured=0
|
||
|
shapecode_3_num_inst=1
|
||
|
shapecode_3_x=0.500
|
||
|
shapecode_3_y=0.750
|
||
|
shapecode_3_rad=0.07059
|
||
|
shapecode_3_ang=0.00000
|
||
|
shapecode_3_tex_ang=0.00000
|
||
|
shapecode_3_tex_zoom=0.73458
|
||
|
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=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_init1=vx = 0
|
||
|
shape_3_per_frame1=x = q1;
|
||
|
shape_3_per_frame2=y = q5;
|
||
|
per_frame_init_1=x1 = 0.9;
|
||
|
per_frame_init_2=y1 = 0.5;
|
||
|
per_frame_init_3=
|
||
|
per_frame_init_4=x2 = 0.5; y2 = 0.5;
|
||
|
per_frame_init_5=x3 = 0.5; y3 = 0.5;
|
||
|
per_frame_init_6=x4 = 0.5; y4 = 0.5;
|
||
|
per_frame_1=zoom = 1;
|
||
|
per_frame_2=warp = 0;
|
||
|
per_frame_3=wave_a = 0;
|
||
|
per_frame_4=
|
||
|
per_frame_5=// elastic thread code
|
||
|
per_frame_6=
|
||
|
per_frame_7=xx1 = xx1*0.9 + (bass)*0.01;
|
||
|
per_frame_8=xx2 = xx2*0.9 + (treb)*0.01;
|
||
|
per_frame_9=yy1 = yy1*0.94 + (treb+bass)*0.0075;
|
||
|
per_frame_10=x1 = 0.5 + (xx1-xx2)*2;
|
||
|
per_frame_11=y1 = 0.4 + yy1*1.5;
|
||
|
per_frame_12=dt = 0.03/fps;
|
||
|
per_frame_13=vx2 = vx2*(1-2*dt) + dt*((x1+x3-2*x2)*10);
|
||
|
per_frame_14=vy2 = vy2*(1-2*dt) + dt*((y1+y3-2*y2)*10-0.5);
|
||
|
per_frame_15=vx3 = vx3*(1-2*dt) + dt*((x2+x4-2*x3)*10);
|
||
|
per_frame_16=vy3 = vy3*(1-2*dt) + dt*((y2+y4-2*y3)*10-0.5);
|
||
|
per_frame_17=vx4 = vx4*(1-2*dt) + dt*((x3-x4)*10);
|
||
|
per_frame_18=vy4 = vy4*(1-2*dt) + dt*((y3-y4)*10-0.5);
|
||
|
per_frame_19=x2 = x2 + vx2; y2 = y2 + vy2;
|
||
|
per_frame_20=x3 = x3 + vx3; y3 = y3 + vy3;
|
||
|
per_frame_21=x4 = x4 + vx4; y4 = y4 + vy4;
|
||
|
per_frame_22=vx2 = if(above(x2,0),vx2,abs(vx2)*0.5);
|
||
|
per_frame_23=vx2 = if(below(x2,1),vx2,-abs(vx2)*0.5);
|
||
|
per_frame_24=vx3 = if(above(x3,0),vx3,abs(vx3)*0.5);
|
||
|
per_frame_25=vx3 = if(below(x3,1),vx3,-abs(vx3)*0.5);
|
||
|
per_frame_26=vx4 = if(above(x4,0),vx4,abs(vx4)*0.5);
|
||
|
per_frame_27=vx4 = if(below(x4,1),vx4,-abs(vx4)*0.5);
|
||
|
per_frame_28=vy2 = if(above(y2,0),vy2,abs(vy2)*0.5);
|
||
|
per_frame_29=vy2 = if(below(y2,1),vy2,-abs(vy2)*0.5);
|
||
|
per_frame_30=vy3 = if(above(y3,0),vy3,abs(vy3)*0.5);
|
||
|
per_frame_31=vy3 = if(below(y3,1),vy3,-abs(vy3)*0.5);
|
||
|
per_frame_32=vy4 = if(above(y4,0),vy4,abs(vy4)*0.5);
|
||
|
per_frame_33=vy4 = if(below(y4,1),vy4,-abs(vy4)*0.5);
|
||
|
per_frame_34=q1 = x1;q2 = x2;q3 = x3;q4 = x4;
|
||
|
per_frame_35=q5 = y1;q6 = y2;q7 = y3;q8 = y4;
|
||
|
per_frame_36=q9 = 1/aspectx;
|
||
|
per_frame_37=q10 = 1/aspecty;
|
||
|
per_frame_38=q11 = aspectx;
|
||
|
per_frame_39=q12 = aspecty;
|
||
|
per_frame_40=
|
||
|
per_frame_41=// fractal swimmer code
|
||
|
per_frame_42=
|
||
|
per_frame_43=q19 = cos(-(fy1-fy2)*(1+(70/fps-1)*2) - fy1*0.8);
|
||
|
per_frame_44=q20 = sin(-(fy1-fy2)*(1+(70/fps-1)*2) - fy1*0.8);
|
||
|
per_frame_45=q21 = sin(w1 - (-(fy1-fy2)*(1+(70/fps-1)*2) - fy1*0.8)*5)*0.042;
|
||
|
per_frame_46=q22 = cos(w1 - (-(fy1-fy2)*(1+(70/fps-1)*2) - fy1*0.8)*5)*0.042;
|
||
|
per_frame_47=q23 = cos(asin(1)*0.5);
|
||
|
per_frame_48=q24 = sin(asin(1)*0.5);
|
||
|
per_frame_49=q25 = cos(-(w1 - (-(fy1-fy2)*(1+(70/fps-1)*2) - fy1*0.8)*5) + asin(1))*0.08*aspectx;
|
||
|
per_frame_50=q26 = sin(-(w1 - (-(fy1-fy2)*(1+(70/fps-1)*2) - fy1*0.8)*5) + asin(1))*0.08*aspecty;
|
||
|
per_frame_51=q27 = cos(-asin(1)*0.5);
|
||
|
per_frame_52=q28 = sin(-asin(1)*0.5);
|
||
|
per_frame_53=q29 = cos(-(w1 - (-(fy1-fy2)*(1+(70/fps-1)*2) - fy1*0.8)*5) + asin(1))*0.08*aspectx;
|
||
|
per_frame_54=q30 = sin(-(w1 - (-(fy1-fy2)*(1+(70/fps-1)*2) - fy1*0.8)*5) + asin(1))*0.08*aspecty;
|
||
|
per_frame_55=
|
||
|
per_frame_56=bb = bb*0.97 + bass*0.04;
|
||
|
per_frame_57=tt = tt*0.97 + treb*0.04;
|
||
|
per_frame_58=w1 = w1 + ww1*sqrt(vx*vx+vy*vy)*asin(1)*0.5;
|
||
|
per_frame_59=ww1 = ww1*0.94 + fy1*0.1;
|
||
|
per_frame_60=fy1 = fy1 + v1*0.1;
|
||
|
per_frame_61=fy2 = fy2 + v2*0.2;
|
||
|
per_frame_62=v1 = v1*0.95 - (fy1-(bb-tt)*0.2)*0.1;
|
||
|
per_frame_63=v2 = v2*0.99 - (fy2-fy1)*0.2;
|
||
|
per_frame_64=x = x + vx*0.25;
|
||
|
per_frame_65=y = y + vy*0.25;
|
||
|
per_frame_66=vx = vx*0.97 +sin((w1 - (-(fy1-fy2)*(1+(70/fps-1)*2) - fy1*0.8)*5))*abs(fy2-fy1)*2.2/fps;
|
||
|
per_frame_67=vy = vy*0.97 -cos((w1 - (-(fy1-fy2)*(1+(70/fps-1)*2) - fy1*0.8)*5))*abs(fy2-fy1)*2.2/fps;
|
||
|
per_frame_68=
|
||
|
per_frame_69=q31 = x*0.5;
|
||
|
per_frame_70=q32 = y*0.5;
|
||
|
per_frame_71=monitor = vy;
|
||
|
per_pixel_1=x = 0.5 + (x-0.5)*q11;
|
||
|
per_pixel_2=y = 0.5 + (y-0.5)*q12;
|
||
|
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=dx = (v*(sin(y-yy)*(d-r)-(x-xx)*(d-r/2)))*(1.00-sigmoid(d-r,100));
|
||
|
per_pixel_13=dy = (-v*(sin(x-xx)*(d-r)+(y-yy)*(d-r/2)))*(1.00-sigmoid(d-r,100));
|
||
|
warp_1=`float2 factorA, factorB, product;
|
||
|
warp_2=`shader_body
|
||
|
warp_3=`{
|
||
|
warp_4=`factorA = (uv_orig-0.5)*aspect.xy;
|
||
|
warp_5=`factorB = float2(q19,q20);
|
||
|
warp_6=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x);
|
||
|
warp_7=`float2 uv1 = 0.5 + product*aspect.zw*1.12 + float2(q21,q22)*aspect.zw; // main arm of the fern
|
||
|
warp_8=`factorB = float2(q23,q24);
|
||
|
warp_9=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x);
|
||
|
warp_10=`float2 uv2 = 0.5 + product*aspect.zw*3.3 + float2(q25,q26); // the fractals left arm
|
||
|
warp_11=`factorB = float2(q27,q28);
|
||
|
warp_12=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x);
|
||
|
warp_13=`float2 uv3 = 0.5 + product*aspect.zw*3.3 + float2(q29,q30); // the right arm
|
||
|
warp_14=`ret.x = max(GetPixel(saturate(uv1)).x, max(GetPixel(saturate(uv2)).x, GetPixel(saturate(uv3)).x)) - 0.015; // composition of the fractal
|
||
|
warp_15=`ret.y = tex2D( sampler_fc_main, uv ).y;
|
||
|
warp_16=`}
|
||
|
comp_1=`float2 d, uv_light1;
|
||
|
comp_2=`float3 dx, dy, c1, c2, c3, c4, light1_dy;
|
||
|
comp_3=`shader_body
|
||
|
comp_4=`{
|
||
|
comp_5=`float2 uv_swimmer = frac(0.5 + (uv-0.5)+float2(q31,q32)*float2(-1,1));
|
||
|
comp_6=`d = texsize.zw*4;
|
||
|
comp_7=`dx = ( GetBlur1(uv_swimmer + float2(1,0)*d) - GetBlur1(uv_swimmer-float2(1,0)*d) );
|
||
|
comp_8=`dy = ( GetBlur1(uv_swimmer + float2(0,1)*d) - GetBlur1(uv_swimmer-float2(0,1)*d) );
|
||
|
comp_9=`
|
||
|
comp_10=`// ***** Martin's ripples on water surface code, parameterized by Flexi *****
|
||
|
comp_11=`
|
||
|
comp_12=`float h = 1.1;
|
||
|
comp_13=`float cut_off = 0.0;
|
||
|
comp_14=`float2 t = float2(0.1,-0.05)*time*0.25;
|
||
|
comp_15=`float strength = 0.025;
|
||
|
comp_16=`
|
||
|
comp_17=`
|
||
|
comp_18=`float2 c = uv_orig-float2(0.5,1-h);
|
||
|
comp_19=`float z = 3/c.y;
|
||
|
comp_20=`float2 uv_water = float2(c.x*z*h,z*h)*0.05+t;
|
||
|
comp_21=`int mask = (c.y>0);
|
||
|
comp_22=`uv_water = (tex2D(sampler_noise_hq,uv_water)-0.5)*mask;
|
||
|
comp_23=`uv =saturate(uv-uv_water.xy*strength);
|
||
|
comp_24=`
|
||
|
comp_25=`// ***** :)
|
||
|
comp_26=`
|
||
|
comp_27=`float2 uv_x = uv -float2(dx.x,dy.x)*0.2;
|
||
|
comp_28=`
|
||
|
comp_29=`dx = ( GetBlur1(uv_x + float2(1,0)*d) - GetBlur1(uv_x-float2(1,0)*d) );
|
||
|
comp_30=`dy = ( GetBlur1(uv_x + float2(0,1)*d) - GetBlur1(uv_x-float2(0,1)*d) );
|
||
|
comp_31=`uv_light1 = float2(q4,1-q8);
|
||
|
comp_32=`light1_dy = 1.04- pow(length( uv_x - float2(dx.y,dy.y)*2 - uv_light1)*0.5,0.25);
|
||
|
comp_33=`
|
||
|
comp_34=`c1 = float3(0.5,0,0.2);
|
||
|
comp_35=`c2 = float3(0,0,0.2);
|
||
|
comp_36=`c3 = float3(0.1,0.1,0.5);
|
||
|
comp_37=`c4 = float3(1,0.5,0);
|
||
|
comp_38=`ret = lerp(lerp( c1, c2, uv_x.x+uv_x.y*0.5-0.1),lerp( c3, c4, 0.7-uv_x.y+uv_x.x*0.5),1-GetPixel(uv_x-float2(dx.y,dy.y)*texsize.zw*12).y);
|
||
|
comp_39=`ret = lerp(ret,2,GetPixel(uv_swimmer).x*0.4);
|
||
|
comp_40=`
|
||
|
comp_41=`ret *= light1_dy*2 + 0.4;
|
||
|
comp_42=`ret = lerp(ret,1, abs(GetBlur3(uv).y-GetBlur1(uv).y)*0.5 + GetBlur1(uv+float2(dx.y,dy.y)*0.16).z*2);
|
||
|
comp_43=`ret = lerp(ret,1,GetPixel(uv).z);
|
||
|
comp_44=`
|
||
|
comp_45=`
|
||
|
comp_46=`}
|