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