Open
Description
In the example, when changing the camera from perspective to orthographic, tracing does not seem to work, and because of this, the light creates a completely different picture, slightly overexposed and without such shadows as with a perspective camera.
// const camera = new THREE.PerspectiveCamera(40, window.innerWidth / window.innerHeight, 0.01, 250)
const frustumSize = 10
const aspect = window.innerWidth / window.innerHeight
const camera = new THREE.OrthographicCamera(
-frustumSize * aspect,
frustumSize * aspect,
frustumSize,
-frustumSize,
1,
1000,
)
scene.add(camera)
Perspective (default example)
Orthographic
Is it possible to achieve a similar result with an orthographic camera as a perspective one? Or is it not supported yet?