Sha256: 0456011d54015d2c066e3151edae2a73f5bcdbf770c2813356efb9fa4ac52c2c

Contents?: true

Size: 348 Bytes

Versions: 21

Compression:

Stored size: 348 Bytes

Contents

#if defined( USE_ENVMAP ) || defined( PHONG ) || defined( LAMBERT ) || defined ( USE_SHADOWMAP )

	#ifdef USE_SKINNING

		vec4 worldPosition = modelMatrix * skinned;

	#elif defined( USE_MORPHTARGETS )

		vec4 worldPosition = modelMatrix * vec4( morphed, 1.0 );

	#else

		vec4 worldPosition = modelMatrix * vec4( position, 1.0 );

	#endif

#endif

Version data entries

21 entries across 21 versions & 2 rubygems

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