Pass:skybox
EditDraws a skybox.
Arguments
Name | Type | Description |
skybox | Texture |
The skybox to render. Its TextureType can be cube to render as a cubemap, or 2d to render as an equirectangular (spherical) 2D image.
|
Returns
Nothing
Arguments
None
Returns
Nothing
Notes
The skybox will be rotated based on the camera rotation.
The skybox is drawn using a fullscreen triangle.
The skybox uses a custom shader, so set the shader to nil
before calling this function (unless explicitly using a custom shader).