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-0.1.0 lib/mittsu/renderers/shaders/shader_chunk/defaultnormal_vertex.glsl