Set the lightmap texture on mat. Added to the final color by default, or
multiplied into it when mat.useLightmapAsShadowmap is true. Reads
mat.lightmapLevel for intensity and mat.lightmapCoordIndex to select UV1 (0) or
UV2 (1, the BJS default). A texture with uAng === Math.PI is sampled V-flipped.
Registers the lightmap extension globally (idempotent). Call before the scene is
first built.
Set the lightmap texture on
mat. Added to the final color by default, or multiplied into it whenmat.useLightmapAsShadowmapis true. Readsmat.lightmapLevelfor intensity andmat.lightmapCoordIndexto select UV1 (0) or UV2 (1, the BJS default). A texture withuAng === Math.PIis sampled V-flipped. Registers the lightmap extension globally (idempotent). Call before the scene is first built.