There is a basic starter.
It should be a fullscreen red color plane.
However, it seems the same as using perspectiveCamera.
Am I missing something? or. Is it a bug?
function Product() {
return (
<>
<Suspense fallback={null}>
<Canvas>
<OrthographicCamera
left={-0.5}
right={0.5}
top={0.5}
bottom={-0.5}
near={-10}
far={10}
position={[0, 0, 1]>
<Model />
</OrthographicCamera>
</Canvas>
</Suspense>
</>
)
}
function Model() {
return (
<>
<mesh position={[0, 0, 0]}>
<planeGeometry args={[1, 1]} />
<meshBasicMaterial color={'red'} />
</mesh>
</>
)
}