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

Prefetch stereo cubemaps #1

Open
wants to merge 2 commits into
base: vizor
Choose a base branch
from
Open

Conversation

timoxley
Copy link
Collaborator

Official PR: facebookarchive#389

Currently Prefetch only supports the 6 image mono cubemaps, while Pano supports both mono cubemaps and 12 image stereo cubemaps.

Same logic as per Pano component: https://github.com/facebook/react-vr/blob/055cfdfde43d7d110db0ab0bafa8d91c6da02024/ReactVR/js/Views/Pano.js#L290

Also noticed Prefetch.uriKey only uses first 6 images for keying stereo cubemaps, updated so it uses all 12 for keying.

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