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