0031096: Visualization, TKOpenGl - support metallic-roughness texture mapping
[occt.git] / src / Graphic3d / Graphic3d_BSDF.cxx
index f3e6710..81d53fb 100644 (file)
@@ -208,5 +208,6 @@ Graphic3d_BSDF Graphic3d_BSDF::CreateMetallicRoughness (const Graphic3d_PBRMater
   aBsdf.Ks.SetValues (Graphic3d_Vec3 (thePbr.Alpha()), aRougness2);
   aBsdf.Kt = Graphic3d_Vec3 (1.0f - thePbr.Alpha());
   aBsdf.Kd = aDiff * (1.0f - thePbr.Metallic());
+  aBsdf.Le = thePbr.Emission();
   return aBsdf;
 }