martin - first try.milk 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  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.998000
  8. fDecay=0.994000
  9. fVideoEchoZoom=0.999609
  10. fVideoEchoAlpha=0.500000
  11. nVideoEchoOrientation=3
  12. nWaveMode=4
  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.330640
  26. fWaveScale=0.897961
  27. fWaveSmoothing=0.108000
  28. fWaveParam=0.100000
  29. fModWaveAlphaStart=0.720000
  30. fModWaveAlphaEnd=1.280000
  31. fWarpAnimSpeed=0.010000
  32. fWarpScale=0.010000
  33. fZoomExponent=1.000000
  34. fShader=0.000000
  35. zoom=0.098609
  36. rot=0.000000
  37. cx=0.500000
  38. cy=0.500000
  39. dx=1.000000
  40. dy=0.000000
  41. warp=0.438652
  42. sx=0.990096
  43. sy=1.000000
  44. wave_r=0.000000
  45. wave_g=0.500000
  46. wave_b=0.500000
  47. wave_x=0.500000
  48. wave_y=0.540000
  49. ob_size=0.010000
  50. ob_r=0.000000
  51. ob_g=0.000000
  52. ob_b=0.000000
  53. ob_a=0.000000
  54. ib_size=0.010000
  55. ib_r=0.250000
  56. ib_g=0.250000
  57. ib_b=0.250000
  58. ib_a=0.000000
  59. nMotionVectorsX=24.799994
  60. nMotionVectorsY=9.000000
  61. mv_dx=0.000000
  62. mv_dy=0.160000
  63. mv_l=1.500000
  64. mv_r=1.000000
  65. mv_g=1.000000
  66. mv_b=1.000000
  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=1
  76. wavecode_0_samples=352
  77. wavecode_0_sep=0
  78. wavecode_0_bSpectrum=0
  79. wavecode_0_bUseDots=1
  80. wavecode_0_bDrawThick=0
  81. wavecode_0_bAdditive=1
  82. wavecode_0_scaling=0.038558
  83. wavecode_0_smoothing=0.200000
  84. wavecode_0_r=1.000000
  85. wavecode_0_g=0.000000
  86. wavecode_0_b=1.000000
  87. wavecode_0_a=1.000000
  88. wave_0_per_frame1=q1=bass_att;
  89. wave_0_per_point1=r = abs (sin (frame /38));
  90. wave_0_per_point2=g = 0.5*abs (cos (frame /45));
  91. wave_0_per_point3=b = 0.5*abs (sin (frame / 133));
  92. wave_0_per_point4=a = 0.3;
  93. wave_0_per_point5=t02 = t02 + q1/10;
  94. wave_0_per_point6=ratio = sin (frame/49);
  95. wave_0_per_point7=
  96. wave_0_per_point8=ampl = 0.01+0.4*sqr(sin ((frame ) / 18)* cos (frame / 123));
  97. wave_0_per_point9=
  98. wave_0_per_point10=x1 = (r-0.5)/15 +0.5 + ampl* sin (sample*6.28);
  99. wave_0_per_point11=y1 = (b-0.5)/15+0.5 + ampl* cos (sample*6.28);
  100. wave_0_per_point12=
  101. wave_0_per_point13=x = x1+1*0.2*(ampl+ratio )*sin ( sample*6.28 * ratio*7.3);
  102. wave_0_per_point14=y = y1+1*0.2*(ampl+ratio )*cos ( sample*6.28*6);
  103. wave_0_per_point15=
  104. wavecode_1_enabled=0
  105. wavecode_1_samples=15
  106. wavecode_1_sep=0
  107. wavecode_1_bSpectrum=0
  108. wavecode_1_bUseDots=0
  109. wavecode_1_bDrawThick=0
  110. wavecode_1_bAdditive=0
  111. wavecode_1_scaling=2.063781
  112. wavecode_1_smoothing=0.800000
  113. wavecode_1_r=0.800000
  114. wavecode_1_g=0.000000
  115. wavecode_1_b=0.600000
  116. wavecode_1_a=0.900000
  117. wavecode_2_enabled=0
  118. wavecode_2_samples=112
  119. wavecode_2_sep=0
  120. wavecode_2_bSpectrum=0
  121. wavecode_2_bUseDots=0
  122. wavecode_2_bDrawThick=0
  123. wavecode_2_bAdditive=1
  124. wavecode_2_scaling=1.000000
  125. wavecode_2_smoothing=0.500000
  126. wavecode_2_r=1.000000
  127. wavecode_2_g=1.000000
  128. wavecode_2_b=1.000000
  129. wavecode_2_a=1.000000
  130. wavecode_3_enabled=0
  131. wavecode_3_samples=512
  132. wavecode_3_sep=0
  133. wavecode_3_bSpectrum=0
  134. wavecode_3_bUseDots=0
  135. wavecode_3_bDrawThick=0
  136. wavecode_3_bAdditive=0
  137. wavecode_3_scaling=1.000000
  138. wavecode_3_smoothing=0.500000
  139. wavecode_3_r=1.000000
  140. wavecode_3_g=1.000000
  141. wavecode_3_b=1.000000
  142. wavecode_3_a=1.000000
  143. shapecode_0_enabled=0
  144. shapecode_0_sides=3
  145. shapecode_0_additive=0
  146. shapecode_0_thickOutline=0
  147. shapecode_0_textured=0
  148. shapecode_0_x=0.500000
  149. shapecode_0_y=0.500000
  150. shapecode_0_rad=0.312746
  151. shapecode_0_ang=0.000000
  152. shapecode_0_tex_ang=0.000000
  153. shapecode_0_tex_zoom=0.179142
  154. shapecode_0_r=0.820000
  155. shapecode_0_g=0.000000
  156. shapecode_0_b=0.000000
  157. shapecode_0_a=1.000000
  158. shapecode_0_r2=0.000000
  159. shapecode_0_g2=1.000000
  160. shapecode_0_b2=0.000000
  161. shapecode_0_a2=0.000000
  162. shapecode_0_border_r=1.000000
  163. shapecode_0_border_g=1.000000
  164. shapecode_0_border_b=1.000000
  165. shapecode_0_border_a=0.000000
  166. shape_0_per_frame1=xy=0.5+rand_frame;
  167. shapecode_1_enabled=0
  168. shapecode_1_sides=4
  169. shapecode_1_additive=0
  170. shapecode_1_thickOutline=0
  171. shapecode_1_textured=0
  172. shapecode_1_x=0.500000
  173. shapecode_1_y=0.500000
  174. shapecode_1_rad=0.100000
  175. shapecode_1_ang=0.000000
  176. shapecode_1_tex_ang=0.000000
  177. shapecode_1_tex_zoom=1.000000
  178. shapecode_1_r=1.000000
  179. shapecode_1_g=0.000000
  180. shapecode_1_b=0.000000
  181. shapecode_1_a=1.000000
  182. shapecode_1_r2=0.000000
  183. shapecode_1_g2=1.000000
  184. shapecode_1_b2=0.000000
  185. shapecode_1_a2=0.000000
  186. shapecode_1_border_r=1.000000
  187. shapecode_1_border_g=1.000000
  188. shapecode_1_border_b=1.000000
  189. shapecode_1_border_a=0.100000
  190. shapecode_2_enabled=0
  191. shapecode_2_sides=4
  192. shapecode_2_additive=0
  193. shapecode_2_thickOutline=0
  194. shapecode_2_textured=0
  195. shapecode_2_x=0.500000
  196. shapecode_2_y=0.500000
  197. shapecode_2_rad=0.100000
  198. shapecode_2_ang=0.000000
  199. shapecode_2_tex_ang=0.000000
  200. shapecode_2_tex_zoom=1.000000
  201. shapecode_2_r=1.000000
  202. shapecode_2_g=0.000000
  203. shapecode_2_b=0.000000
  204. shapecode_2_a=1.000000
  205. shapecode_2_r2=0.000000
  206. shapecode_2_g2=1.000000
  207. shapecode_2_b2=0.000000
  208. shapecode_2_a2=0.000000
  209. shapecode_2_border_r=1.000000
  210. shapecode_2_border_g=1.000000
  211. shapecode_2_border_b=1.000000
  212. shapecode_2_border_a=0.100000
  213. shapecode_3_enabled=0
  214. shapecode_3_sides=4
  215. shapecode_3_additive=0
  216. shapecode_3_thickOutline=0
  217. shapecode_3_textured=0
  218. shapecode_3_x=0.500000
  219. shapecode_3_y=0.500000
  220. shapecode_3_rad=0.100000
  221. shapecode_3_ang=0.000000
  222. shapecode_3_tex_ang=0.000000
  223. shapecode_3_tex_zoom=1.000000
  224. shapecode_3_r=1.000000
  225. shapecode_3_g=0.000000
  226. shapecode_3_b=0.000000
  227. shapecode_3_a=1.000000
  228. shapecode_3_r2=0.000000
  229. shapecode_3_g2=1.000000
  230. shapecode_3_b2=0.000000
  231. shapecode_3_a2=0.000000
  232. shapecode_3_border_r=1.000000
  233. shapecode_3_border_g=1.000000
  234. shapecode_3_border_b=1.000000
  235. shapecode_3_border_a=0.100000
  236. per_frame_init_1=shift = 0;
  237. per_frame_1=
  238. per_frame_2=dec_med = pow (0.9, 30/fps);
  239. per_frame_3=dec_slow = pow (0.995, 30/fps);
  240. per_frame_4=beat = max (max (bass, mid), treb);
  241. per_frame_5=avg = avg*dec_slow + beat*(1-dec_slow);
  242. per_frame_6=is_beat = above(beat, .5+avg+peak) * above (time, t0+.2);
  243. per_frame_7=t0 = is_beat*time + (1-is_beat)*t0;
  244. per_frame_8=peak = is_beat * beat + (1-is_beat)*peak*dec_med;
  245. per_frame_9=index = (index + is_beat) * below (index,4);
  246. per_frame_10=
  247. per_frame_11=q20 = avg;
  248. per_frame_12=q21 = beat;
  249. per_frame_13=q22 = peak;
  250. per_frame_14=q23 = index;
  251. per_frame_15=
  252. per_frame_16=
  253. per_frame_17=myvol = (bass_att+treb_att+mid_att);
  254. per_frame_18=myvol_s = myvol_s + above (myvol, myvol_s);
  255. per_frame_19=myvol_s = 0.995*myvol_s + 0.005*myvol;
  256. per_frame_20=myvol_s = min (myvol_s,15);
  257. per_frame_21=q1 = (myvol_s + 2*(bass+treb))/1000 * 30/fps;
  258. per_frame_22=dir = dir * 0.99 + .01*(index-1);
  259. per_frame_23=dir = .5*(index-2);
  260. per_frame_24=//q1 = q1 * dir;
  261. per_frame_25=
  262. per_frame_26=q2=myvol_s/3+1;
  263. per_frame_27=rot = 0.3*sin(time/4);
  264. per_frame_28=
  265. per_frame_29=
  266. warp_1=`shader_body
  267. warp_2=`{
  268. warp_3=`
  269. warp_4=`ret = tex2D (sampler_main, uv_orig.xy -q1*uv ).xyz;
  270. warp_5=`ret = ret*0.99;
  271. warp_6=`}
  272. warp_7=`
  273. comp_1=`shader_body
  274. comp_2=`{
  275. comp_3=`float3 crisp = tex2D (sampler_main, uv).xyz;
  276. comp_4=`float3 blurry = GetBlur2(uv);
  277. comp_5=`ret = abs (crisp-blurry)*q2 ;
  278. comp_6=`}