noise.osl 522 B

12345678910111213141516171819202122232425262728
  1. shader noise(
  2. float Time = 1.0,
  3. point Point = P,
  4. output float Cell = 0.0,
  5. output color Perlin = 0.8,
  6. output color UPerlin = 0.8,
  7. output color Simplex = 0.8,
  8. output color USimplex = 0.8)
  9. {
  10. /* Cell Noise */
  11. Cell = noise("cell", Point);
  12. /* Perlin 4D Noise */
  13. Perlin = noise("perlin", Point, Time);
  14. /* UPerlin 4D Noise */
  15. UPerlin = noise("uperlin", Point, Time);
  16. /* Simplex 4D Noise */
  17. Simplex = noise("simplex", Point, Time);
  18. /* USimplex 4D Noise */
  19. USimplex = noise("usimplex", Point, Time);
  20. }