Renderer.SkyboxTex
static Tex SkyboxTex{ get set }
Description
The cubemap texture the skybox backdrop draws! This is only visible on Opaque displays, since transparent displays have the real world behind them already. It’s shorthand for the skybox material’s ‘source’ texture parameter, and survives material swaps.
This is purely visual, and does not affect scene lighting. The
typical way to set up a sky is Lighting.SetEnvironment, which
assigns this along with the lighting it derives from the same
cubemap. Assign this directly to draw a different sky than the
one you’re lighting with. Assigning null restores StereoKit’s
built-in default sky.
Found an issue with these docs, or have some additional questions? Create an Issue on Github!