private void transformDirection(Matrix4f viewMatrix, Vector3f direction) {
        viewMatrix.multNormal(direction, direction);
    }
Rendering logic for static pass.

@author Kirill Vainer
jme3-core/src/main/java/com/jme3/material/logic/StaticPassLightingLogic.java