Textures
Textures are used to define properties like color, reflectivitly, transparency and bumpyness of your objects. At the moment, we support the standard texture and cube textures (for e.g. reflections and sky boxes).
BaseTexture (abstract)
Texture
CubeTexture
BaseTexture (abstract)
{
"type" : "BaseTexture",
"name" : string,
"uri" : string,
"getAlphaFromRGB" : boolean,
"wrapU" : number,
"wrapV" : number,
"coordinatesMode" : number,
"level" : number,
}
Texture
{
"type" : "Texture",
"invertY" : boolean,
"samplingMode" : number,
"noMipmap" : boolean
}
babylon.js reference: https://doc.babylonjs.com/typedoc/classes/babylon.texture
CubeTexture
{
"type" : "CubeTexture",
"noMipmap" : boolean
}
babylon.js reference: https://doc.babylonjs.com/typedoc/classes/babylon.cubetexture