1
0

ORB - Pastel Primer.milk 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406
  1. MILKDROP_PRESET_VERSION=201
  2. PSVERSION=3
  3. PSVERSION_WARP=3
  4. PSVERSION_COMP=3
  5. [preset00]
  6. fRating=3.000000
  7. fGammaAdj=2.000000
  8. fDecay=0.900000
  9. fVideoEchoZoom=1.007000
  10. fVideoEchoAlpha=0.500000
  11. nVideoEchoOrientation=1
  12. nWaveMode=1
  13. bAdditiveWaves=0
  14. bWaveDots=0
  15. bWaveThick=0
  16. bModWaveAlphaByVolume=0
  17. bMaximizeWaveColor=1
  18. bTexWrap=0
  19. bDarkenCenter=0
  20. bRedBlueStereo=0
  21. bBrighten=1
  22. bDarken=0
  23. bSolarize=0
  24. bInvert=0
  25. fWaveAlpha=0.001000
  26. fWaveScale=1.000000
  27. fWaveSmoothing=0.750000
  28. fWaveParam=0.000000
  29. fModWaveAlphaStart=0.750000
  30. fModWaveAlphaEnd=0.950000
  31. fWarpAnimSpeed=1.000000
  32. fWarpScale=1.000000
  33. fZoomExponent=1.000000
  34. fShader=0.000000
  35. zoom=0.960000
  36. rot=-18.840240
  37. cx=0.500000
  38. cy=0.500000
  39. dx=0.000000
  40. dy=0.000000
  41. warp=0.000520
  42. sx=1.000000
  43. sy=1.000000
  44. wave_r=0.000000
  45. wave_g=0.000000
  46. wave_b=0.000000
  47. wave_x=0.500000
  48. wave_y=0.500000
  49. ob_size=0.010000
  50. ob_r=0.900000
  51. ob_g=0.500000
  52. ob_b=0.000000
  53. ob_a=0.100000
  54. ib_size=0.010000
  55. ib_r=0.000000
  56. ib_g=0.000000
  57. ib_b=0.000000
  58. ib_a=0.100000
  59. nMotionVectorsX=64.000000
  60. nMotionVectorsY=48.000000
  61. mv_dx=0.000000
  62. mv_dy=0.000000
  63. mv_l=4.950000
  64. mv_r=0.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.250000
  75. wavecode_0_enabled=1
  76. wavecode_0_samples=512
  77. wavecode_0_sep=0
  78. wavecode_0_bSpectrum=1
  79. wavecode_0_bUseDots=0
  80. wavecode_0_bDrawThick=1
  81. wavecode_0_bAdditive=1
  82. wavecode_0_scaling=1.000000
  83. wavecode_0_smoothing=0.500000
  84. wavecode_0_r=0.000000
  85. wavecode_0_g=0.000000
  86. wavecode_0_b=0.000000
  87. wavecode_0_a=0.100000
  88. wave_0_per_point1=//q1 = state;
  89. wave_0_per_point2=//q2 = basstime;
  90. wave_0_per_point3=
  91. wave_0_per_point4=q1 = 0;
  92. wave_0_per_point5=speed = bass_att*0.3;
  93. wave_0_per_point6=v = sample*10000 + value2*bass*0.1;
  94. wave_0_per_point7=
  95. wave_0_per_point8=//state 0 elipse
  96. wave_0_per_point9=xs = xs + sin(v*0.1 + sin(v)*0.1)*speed*atan(v*1.51);
  97. wave_0_per_point10=ys = ys + sin(v*0.1 + cos(v)*0.1)*speed*atan(v);
  98. wave_0_per_point11=
  99. wave_0_per_point12=x = 0.5 + 0.5*sin(xs*0.1)*cos(time*1 + ys);
  100. wave_0_per_point13=y = 0.5 + 0.5*sin(ys*0.1)*cos(time*1.1 + xs);
  101. wave_0_per_point14=
  102. wave_0_per_point15=
  103. wave_0_per_point16=r = 0.5 + 0.5*sin(q1*0.22);
  104. wave_0_per_point17=g = 0.5 + 0.5*sin(q1*0.307) + x;
  105. wave_0_per_point18=//b = 0.4 + 0.4*sin(time*0.959);
  106. wave_0_per_point19=
  107. wave_0_per_point20=
  108. wave_0_per_point21=xs = if(above(xs,1000),0 ,xs);
  109. wave_0_per_point22=ys = if(above(ys,1000),0 ,ys);
  110. wavecode_1_enabled=0
  111. wavecode_1_samples=512
  112. wavecode_1_sep=0
  113. wavecode_1_bSpectrum=1
  114. wavecode_1_bUseDots=1
  115. wavecode_1_bDrawThick=1
  116. wavecode_1_bAdditive=1
  117. wavecode_1_scaling=1.000000
  118. wavecode_1_smoothing=0.500000
  119. wavecode_1_r=1.000000
  120. wavecode_1_g=1.000000
  121. wavecode_1_b=1.000000
  122. wavecode_1_a=1.000000
  123. wavecode_2_enabled=0
  124. wavecode_2_samples=512
  125. wavecode_2_sep=0
  126. wavecode_2_bSpectrum=1
  127. wavecode_2_bUseDots=1
  128. wavecode_2_bDrawThick=1
  129. wavecode_2_bAdditive=1
  130. wavecode_2_scaling=1.000000
  131. wavecode_2_smoothing=0.500000
  132. wavecode_2_r=1.000000
  133. wavecode_2_g=1.000000
  134. wavecode_2_b=1.000000
  135. wavecode_2_a=1.000000
  136. wavecode_3_enabled=0
  137. wavecode_3_samples=512
  138. wavecode_3_sep=0
  139. wavecode_3_bSpectrum=1
  140. wavecode_3_bUseDots=1
  141. wavecode_3_bDrawThick=1
  142. wavecode_3_bAdditive=1
  143. wavecode_3_scaling=1.000000
  144. wavecode_3_smoothing=0.500000
  145. wavecode_3_r=1.000000
  146. wavecode_3_g=1.000000
  147. wavecode_3_b=1.000000
  148. wavecode_3_a=1.000000
  149. wave_3_per_point1=//apply zoom burst on beat
  150. wave_3_per_point2=flag = above(q3,2);
  151. wave_3_per_point3=//state zero is ready state
  152. wave_3_per_point4=state = state + flag*equal(state,0);
  153. wave_3_per_point5=
  154. wave_3_per_point6=//upwards flight
  155. wave_3_per_point7=yval = if(equal(state,0),0, yval);
  156. wave_3_per_point8=yval = yval + 0.00004*equal(state,1);
  157. wave_3_per_point9=ymax = if(equal(state,0),rand(100)*0.004,ymax);
  158. wave_3_per_point10=
  159. wave_3_per_point11=//hit apogee
  160. wave_3_per_point12=state = if(above(yval,0.5+ymax),2,state);
  161. wave_3_per_point13=
  162. wave_3_per_point14=//reset variable
  163. wave_3_per_point15=yval = if(equal(state,0),0, yval);
  164. wave_3_per_point16=burst = if(equal(state,0),0.001,burst);
  165. wave_3_per_point17=alphax = if(equal(state,0),1,alphax);
  166. wave_3_per_point18=xdriftinc = if(equal(state,0),0,xdriftinc);
  167. wave_3_per_point19=
  168. wave_3_per_point20=burstspeed = if(equal(state,0),rand(10),burstspeed);
  169. wave_3_per_point21=xdrift = if(equal(state,0),rand(20),xdrift);
  170. wave_3_per_point22=//to get the numbers small enough have to use constants
  171. wave_3_per_point23=xdriftinc = xdriftinc
  172. wave_3_per_point24=+ equal(xdrift,0)*equal(state,1)*0.00002
  173. wave_3_per_point25=+ equal(xdrift,1)*equal(state,1)*0.000018
  174. wave_3_per_point26=+ equal(xdrift,2)*equal(state,1)*0.000016
  175. wave_3_per_point27=+ equal(xdrift,3)*equal(state,1)*0.000014
  176. wave_3_per_point28=+ equal(xdrift,4)*equal(state,1)*0.000012
  177. wave_3_per_point29=+ equal(xdrift,5)*equal(state,1)*0.00001
  178. wave_3_per_point30=+ equal(xdrift,6)*equal(state,1)*0.000008
  179. wave_3_per_point31=+ equal(xdrift,7)*equal(state,1)*0.000006
  180. wave_3_per_point32=+ equal(xdrift,8)*equal(state,1)*0.000004
  181. wave_3_per_point33=+ equal(xdrift,9)*equal(state,1)*0.000002
  182. wave_3_per_point34=+ equal(xdrift,11)*equal(state,1)*-0.000002
  183. wave_3_per_point35=+ equal(xdrift,12)*equal(state,1)*-0.000004
  184. wave_3_per_point36=+ equal(xdrift,13)*equal(state,1)*-0.000006
  185. wave_3_per_point37=+ equal(xdrift,14)*equal(state,1)*-0.000008
  186. wave_3_per_point38=+ equal(xdrift,15)*equal(state,1)*-0.00001
  187. wave_3_per_point39=+ equal(xdrift,16)*equal(state,1)*-0.000012
  188. wave_3_per_point40=+ equal(xdrift,17)*equal(state,1)*-0.000014
  189. wave_3_per_point41=+ equal(xdrift,18)*equal(state,1)*-0.000016
  190. wave_3_per_point42=+ equal(xdrift,19)*equal(state,1)*-0.000018;
  191. wave_3_per_point43=
  192. wave_3_per_point44=burst = burst
  193. wave_3_per_point45=+ equal(burstspeed,0)*equal(state,2)*0.000024
  194. wave_3_per_point46=+ equal(burstspeed,1)*equal(state,2)*0.000022
  195. wave_3_per_point47=+ equal(burstspeed,2)*equal(state,2)*0.00002
  196. wave_3_per_point48=+ equal(burstspeed,3)*equal(state,2)*0.000018
  197. wave_3_per_point49=+ equal(burstspeed,4)*equal(state,2)*0.000016
  198. wave_3_per_point50=+ equal(burstspeed,5)*equal(state,2)*0.000014
  199. wave_3_per_point51=+ equal(burstspeed,6)*equal(state,2)*0.000012
  200. wave_3_per_point52=+ equal(burstspeed,7)*equal(state,2)*0.00001
  201. wave_3_per_point53=+ equal(burstspeed,8)*equal(state,2)*0.000008
  202. wave_3_per_point54=+ equal(burstspeed,9)*equal(state,2)*0.000008;
  203. wave_3_per_point55=
  204. wave_3_per_point56=alphax = alphax - 0.00004*equal(state,2);
  205. wave_3_per_point57=state = if(below(alphax,0),0,state);
  206. wave_3_per_point58=
  207. wave_3_per_point59=
  208. wave_3_per_point60=s = sample*3.14*100;
  209. wave_3_per_point61=ss = sample*6.28*1000;
  210. wave_3_per_point62=
  211. wave_3_per_point63=//draw torus
  212. wave_3_per_point64=xs = (burst + 0.0001*cos(s))*cos(ss);
  213. wave_3_per_point65=ys = (burst + 0.0001*cos(s))*sin(ss);
  214. wave_3_per_point66=zs = 0.1*burst*sin(s);
  215. wave_3_per_point67=
  216. wave_3_per_point68=
  217. wave_3_per_point69=//rotate x axis
  218. wave_3_per_point70=angle = sin(-q1*0.035)*6.28;
  219. wave_3_per_point71=yx = ys*cos(angle) - zs*sin(angle);
  220. wave_3_per_point72=zx = ys*sin(angle) + zs*cos(angle);
  221. wave_3_per_point73=xx = xs;
  222. wave_3_per_point74=
  223. wave_3_per_point75=//rotate y axis
  224. wave_3_per_point76=angle2 = sin(-q1*0.03)*6.28;
  225. wave_3_per_point77=xd = xx*cos(angle2) - zx*sin(angle2);
  226. wave_3_per_point78=zd = xx*sin(angle2) + zx*cos(angle2);
  227. wave_3_per_point79=yd = yx;
  228. wave_3_per_point80=
  229. wave_3_per_point81=//rotaye z axis
  230. wave_3_per_point82=angle3 = sin(-q1*0.022)*6.28;
  231. wave_3_per_point83=xn = xd*cos(angle3) - yd*sin(angle3);
  232. wave_3_per_point84=yn = xd*sin(angle3) + yd*cos(angle3);
  233. wave_3_per_point85=
  234. wave_3_per_point86=zd = zd + 2;
  235. wave_3_per_point87=
  236. wave_3_per_point88=x = xn*zd*0.3 + 0.5;
  237. wave_3_per_point89=y = yn*zd*0.3*1.2;
  238. wave_3_per_point90=
  239. wave_3_per_point91=
  240. wave_3_per_point92=x = x + xdriftinc;
  241. wave_3_per_point93=y = y + sin(yval*1.5) - 0.18;
  242. wave_3_per_point94=
  243. wave_3_per_point95=
  244. wave_3_per_point96=r = 0.5 + 0.5*sin(q1*1.3 + x + x);
  245. wave_3_per_point97=g = 0.5 + 0.5*sin(q1*1.1 + x + y);
  246. wave_3_per_point98=b = 0.5 + 0.5*sin(q1*1.66 + y + y);
  247. shapecode_0_enabled=0
  248. shapecode_0_sides=4
  249. shapecode_0_additive=0
  250. shapecode_0_thickOutline=0
  251. shapecode_0_textured=1
  252. shapecode_0_x=0.500000
  253. shapecode_0_y=0.500000
  254. shapecode_0_rad=2.667180
  255. shapecode_0_ang=0.000000
  256. shapecode_0_tex_ang=0.000000
  257. shapecode_0_tex_zoom=0.451120
  258. shapecode_0_r=1.000000
  259. shapecode_0_g=1.000000
  260. shapecode_0_b=0.000000
  261. shapecode_0_a=0.150000
  262. shapecode_0_r2=0.000000
  263. shapecode_0_g2=0.000000
  264. shapecode_0_b2=0.000000
  265. shapecode_0_a2=0.050000
  266. shapecode_0_border_r=1.000000
  267. shapecode_0_border_g=1.000000
  268. shapecode_0_border_b=1.000000
  269. shapecode_0_border_a=0.100000
  270. shapecode_1_enabled=0
  271. shapecode_1_sides=100
  272. shapecode_1_additive=0
  273. shapecode_1_thickOutline=0
  274. shapecode_1_textured=0
  275. shapecode_1_x=0.350000
  276. shapecode_1_y=0.000000
  277. shapecode_1_rad=0.099590
  278. shapecode_1_ang=0.000000
  279. shapecode_1_tex_ang=0.000000
  280. shapecode_1_tex_zoom=0.424970
  281. shapecode_1_r=0.000000
  282. shapecode_1_g=0.000000
  283. shapecode_1_b=1.000000
  284. shapecode_1_a=1.000000
  285. shapecode_1_r2=0.000000
  286. shapecode_1_g2=0.000000
  287. shapecode_1_b2=0.000000
  288. shapecode_1_a2=1.000000
  289. shapecode_1_border_r=1.000000
  290. shapecode_1_border_g=1.000000
  291. shapecode_1_border_b=1.000000
  292. shapecode_1_border_a=0.000000
  293. shapecode_2_enabled=0
  294. shapecode_2_sides=100
  295. shapecode_2_additive=0
  296. shapecode_2_thickOutline=0
  297. shapecode_2_textured=0
  298. shapecode_2_x=0.500000
  299. shapecode_2_y=0.000000
  300. shapecode_2_rad=0.102010
  301. shapecode_2_ang=0.000000
  302. shapecode_2_tex_ang=0.000000
  303. shapecode_2_tex_zoom=1.000000
  304. shapecode_2_r=1.000000
  305. shapecode_2_g=0.000000
  306. shapecode_2_b=0.000000
  307. shapecode_2_a=1.000000
  308. shapecode_2_r2=0.000000
  309. shapecode_2_g2=1.000000
  310. shapecode_2_b2=0.000000
  311. shapecode_2_a2=1.000000
  312. shapecode_2_border_r=1.000000
  313. shapecode_2_border_g=1.000000
  314. shapecode_2_border_b=1.000000
  315. shapecode_2_border_a=0.000000
  316. shapecode_3_enabled=0
  317. shapecode_3_sides=100
  318. shapecode_3_additive=0
  319. shapecode_3_thickOutline=0
  320. shapecode_3_textured=0
  321. shapecode_3_x=0.650000
  322. shapecode_3_y=0.000000
  323. shapecode_3_rad=0.100000
  324. shapecode_3_ang=0.000000
  325. shapecode_3_tex_ang=0.000000
  326. shapecode_3_tex_zoom=1.000000
  327. shapecode_3_r=1.000000
  328. shapecode_3_g=1.000000
  329. shapecode_3_b=1.000000
  330. shapecode_3_a=1.000000
  331. shapecode_3_r2=1.000000
  332. shapecode_3_g2=0.000000
  333. shapecode_3_b2=1.000000
  334. shapecode_3_a2=1.000000
  335. shapecode_3_border_r=1.000000
  336. shapecode_3_border_g=1.000000
  337. shapecode_3_border_b=1.000000
  338. shapecode_3_border_a=0.100000
  339. per_frame_1=basstime = basstime + bass*0.06;
  340. per_frame_2=q1 = basstime;
  341. per_frame_3=
  342. per_frame_4=basstime = if(below(basstime,1000),1000,basstime);
  343. per_frame_5=
  344. per_frame_6=vol = pow(bass+mid+treb,2);
  345. per_frame_7=basssum = vol;
  346. per_frame_8=
  347. per_frame_9=stickybit = time%2;
  348. per_frame_10=
  349. per_frame_11=//avg vol
  350. per_frame_12=//buffer 1
  351. per_frame_13=volAvg = volAvg + vol*equal(stickybit,1);
  352. per_frame_14=//number of samples 1 or framerate
  353. per_frame_15=sample1 = sample1 + equal(stickybit,1);
  354. per_frame_16=//buffer 2
  355. per_frame_17=volAvg2 = volAvg2 + vol*equal(stickybit,0);
  356. per_frame_18=//number of samples 2
  357. per_frame_19=sample2 = sample2 + equal(stickybit,0);
  358. per_frame_20=
  359. per_frame_21=//transision
  360. per_frame_22=edge = bnot(equal(bit2,stickybit));
  361. per_frame_23=
  362. per_frame_24=volAvg = volAvg - volAvg*edge*stickybit;
  363. per_frame_25=volAvg2 = volAvg2 - volAvg2*edge*equal(stickybit,0);
  364. per_frame_26=
  365. per_frame_27=sample1 = sample1 - sample1*edge*stickybit;
  366. per_frame_28=sample2 = sample2 - sample2*edge*equal(stickybit,0);
  367. per_frame_29=
  368. per_frame_30=//test vol against avg buffer lvl
  369. per_frame_31=diff = if(equal(stickybit,1), (basssum/(volAvg2/sample2)) , 0);
  370. per_frame_32=diff = if(equal(stickybit,0), (basssum/(volAvg/sample1)), diff);
  371. per_frame_33=
  372. per_frame_34=q3 = diff;
  373. per_frame_35=
  374. per_frame_36=bit2 = time%2;
  375. per_frame_37=
  376. per_frame_38=difftime = difftime + diff*0.03;
  377. per_frame_39=q2 = difftime;
  378. per_frame_40=
  379. per_frame_41=//fix a strange error
  380. per_frame_42=difftime = if(above(difftime,2000),0, difftime);
  381. per_frame_43=
  382. per_frame_44=
  383. per_frame_45=monitor = q1;
  384. per_pixel_1=zoom = 0.98;
  385. per_pixel_2=rot = 0;
  386. warp_1=`shader_body
  387. warp_2=`{
  388. warp_3=`
  389. warp_4=` float3 txr = float3(uv,q1*0.1);
  390. warp_5=` float2 uv2 = uv;
  391. warp_6=` uv2 = uv + texsize.zx*(q3,q3);
  392. warp_7=` float3 color = tex2D(sampler_noise_lq, uv2) - 0.5;
  393. warp_8=` color += tex2D(sampler_noise_mq, uv2) - 0.5;
  394. warp_9=` color += tex2D(sampler_noise_hq, uv2) - 0.5;
  395. warp_10=` uv += color*0.01;
  396. warp_11=` uv.y += abs(color*0.01) + bass_att*0.01;
  397. warp_12=`
  398. warp_13=` ret = tex2D( sampler_main, (uv)*0.95 + GetBlur1((uv - 0.5)*0.9 + 0.5)*0.1 ).xyz;
  399. warp_14=` ret = ret-0.01;// - 0.08; //or try: ret -= 0.004;
  400. warp_15=`}
  401. comp_1=`shader_body
  402. comp_2=`{
  403. comp_3=` ret = tex2D(sampler_main, uv).xyz;
  404. comp_4=` ret *= 2.00; //gamma
  405. comp_5=` ret = ret; //brighten
  406. comp_6=`}