1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
shader noise(
float Time = 1.0,
point Point = P,
output float Cell = 0.0,
output color Perlin = 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);
}
|