Loads a cube texture into a parent Material. See Texture for more info.



pathPath to cube texture.String
urlsURLs to load.Array['px.jpg', 'nx.jpg', 'py.jpg', 'ny.jpg', 'pz.jpg', 'nz.jpg']
onLoadFunction to fire when all textures have loaded.Function
onProgressFunction to fire on load progress.Function
onErrorFunction to fire on load error.Function
nameTexture nameString'envMap'
refractionWhether this material uses refraction mapping or reflection mapping.Booleanfalse
refractionRatioThe refraction ratio of the material.Number0.98