private int createFragShader(String filename) {
    int fragShader = ARBShaderObjects.glCreateShaderObjectARB(35632);
    if (fragShader == 0) {
      return 0;
    }
    String fragCode = "";
    try
    {
      BufferedReader reader = new BufferedReader(new InputStreamReader(Shader.class.getResourceAsStream(filename)));
      String line;
      while ((line = reader.readLine()) != null)
      {
//        String line;
        fragCode = fragCode + line + "\n";
      }
    } catch (Exception e) {
      System.out.println("Fail reading fragment shading code");
      return 0;
    }
    String line;
    ARBShaderObjects.glShaderSourceARB(fragShader, fragCode);
    ARBShaderObjects.glCompileShaderARB(fragShader);
    if (ARBShaderObjects.glGetObjectParameteriARB(fragShader, 35713) == 0) {
      printLogInfo(fragShader);
      fragShader = 0;
    }
    return fragShader;
  }