danini-the-panini/mittsu-opengl

View on GitHub
lib/mittsu/opengl/shader/chunks/shadowmap_vertex.glsl

Summary

Maintainability
Test Coverage
#ifdef USE_SHADOWMAP

    for( int i = 0; i < MAX_SHADOWS; i ++ ) {

        vShadowCoord[ i ] = shadowMatrix[ i ] * worldPosition;

    }

#endif