gabor_noise.osl 445 B

123456789101112131415161718
  1. shader gabor_noise(
  2. point Point = P,
  3. vector Direction = vector(1, 0, 0),
  4. int Anisotropic = 0,
  5. float Bandwidth = 1.0,
  6. float Impulses = 16,
  7. output float Gabor = 0.8)
  8. {
  9. Gabor = noise("gabor", Point,
  10. "direction", Direction,
  11. "anisotropic", Anisotropic,
  12. "do_filter", 1, // Set to 0 to disable filtering/anti-aliasing
  13. "bandwidth", Bandwidth,
  14. "impulses", Impulses);
  15. }