@Override
    public void render(RenderManager renderManager, Shader shader, Geometry geometry, LightList lights, BindUnits lastBindUnits) {
        Renderer renderer = renderManager.getRenderer();
        Matrix4f viewMatrix = renderManager.getCurrentCamera().getViewMatrix();
        updateLightListUniforms(viewMatrix, shader, lights);
        renderer.setShader(shader);
        renderMeshFromGeometry(renderer, geometry);
    }
Rendering logic for static pass.

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