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

Version Path
tdiary-4.2.1 vendor/bundle/ruby/2.2.0/gems/pygments.rb-0.6.3/vendor/pygments-main/tests/examplefiles/glsl.vert
pygments.rb-0.6.3 vendor/pygments-main/tests/examplefiles/glsl.vert
pygments.rb-0.6.2 vendor/pygments-main/tests/examplefiles/glsl.vert
pygments.rb-0.6.1 vendor/pygments-main/tests/examplefiles/glsl.vert
pygments.rb-0.6.0 vendor/pygments-main/tests/examplefiles/glsl.vert
mortar-pygments.rb-0.5.7 vendor/pygments-main/tests/examplefiles/glsl.vert
mortar-pygments.rb-0.5.6 vendor/pygments-main/tests/examplefiles/glsl.vert
mortar-pygments.rb-0.5.5 vendor/pygments-main/tests/examplefiles/glsl.vert
pygments.rb-jruby-0.5.4.2 vendor/pygments-main/tests/examplefiles/glsl.vert
pygments.rb-jruby-0.5.4.1 vendor/pygments-main/tests/examplefiles/glsl.vert
pygments.rb-jruby-0.5.4 vendor/pygments-main/tests/examplefiles/glsl.vert
gitlab-pygments.rb-0.5.4 vendor/pygments-main/tests/examplefiles/glsl.vert
pygments.rb-0.5.4 vendor/pygments-main/tests/examplefiles/glsl.vert
pygments.rb-0.5.2 vendor/pygments-main/tests/examplefiles/glsl.vert
pygments.rb-0.5.1 vendor/pygments-main/tests/examplefiles/glsl.vert
pygments.rb-0.5.0 vendor/pygments-main/tests/examplefiles/glsl.vert
gitlab-pygments.rb-0.3.2 vendor/pygments-main/tests/examplefiles/glsl.vert
pygments.rb-0.4.2 vendor/pygments-main/tests/examplefiles/glsl.vert
pygments.rb-0.4.1 vendor/pygments-main/tests/examplefiles/glsl.vert
pygments.rb-0.3.7 vendor/pygments-main/tests/examplefiles/glsl.vert