Welcome to mirror list, hosted at ThFree Co, Russian Federation.

noise.osl « templates_osl « scripts « release - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e152824b19266b06919fc0ce26254e363a85b803 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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);
}