Skip to main content
Skip table of contents

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)

JSON
{
    "type" : "BaseTexture",
    "name" : string,
    "uri" : string,
    "getAlphaFromRGB" : boolean,
    "wrapU" : number,
    "wrapV" : number,
    "coordinatesMode" : number,
    "level" : number,
}

Texture

JSON
{
    "type" : "Texture",
    "invertY" : boolean,
    "samplingMode" : number,
    "noMipmap" : boolean
}

babylon.js reference: https://doc.babylonjs.com/typedoc/classes/babylon.texture

CubeTexture

JSON
{
    "type" : "CubeTexture",
    "noMipmap" : boolean
}

babylon.js reference: https://doc.babylonjs.com/typedoc/classes/babylon.cubetexture

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.