Contents

SkyboxGenerator

An object that generates a skybox cube texture from an equirectangular source.

Declaration

class SkyboxGenerator

Overview

Use a skybox generator to convert a latitude/longitude (equirectangular) Metal texture into a cube texture that you can render as a scene background or feed into ImageBasedLightTextureGenerator to derive image-based-lighting diffuse and specular textures. The generator dispatches its work onto a Metal command buffer that you provide, so it composes naturally with other GPU work and with RealityKit’s LowLevelTexture.

Topics

Creating a skybox generator

Generating a skybox

Initializers

See Also

Environment texture generation