#Mirror split effect

18 messages · Page 1 of 1 (latest)

fallow yacht
#

Hi, I want to achieve this effect:
https://otherside.xyz/
I'm using React. If you can point me into right direction. It'll be greatly appreciated!

Otherside is a gamified, interoperable metaverse currently under development that blends MMORPG mechanics with web3-enabled virtual worlds.

clever helm
#

I did something similar with uv.y = abs(uv.y);

fallow yacht
light flax
#

with a custom shader

forest pawn
fallow yacht
#

Haha mb, I'm actually really new to three.js & I don't know geometry :(

clever helm
#

it's all drawn on a plane (2 x 2) and rendered with THREE.Camera() 🙂

#

"All" I mean the background

#

The spheres, it's the other scene + perspective camera

forest pawn
#

is it with manual matrix control or something

clever helm
#

@forest pawn
"not intended" doesn't mean you can't use it )
This cam is something like OrthographicCamera, that renders a quad 2x2 (so, that's why there is the plane of the same size)

forest pawn
#

but uvs would still be 0...1 then

clever helm
#

yup, I pass screen resolution into shader to calculate its ratio

forest pawn
#

and if you do your shader then camera does not really matter

#

welp nice to know that .Camera works