SkyboxEntity QML Type
SkyboxEntity is a convenience Entity subclass that can be used to insert a skybox in a 3D scene. More...
Import Statement: | import Qt3D.Extras 2.14 |
Since: | Qt 5.5 |
Instantiates: | QSkyboxEntity |
Detailed Description
By specifying a base name and an extension, SkyboxEntity will take care of building a TextureCubeMap to be rendered at runtime. The images in the source directory should match the pattern: base name + * "_posx|_posy|_posz|_negx|_negy|_negz" + extension
By default the extension defaults to .png.
Be sure to disable frustum culling in the FrameGraph through which the skybox rendering happens.
Note: Please note that you shouldn't try to render a skybox with an orthographic projection.
© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.