1
0

martin - the forge of Isengard.milk 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443
  1. MILKDROP_PRESET_VERSION=201
  2. PSVERSION=2
  3. PSVERSION_WARP=2
  4. PSVERSION_COMP=2
  5. [preset00]
  6. fRating=4.000000
  7. fGammaAdj=1.980001
  8. fDecay=0.500000
  9. fVideoEchoZoom=0.999998
  10. fVideoEchoAlpha=0.500000
  11. nVideoEchoOrientation=3
  12. nWaveMode=4
  13. bAdditiveWaves=1
  14. bWaveDots=0
  15. bWaveThick=1
  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=0.527400
  27. fWaveSmoothing=0.450000
  28. fWaveParam=0.000000
  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.800000
  45. wave_g=0.490000
  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=282
  77. wavecode_0_sep=20
  78. wavecode_0_bSpectrum=0
  79. wavecode_0_bUseDots=1
  80. wavecode_0_bDrawThick=0
  81. wavecode_0_bAdditive=0
  82. wavecode_0_scaling=7.858000
  83. wavecode_0_smoothing=0.100000
  84. wavecode_0_r=0.000000
  85. wavecode_0_g=0.300000
  86. wavecode_0_b=1.000000
  87. wavecode_0_a=0.600000
  88. wave_0_init1=t1 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  89. wave_0_init2=t2 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  90. wave_0_init3=t3 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  91. wave_0_init4=t4 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  92. wave_0_init5=t5 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  93. wave_0_init6=t6 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  94. wave_0_init7=t7 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  95. wave_0_init8=t8 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  96. wave_0_init9=
  97. wave_0_per_frame1=t2 = t2 + bass_att;
  98. wave_0_per_point1=x = rand(100)/100;
  99. wave_0_per_point2=y = rand(100)/100;
  100. wavecode_1_enabled=0
  101. wavecode_1_samples=512
  102. wavecode_1_sep=0
  103. wavecode_1_bSpectrum=0
  104. wavecode_1_bUseDots=1
  105. wavecode_1_bDrawThick=1
  106. wavecode_1_bAdditive=0
  107. wavecode_1_scaling=0.891519
  108. wavecode_1_smoothing=0.820000
  109. wavecode_1_r=1.000000
  110. wavecode_1_g=1.000000
  111. wavecode_1_b=1.000000
  112. wavecode_1_a=0.100000
  113. wave_1_init1=t1 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  114. wave_1_init2=t2 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  115. wave_1_init3=t3 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  116. wave_1_init4=t4 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  117. wave_1_init5=t5 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  118. wave_1_init6=t6 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  119. wave_1_init7=t7 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  120. wave_1_init8=t8 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  121. wave_1_init9=
  122. wave_1_per_frame1=tm = time*.1;
  123. wave_1_per_frame2=t1 = t1*sin(tm*t4) + (1-t1)*sin(tm*t7);
  124. wave_1_per_frame3=t2 = t2*sin(tm*t5) + (1-t2)*sin(tm*t8);
  125. wave_1_per_frame4=t3 = t3*sin(tm*t6) + (1-t3)*sin(tm*1);
  126. wave_1_per_frame5=
  127. wave_1_per_frame6=tic = min(time - tin,1);
  128. wave_1_per_frame7=tin = time;
  129. wave_1_per_frame8=
  130. wave_1_per_frame9=tva = (tic*q1*.5);
  131. wave_1_per_frame10=tvb = (tic*q2*.5);
  132. wave_1_per_frame11=tvc = (tic*q3*.5);
  133. wave_1_per_frame12=
  134. wave_1_per_frame13=q1 = tva;
  135. wave_1_per_frame14=q2 = tvb;
  136. wave_1_per_frame15=q3 = tvc;
  137. wave_1_per_frame16=
  138. wave_1_per_frame17=sz = .5;
  139. wave_1_per_frame18=len = q4;
  140. wave_1_per_frame19=t4 = len;
  141. wave_1_per_point1=xi = rand(100)/100;
  142. wave_1_per_point2=yi = rand(100)/100;
  143. wave_1_per_point3=
  144. wave_1_per_point4=x = xi; y = yi;
  145. wave_1_per_point5=
  146. wave_1_per_point6=a = q21/15;
  147. wavecode_2_enabled=0
  148. wavecode_2_samples=512
  149. wavecode_2_sep=0
  150. wavecode_2_bSpectrum=0
  151. wavecode_2_bUseDots=0
  152. wavecode_2_bDrawThick=1
  153. wavecode_2_bAdditive=0
  154. wavecode_2_scaling=0.891519
  155. wavecode_2_smoothing=0.820000
  156. wavecode_2_r=0.000000
  157. wavecode_2_g=0.200000
  158. wavecode_2_b=0.000000
  159. wavecode_2_a=1.000000
  160. wave_2_init1=t1 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  161. wave_2_init2=t2 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  162. wave_2_init3=t3 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  163. wave_2_init4=t4 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  164. wave_2_init5=t5 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  165. wave_2_init6=t6 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  166. wave_2_init7=t7 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  167. wave_2_init8=t8 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  168. wave_2_init9=
  169. wave_2_per_frame1=tm = time*.1;
  170. wave_2_per_frame2=t1 = t1*sin(tm*t4) + (1-t1)*sin(tm*t7);
  171. wave_2_per_frame3=t2 = t2*sin(tm*t5) + (1-t2)*sin(tm*t8);
  172. wave_2_per_frame4=t3 = t3*sin(tm*t6) + (1-t3)*sin(tm*1);
  173. wave_2_per_frame5=
  174. wave_2_per_frame6=tic = min(time - tin,1);
  175. wave_2_per_frame7=tin = time;
  176. wave_2_per_frame8=
  177. wave_2_per_frame9=tva = (tic*q1*.5);
  178. wave_2_per_frame10=tvb = (tic*q2*.5);
  179. wave_2_per_frame11=tvc = (tic*q3*.5);
  180. wave_2_per_frame12=
  181. wave_2_per_frame13=q1 = tva;
  182. wave_2_per_frame14=q2 = tvb;
  183. wave_2_per_frame15=q3 = tvc;
  184. wave_2_per_frame16=
  185. wave_2_per_frame17=sz = .5;
  186. wave_2_per_frame18=len = 1;
  187. wave_2_per_frame19=t4 = len;
  188. wavecode_3_enabled=0
  189. wavecode_3_samples=512
  190. wavecode_3_sep=0
  191. wavecode_3_bSpectrum=1
  192. wavecode_3_bUseDots=1
  193. wavecode_3_bDrawThick=0
  194. wavecode_3_bAdditive=0
  195. wavecode_3_scaling=1.000000
  196. wavecode_3_smoothing=0.500000
  197. wavecode_3_r=1.000000
  198. wavecode_3_g=1.000000
  199. wavecode_3_b=1.000000
  200. wavecode_3_a=1.000000
  201. shapecode_0_enabled=0
  202. shapecode_0_sides=4
  203. shapecode_0_additive=1
  204. shapecode_0_thickOutline=0
  205. shapecode_0_textured=0
  206. shapecode_0_x=0.500000
  207. shapecode_0_y=0.500000
  208. shapecode_0_rad=0.048958
  209. shapecode_0_ang=0.000000
  210. shapecode_0_tex_ang=1.005310
  211. shapecode_0_tex_zoom=1.531168
  212. shapecode_0_r=0.000000
  213. shapecode_0_g=1.000000
  214. shapecode_0_b=1.000000
  215. shapecode_0_a=1.000000
  216. shapecode_0_r2=0.830000
  217. shapecode_0_g2=0.930000
  218. shapecode_0_b2=0.800000
  219. shapecode_0_a2=0.000000
  220. shapecode_0_border_r=1.000000
  221. shapecode_0_border_g=1.000000
  222. shapecode_0_border_b=0.000000
  223. shapecode_0_border_a=0.000000
  224. shape_0_per_frame1=
  225. shape_0_per_frame2=trel = time/3;
  226. shape_0_per_frame3=
  227. shape_0_per_frame4=x = .5+sin(trel*2);
  228. shape_0_per_frame5=y = .5+cos(trel*1.3);
  229. shape_0_per_frame6=
  230. shape_0_per_frame7=
  231. shape_0_per_frame8=
  232. shape_0_per_frame9=
  233. shape_0_per_frame10=rad = .1;
  234. shape_0_per_frame11=a = .8;
  235. shapecode_1_enabled=0
  236. shapecode_1_sides=4
  237. shapecode_1_additive=0
  238. shapecode_1_thickOutline=1
  239. shapecode_1_textured=1
  240. shapecode_1_x=0.260000
  241. shapecode_1_y=0.200000
  242. shapecode_1_rad=0.393173
  243. shapecode_1_ang=0.000000
  244. shapecode_1_tex_ang=0.000000
  245. shapecode_1_tex_zoom=0.935500
  246. shapecode_1_r=0.000000
  247. shapecode_1_g=0.550000
  248. shapecode_1_b=0.500000
  249. shapecode_1_a=1.000000
  250. shapecode_1_r2=0.000000
  251. shapecode_1_g2=0.400000
  252. shapecode_1_b2=0.400000
  253. shapecode_1_a2=0.070000
  254. shapecode_1_border_r=0.300000
  255. shapecode_1_border_g=0.700000
  256. shapecode_1_border_b=0.800000
  257. shapecode_1_border_a=0.400000
  258. shape_1_per_frame1=tex_zoom = q27;
  259. shapecode_2_enabled=0
  260. shapecode_2_sides=44
  261. shapecode_2_additive=0
  262. shapecode_2_thickOutline=0
  263. shapecode_2_textured=0
  264. shapecode_2_x=0.503000
  265. shapecode_2_y=0.500000
  266. shapecode_2_rad=0.038857
  267. shapecode_2_ang=0.000000
  268. shapecode_2_tex_ang=0.000000
  269. shapecode_2_tex_zoom=0.609857
  270. shapecode_2_r=1.000000
  271. shapecode_2_g=0.100000
  272. shapecode_2_b=0.000000
  273. shapecode_2_a=0.900000
  274. shapecode_2_r2=1.000000
  275. shapecode_2_g2=1.000000
  276. shapecode_2_b2=1.000000
  277. shapecode_2_a2=0.000000
  278. shapecode_2_border_r=0.500000
  279. shapecode_2_border_g=0.500000
  280. shapecode_2_border_b=1.000000
  281. shapecode_2_border_a=0.000000
  282. shape_2_per_frame1=x = rand(50)/50;
  283. shape_2_per_frame2=y = .5;
  284. shape_2_per_frame3=
  285. shape_2_per_frame4=r = .4;
  286. shape_2_per_frame5=g = .6;
  287. shape_2_per_frame6=b = 1;
  288. shape_2_per_frame7=r2 = r;
  289. shape_2_per_frame8=g2 = g;
  290. shape_2_per_frame9=b2 = b;
  291. shape_2_per_frame10=
  292. shape_2_per_frame11=a2 = min(q21/2 ,1)/2;
  293. shape_2_per_frame12=
  294. shape_2_per_frame13=a = 0;
  295. shape_2_per_frame14=
  296. shape_2_per_frame15=rad = a2 * (.1+abs(x-.5))/2 ;
  297. shapecode_3_enabled=0
  298. shapecode_3_sides=4
  299. shapecode_3_additive=0
  300. shapecode_3_thickOutline=1
  301. shapecode_3_textured=1
  302. shapecode_3_x=0.260000
  303. shapecode_3_y=0.760000
  304. shapecode_3_rad=0.394780
  305. shapecode_3_ang=0.000000
  306. shapecode_3_tex_ang=0.000000
  307. shapecode_3_tex_zoom=0.499805
  308. shapecode_3_r=1.000000
  309. shapecode_3_g=1.000000
  310. shapecode_3_b=1.000000
  311. shapecode_3_a=1.000000
  312. shapecode_3_r2=1.000000
  313. shapecode_3_g2=1.000000
  314. shapecode_3_b2=1.000000
  315. shapecode_3_a2=0.800000
  316. shapecode_3_border_r=0.200000
  317. shapecode_3_border_g=0.700000
  318. shapecode_3_border_b=0.500000
  319. shapecode_3_border_a=1.000000
  320. shape_3_per_frame1=tex_zoom = q27/2;
  321. per_frame_1=dec_med = pow (0.5, 30/fps);
  322. per_frame_2=dec_slow = pow (0.99, 30/fps);
  323. per_frame_3=beat = max (max (bass, mid), treb);
  324. per_frame_4=avg = avg*dec_slow + beat*(1-dec_slow);
  325. per_frame_5=is_beat = above(beat, .6+avg+peak) * above (time, t0+.4);
  326. per_frame_6=t0 = is_beat*time + (1-is_beat)*t0;
  327. per_frame_7=peak = is_beat * beat + (1-is_beat)*peak*dec_med;
  328. per_frame_8=index = (index + is_beat) %12;
  329. per_frame_9=indexa = (indexa + is_beat) %5;
  330. per_frame_10=index2 = (index2 + is_beat*bnot(index))%2;
  331. per_frame_11=
  332. per_frame_12=q20 = avg;
  333. per_frame_13=q21 = beat;
  334. per_frame_14=q22 = peak;
  335. per_frame_15=q23 = index;
  336. per_frame_16=q24 = is_beat;
  337. per_frame_17=q26 = bass_att + mid_att + treb_att + 1;
  338. per_frame_18=q27 = index + 1;
  339. per_frame_19=q28 = -index2 + indexa/5;
  340. per_frame_20=q29 = index1+index2;
  341. per_frame_21=monitor = q29;
  342. per_frame_22=k1 = is_
  343. per_frame_23=beat*equal(index%2,0);
  344. per_frame_24=p1 = k1*(p1+1) + (1-k1)*p1;
  345. per_frame_25=p2 = dec_med * p2+ (1-dec_med)*p1;
  346. per_frame_26=rott = p2 * 3.1416/4;
  347. per_frame_27=
  348. per_frame_28=q1 = cos(rott);
  349. per_frame_29=q2 = sin(rott);
  350. per_frame_30=q3 = -q2;
  351. per_frame_31=q4 = q1;
  352. per_frame_32=
  353. per_frame_33=ds = ds*dec_med + q24*(1-dec_med);
  354. per_frame_34=q25 = q24;
  355. per_frame_35=//q25 = above(q26,4);
  356. per_frame_36=
  357. per_frame_37=t_rel = time*8;
  358. per_frame_38=//q25 = below((t_rel)-int(t_rel),.2);
  359. per_frame_39=
  360. per_frame_40=
  361. per_frame_41=p3 = p3*dec_med + (1-dec_med) * (100*index + .0*q26);
  362. per_frame_42=q30 = p3 ;
  363. per_frame_43=
  364. per_frame_44=p4 = dec_med*p4 + (1-dec_med)*q27;
  365. per_frame_45=q31 = p4;
  366. per_frame_46=
  367. per_frame_47=//zoom = 1 + .05*q1;
  368. per_frame_48=//rot = -0.01 * (index);
  369. per_frame_49=
  370. per_frame_50=zoom = 1.00;
  371. per_frame_51=rot = .0;
  372. per_frame_52=//dy = .01*q25;
  373. per_frame_53=dy = .001*q1;
  374. per_frame_54=warp = .03;
  375. warp_1=`sampler sampler_worms;
  376. warp_2=`float3 color, mus;
  377. warp_3=`float dx,dy;
  378. warp_4=`shader_body {
  379. warp_5=`float2 uv1 = (uv-.5) * aspect.xy;
  380. warp_6=`
  381. warp_7=`
  382. warp_8=`float2 uv6 = uv1;
  383. warp_9=`float z = q29*2*length(uv1)+rand_frame * 64;
  384. warp_10=`float2 d = normalize(uv1);
  385. warp_11=`float2 rs = clamp(tan(z)*d,-8,8);
  386. warp_12=`uv += .004*GetBlur1(uv)*float2 (0,1);//rs/20;
  387. warp_13=`
  388. warp_14=`
  389. warp_15=`uv6 = .4*sin(uv1*18*rand_frame);
  390. warp_16=`mus = .051/(length(uv6));
  391. warp_17=`mus *= float3 (1,.8,.5);
  392. warp_18=`
  393. warp_19=`float3 blur = GetBlur2(frac(uv));
  394. warp_20=`
  395. warp_21=`float3 crisp= tex2D(sampler_main,uv);
  396. warp_22=`
  397. warp_23=`float3 ret1 = crisp - blur*.03 + .15*mus;
  398. warp_24=`float2 uv2 = (uv_orig-.5)-float2(.5,.5+0.1*q25);
  399. warp_25=`
  400. warp_26=`q25 = 1;
  401. warp_27=`ret = q25*(ret1*.99-.02) + (1-q25)* GetPixel(uv_orig);
  402. warp_28=`
  403. warp_29=`}
  404. comp_1=`
  405. comp_2=`float2 rs, rs0, uv2, uv3,uv4;
  406. comp_3=`float3 noise, ret1;
  407. comp_4=`
  408. comp_5=`shader_body {
  409. comp_6=`uv.y = uv.y - .1;
  410. comp_7=`float2 uv1 = (uv-.5 )*aspect.xy;
  411. comp_8=`
  412. comp_9=`
  413. comp_10=`float z = .1/uv1.y/uv1.x;
  414. comp_11=`z = .3/uv1.y;
  415. comp_12=`rs0.x = uv1.x*z;
  416. comp_13=`rs0.y = z;
  417. comp_14=`rs.x = rs0.x + time/2;
  418. comp_15=`rs.y = rs0.y + time/2;
  419. comp_16=`
  420. comp_17=`noise = tex2D(sampler_noise_hq,rs/2);
  421. comp_18=`
  422. comp_19=`ret1 = noise-.54;
  423. comp_20=`
  424. comp_21=`float mask = saturate(32*(uv1.y));
  425. comp_22=`
  426. comp_23=`uv2 = 1.5*uv1 * (q28-abs(uv1.x)) * (1-.5*uv1.y*(q29%2));
  427. comp_24=`//uv2 *= aspect.yx;
  428. comp_25=`
  429. comp_26=`uv3 =frac(uv2-q27/4-ret1*.04*mask);
  430. comp_27=`float2 hor = float2 (texsize.z,0);
  431. comp_28=`float2 ver = float2 (0, texsize.w);
  432. comp_29=`float dx = lum(GetPixel(uv3+hor) - GetPixel(uv3-hor));
  433. comp_30=`float dy = lum(GetPixel(uv3+ver) - GetPixel(uv3-ver));
  434. comp_31=`float2 dz = 1*float2 (dx,dy);
  435. comp_32=`uv3 += dz;
  436. comp_33=`
  437. comp_34=`ret1 = 2*GetBlur1(frac(uv3)) + GetPixel(uv3);
  438. comp_35=`ret1 *= 1-mask/3;
  439. comp_36=`
  440. comp_37=`//ret1 *= (.05+bass_att/2);
  441. comp_38=`
  442. comp_39=`ret = ret1;
  443. comp_40=`}