Class MaterialCreator

Create a new MTLLoader2.MaterialCreator

Url relative to which textures are loaded

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

Constructors

Methods

  • Parameters

    • url: any
    • mapping: any
    • onLoad: any
    • onProgress: any
    • onError: any

    Returns any