Program: 632
Project: 632
Buggy source:
@Override public void applyParameters(Material program){
  super.applyParameters(program);
  DynamicFBOsManager dynamicFBOsManager=CoreRegistry.get(DynamicFBOsManager.class);
  Camera activeCamera=CoreRegistry.get(WorldRenderer.class).getActiveCamera();
  WorldProvider worldProvider=CoreRegistry.get(WorldProvider.class);
  Vector3f tint=worldProvider.getBlock(activeCamera.getPosition()).getTint();
  program.setFloat3("String_Node_Str",tint.x,tint.y,tint.z,true);
  int texId=0;
  GL13.glActiveTexture(GL13.GL_TEXTURE0 + texId);
  dynamicFBOsManager.bindFboColorTexture(DefaultDynamicFBOs.ReadOnlyGBuffer.getName());
  program.setInt("String_Node_Str",texId++,true);
  if (CoreRegistry.get(Config.class).getRendering().isBloom()) {
    GL13.glActiveTexture(GL13.GL_TEXTURE0 + texId);
    dynamicFBOsManager.bindFboColorTexture(BloomPassesNode.BLOOM_2_URN);
    program.setInt("String_Node_Str",texId++,true);
    program.setFloat("String_Node_Str",bloomFactor,true);
  }
  program.setFloat2("String_Node_Str",aberrationOffsetX,aberrationOffsetY,true);
  if (CoreRegistry.get(Config.class).getRendering().isLightShafts()) {
    GL13.glActiveTexture(GL13.GL_TEXTURE0 + texId);
    dynamicFBOsManager.bindFboColorTexture(LightShaftsNode.LIGHT_SHAFTS_URN);
    program.setInt("String_Node_Str",texId++,true);
  }
  Optional<? extends Texture> vignetteTexture=Assets.getTexture("String_Node_Str");
  if (vignetteTexture.isPresent()) {
    GL13.glActiveTexture(GL13.GL_TEXTURE0 + texId);
    glBindTexture(GL11.GL_TEXTURE_2D,vignetteTexture.get().getId());
    program.setInt("String_Node_Str",texId++,true);
  }
}

Fixed version (ground truth):
@Override public void applyParameters(Material program){
  super.applyParameters(program);
  DynamicFBOsManager dynamicFBOsManager=CoreRegistry.get(DynamicFBOsManager.class);
  Camera activeCamera=CoreRegistry.get(WorldRenderer.class).getActiveCamera();
  WorldProvider worldProvider=CoreRegistry.get(WorldProvider.class);
  Vector3f tint=worldProvider.getBlock(activeCamera.getPosition()).getTint();
  program.setFloat3("String_Node_Str",tint.x,tint.y,tint.z,true);
  int texId=0;
  GL13.glActiveTexture(GL13.GL_TEXTURE0 + texId);
  dynamicFBOsManager.bindFboColorTexture(DefaultDynamicFBOs.READ_ONLY_GBUFFER.getName());
  program.setInt("String_Node_Str",texId++,true);
  if (CoreRegistry.get(Config.class).getRendering().isBloom()) {
    GL13.glActiveTexture(GL13.GL_TEXTURE0 + texId);
    dynamicFBOsManager.bindFboColorTexture(BloomPassesNode.BLOOM_2_URN);
    program.setInt("String_Node_Str",texId++,true);
    program.setFloat("String_Node_Str",bloomFactor,true);
  }
  program.setFloat2("String_Node_Str",aberrationOffsetX,aberrationOffsetY,true);
  if (CoreRegistry.get(Config.class).getRendering().isLightShafts()) {
    GL13.glActiveTexture(GL13.GL_TEXTURE0 + texId);
    dynamicFBOsManager.bindFboColorTexture(LightShaftsNode.LIGHT_SHAFTS_URN);
    program.setInt("String_Node_Str",texId++,true);
  }
  Optional<? extends Texture> vignetteTexture=Assets.getTexture("String_Node_Str");
  if (vignetteTexture.isPresent()) {
    GL13.glActiveTexture(GL13.GL_TEXTURE0 + texId);
    glBindTexture(GL11.GL_TEXTURE_2D,vignetteTexture.get().getId());
    program.setInt("String_Node_Str",texId++,true);
  }
}