pmndrs / gltfjsx

🎮 Turns GLTFs into JSX components
https://gltf.pmnd.rs
MIT License
4.45k stars 290 forks source link

ARCanvas antialiasing not working in ios xrviewer #110

Closed JakeJustLearning closed 2 years ago

JakeJustLearning commented 2 years ago

I am using XR viewer to test and develop react with WEBXR content. However all the objects are extremely pixelated. am I missing some sort of setting? I have set gl={{antialias:true}} in the ARCanvas component.

is there a need to set the screen size?

drcmda commented 2 years ago

<Canvas dpr={[1, 2]} but that's unrelated to gltfjsx. its just pixelratio which defaults to 1.

JakeJustLearning commented 2 years ago

@drcmda tried this, but it still doesn't seem to solve the problem. still having pretty bad pixelation which I don't get rebuilding the same thing in three/XR without react.