The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers


OpenGL News Archives

Drop-in replacement noise() for GLSL

Mar 17, 2011

Since its inception, GLSL has sadly lacked native support for noise(). A few GLSL implementations of Perlin noise have been presented over the years, but now it seems like we have a winner. Ian McEwan of Ashima Arts has come up with a very clever version of “simplex noise” that requires neither texture access nor arrays. It is compatible with WebGL, it is a set of self-contained GLSL functions with no external dependencies, and it runs fast. A demo with full source code has been posted to the GLSL developer’s forum.