immersive-custom-elements icon indicating copy to clipboard operation
immersive-custom-elements copied to clipboard

Implement <custom-shader>

Open takahirox opened this issue 5 years ago • 4 comments

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

takahirox avatar May 31 '19 10:05 takahirox

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

takahirox avatar Jun 07 '19 20:06 takahirox

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?

joshmarinacci avatar Aug 20 '19 23:08 joshmarinacci

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.

takahirox avatar Aug 21 '19 00:08 takahirox

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?

joshmarinacci avatar Aug 21 '19 15:08 joshmarinacci