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.
GLSL noise implementation
Moderator: Moderators
GLSL noise implementation
- Attachments
-
- GlslNoise.zgeproj
- glsl noise in zge
- (10.16 KiB) Downloaded 500 times