New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skydome projection to allow dome / box sky texture projections #5886
Conversation
Do we plan to have a |
It's definitely an option to add that was discussed, but in a separate PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚀 But please get 1 more review before merging.
@willeastcott thanks for all the comments, all done. |
Fixes #5160
New API
Note that the sky settings are now in a standalone Scene.sky object. In the future, all sky properties will be moved here instead of being in the Scene directly. This will give us the option to set an instance of an object like this on a camera for example, allowing different sky settings per camera.
Typical use:
Skybox example with controls over the parameters:
Dome:
Box:
Infinite:
Fixes #5160