Skip to main content

Function: loadImageTexture()

loadImageTexture(url): Promise<any>

Loads a plain image file (PNG/JPG/etc.) as a GPU texture, decoding sRGB to the renderer's linear working color space like any other albedo map.

Parameters​

url​

string

Returns​

Promise<any>