Skip to content
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

Skybox feature #104

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Skybox feature #104

wants to merge 1 commit into from

Conversation

ivan-jukic
Copy link

@ivan-jukic ivan-jukic commented Jul 19, 2021

Implemented Skybox functionality for Scene3d, and added a public API for loading and setting the skybox texture.

Skybox currently only supports equirectangular textures. Texture is applied to a quad which renders in the background, and fills the screen, while shaders calculate which part of the texture should be visible on the quad.

Skybox example is provided in the examples folder to demonstrate this functionality, and has an orbiting/rotating camera which allows for the preview of the skybox texture from any angle.

Screen.Recording.2021-07-19.at.21.32.18.mov

---
Implemented new Skybox feature, and added an API for loading and setting the skybox
texture.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant