diff options
Diffstat (limited to 'release/scripts/templates_osl/noise.osl')
-rw-r--r-- | release/scripts/templates_osl/noise.osl | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/release/scripts/templates_osl/noise.osl b/release/scripts/templates_osl/noise.osl index 05cc31687c0..a4ffbbc1ee7 100644 --- a/release/scripts/templates_osl/noise.osl +++ b/release/scripts/templates_osl/noise.osl @@ -4,15 +4,24 @@ shader noise( point Point = P, output float Cell = 0.0, output color Perlin = 0.8, - output color UPerlin = 0.8) + output color UPerlin = 0.8, + output color Simplex = 0.8, + output color USimplex = 0.8) { /* Cell Noise */ Cell = noise("cell", Point); + + /* Perlin 4D Noise */ + Perlin = noise("perlin", Point, Time); + + /* UPerlin 4D Noise */ + UPerlin = noise("uperlin", Point, Time); + + /* Simplex 4D Noise */ + Simplex = noise("simplex", Point, Time); + + /* USimplex 4D Noise */ + USimplex = noise("usimplex", Point, Time); - /* Perlin 4D Noise*/ - Perlin = noise("perlin", Point, Time); - - /* UPerlin 4D Noise*/ - UPerlin = noise("uperlin", Point, Time); } |