Sha256: dd6d32f99e7f43c805a817eb3aeb56688937df7153e8864567ba8002f52343b8

Contents?: true

Size: 604 Bytes

Versions: 1

Compression:

Stored size: 604 Bytes

Contents

//= require "functions/noise"

// 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 vNormals;
shared varying vec4 vColor;

// 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

1 entries across 1 versions & 1 rubygems

Version Path
jax-0.0.0.5 spec/example_app/app/shaders/blob/common.ejs