Set the ambient/occlusion texture on mat, which multiplies the final diffuse
contribution. Reads mat.ambientTexLevel for intensity and mat.ambientCoordIndex
to select UV1 (0) or UV2 (1). Registers the ambient extension globally (idempotent).
Call before the scene is first built.
Set the ambient/occlusion texture on
mat, which multiplies the final diffuse contribution. Readsmat.ambientTexLevelfor intensity andmat.ambientCoordIndexto select UV1 (0) or UV2 (1). Registers the ambient extension globally (idempotent). Call before the scene is first built.