Sha256: f1ee4aa7232b3b77b041ac0adfcb4298d96742dca8ab5d99689bad68c578a0c0
Contents?: true
Size: 291 Bytes
Versions: 42
Compression:
Stored size: 291 Bytes
Contents
/* Vertex shader */ uniform float waveTime; uniform float waveWidth; uniform float waveHeight; void main(void) { vec4 v = vec4(gl_Vertex); v.z = sin(waveWidth * v.x + waveTime) * cos(waveWidth * v.y + waveTime) * waveHeight; gl_Position = gl_ModelViewProjectionMatrix * v; }
Version data entries
42 entries across 42 versions & 5 rubygems