Asger Nyman Christiansen
Asger Nyman Christiansen
I think it's due to #338. If the viewport is wrong, picking will also be wrong.
Are you testing on native mobile or web mobile?
Yeah, I think so. Any help with this is much appreciated, I basically just need a way to get the correct viewport (without the browser header) from the web API,...
Thank you so much for looking into this @huand 🙏 I've spend a lot of time on these kind of problems, especially when I handled the canvas myself. A year...
See #396
That's really hard to know just by an image. Do you cast shadow using a shadow map? Does it flicker when you move? Does it go away when zooming out?
Yeah, that's a good idea 👍
Thanks for reporting 🙏 can you try to update to version 0.16 and see if it's still a problem? I guess the mesh you are loading doesn't contain normals?
It's not a great error message, but the problem is probably that your mesh doesn't contain any normals, at least please check that! The PhysicalMaterial requires normals, so you need...
@rcywongaa I don't get that error when removing the lights on the shapes example, my guess is that you are on Linux or Chrome OS? The shader compilers are different...