Renderer · function

lightmapModel

A baked surface, reading its region of a lightmap page: the whole page where none is named. An instanced batch's regions compose with this one, each instance's applied first: see MeshInstances.lightmapRegions.

Explained in Hello world.

function lightmapModel(options?:
import { lightmapModel } from '@driftengine/core';

Parameters

ParameterTypeDescription
options?{ region?: LightmapRegion; }