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!
#Mirror split effect
18 messages · Page 1 of 1 (latest)
I did something similar with uv.y = abs(uv.y);
Looks awesome, How did you achieve this?
I believe that's a postprocessing effect
with a custom shader
it literally says how in the message you replied to 😔
Haha mb, I'm actually really new to three.js & I don't know geometry :(
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
so you mean even if docs say that
this class is not intended to be called directly
you can still use it?
is it with manual matrix control or something
@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)
but uvs would still be 0...1 then
yup, I pass screen resolution into shader to calculate its ratio