simvx.graphics.renderer.skybox_pass¶
Skybox rendering pass — draws a cubemap-textured sky behind the scene.
Module Contents¶
Classes¶
Renders a cubemap skybox behind the scene. |
Data¶
API¶
- simvx.graphics.renderer.skybox_pass.__all__¶
[‘SkyboxPass’]
- class simvx.graphics.renderer.skybox_pass.SkyboxPass(engine: Any)[source]¶
Renders a cubemap skybox behind the scene.
The skybox is drawn as a unit cube with depth test set to LESS_OR_EQUAL and depth written as 1.0 (far plane), so it renders behind all geometry.
Initialization
- setup(cubemap_view: Any, cubemap_sampler: Any) None[source]¶
Initialize skybox pipeline with a cubemap texture.