1
0

martin - silversmith.milk 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399
  1. MILKDROP_PRESET_VERSION=201
  2. PSVERSION=2
  3. PSVERSION_WARP=2
  4. PSVERSION_COMP=2
  5. [preset00]
  6. fRating=3.000000
  7. fGammaAdj=1.980001
  8. fDecay=0.500000
  9. fVideoEchoZoom=0.999998
  10. fVideoEchoAlpha=0.500000
  11. nVideoEchoOrientation=3
  12. nWaveMode=2
  13. bAdditiveWaves=0
  14. bWaveDots=0
  15. bWaveThick=0
  16. bModWaveAlphaByVolume=1
  17. bMaximizeWaveColor=0
  18. bTexWrap=1
  19. bDarkenCenter=0
  20. bRedBlueStereo=0
  21. bBrighten=0
  22. bDarken=1
  23. bSolarize=0
  24. bInvert=0
  25. fWaveAlpha=0.001000
  26. fWaveScale=20.944651
  27. fWaveSmoothing=0.000000
  28. fWaveParam=0.080000
  29. fModWaveAlphaStart=0.000000
  30. fModWaveAlphaEnd=1.320000
  31. fWarpAnimSpeed=1.459500
  32. fWarpScale=2.006700
  33. fZoomExponent=1.000000
  34. fShader=0.000000
  35. zoom=0.999900
  36. rot=0.000000
  37. cx=0.500000
  38. cy=0.500000
  39. dx=0.000000
  40. dy=0.000000
  41. warp=0.010000
  42. sx=0.999900
  43. sy=1.000000
  44. wave_r=0.000000
  45. wave_g=0.990000
  46. wave_b=1.000000
  47. wave_x=0.500000
  48. wave_y=0.500000
  49. ob_size=0.015000
  50. ob_r=0.000000
  51. ob_g=0.000000
  52. ob_b=1.000000
  53. ob_a=0.000000
  54. ib_size=0.260000
  55. ib_r=0.250000
  56. ib_g=0.250000
  57. ib_b=0.250000
  58. ib_a=0.000000
  59. nMotionVectorsX=64.000000
  60. nMotionVectorsY=48.000000
  61. mv_dx=0.000000
  62. mv_dy=0.000000
  63. mv_l=1.850000
  64. mv_r=0.499900
  65. mv_g=0.499900
  66. mv_b=0.499900
  67. mv_a=0.000000
  68. b1n=0.000000
  69. b2n=0.000000
  70. b3n=0.000000
  71. b1x=1.000000
  72. b2x=1.000000
  73. b3x=1.000000
  74. b1ed=0.000000
  75. wavecode_0_enabled=0
  76. wavecode_0_samples=512
  77. wavecode_0_sep=120
  78. wavecode_0_bSpectrum=0
  79. wavecode_0_bUseDots=0
  80. wavecode_0_bDrawThick=0
  81. wavecode_0_bAdditive=1
  82. wavecode_0_scaling=0.891519
  83. wavecode_0_smoothing=0.820000
  84. wavecode_0_r=1.000000
  85. wavecode_0_g=1.000000
  86. wavecode_0_b=1.000000
  87. wavecode_0_a=0.600000
  88. wave_0_per_frame1=t2 = t2 + bass_att;
  89. wave_0_per_point1=k1 = (sample*100)%8;
  90. wave_0_per_point2=k2 = bnot (k1);
  91. wave_0_per_point3=xi = value1*k2 + xi*(1-k2);
  92. wave_0_per_point4=yi = value2*(1-k2) + yi*k2;
  93. wave_0_per_point5=
  94. wave_0_per_point6=dx = dx*.99 + xi;
  95. wave_0_per_point7=dy = dy*.99 + yi;
  96. wave_0_per_point8=
  97. wave_0_per_point9=x = .5 + xi/2;
  98. wave_0_per_point10=y = .5 + yi/2;
  99. wave_0_per_point11=
  100. wave_0_per_point12=a = q22/8;
  101. wave_0_per_point13=a = min(a,.4);
  102. wavecode_1_enabled=0
  103. wavecode_1_samples=512
  104. wavecode_1_sep=0
  105. wavecode_1_bSpectrum=0
  106. wavecode_1_bUseDots=0
  107. wavecode_1_bDrawThick=1
  108. wavecode_1_bAdditive=0
  109. wavecode_1_scaling=0.891519
  110. wavecode_1_smoothing=0.820000
  111. wavecode_1_r=1.000000
  112. wavecode_1_g=1.000000
  113. wavecode_1_b=1.000000
  114. wavecode_1_a=0.020000
  115. wave_1_per_frame1=tm = time*.1;
  116. wave_1_per_frame2=t1 = t1*sin(tm*t4) + (1-t1)*sin(tm*t7);
  117. wave_1_per_frame3=t2 = t2*sin(tm*t5) + (1-t2)*sin(tm*t8);
  118. wave_1_per_frame4=t3 = t3*sin(tm*t6) + (1-t3)*sin(tm*1);
  119. wave_1_per_frame5=
  120. wave_1_per_frame6=tic = min(time - tin,1);
  121. wave_1_per_frame7=tin = time;
  122. wave_1_per_frame8=
  123. wave_1_per_frame9=tva = (tic*q1*.5);
  124. wave_1_per_frame10=tvb = (tic*q2*.5);
  125. wave_1_per_frame11=tvc = (tic*q3*.5);
  126. wave_1_per_frame12=
  127. wave_1_per_frame13=q1 = tva;
  128. wave_1_per_frame14=q2 = tvb;
  129. wave_1_per_frame15=q3 = tvc;
  130. wave_1_per_frame16=
  131. wave_1_per_frame17=sz = .5;
  132. wave_1_per_frame18=len = q4;
  133. wave_1_per_frame19=t4 = len;
  134. wavecode_2_enabled=0
  135. wavecode_2_samples=512
  136. wavecode_2_sep=0
  137. wavecode_2_bSpectrum=0
  138. wavecode_2_bUseDots=0
  139. wavecode_2_bDrawThick=1
  140. wavecode_2_bAdditive=0
  141. wavecode_2_scaling=0.891519
  142. wavecode_2_smoothing=0.820000
  143. wavecode_2_r=0.000000
  144. wavecode_2_g=0.200000
  145. wavecode_2_b=0.000000
  146. wavecode_2_a=1.000000
  147. wave_2_per_frame1=tm = time*.1;
  148. wave_2_per_frame2=t1 = t1*sin(tm*t4) + (1-t1)*sin(tm*t7);
  149. wave_2_per_frame3=t2 = t2*sin(tm*t5) + (1-t2)*sin(tm*t8);
  150. wave_2_per_frame4=t3 = t3*sin(tm*t6) + (1-t3)*sin(tm*1);
  151. wave_2_per_frame5=
  152. wave_2_per_frame6=tic = min(time - tin,1);
  153. wave_2_per_frame7=tin = time;
  154. wave_2_per_frame8=
  155. wave_2_per_frame9=tva = (tic*q1*.5);
  156. wave_2_per_frame10=tvb = (tic*q2*.5);
  157. wave_2_per_frame11=tvc = (tic*q3*.5);
  158. wave_2_per_frame12=
  159. wave_2_per_frame13=q1 = tva;
  160. wave_2_per_frame14=q2 = tvb;
  161. wave_2_per_frame15=q3 = tvc;
  162. wave_2_per_frame16=
  163. wave_2_per_frame17=sz = .5;
  164. wave_2_per_frame18=len = 1;
  165. wave_2_per_frame19=t4 = len;
  166. wavecode_3_enabled=0
  167. wavecode_3_samples=512
  168. wavecode_3_sep=0
  169. wavecode_3_bSpectrum=1
  170. wavecode_3_bUseDots=1
  171. wavecode_3_bDrawThick=0
  172. wavecode_3_bAdditive=0
  173. wavecode_3_scaling=1.000000
  174. wavecode_3_smoothing=0.500000
  175. wavecode_3_r=1.000000
  176. wavecode_3_g=1.000000
  177. wavecode_3_b=1.000000
  178. wavecode_3_a=1.000000
  179. shapecode_0_enabled=1
  180. shapecode_0_sides=4
  181. shapecode_0_additive=1
  182. shapecode_0_thickOutline=0
  183. shapecode_0_textured=0
  184. shapecode_0_x=0.500000
  185. shapecode_0_y=0.500000
  186. shapecode_0_rad=0.059738
  187. shapecode_0_ang=0.000000
  188. shapecode_0_tex_ang=1.005310
  189. shapecode_0_tex_zoom=1.531168
  190. shapecode_0_r=0.500000
  191. shapecode_0_g=0.000000
  192. shapecode_0_b=0.700000
  193. shapecode_0_a=1.000000
  194. shapecode_0_r2=0.000000
  195. shapecode_0_g2=0.000000
  196. shapecode_0_b2=0.000000
  197. shapecode_0_a2=1.000000
  198. shapecode_0_border_r=0.000000
  199. shapecode_0_border_g=1.000000
  200. shapecode_0_border_b=0.000000
  201. shapecode_0_border_a=0.000000
  202. shape_0_per_frame1=
  203. shape_0_per_frame2=x = .5; y = .5;
  204. shape_0_per_frame3=a = 0.3;
  205. shape_0_per_frame4=a2 = q24;
  206. shape_0_per_frame5=//a = 1;
  207. shape_0_per_frame6=
  208. shape_0_per_frame7=b = .8; r = min(1,q22/3+.3);
  209. shapecode_1_enabled=0
  210. shapecode_1_sides=4
  211. shapecode_1_additive=0
  212. shapecode_1_thickOutline=1
  213. shapecode_1_textured=0
  214. shapecode_1_x=0.400000
  215. shapecode_1_y=0.500000
  216. shapecode_1_rad=2.366958
  217. shapecode_1_ang=0.000000
  218. shapecode_1_tex_ang=3.455753
  219. shapecode_1_tex_zoom=0.993053
  220. shapecode_1_r=0.500000
  221. shapecode_1_g=0.000000
  222. shapecode_1_b=1.000000
  223. shapecode_1_a=0.200000
  224. shapecode_1_r2=0.700000
  225. shapecode_1_g2=0.400000
  226. shapecode_1_b2=0.000000
  227. shapecode_1_a2=0.000000
  228. shapecode_1_border_r=0.500000
  229. shapecode_1_border_g=0.500000
  230. shapecode_1_border_b=0.500000
  231. shapecode_1_border_a=0.000000
  232. shape_1_per_frame1=a2 =0;a = 0;
  233. shape_1_per_frame2=a = q1;
  234. shapecode_2_enabled=1
  235. shapecode_2_sides=100
  236. shapecode_2_additive=0
  237. shapecode_2_thickOutline=0
  238. shapecode_2_textured=1
  239. shapecode_2_x=0.500000
  240. shapecode_2_y=0.500000
  241. shapecode_2_rad=0.210912
  242. shapecode_2_ang=0.000000
  243. shapecode_2_tex_ang=0.000000
  244. shapecode_2_tex_zoom=0.050685
  245. shapecode_2_r=1.000000
  246. shapecode_2_g=1.000000
  247. shapecode_2_b=1.000000
  248. shapecode_2_a=0.600000
  249. shapecode_2_r2=1.000000
  250. shapecode_2_g2=1.000000
  251. shapecode_2_b2=1.000000
  252. shapecode_2_a2=0.299900
  253. shapecode_2_border_r=1.000000
  254. shapecode_2_border_g=1.000000
  255. shapecode_2_border_b=1.000000
  256. shapecode_2_border_a=0.000000
  257. shape_2_per_frame1=t_rel = time/8;
  258. shape_2_per_frame2=t1 = t_rel-int(t_rel);
  259. shape_2_per_frame3=tex_zoom = t1;
  260. shapecode_3_enabled=0
  261. shapecode_3_sides=63
  262. shapecode_3_additive=0
  263. shapecode_3_thickOutline=0
  264. shapecode_3_textured=1
  265. shapecode_3_x=0.500000
  266. shapecode_3_y=1.000000
  267. shapecode_3_rad=0.548217
  268. shapecode_3_ang=0.000000
  269. shapecode_3_tex_ang=0.000000
  270. shapecode_3_tex_zoom=0.499805
  271. shapecode_3_r=1.000000
  272. shapecode_3_g=1.000000
  273. shapecode_3_b=1.000000
  274. shapecode_3_a=1.000000
  275. shapecode_3_r2=1.000000
  276. shapecode_3_g2=1.000000
  277. shapecode_3_b2=1.000000
  278. shapecode_3_a2=0.000000
  279. shapecode_3_border_r=0.500000
  280. shapecode_3_border_g=0.500000
  281. shapecode_3_border_b=0.500000
  282. shapecode_3_border_a=0.000000
  283. per_frame_init_1=step = 0;
  284. per_frame_1=dec_med = pow (0.7, 30/fps);
  285. per_frame_2=dec_slow = pow (0.99, 30/fps);
  286. per_frame_3=beat = max (max (bass, mid), treb);
  287. per_frame_4=avg = avg*dec_slow + beat*(1-dec_slow);
  288. per_frame_5=is_beat = above(beat, .0+avg+peak) * above (time, t0+.2);
  289. per_frame_6=t0 = is_beat*time + (1-is_beat)*t0;
  290. per_frame_7=peak = is_beat * beat + (1-is_beat)*peak*dec_med;
  291. per_frame_8=index = (index + is_beat) %16;
  292. per_frame_9=index2 = (index2 + is_beat*bnot(index))%2;
  293. per_frame_10=
  294. per_frame_11=q20 = avg;
  295. per_frame_12=q21 = beat;
  296. per_frame_13=q22 = peak;
  297. per_frame_14=q23 = index;
  298. per_frame_15=q24 = is_beat;
  299. per_frame_16=q26 = bass_att + mid_att + treb_att;
  300. per_frame_17=q27 = index + 1;
  301. per_frame_18=q28 = index2;
  302. per_frame_19=
  303. per_frame_20=
  304. per_frame_21=
  305. per_frame_22=k1 = is_beat*equal(index%2,0);
  306. per_frame_23=p1 = k1*(p1+1) + (1-k1)*p1;
  307. per_frame_24=p2 = dec_med * p2+ (1-dec_med)*p1;
  308. per_frame_25=rott = p2 * 3.1416/8;
  309. per_frame_26=
  310. per_frame_27=q1 = cos(rott);
  311. per_frame_28=q2 = sin(rott);
  312. per_frame_29=q3 = -q2;
  313. per_frame_30=q4 = q1;
  314. per_frame_31=
  315. per_frame_32=//ds = max ((q26-.2),0);
  316. per_frame_33=//step = step + ds/10;
  317. per_frame_34=
  318. per_frame_35=step = step + q24 ;
  319. per_frame_36=
  320. per_frame_37=p3 = p3*dec_slow + (1-dec_slow) * step;
  321. per_frame_38=q30 = step;
  322. per_frame_39=
  323. per_frame_40=p4 = dec_slow*p4 + (1-dec_slow)*q27;
  324. per_frame_41=q31 = p4;
  325. per_frame_42=
  326. per_frame_43=vol = bass + mid + treb;
  327. per_frame_44=q5 = bass_att/vol*2;
  328. per_frame_45=q6 = mid_att/vol*2;
  329. per_frame_46=q7 = treb_att/ vol*2;
  330. per_frame_47=
  331. per_frame_48=
  332. per_frame_49=q10 = .3*abs(sin(time/5));
  333. per_frame_50=
  334. per_frame_51=
  335. per_frame_52=
  336. per_frame_53=
  337. per_frame_54=
  338. per_frame_55=zoom = 1;
  339. per_frame_56=rot = -0.001 ;
  340. per_frame_57=
  341. per_frame_58=
  342. per_pixel_1=zoom = 1.0;
  343. warp_1=`sampler sampler_worms;
  344. warp_2=`float3 color, mus;
  345. warp_3=`float dx,dy;
  346. warp_4=`shader_body {
  347. warp_5=`
  348. warp_6=`
  349. warp_7=`float2 uv1 = (uv_orig-.5) * aspect.xy;
  350. warp_8=`
  351. warp_9=`float2 uv6 = uv1;
  352. warp_10=`
  353. warp_11=`float z = 6*q2*length(uv1) ;
  354. warp_12=`float2 d = -normalize(1/uv1);
  355. warp_13=`
  356. warp_14=`float2 rs = clamp(tan(q1*z+q30)*d,-8,8);
  357. warp_15=`
  358. warp_16=`if (q28 ==1) {rs *= cos(uv1.yx*3*q27) ;}
  359. warp_17=`
  360. warp_18=`uv += rs/40;
  361. warp_19=`
  362. warp_20=`uv6 = .5*float2(rad, length(uv1));
  363. warp_21=`
  364. warp_22=`//uv6 = mul(uv6,float2x2(_qa));
  365. warp_23=`
  366. warp_24=`mus = saturate(.08/(sqrt(uv6.y-q10)));
  367. warp_25=`mus *= float3 (1,.84,.5);
  368. warp_26=`
  369. warp_27=`float3 blur = GetBlur1(frac(uv));
  370. warp_28=`
  371. warp_29=`float3 crisp= tex2D(sampler_main,uv);
  372. warp_30=`
  373. warp_31=`float3 ret1 = crisp - blur*.04 + .05*mus;
  374. warp_32=`ret = ret1 * .98 - .006;
  375. warp_33=`
  376. warp_34=`
  377. warp_35=`}
  378. comp_1=`shader_body
  379. comp_2=`{
  380. comp_3=`
  381. comp_4=`float2 uv1 = uv-.5;
  382. comp_5=`
  383. comp_6=`float3 ret1 = tex2D(sampler_main, uv) * (1-rad);
  384. comp_7=`
  385. comp_8=`
  386. comp_9=`float2 hor = float2 (texsize.z,0);
  387. comp_10=`float2 ver = float2 (0,texsize.w);
  388. comp_11=`float dx = GetPixel (uv-hor) - GetPixel (uv+hor);
  389. comp_12=`float dy = GetPixel (uv-ver) - GetPixel (uv+ver);
  390. comp_13=`float2 dz = float2 (dx,dy);
  391. comp_14=`
  392. comp_15=`uv1 = uv1*0+.3*cos(uv1*2) - dz;;
  393. comp_16=`float dots = saturate(.04/length(uv1));
  394. comp_17=`uv1 = uv1*0+.3*cos(uv1*12) - 9*dz;;
  395. comp_18=`float3 dots2 = saturate(.04/length(uv1));
  396. comp_19=`
  397. comp_20=`
  398. comp_21=`ret = (-ret1) + dots + .0 + 12*dots2*(-0+sqrt(ret1));
  399. comp_22=`}