Sha256: 9cf0d7f5a530c6c5e2068a836a990eec14f0fc46c863d348da0a39430f4f71e5

Contents?: true

Size: 576 Bytes

Versions: 25

Compression:

Stored size: 576 Bytes

Contents

// Shared variables save on graphics memory and allow you to "piggy-back" off of
// variables defined in other shaders:

shared uniform mat3 nMatrix;
shared uniform mat4 mvMatrix, pMatrix;

shared varying vec2 vTexCoords;
shared varying vec3 vNormal;
shared varying vec4 vBaseColor;

// If a variable isn't shared, it will be defined specifically for this shader.
// If this shader is used twice in one materials, unshared variables will be
// defined twice -- once for each use of the shader.

//   uniform sampler2D Texture;
//   uniform float TextureScaleX, TextureScaleY;

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
jax-2.0.12 templates/shader_common.glsl.erb
jax-2.0.11 templates/shader_common.glsl.erb
jax-2.0.10 templates/shader_common.glsl.erb
jax-2.0.9 templates/shader_common.glsl.erb
jax-2.0.8 templates/shader_common.glsl.erb
jax-2.0.7 templates/shader_common.glsl.erb
jax-2.0.6 templates/shader_common.glsl.erb
jax-2.0.5 templates/shader_common.glsl.erb
jax-2.0.4 templates/shader_common.glsl.erb
jax-2.0.3 templates/shader_common.glsl.erb
jax-2.0.2 templates/shader_common.glsl.erb
jax-2.0.1 templates/shader_common.glsl.erb
jax-2.0.0 templates/shader_common.glsl.erb
jax-1.1.1 lib/jax/generators/shader/templates/common.ejs.tt
jax-1.1.0 lib/jax/generators/shader/templates/common.ejs.tt
jax-1.1.0.rc1 lib/jax/generators/shader/templates/common.ejs.tt
jax-1.0.1 lib/jax/generators/shader/templates/common.ejs.tt
jax-1.0.1.rc2 lib/jax/generators/shader/templates/common.ejs.tt
jax-1.0.1.rc1 lib/jax/generators/shader/templates/common.ejs.tt
jax-1.0.0 lib/jax/generators/shader/templates/common.ejs.tt