1
0

martin - volcano.milk 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428
  1. MILKDROP_PRESET_VERSION=201
  2. PSVERSION=2
  3. PSVERSION_WARP=2
  4. PSVERSION_COMP=2
  5. [preset00]
  6. fRating=2.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=1
  14. bWaveDots=1
  15. bWaveThick=0
  16. bModWaveAlphaByVolume=1
  17. bMaximizeWaveColor=1
  18. bTexWrap=1
  19. bDarkenCenter=0
  20. bRedBlueStereo=0
  21. bBrighten=0
  22. bDarken=1
  23. bSolarize=0
  24. bInvert=0
  25. fWaveAlpha=0.195131
  26. fWaveScale=2.540833
  27. fWaveSmoothing=0.810000
  28. fWaveParam=0.140000
  29. fModWaveAlphaStart=0.470000
  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=1.000000
  45. wave_g=1.000000
  46. wave_b=0.300000
  47. wave_x=0.500000
  48. wave_y=0.500000
  49. ob_size=0.000000
  50. ob_r=1.000000
  51. ob_g=1.000000
  52. ob_b=1.000000
  53. ob_a=0.050000
  54. ib_size=0.000000
  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.700000
  75. wavecode_0_enabled=0
  76. wavecode_0_samples=256
  77. wavecode_0_sep=0
  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_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=x0 = rand(100)/100;
  99. wave_0_per_point2=y0 = rand(100)/100;
  100. wave_0_per_point3=
  101. wave_0_per_point4=//x0 = .5; y0 = .5;
  102. wave_0_per_point5=
  103. wave_0_per_point6=k1 = int(100.0*sample);
  104. wave_0_per_point7=k2 = int(100.0*sample+1);
  105. wave_0_per_point8=k1 = k1%2;
  106. wave_0_per_point9=f1 = rand(100)/200-.25;
  107. wave_0_per_point10=f2 = rand(100)/200-.25;
  108. wave_0_per_point11=
  109. wave_0_per_point12=x = x0 + k1* f1;;
  110. wave_0_per_point13=y = y0 + k1* f2;
  111. wave_0_per_point14=a = k2%2 /32 * abs(q5);
  112. wavecode_1_enabled=0
  113. wavecode_1_samples=512
  114. wavecode_1_sep=0
  115. wavecode_1_bSpectrum=0
  116. wavecode_1_bUseDots=0
  117. wavecode_1_bDrawThick=1
  118. wavecode_1_bAdditive=0
  119. wavecode_1_scaling=0.891519
  120. wavecode_1_smoothing=0.820000
  121. wavecode_1_r=1.000000
  122. wavecode_1_g=1.000000
  123. wavecode_1_b=1.000000
  124. wavecode_1_a=0.100000
  125. wave_1_init1=t1 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  126. wave_1_init2=t2 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  127. wave_1_init3=t3 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  128. wave_1_init4=t4 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  129. wave_1_init5=t5 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  130. wave_1_init6=t6 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  131. wave_1_init7=t7 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  132. wave_1_init8=t8 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  133. wave_1_init9=
  134. wave_1_per_frame1=tm = time*.1;
  135. wave_1_per_frame2=t1 = t1*sin(tm*t4) + (1-t1)*sin(tm*t7);
  136. wave_1_per_frame3=t2 = t2*sin(tm*t5) + (1-t2)*sin(tm*t8);
  137. wave_1_per_frame4=t3 = t3*sin(tm*t6) + (1-t3)*sin(tm*1);
  138. wave_1_per_frame5=
  139. wave_1_per_frame6=tic = min(time - tin,1);
  140. wave_1_per_frame7=tin = time;
  141. wave_1_per_frame8=
  142. wave_1_per_frame9=tva = (tic*q1*.5);
  143. wave_1_per_frame10=tvb = (tic*q2*.5);
  144. wave_1_per_frame11=tvc = (tic*q3*.5);
  145. wave_1_per_frame12=
  146. wave_1_per_frame13=q1 = tva;
  147. wave_1_per_frame14=q2 = tvb;
  148. wave_1_per_frame15=q3 = tvc;
  149. wave_1_per_frame16=
  150. wave_1_per_frame17=sz = .5;
  151. wave_1_per_frame18=len = q4;
  152. wave_1_per_frame19=t4 = len;
  153. wavecode_2_enabled=0
  154. wavecode_2_samples=512
  155. wavecode_2_sep=0
  156. wavecode_2_bSpectrum=0
  157. wavecode_2_bUseDots=0
  158. wavecode_2_bDrawThick=1
  159. wavecode_2_bAdditive=0
  160. wavecode_2_scaling=0.891519
  161. wavecode_2_smoothing=0.820000
  162. wavecode_2_r=1.000000
  163. wavecode_2_g=1.000000
  164. wavecode_2_b=1.000000
  165. wavecode_2_a=0.100000
  166. wave_2_init1=t1 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  167. wave_2_init2=t2 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  168. wave_2_init3=t3 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  169. wave_2_init4=t4 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  170. wave_2_init5=t5 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  171. wave_2_init6=t6 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  172. wave_2_init7=t7 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  173. wave_2_init8=t8 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  174. wave_2_init9=
  175. wave_2_per_frame1=tm = time*.1;
  176. wave_2_per_frame2=t1 = t1*sin(tm*t4) + (1-t1)*sin(tm*t7);
  177. wave_2_per_frame3=t2 = t2*sin(tm*t5) + (1-t2)*sin(tm*t8);
  178. wave_2_per_frame4=t3 = t3*sin(tm*t6) + (1-t3)*sin(tm*1);
  179. wave_2_per_frame5=
  180. wave_2_per_frame6=tic = min(time - tin,1);
  181. wave_2_per_frame7=tin = time;
  182. wave_2_per_frame8=
  183. wave_2_per_frame9=tva = (tic*q1*.5);
  184. wave_2_per_frame10=tvb = (tic*q2*.5);
  185. wave_2_per_frame11=tvc = (tic*q3*.5);
  186. wave_2_per_frame12=
  187. wave_2_per_frame13=q1 = tva;
  188. wave_2_per_frame14=q2 = tvb;
  189. wave_2_per_frame15=q3 = tvc;
  190. wave_2_per_frame16=
  191. wave_2_per_frame17=sz = .5;
  192. wave_2_per_frame18=len = 1;
  193. wave_2_per_frame19=t4 = len;
  194. wavecode_3_enabled=0
  195. wavecode_3_samples=512
  196. wavecode_3_sep=0
  197. wavecode_3_bSpectrum=1
  198. wavecode_3_bUseDots=1
  199. wavecode_3_bDrawThick=0
  200. wavecode_3_bAdditive=0
  201. wavecode_3_scaling=1.000000
  202. wavecode_3_smoothing=0.500000
  203. wavecode_3_r=1.000000
  204. wavecode_3_g=1.000000
  205. wavecode_3_b=1.000000
  206. wavecode_3_a=1.000000
  207. shapecode_0_enabled=0
  208. shapecode_0_sides=18
  209. shapecode_0_additive=0
  210. shapecode_0_thickOutline=0
  211. shapecode_0_textured=0
  212. shapecode_0_x=0.500000
  213. shapecode_0_y=0.500000
  214. shapecode_0_rad=0.442610
  215. shapecode_0_ang=1.570797
  216. shapecode_0_tex_ang=0.000000
  217. shapecode_0_tex_zoom=0.331050
  218. shapecode_0_r=0.500000
  219. shapecode_0_g=1.000000
  220. shapecode_0_b=0.900000
  221. shapecode_0_a=0.560000
  222. shapecode_0_r2=0.830000
  223. shapecode_0_g2=0.930000
  224. shapecode_0_b2=0.800000
  225. shapecode_0_a2=0.000000
  226. shapecode_0_border_r=1.000000
  227. shapecode_0_border_g=1.000000
  228. shapecode_0_border_b=0.000000
  229. shapecode_0_border_a=0.000000
  230. shape_0_per_frame1=trel = time + bass_att/5;
  231. shape_0_per_frame2=x = .5 + .2*sin(trel);
  232. shape_0_per_frame3=y = .5 + .2*cos(trel);
  233. shape_0_per_frame4=
  234. shape_0_per_frame5=x = .5; y = .5;
  235. shape_0_per_frame6=b = .4;
  236. shape_0_per_frame7=r = .4 ;
  237. shape_0_per_frame8=g = .8;
  238. shape_0_per_frame9=
  239. shape_0_per_frame10=a = min(bass_att/25,0.05) + .05;
  240. shapecode_1_enabled=0
  241. shapecode_1_sides=100
  242. shapecode_1_additive=0
  243. shapecode_1_thickOutline=0
  244. shapecode_1_textured=1
  245. shapecode_1_x=0.500000
  246. shapecode_1_y=0.500000
  247. shapecode_1_rad=0.476928
  248. shapecode_1_ang=1.130974
  249. shapecode_1_tex_ang=0.000000
  250. shapecode_1_tex_zoom=1.023150
  251. shapecode_1_r=1.000000
  252. shapecode_1_g=1.000000
  253. shapecode_1_b=1.000000
  254. shapecode_1_a=0.970000
  255. shapecode_1_r2=1.000000
  256. shapecode_1_g2=1.000000
  257. shapecode_1_b2=1.000000
  258. shapecode_1_a2=0.100000
  259. shapecode_1_border_r=0.500000
  260. shapecode_1_border_g=0.500000
  261. shapecode_1_border_b=0.500000
  262. shapecode_1_border_a=0.810000
  263. shape_1_per_frame1=ang = time;
  264. shapecode_2_enabled=0
  265. shapecode_2_sides=63
  266. shapecode_2_additive=0
  267. shapecode_2_thickOutline=0
  268. shapecode_2_textured=1
  269. shapecode_2_x=0.123000
  270. shapecode_2_y=0.000000
  271. shapecode_2_rad=0.273185
  272. shapecode_2_ang=0.000000
  273. shapecode_2_tex_ang=0.000000
  274. shapecode_2_tex_zoom=0.499805
  275. shapecode_2_r=1.000000
  276. shapecode_2_g=1.000000
  277. shapecode_2_b=1.000000
  278. shapecode_2_a=1.000000
  279. shapecode_2_r2=1.000000
  280. shapecode_2_g2=1.000000
  281. shapecode_2_b2=1.000000
  282. shapecode_2_a2=0.000000
  283. shapecode_2_border_r=0.500000
  284. shapecode_2_border_g=0.500000
  285. shapecode_2_border_b=0.500000
  286. shapecode_2_border_a=0.000000
  287. shapecode_3_enabled=0
  288. shapecode_3_sides=63
  289. shapecode_3_additive=0
  290. shapecode_3_thickOutline=0
  291. shapecode_3_textured=1
  292. shapecode_3_x=0.500000
  293. shapecode_3_y=1.000000
  294. shapecode_3_rad=0.548217
  295. shapecode_3_ang=0.000000
  296. shapecode_3_tex_ang=0.000000
  297. shapecode_3_tex_zoom=0.499805
  298. shapecode_3_r=1.000000
  299. shapecode_3_g=1.000000
  300. shapecode_3_b=1.000000
  301. shapecode_3_a=1.000000
  302. shapecode_3_r2=1.000000
  303. shapecode_3_g2=1.000000
  304. shapecode_3_b2=1.000000
  305. shapecode_3_a2=0.000000
  306. shapecode_3_border_r=0.500000
  307. shapecode_3_border_g=0.500000
  308. shapecode_3_border_b=0.500000
  309. shapecode_3_border_a=0.000000
  310. per_frame_1=vol = bass + mid + treb;
  311. per_frame_2=vol_ = .9*vol_+.1*vol;
  312. per_frame_3=
  313. per_frame_4=
  314. per_frame_5=k1 = above (vol, vol_*1.3);
  315. per_frame_6=k2 = k2*.9 + 0.1*k1;
  316. per_frame_7=k3 = k3*.9 + 0.1*k2;
  317. per_frame_8=
  318. per_frame_9=q10 = k2;
  319. per_frame_10=q11 = k3;
  320. per_frame_11=q12 = vol_;
  321. per_frame_12=
  322. per_frame_13=dec_med = pow (0.9, 30/fps);
  323. per_frame_14=dec_slow = pow (0.99, 30/fps);
  324. per_frame_15=beat = max (max (bass, mid), treb);
  325. per_frame_16=avg = avg*dec_slow + beat*(1-dec_slow);
  326. per_frame_17=is_beat = above(beat, .5+avg+peak) * above (time, t0+.2);
  327. per_frame_18=t0 = is_beat*time + (1-is_beat)*t0;
  328. per_frame_19=peak = is_beat * beat + (1-is_beat)*peak*dec_med;
  329. per_frame_20=index = (index + is_beat) %8;
  330. per_frame_21=
  331. per_frame_22=q20 = avg;
  332. per_frame_23=q21 = beat;
  333. per_frame_24=q22 = peak;
  334. per_frame_25=q23 = index;
  335. per_frame_26=q24 = is_beat;
  336. per_frame_27=q26 = bass + mid + treb;
  337. per_frame_28=
  338. per_frame_29=k1 = is_beat*equal(index,0);
  339. per_frame_30=p1 = k1*(p1+1) + (1-k1)*p1;
  340. per_frame_31=p2 = dec_med * p2+ (1-dec_med)*p1;
  341. per_frame_32=rott = p2 * 3.1416/2;
  342. per_frame_33=q27 = index + 1;
  343. per_frame_34=
  344. per_frame_35=q1 = cos(rott);
  345. per_frame_36=q2 = sin(rott);
  346. per_frame_37=q3 = -q2;
  347. per_frame_38=q4 = q1;
  348. per_frame_39=
  349. per_frame_40=trel = time/8;
  350. per_frame_41=q5 = cos(trel);
  351. per_frame_42=q6 = sin(trel);
  352. per_frame_43=q7 = -q6;
  353. per_frame_44=q8 = q5;
  354. per_frame_45=q9 = sin(time/13)+2;
  355. per_frame_46=
  356. per_frame_47=
  357. per_frame_48=q32 = pow(0.99, 30/fps); //fade
  358. per_pixel_1=p1 = sin (time/7);
  359. per_pixel_2=p2 = cos (time/3);
  360. per_pixel_3=p3 = 1+(cos (time/6));
  361. per_pixel_4=p4 = .5*cos (time/4.5);
  362. per_pixel_5=
  363. per_pixel_6=dx = 0.004*p1*rad;
  364. per_pixel_7=dy = 0.004*p2*rad ;
  365. per_pixel_8=
  366. per_pixel_9=zoom = 1 + pow(rad,p4)*p3/50;
  367. per_pixel_10=rot = 0;
  368. warp_1=`
  369. warp_2=`shader_body {
  370. warp_3=`float corr = texsize.xy*texsize_noise_lq.zw;
  371. warp_4=`float2 uv1 = float2(uv.x-0.5,uv.y-0.5);
  372. warp_5=`
  373. warp_6=`float3 noise1 = lum(tex2D(sampler_noise_lq,
  374. warp_7=` corr*uv*4+ rand_frame));
  375. warp_8=`
  376. warp_9=`
  377. warp_10=`float2 hor = float2 (.003,0);
  378. warp_11=`float2 ver = float2 (0,.003);
  379. warp_12=`
  380. warp_13=`float f0 = 1;
  381. warp_14=`float dx = f0*lum(tex2D(sampler_main,uv+hor)
  382. warp_15=` - tex2D(sampler_main,uv-hor));
  383. warp_16=`float dy = f0*lum(tex2D(sampler_main,uv+ver)
  384. warp_17=` - tex2D(sampler_main,uv-ver));
  385. warp_18=`
  386. warp_19=`double2 zz = float2(dx,dy);
  387. warp_20=`float trel = time/3;
  388. warp_21=`//zz = mul(zz,float2x2(_qb));
  389. warp_22=`
  390. warp_23=`double3 crisp = tex2D(sampler_main,uv+zz*.02);
  391. warp_24=`crisp = pow(crisp,1) + .06*noise1 - length(zz)*.03 ;
  392. warp_25=`
  393. warp_26=`double3 blur = GetBlur1(uv);
  394. warp_27=`
  395. warp_28=`ret = -blur*.1+ crisp;
  396. warp_29=`
  397. warp_30=` ret *= q32 ;
  398. warp_31=` ret -= 0.03;
  399. warp_32=`}
  400. comp_1=`shader_body {
  401. comp_2=`//uv1 is rect. screen, center at (0;0)
  402. comp_3=`float2 uv1 = (uv-0.5);// * aspect.xy;
  403. comp_4=`
  404. comp_5=`float2 hor = float2 (.002,0);
  405. comp_6=`float2 ver = float2 (0,.002);
  406. comp_7=`
  407. comp_8=`float f0 = .7;
  408. comp_9=`float dx = f0*lum(tex2D(sampler_main,uv+hor)
  409. comp_10=` - tex2D(sampler_main,uv-hor));
  410. comp_11=`float dy = f0*lum(tex2D(sampler_main,uv+ver)
  411. comp_12=` - tex2D(sampler_main,uv-ver));
  412. comp_13=`
  413. comp_14=`float2 dz = float2 (dx,dy);
  414. comp_15=`dz -= lum(GetPixel(uv));
  415. comp_16=`
  416. comp_17=`float2 rs1 = mul(16*uv1,float2x2(_qb))+time/8;
  417. comp_18=`
  418. comp_19=`float3 canv1 = tex2D(sampler_main, (uv-.5)*.95+.5);
  419. comp_20=`
  420. comp_21=`float scale = 100;
  421. comp_22=`rs1 = rs1 + dz*scale*.2;
  422. comp_23=`
  423. comp_24=`float lava = tex2D (sampler_noise_hq,rs1/scale).x;
  424. comp_25=`lava = saturate(-q9*abs (lava) + 1);
  425. comp_26=`float3 lay1 = saturate(float3 (lava,lava*(lava-0.55)*2,(lava-1)*16));
  426. comp_27=`
  427. comp_28=`ret = .6*lum(canv1-.05)*float3 (1,1,1) + lay1;
  428. comp_29=`}