martin - organic light.milk 11 KB

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