message: Fix up emissive energy compensation for glTF.
diff: @@ -144,8 +144,12 @@ std::string shaderFromConfig(MaterialConfig config) {
  material.roughness = materialParams.roughnessFactor * metallicRoughness.g;
  material.metallic = materialParams.metallicFactor * metallicRoughness.b;
  material.ambientOcclusion = texture(materialParams_aoMap, aoUV).r;
  - material.emissive = texture(materialParams_emissiveMap, emissiveUV);
  + material.emissive.rgb = texture(materialParams_emissiveMap, emissiveUV).rgb;
  material.emissive.rgb *= materialParams.emissiveFactor.rgb;
  +
  + // The opinionated lighting model specified by glTF does not account for energy
  + // compensation, using this value basically disables it:
  + material.emissive.a = 3.0;
  )SHADER";
  }
  