Sha256: 5abf00e43b511e275f4471a596d3679d9128063335c41f0add7714ff90aa3a30

Contents?: true

Size: 372 Bytes

Versions: 13

Compression:

Stored size: 372 Bytes

Contents

shared attribute vec2 VERTEX_TEXCOORDS;
shared attribute vec3 VERTEX_NORMAL;
shared attribute vec4 VERTEX_POSITION, VERTEX_COLOR, VERTEX_TANGENT;

void main(void) {
  vBaseColor = VERTEX_COLOR;
  vNormal = nMatrix * VERTEX_NORMAL;
  vTexCoords = VERTEX_TEXCOORDS;

  vSurfacePos = (mvMatrix * VERTEX_POSITION).xyz;

  gl_Position = pMatrix * mvMatrix * VERTEX_POSITION;
}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
jax-2.0.12 lib/assets/javascripts/shaders/basic/vertex.glsl
jax-2.0.11 lib/assets/javascripts/shaders/basic/vertex.glsl
jax-2.0.10 lib/assets/javascripts/shaders/basic/vertex.glsl
jax-2.0.9 lib/assets/javascripts/shaders/basic/vertex.glsl
jax-2.0.8 lib/assets/javascripts/shaders/basic/vertex.glsl
jax-2.0.7 lib/assets/javascripts/shaders/basic/vertex.glsl
jax-2.0.6 lib/assets/javascripts/shaders/basic/vertex.glsl
jax-2.0.5 lib/assets/javascripts/shaders/basic/vertex.glsl
jax-2.0.4 lib/assets/javascripts/shaders/basic/vertex.glsl
jax-2.0.3 lib/assets/javascripts/shaders/basic/vertex.glsl
jax-2.0.2 lib/assets/javascripts/shaders/basic/vertex.glsl
jax-2.0.1 lib/assets/javascripts/shaders/basic/vertex.glsl
jax-2.0.0 lib/assets/javascripts/shaders/basic/vertex.glsl