MozillaReality / immersive-custom-elements

INACTIVE - Immersive Custom Elements
https://mixedreality.mozilla.org/immersive-custom-elements/examples/index.html
Mozilla Public License 2.0
134 stars 8 forks source link

Implement <custom-shader> #6

Closed takahirox closed 2 months ago

takahirox commented 5 years ago

Prototype https://twitter.com/superhoge/status/1132343604352049152

takahirox commented 5 years ago

Question: Can I support immersive-mode? If so, how?

joshmarinacci commented 5 years ago

This would be super fun. It feels very open ended though. What is the shader used for? Replacing a background image for the whole page? Creating a div that you click on for immersive mode?

takahirox commented 5 years ago

This project is for immersive experience so currently I'm thinking of the latter one.

Creating a div that you click on for immersive mode?

But I'm not sure yet if seeing it in VR looks nice. I think I need some experiments to find the best use cases.

joshmarinacci commented 5 years ago

I agree. Without depth control I'm not sure what you'd use it for in VR. Is it possible to nest elements? ex:

<immersive-cube>
   <custom-shader>

so that you could use the shader on an object?