Posted in Uncategorized WebGL Mirror Example Artifacts Fantashit January 6, 2021 1 Comment on WebGL Mirror Example Artifacts Artifacts may be reproduced by zooming in and moving the camera a bit. https://threejs.org/examples/webgl_mirror.html Three.js version [ x ] Dev [ x ] r86 Browser [ x ] Chrome OS [ x ] macOS Author: Fantashit
@mrdoob If you are still messing around, I think there is room for simplification… //mirrorCamera.up.set( 0, - 1, 0 ); //mirrorCamera.up.applyMatrix4( rotationMatrix ); //mirrorCamera.up.reflect( normal ).negate(); mirrorCamera.up.set( 0, 1, 0 ).applyMatrix4( rotationMatrix ).reflect( normal );
@mrdoob If you are still messing around, I think there is room for simplification…