正在加载视频...

视频加载失败

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 次观看 • 3 年前 •via X (Twitter)

10 条评论

Sebastien-console_buche 🪵 的头像
Sebastien-console_buche 🪵3 年前

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.

Sock, the dev 🧦 的头像
Sock, the dev 🧦3 年前

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

Amarino França 的头像
Amarino França3 年前

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.

☄︎ 的头像
☄︎3 年前

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.

Antoine BERNIER ᯅ 的头像
Antoine BERNIER ᯅ3 年前

this is crazy

time 的头像
time3 年前

i want to eat this for breakfast

Adam 的头像
Adam3 年前

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 ?

☄︎ 的头像
☄︎3 年前

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

Sébastien Lempens 的头像
Sébastien Lempens3 年前

Thank you!!!!

Jakub Cywiński 的头像
Jakub Cywiński3 年前

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?

相关视频