Sha256: f24c542c81f3c0fca4cd4036ae5f4ce176855d5baaef131bd3ee2161370e658f

Contents?: true

Size: 292 Bytes

Versions: 21

Compression:

Stored size: 292 Bytes

Contents

#ifdef USE_SKINNING

	vec3 objectNormal = skinnedNormal.xyz;

#elif defined( USE_MORPHNORMALS )

	vec3 objectNormal = morphedNormal;

#else

	vec3 objectNormal = normal;

#endif

#ifdef FLIP_SIDED

	objectNormal = -objectNormal;

#endif

vec3 transformedNormal = normalMatrix * objectNormal;

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
mittsu-opengl-0.5.1 lib/mittsu/opengl/shader/chunks/defaultnormal_vertex.glsl
mittsu-0.4.1 lib/mittsu/renderers/shaders/shader_chunk/defaultnormal_vertex.glsl
mittsu-opengl-0.5.0 lib/mittsu/opengl/shader/chunks/defaultnormal_vertex.glsl
mittsu-0.4.0 lib/mittsu/renderers/shaders/shader_chunk/defaultnormal_vertex.glsl
mittsu-0.3.3 lib/mittsu/renderers/shaders/shader_chunk/defaultnormal_vertex.glsl
mittsu-0.3.2 lib/mittsu/renderers/shaders/shader_chunk/defaultnormal_vertex.glsl
mittsu-0.3.1 lib/mittsu/renderers/shaders/shader_chunk/defaultnormal_vertex.glsl
mittsu-0.3.0 lib/mittsu/renderers/shaders/shader_chunk/defaultnormal_vertex.glsl
mittsu-0.2.4 lib/mittsu/renderers/shaders/shader_chunk/defaultnormal_vertex.glsl
mittsu-0.2.3 lib/mittsu/renderers/shaders/shader_chunk/defaultnormal_vertex.glsl
mittsu-0.2.2 lib/mittsu/renderers/shaders/shader_chunk/defaultnormal_vertex.glsl
mittsu-0.2.1 lib/mittsu/renderers/shaders/shader_chunk/defaultnormal_vertex.glsl
mittsu-0.2.0 lib/mittsu/renderers/shaders/shader_chunk/defaultnormal_vertex.glsl
mittsu-0.1.7 lib/mittsu/renderers/shaders/shader_chunk/defaultnormal_vertex.glsl
mittsu-0.1.6 lib/mittsu/renderers/shaders/shader_chunk/defaultnormal_vertex.glsl
mittsu-0.1.5 lib/mittsu/renderers/shaders/shader_chunk/defaultnormal_vertex.glsl
mittsu-0.1.4 lib/mittsu/renderers/shaders/shader_chunk/defaultnormal_vertex.glsl
mittsu-0.1.3 lib/mittsu/renderers/shaders/shader_chunk/defaultnormal_vertex.glsl
mittsu-0.1.2 lib/mittsu/renderers/shaders/shader_chunk/defaultnormal_vertex.glsl
mittsu-0.1.1 lib/mittsu/renderers/shaders/shader_chunk/defaultnormal_vertex.glsl