immersive-web / webxr-samples

Samples to demonstrate use of the WebXR Device API
https://immersive-web.github.io/webxr-samples/
MIT License
987 stars 474 forks source link

Add layer vs non-layer example and layer hit test example #109

Closed felixtrz closed 3 years ago

felixtrz commented 3 years ago

This PR adds:

  1. the layer vs non-layer example that shows the quality difference of using a quad layer to render an image vs rendering the same image in projection layer as a simple texture.
  2. the layer hit test example that shows how to do hit test with quad layers.

    @toji

toji commented 3 years ago

I apologize. I reported that the samples were causing a crash but apparently is something wrong with running any WebXR content on my specific device. I'm in the process of debugging it now, and will give this PR a proper review once that's solved.