diff options
Diffstat (limited to 'release/scripts/templates_osl/noise.osl')
-rw-r--r-- | release/scripts/templates_osl/noise.osl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/release/scripts/templates_osl/noise.osl b/release/scripts/templates_osl/noise.osl new file mode 100644 index 00000000000..e152824b192 --- /dev/null +++ b/release/scripts/templates_osl/noise.osl @@ -0,0 +1,18 @@ +#include <stdosl.h> + +shader noise( + float Time = 1.0, + point Point = P, + output float Cell = 0.0, + output color Perlin = 0.8, + output color UPerlin = 0.8) +{ + /* Cell Noise */ + Cell = noise("cell", Point); + + /* Perlin 4D Noise*/ + Perlin = noise("perlin", Point, Time); + + /* UPerlin 4D Noise*/ + UPerlin = noise("uperlin", Point, Time); +}
\ No newline at end of file |