Sha256: bad8d4924951a3d8d76fc12c055229ac642e8ef256aefba6671d0006bac70028
Contents?: true
Size: 573 Bytes
Versions: 1
Compression:
Stored size: 573 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 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 | lib/jax/generators/shader/templates/common.ejs.tt |