Sha256: 4629f4a1e04168ee29737be7704365876e4955b3a7babd27da081c73610331d8

Contents?: true

Size: 284 Bytes

Versions: 21

Compression:

Stored size: 284 Bytes

Contents

#ifdef USE_SKINNING

	vec4 mvPosition = modelViewMatrix * skinned;

#elif defined( USE_MORPHTARGETS )

	vec4 mvPosition = modelViewMatrix * vec4( morphed, 1.0 );

#else

	vec4 mvPosition = modelViewMatrix * vec4( position, 1.0 );

#endif

gl_Position = projectionMatrix * mvPosition;

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
mittsu-0.1.0 lib/mittsu/renderers/shaders/shader_chunk/default_vertex.glsl