Loading video...
Video Failed to Load
simplest magic/impossible box ever? i remember when stuff like that was so complex, tutorials spanning dozens of pages using tricky stencil operations. now it's just ... react ✨ <MeshPortalMaterial> {children} </MeshPortalMaterial>
107,142 views • 3 years ago •via X (Twitter)
10 Comments

omg. I just have the PERFECT use for this for my current project. This is going to be insane. Also: the frequency at which these new toys have been released recently is crazy.

I wish I could just Matrix style suck in all your knowledge.

I have been using Vanilla JS for so long, especially because of Three.js, but this Tweet alone made me want to switch to React ASAP.

its not a contradiction. it's three and components. but the whole imperative side isn't absent, only that it can be abstracted and shared.

this is crazy

i want to eat this for breakfast

Oh, so if we want screen space coordinates, better use this than <RenderTexture/>. Sweeeeet. Or is there a param that I don't know on RenderTexture ?

@_Axiome_ this also uses rendertexture, but in order to get ss you need a shader. this just sets it up for up.

Thank you!!!!

Oh damn.. Imagine applying this effect to house interior with mirror / window. Onclick or scroll you fly through mirror to other scene or trough laptop / old PC screen to matrix vibe world 🤤 What do you think about that guys?

