public void setShaderFile(String vertexShader, String fragmentShader, String vertLanguage, String fragLanguage) {
        this.shaderLanguages.put(Shader.ShaderType.Vertex, vertLanguage);
        this.shaderNames.put(Shader.ShaderType.Vertex, vertexShader);
        this.shaderLanguages.put(Shader.ShaderType.Fragment, fragLanguage);
        this.shaderNames.put(Shader.ShaderType.Fragment, fragmentShader);

        requiredCaps.clear();
        Caps vertCap = Caps.valueOf(vertLanguage);
        requiredCaps.add(vertCap);
        Caps fragCap = Caps.valueOf(fragLanguage);
        requiredCaps.add(fragCap);

        weight = Math.max(vertCap.ordinal(), fragCap.ordinal());
    }
Sets the shaders that this technique definition will use.

@param vertexShader The name of the vertex shader
@param fragmentShader The name of the fragment shader
@param vertLanguage The vertex shader language
@param fragLanguage The fragment shader language
jme3-core/src/main/java/com/jme3/material/TechniqueDef.java