426 lines
16 KiB
Plaintext
426 lines
16 KiB
Plaintext
MILKDROP_PRESET_VERSION=201
|
|
PSVERSION=2
|
|
PSVERSION_WARP=2
|
|
PSVERSION_COMP=2
|
|
[preset00]
|
|
fRating=3.000000
|
|
fGammaAdj=1.000
|
|
fDecay=1.000
|
|
fVideoEchoZoom=2.000
|
|
fVideoEchoAlpha=0.000
|
|
nVideoEchoOrientation=0
|
|
nWaveMode=0
|
|
bAdditiveWaves=1
|
|
bWaveDots=0
|
|
bWaveThick=1
|
|
bModWaveAlphaByVolume=0
|
|
bMaximizeWaveColor=0
|
|
bTexWrap=1
|
|
bDarkenCenter=0
|
|
bRedBlueStereo=0
|
|
bBrighten=0
|
|
bDarken=0
|
|
bSolarize=0
|
|
bInvert=0
|
|
fWaveAlpha=0.001
|
|
fWaveScale=0.545
|
|
fWaveSmoothing=0.000
|
|
fWaveParam=0.000
|
|
fModWaveAlphaStart=1.100
|
|
fModWaveAlphaEnd=1.100
|
|
fWarpAnimSpeed=1.000
|
|
fWarpScale=1.000
|
|
fZoomExponent=3.04777
|
|
fShader=0.000
|
|
zoom=1.01730
|
|
rot=0.00000
|
|
cx=0.500
|
|
cy=0.500
|
|
dx=0.00000
|
|
dy=0.00000
|
|
warp=0.01605
|
|
sx=1.00000
|
|
sy=1.00000
|
|
wave_r=0.000
|
|
wave_g=0.000
|
|
wave_b=1.000
|
|
wave_x=0.500
|
|
wave_y=0.500
|
|
ob_size=0.000
|
|
ob_r=0.000
|
|
ob_g=0.000
|
|
ob_b=0.000
|
|
ob_a=1.000
|
|
ib_size=0.010
|
|
ib_r=0.250
|
|
ib_g=0.250
|
|
ib_b=0.250
|
|
ib_a=0.000
|
|
nMotionVectorsX=64.000
|
|
nMotionVectorsY=48.000
|
|
mv_dx=0.000
|
|
mv_dy=0.000
|
|
mv_l=1.000
|
|
mv_r=1.000
|
|
mv_g=1.000
|
|
mv_b=0.900
|
|
mv_a=0.000
|
|
b1n=0.000
|
|
b2n=0.000
|
|
b3n=0.000
|
|
b1x=1.000
|
|
b2x=1.000
|
|
b3x=1.000
|
|
b1ed=0.000
|
|
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=1.00000
|
|
wavecode_0_smoothing=0.50000
|
|
wavecode_0_r=0.000
|
|
wavecode_0_g=1.000
|
|
wavecode_0_b=1.000
|
|
wavecode_0_a=1.000
|
|
wave_0_per_point1=it = (it + 1)*above(sample,0)*below(it,53);
|
|
wave_0_per_point2=ita = (ita + equal(it,0))*above(sample,0);
|
|
wave_0_per_point3=
|
|
wave_0_per_point4=sw = 1-equal(it,0)*equal(ita,0);
|
|
wave_0_per_point5=swi = (equal(lr,9) + equal(lr,5))*equal(it,0)*equal(ita,4);
|
|
wave_0_per_point6=xv = if(sw - swi,xv,rand(1001)*.001*.8);
|
|
wave_0_per_point7=mx = xv + ita*.025;
|
|
wave_0_per_point8=my = if(sw - swi,my,rand(1001)*.001*.975);
|
|
wave_0_per_point9=
|
|
wave_0_per_point10=sz = .01;
|
|
wave_0_per_point11=vx = above(it,1)*below(it,39) + above(it,12)*below(it,28) - equal(it,20) + equal(it,46) + equal(it,51) + equal(it,41) - equal(it,15) - equal(it,25) + equal(it,10) + equal(it,30) - equal(it,4) - equal(it,36);
|
|
wave_0_per_point12=vy = above(it,17)*below(it,49) + above(it,22)*below(it,44) - equal(it,33) + equal(it,7) + equal(it,51) + equal(it,15) - equal(it,41) - equal(it,25) + equal(it,4) + equal(it,10) - equal(it,36) - equal(it,30);
|
|
wave_0_per_point13=
|
|
wave_0_per_point14=se = equal(ita,0)*3 + equal(ita,1)*8 + equal(ita,2)*1 + equal(ita,3)*15 + equal(ita,4)*19;
|
|
wave_0_per_point15=sf = equal(ita,0)*16 + equal(ita,1)*12 + equal(ita,2)*1 + equal(ita,3)*25;
|
|
wave_0_per_point16=sc = equal(ita,0)*13 + equal(ita,1)*1 + equal(ita,2)*7 + equal(ita,3)*9 + equal(ita,4)*3;
|
|
wave_0_per_point17=sd = equal(ita,0)*18 + equal(ita,1)*5 + equal(ita,2)*13 + equal(ita,3)*9 + equal(ita,4)*24;
|
|
wave_0_per_point18=sb = equal(ita,0)*19 + equal(ita,1)*8 + equal(ita,2)*1 + equal(ita,3)*4 + equal(ita,4)*5;
|
|
wave_0_per_point19=sj = equal(ita,0)*6 + equal(ita,1)*21 + equal(ita,2)*14;
|
|
wave_0_per_point20=sg = equal(ita,0)*5 + equal(ita,1)*20 + equal(ita,2)*8 + equal(ita,3)*5 + equal(ita,4)*18 + equal(ita,5)*5
|
|
wave_0_per_point21= + equal(ita,6)*1 + equal(ita,7)*12;
|
|
wave_0_per_point22=sh = equal(ita,0)*13 + equal(ita,1)*9 + equal(ita,2)*14 + equal(ita,3)*4 + equal(ita,4)*6 + equal(ita,5)*21
|
|
wave_0_per_point23= + equal(ita,6)*3 + equal(ita,7)*11;
|
|
wave_0_per_point24=si = equal(ita,0)*6 + equal(ita,1)*14 + equal(ita,2)*15 + equal(ita,3)*18 + equal(ita,4)*4;
|
|
wave_0_per_point25=sa = equal(ita,0)*2 + equal(ita,1)*12 + equal(ita,2)*5 + equal(ita,3)*14 + equal(ita,4)*4
|
|
wave_0_per_point26= + equal(ita,5)*5 + equal(ita,6)*4;
|
|
wave_0_per_point27=
|
|
wave_0_per_point28=lr = if(sw,lr,rand(10));
|
|
wave_0_per_point29=let = equal(lr,0)*sa + equal(lr,1)*sb + equal(lr,2)*sc + equal(lr,3)*sd + equal(lr,4)*se + equal(lr,5)*sf + equal(lr,6)*sg + equal(lr,7)*sh + equal(lr,8)*si + equal(lr,9)*sj;
|
|
wave_0_per_point30=
|
|
wave_0_per_point31=va = equal(let,23) + equal(let,24) + equal(let,26);
|
|
wave_0_per_point32=vb = above(let,0)*below(let,9) + above(let,10)*below(let,19) + equal(let,21) + equal(let,23);
|
|
wave_0_per_point33=vc = equal(let,1) + equal(let,2) + equal(let,5) + equal(let,6) + equal(let,8) + equal(let,11) + equal(let,16) + equal(let,18) + equal(let,19);
|
|
wave_0_per_point34=vd = above(let,1)*below(let,9) + above(let,10)*below(let,24) - equal(let,20);
|
|
wave_0_per_point35=ve = equal(let,13) + equal(let,14) + equal(let,24) + equal(let,25);
|
|
wave_0_per_point36=vf = above(let,1)*below(let,8) + equal(let,9) + above(let,14)*below(let,21) + equal(let,26);
|
|
wave_0_per_point37=vg = equal(let,1);
|
|
wave_0_per_point38=vh = equal(let,9) + equal(let,20);
|
|
wave_0_per_point39=vi = above(let,0)*below(let,5) - equal(let,3) + equal(let,18);
|
|
wave_0_per_point40=vj = above(let,2)*below(let,8) - equal(let,4) + equal(let,9) + above(let,14)*below(let,21) - equal(let,18) + equal(let,26);
|
|
wave_0_per_point41=vk = equal(let,11) + equal(let,13) + above(let,23)*below(let,27);
|
|
wave_0_per_point42=vl = equal(let,8) + equal(let,10) + above(let,12)*below(let,18) + above(let,20)*below(let,24);
|
|
wave_0_per_point43=vm = equal(let,1) + equal(let,2) + equal(let,8) + equal(let,16) + equal(let,18) + equal(let,19);
|
|
wave_0_per_point44=vn = equal(let,1) + equal(let,7) + equal(let,8) + equal(let,10) + above(let,12)*below(let,24) - equal(let,16) - equal(let,18) - equal(let,20) - equal(let,22);
|
|
wave_0_per_point45=vo = equal(let,11) + equal(let,14) + equal(let,17) + equal(let,18) + equal(let,23) + equal(let,24);
|
|
wave_0_per_point46=vp = equal(let,3) + equal(let,5) + equal(let,7) + equal(let,9) + equal(let,10) + equal(let,12) + equal(let,15) + equal(let,17) + equal(let,19) + equal(let,21) + equal(let,26);
|
|
wave_0_per_point47=vq = equal(let,2) + equal(let,4) + equal(let,22);
|
|
wave_0_per_point48=vr = equal(let,9) + equal(let,20) + equal(let,25);
|
|
wave_0_per_point49=vs = equal(let,22);
|
|
wave_0_per_point50=vt = above(let,1)*below(let,13) - equal(let,6) - equal(let,8) - equal(let,11) + equal(let,15) + equal(let,17) + equal(let,19) + equal(let,21) + equal(let,26);
|
|
wave_0_per_point51=
|
|
wave_0_per_point52=a = if(above(it,51),0,if(above(it,49),va,if(above(it,47),vb,if(above(it,44),vc,if(above(it,42),vd,if(above(it,39),ve, if(above(it,37),vf,if(above(it,34),vg,if(above(it,31),vh,if(above(it,28),vi,if(above(it,26),vj,if(above(it,23),vk, if(above(it,21),vl,if(above(it,18),vm,if(above(it,16),vn,if(above(it,13),vo,if(above(it,11),vp,if(above(it,8),vq, if(above(it,5),vr,if(above(it,2),vs,if(it,vt,0)))))))))))))))))))));
|
|
wave_0_per_point53=
|
|
wave_0_per_point54=a = a*below(ita,8)*q1;
|
|
wave_0_per_point55=
|
|
wave_0_per_point56=x = mx + vx*sz*.75;
|
|
wave_0_per_point57=y = my + vy*sz*1.5;
|
|
wavecode_1_enabled=1
|
|
wavecode_1_samples=42
|
|
wavecode_1_sep=0
|
|
wavecode_1_bSpectrum=0
|
|
wavecode_1_bUseDots=1
|
|
wavecode_1_bDrawThick=1
|
|
wavecode_1_bAdditive=1
|
|
wavecode_1_scaling=81.95444
|
|
wavecode_1_smoothing=1.00000
|
|
wavecode_1_r=1.000
|
|
wavecode_1_g=0.000
|
|
wavecode_1_b=0.400
|
|
wavecode_1_a=1.000
|
|
wave_1_per_frame1=wave_x=1;
|
|
wave_1_per_point1=x=rand(1000)*0.001;
|
|
wave_1_per_point2=y=rand(1000)*0.001;
|
|
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=1
|
|
wavecode_3_bAdditive=1
|
|
wavecode_3_scaling=1.00000
|
|
wavecode_3_smoothing=0.50000
|
|
wavecode_3_r=0.000
|
|
wavecode_3_g=1.000
|
|
wavecode_3_b=1.000
|
|
wavecode_3_a=1.000
|
|
wave_3_per_point1=ma=ma+(above(bass,.5)*3.1415*.02*bass);
|
|
wave_3_per_point2=ma=ma-(above(treb,.5)*3.1415*.02*treb);
|
|
wave_3_per_point3=
|
|
wave_3_per_point4=mx=mx+(.0008*cos(ma));
|
|
wave_3_per_point5=my=my+(.0008*sin(ma));
|
|
wave_3_per_point6=
|
|
wave_3_per_point7=mx=if(above(mx,.9),(.9-mx),mx);
|
|
wave_3_per_point8=my=if(above(my,.9),(.9-my),my);
|
|
wave_3_per_point9=mx=if(below(mx,.1),(.9+mx),mx);
|
|
wave_3_per_point10=my=if(below(my,.1),(.9+my),my);
|
|
wave_3_per_point11=
|
|
wave_3_per_point12=x=mx;
|
|
wave_3_per_point13=y=my;
|
|
wave_3_per_point14=
|
|
wave_3_per_point15=a=(above(bass+mid+treb,.2));
|
|
shapecode_0_enabled=0
|
|
shapecode_0_sides=16
|
|
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.12772
|
|
shapecode_0_ang=0.18840
|
|
shapecode_0_tex_ang=0.62832
|
|
shapecode_0_tex_zoom=0.77829
|
|
shapecode_0_r=0.000
|
|
shapecode_0_g=1.000
|
|
shapecode_0_b=0.000
|
|
shapecode_0_a=0.660
|
|
shapecode_0_r2=0.000
|
|
shapecode_0_g2=0.000
|
|
shapecode_0_b2=0.000
|
|
shapecode_0_a2=0.000
|
|
shapecode_0_border_r=0.590
|
|
shapecode_0_border_g=0.810
|
|
shapecode_0_border_b=0.690
|
|
shapecode_0_border_a=0.000
|
|
shape_0_per_frame1=//DMT=1-below((bass_att+mid_att+treb_att)/3,0.7);
|
|
shape_0_per_frame2=//a=DMT;
|
|
shape_0_per_frame3=//a2=.5*DMT;
|
|
shape_0_per_frame4=//border_a=0.4*DMT;
|
|
shape_0_per_frame5=//atime=atime+(above( sin(time),0 )*0.02 );
|
|
shape_0_per_frame6=//ang=0.188+((sin(atime/5)*0.5+0.5)*2.39);
|
|
shape_0_per_frame7=//x=(sin(atime*0.3)*0.07)+0.5;
|
|
shape_0_per_frame8=//y=(cos(atime*0.1)*0.07)+0.5;
|
|
shape_0_per_frame9=//rad=((bass+mid+treb)/6)*1.4+0.2;
|
|
shape_0_per_frame10=//sides=bass*16
|
|
shapecode_1_enabled=1
|
|
shapecode_1_sides=3
|
|
shapecode_1_additive=1
|
|
shapecode_1_thickOutline=1
|
|
shapecode_1_textured=0
|
|
shapecode_1_num_inst=2
|
|
shapecode_1_x=0.500
|
|
shapecode_1_y=0.500
|
|
shapecode_1_rad=1.25230
|
|
shapecode_1_ang=0.00000
|
|
shapecode_1_tex_ang=0.25133
|
|
shapecode_1_tex_zoom=1.13600
|
|
shapecode_1_r=1.000
|
|
shapecode_1_g=0.000
|
|
shapecode_1_b=0.000
|
|
shapecode_1_a=1.000
|
|
shapecode_1_r2=1.000
|
|
shapecode_1_g2=0.000
|
|
shapecode_1_b2=0.000
|
|
shapecode_1_a2=1.000
|
|
shapecode_1_border_r=0.000
|
|
shapecode_1_border_g=0.000
|
|
shapecode_1_border_b=0.990
|
|
shapecode_1_border_a=0.000
|
|
shape_1_per_frame1=
|
|
shape_1_per_frame2=//adv=adv+(bass*bass)/15;
|
|
shape_1_per_frame3=
|
|
shape_1_per_frame4=r=rand(10)*0.1*0.5+0.5;
|
|
shape_1_per_frame5=
|
|
shape_1_per_frame6=x= q28;
|
|
shape_1_per_frame7=y= q29;
|
|
shape_1_per_frame8=rad=q32;
|
|
shape_1_per_frame9=ang= if(equal(instance,0),q30,q31);
|
|
shapecode_2_enabled=1
|
|
shapecode_2_sides=3
|
|
shapecode_2_additive=1
|
|
shapecode_2_thickOutline=1
|
|
shapecode_2_textured=0
|
|
shapecode_2_num_inst=2
|
|
shapecode_2_x=0.500
|
|
shapecode_2_y=0.500
|
|
shapecode_2_rad=1.25237
|
|
shapecode_2_ang=0.00000
|
|
shapecode_2_tex_ang=0.25133
|
|
shapecode_2_tex_zoom=1.13600
|
|
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=1.000
|
|
shapecode_2_border_r=0.000
|
|
shapecode_2_border_g=0.000
|
|
shapecode_2_border_b=0.990
|
|
shapecode_2_border_a=0.000
|
|
shape_2_per_frame1=
|
|
shape_2_per_frame2=//adv=adv+(bass*bass)/15;
|
|
shape_2_per_frame3=
|
|
shape_2_per_frame4=r=rand(10)*0.1*0.5+0.5;
|
|
shape_2_per_frame5=
|
|
shape_2_per_frame6=x= q23;
|
|
shape_2_per_frame7=y= q24;
|
|
shape_2_per_frame8=rad=q27;
|
|
shape_2_per_frame9=ang= if(equal(instance,0),q25,q26);
|
|
shapecode_3_enabled=0
|
|
shapecode_3_sides=4
|
|
shapecode_3_additive=0
|
|
shapecode_3_thickOutline=0
|
|
shapecode_3_textured=1
|
|
shapecode_3_num_inst=1
|
|
shapecode_3_x=0.860
|
|
shapecode_3_y=0.200
|
|
shapecode_3_rad=0.80814
|
|
shapecode_3_ang=0.00000
|
|
shapecode_3_tex_ang=0.00000
|
|
shapecode_3_tex_zoom=0.45112
|
|
shapecode_3_r=1.000
|
|
shapecode_3_g=1.000
|
|
shapecode_3_b=1.000
|
|
shapecode_3_a=1.000
|
|
shapecode_3_r2=1.000
|
|
shapecode_3_g2=1.000
|
|
shapecode_3_b2=0.900
|
|
shapecode_3_a2=1.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
|
|
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) %2;
|
|
per_frame_9=
|
|
per_frame_10=
|
|
per_frame_11=d_x = if(is_beat, (rand(2000)-1000)*0.001 , d_x);
|
|
per_frame_12=d_y = if(is_beat, (rand(2000)-1000)*0.001 , d_y);
|
|
per_frame_13=r = if(is_beat, (rand(2000)-1000)*0.001 , r);
|
|
per_frame_14=z = if(is_beat, rand(1000)*0.001 , z);
|
|
per_frame_15=zoom = 1.03 + z*0.06;
|
|
per_frame_16=rot = r*0.06;
|
|
per_frame_17=dx = d_x*0.01;
|
|
per_frame_18=dy = d_y*0.01;
|
|
per_frame_19=q1 = 1;
|
|
per_frame_20=
|
|
per_frame_21=q23 = rand(1000)/1000;
|
|
per_frame_22=q24 = rand(1000)/1000;
|
|
per_frame_23=q25 = (rand(1000)/1000)*6.28;
|
|
per_frame_24=q26 = q25 - 3.14;
|
|
per_frame_25=q27 = (rand(1000)/12000)+0.04;
|
|
per_frame_26=
|
|
per_frame_27=q28 = rand(1000)/1000;
|
|
per_frame_28=q29 = rand(1000)/1000;
|
|
per_frame_29=q30 = (rand(1000)/1000)*6.28;
|
|
per_frame_30=q31 = q30 - 3.14;
|
|
per_frame_31=q32 = (rand(1000)/14000)+0.04;
|
|
per_frame_32=
|
|
warp_1=`shader_body
|
|
warp_2=`{
|
|
warp_3=`
|
|
warp_4=`// red channel - the soft background with a spreading factor
|
|
warp_5=`
|
|
warp_6=` float2 d = texsize.zw * 8; // the distance in pixels where the gradient is calculated from
|
|
warp_7=` float3 dx = ( GetBlur1(uv + float2(1,0)*d) - GetBlur1(uv-float2(1,0)*d) );
|
|
warp_8=` float3 dy = ( GetBlur1(uv + float2(0,1)*d) - GetBlur1(uv-float2(0,1)*d) );
|
|
warp_9=` // working with gradients in the pic as motion vectors
|
|
warp_10=`
|
|
warp_11=` float2 dither_uv = uv_orig*texsize.xy*texsize_noise_lq.zw * 1.2 // makes the graininess of the fur
|
|
warp_12=` // 0.5 (very raw) - 3 (fine leather)
|
|
warp_13=` + rand_frame.xy; // needs to be set to keep an overall randomness
|
|
warp_14=`
|
|
warp_15=` float2 uv_bg = lerp(uv_orig,uv,0.4) // scaling the input motion vector down, useful for a lower layer
|
|
warp_16=` + float2(dx.x,dy.x)*texsize.zw *2; // important: this is the spreading factor.
|
|
warp_17=` // 1 to 8 are good values
|
|
warp_18=` // (dependent on the distance the gradient is taken from)
|
|
warp_19=`
|
|
warp_20=` ret.x = GetPixel(uv_bg).x
|
|
warp_21=` - (GetPixel(uv_bg).x - GetBlur3(uv_bg).x) * 0.02 // this part darkens the most contrasty parts only
|
|
warp_22=` // try differnet blur levels too
|
|
warp_23=` - 0.004 // overall fade to black
|
|
warp_24=` // the play of the upper two factors makes the 3D impact
|
|
warp_25=` +(tex2D(sampler_noise_lq, dither_uv).xyz-0.5) *0.12; // intensity of the hairs (0.04 - 0.4)
|
|
warp_26=`
|
|
warp_27=`
|
|
warp_28=`// green: nice fading clouds - diffusion dissolution
|
|
warp_29=`
|
|
warp_30=`float2 uv_mid = lerp(uv_orig,uv,0.3) +(tex2D(sampler_noise_lq, dither_uv).xyz-0.5)*texsize.zw*3;
|
|
warp_31=` ret.y = GetPixel(uv_mid).y - 0.004;
|
|
warp_32=`
|
|
warp_33=`
|
|
warp_34=`// blue channel
|
|
warp_35=`
|
|
warp_36=`float2 uv_fg = uv;
|
|
warp_37=` ret.z = GetPixel(uv_fg).z;
|
|
warp_38=` ret.z += (ret.z - GetBlur1(uv_fg).z)*0.1 - 0.015; // assuring there will not be any solid areas - breaking up effect
|
|
warp_39=`
|
|
warp_40=`}
|
|
comp_1=`float2 d, uv_y;
|
|
comp_2=`float3 dx, dy;
|
|
comp_3=`shader_body
|
|
comp_4=`{
|
|
comp_5=`
|
|
comp_6=` d = texsize.zw*8;
|
|
comp_7=` dx = ( GetBlur1(uv+float2(1,0)*d)-GetBlur1(uv-float2(1,0)*d) );
|
|
comp_8=` dy = ( GetBlur1(uv+float2(0,1)*d)-GetBlur1(uv-float2(0,1)*d) );
|
|
comp_9=`
|
|
comp_10=`float3 base = GetPixel(uv);
|
|
comp_11=`float3 emboss = (-dx + dy + 1)*1.2;
|
|
comp_12=`
|
|
comp_13=` d = texsize.zw*2;
|
|
comp_14=` dx = ( GetBlur1(uv+float2(1,0)*d)-GetBlur1(uv-float2(1,0)*d) );
|
|
comp_15=` dy = ( GetBlur1(uv+float2(0,1)*d)-GetBlur1(uv-float2(0,1)*d) );
|
|
comp_16=`
|
|
comp_17=`float grad = length(float2(dx.x,dy.x));
|
|
comp_18=`
|
|
comp_19=`ret = lerp( float3(0.5,0.4,0.6)*base.x*emboss.x,
|
|
comp_20=` float3(8,5,2)*grad,
|
|
comp_21=` grad*4.2
|
|
comp_22=` );
|
|
comp_23=`ret = lerp(ret,4*ret,GetPixel(uv).y*0.5-GetBlur1(uv).z*0.3*float3(0.3,1,1));
|
|
comp_24=`
|
|
comp_25=`grad = length(float2(dx.z,dy.z));
|
|
comp_26=`ret = lerp(ret, float3(2,2,0), grad*0.7);
|
|
comp_27=`}
|
|
comp_28=`
|