Skip to content

XRLayer stereo layout not supported in the fallback  #413

Description

@geyang

The following example does not work as intended as far as I know:

  const video = useMemo(() => {
    const result = document.createElement('video');
    result.src = 'https://threejs.org/examples/textures/MaryOculus.webm';
    result.crossOrigin = 'anonymous';
    return result;
  }, []);
  return   
              <XRLayer
                position={[0, 0, -0.5]}
                onClick={() => video.play()}
                scale={0.5}
                src={video}
                // shape={'cylinder'}
                layout={"stereo-left-right"}
              />

shows up like this:

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions