GLSL noise implementation

All topics about ZGameEditor goes here.

Moderator: Moderators

Post Reply
User avatar
VilleK
Site Admin
Posts: 2384
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

GLSL noise implementation

Post by VilleK »

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.
Attachments
GlslNoise.zgeproj
glsl noise in zge
(10.16 KiB) Downloaded 500 times
StevenM
Posts: 149
Joined: Thu Jan 20, 2011 10:03 am

Post by StevenM »

Thanks! I'll have to check this later.
Post Reply