message: Load RGBA32F textures (and convert to RGBA8)
diff: @@ -413,13 +413,18 @@ void load_obj(std::vector<std::string> const& filenames, model& mod)
  tex.set_address_mode( Wrap );
  tex.set_filter_mode( Linear );
  - if (img.format() == PF_RGB16UI)
  + if (img.format() == PF_RGBA32F)
  + {
  + // Down-convert to 8-bit
  + auto data_ptr = reinterpret_cast<vector<4, float> const*>(img.data());
  + tex.reset(data_ptr, PF_RGBA32F, PF_RGBA8);
  + }
  + else if (img.format() == PF_RGB16UI)
  {
  // Down-convert to 8-bit, add alpha=1.0
  auto data_ptr = reinterpret_cast<vector<3, unorm<16>> const*>(img.data());
  tex.reset(data_ptr, PF_RGB16UI, PF_RGBA8, AlphaIsOne);
  }
  -
  else if (img.format() == PF_RGBA16UI)
  {
  // Down-convert to 8-bit
  