@Override
    protected void generateEndOfMainSection(StringBuilder source, ShaderGenerationInfo info, Shader.ShaderType type) {
        if (type == Shader.ShaderType.Vertex) {
            appendOutput(source, "gl_Position", info.getVertexGlobal());
        }
        unIndent();
        appendIndent(source);
        source.append("}\n");
    }
{@inheritDoc}

only vertex shader output are mapped here, since fragment shader outputs
must have been mapped in the main section.
jme3-core/src/main/java/com/jme3/shader/Glsl150ShaderGenerator.java