Skip to content

Commit

Permalink
USDZExporter: Added material.emissive support.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Feb 9, 2021
1 parent ac377cf commit d1de1f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/jsm/exporters/USDZExporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ function buildMaterial( material ) {
{
uniform token info:id = "UsdPreviewSurface"
color3f inputs:diffuseColor = ${ buildColor( material.color ) }
color3f inputs:emissiveColor = ${ buildColor( material.emissive ) }
float inputs:metallic = ${ material.metalness }
float inputs:roughness = ${ material.roughness }
token outputs:surface
Expand Down

0 comments on commit d1de1f0

Please sign in to comment.