message: Heuristic to set border color
diff: @@ -511,6 +511,16 @@ namespace ospray {
  renderEngine.unmapFramebuffer();
  }
  + // set border color TODO maybe move to application
  + vec4f texBorderCol(0.f); // default black
  + // TODO be more sophisticated (depending on renderer type, fb mode (sRGB))
  + if (renderer->child("useBackplate").valueAs<bool>()) {
  + auto col = renderer->child("bgColor").valueAs<vec3f>();
  + const float g = 1.f/2.2f;
  + texBorderCol = vec4f(powf(col.x, g), powf(col.y, g), powf(col.z, g), 0.f);
  + }
  + glTexParameterfv(GL_TEXTURE_2D, GL_TEXTURE_BORDER_COLOR, &texBorderCol[0]);
  +
  ImGui3DWidget::display();
  lastTotalTime = ImGui3DWidget::totalTime;
  