three_dart_jsm/loaders/mtl_loader
library
Classes
-
MaterialCreator
-
Create a new MTLLoader.MaterialCreator
@param baseUrl - Url relative to which textures are loaded
@param options - Set of options on how to construct the materials
side: Which side to apply the material
FrontSide (default), THREE.BackSide, THREE.DoubleSide
wrap: What type of wrapping to apply for textures
RepeatWrapping (default), THREE.ClampToEdgeWrapping, THREE.MirroredRepeatWrapping
normalizeRGB: RGBs need to be normalized to 0-1 from 0-255
Default: false, assumed to be already normalized
ignoreZeroRGBs: Ignore values of RGBs (Ka,Kd,Ks) that are all 0's
Default: false
@constructor
-
MTLLoader
-
Loads a Wavefront .mtl file specifying materials