required to set up basic texture
Babylon texture that can be used with materials
Creates an image texture intended for decals and projections. Wrap modes are clamped so the image is not tiled, and the alpha channel is respected by default. Feed the result into decal creation or decal map projection.
required to set up the image texture
Babylon texture that can be projected onto meshes
Creates texture from URL from a few basic options. If you loaded the asset via the file, create object url and pass it here.