immersive-custom-elements
immersive-custom-elements copied to clipboard
Implement <custom-shader>
Prototype https://twitter.com/superhoge/status/1132343604352049152
Question: Can I support immersive-mode? If so, how?
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?
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.
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?