addEmissiveColorToPbrMaterial#
Fully qualified name: usdex::rtx::addEmissiveColorToPbrMaterial
- bool usdex::rtx::addEmissiveColorToPbrMaterial(
- pxr::UsdShadeMaterial &material,
- const pxr::GfVec3f &color,
- const float intensity = 1000.0f,
Adds an emissive color to the PBR material.
It is expected that the material was created by
usdex::rtx::definePbrMaterial().- Parameters:
material – The UsdShadeMaterial prim to add the color
color – The emissive color
intensity – The intensity of the emissive color
- Returns:
Whether or not the color was added to the material