2013-12-06 17:48:17 +00:00
|
|
|
|
|
|
|
shader gabor_noise(
|
|
|
|
point Point = P,
|
|
|
|
vector Direction = vector(1, 0, 0),
|
|
|
|
int Anisotropic = 0,
|
|
|
|
float Bandwidth = 1.0,
|
|
|
|
float Impulses = 16,
|
|
|
|
output float Gabor = 0.8)
|
2014-01-06 02:52:27 +00:00
|
|
|
{
|
2013-12-06 17:48:17 +00:00
|
|
|
Gabor = noise("gabor", Point,
|
2014-01-06 02:52:27 +00:00
|
|
|
"direction", Direction,
|
|
|
|
"anisotropic", Anisotropic,
|
|
|
|
"do_filter", 1, // Set to 0 to disable filtering/anti-aliasing
|
|
|
|
"bandwidth", Bandwidth,
|
|
|
|
"impulses", Impulses);
|
2013-12-06 17:48:17 +00:00
|
|
|
}
|
|
|
|
|