name.ctl.pd 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #N canvas 295 332 817 465 10;
  2. #X obj 180 122 cnv 15 600 220 empty empty edit_this_for_your_specific_shader:
  3. 20 12 0 14 -261234 -66577 0;
  4. #X obj 60 165 t b;
  5. #X obj 60 63 inlet shader_init;
  6. #X obj 192 398 outlet shader_data;
  7. #X obj 192 63 inlet shader_control;
  8. #X obj 192 243 f 0;
  9. #X text 219 243 specify initial value;
  10. #X text 548 241 specify initial value;
  11. #X obj 192 165 route <variable_1> <variable_2>;
  12. #X obj 462 243 list 1 1 1 1;
  13. #X msg 192 295 <variabe_1> \$1;
  14. #X obj 462 285 list prepend <variable_2>;
  15. #X obj 462 307 list trim;
  16. #X text 314 399 data sent to shader.;
  17. #X text 402 163 Here \, <variable_1> is of type float \, while <variable_2>
  18. is a 4-dimensional vector.;
  19. #X text 74 90 Variables get;
  20. #X text 74 104 initialized;
  21. #X text 74 118 on startup.;
  22. #X text 207 84 Control from the patch (right inlet of [ev_glsl]);
  23. #X text 54 246 The initialization;
  24. #X text 54 260 is useful \, as there;
  25. #X text 54 274 is no way to init;
  26. #X text 54 288 inside the shaders.;
  27. #X obj 462 213 t b a;
  28. #X text 596 415 (c)2012 Marian Weger;
  29. #X text 37 19 This is a template for the "<name>.ctl.pd" file needed
  30. by [ev_glsl <name>].;
  31. #X connect 1 0 5 0;
  32. #X connect 1 0 9 0;
  33. #X connect 2 0 1 0;
  34. #X connect 4 0 8 0;
  35. #X connect 5 0 10 0;
  36. #X connect 8 0 5 0;
  37. #X connect 8 1 23 0;
  38. #X connect 9 0 11 0;
  39. #X connect 10 0 3 0;
  40. #X connect 11 0 12 0;
  41. #X connect 12 0 3 0;
  42. #X connect 23 0 9 0;
  43. #X connect 23 1 9 1;