API

Function setPbrSkybox

  • Turn mat into a skybox material that samples the scene IBL cubemap along the view direction (use on a large camera-centred box). Registers the skybox extension globally (idempotent). Requires the scene to have an environment (IBL). Call before the scene is first built.

    Parameters

    Returns void