GLSL noise implementation
Posted: Thu Mar 17, 2011 3:55 pm
The OpenGL shader language has a noise-function but it has never been implemented on any card that I know of.
Now in this thread on the OpenGL forums an alternative function has appeared that allows noise without any precalculated textures or other dependencies.
Attached is a ZGE-project where I just copied in the shader program. Seems to work fine and simple to use.
Now in this thread on the OpenGL forums an alternative function has appeared that allows noise without any precalculated textures or other dependencies.
Attached is a ZGE-project where I just copied in the shader program. Seems to work fine and simple to use.