Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions examples/js/loaders/MTLLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,15 @@ THREE.MTLLoader.MaterialCreator.prototype = {

break;

case 'map_d':

// Alpha map

setMapForType( "alphaMap", value );
params.transparent = true;

break;

case 'ns':

// The specular exponent (defines the focus of the specular highlight)
Expand Down