atteneder / glTFast

Efficient glTF 3D import / export package for Unity
Other
1.24k stars 250 forks source link

Incorrect rendering on Android for bigger models #670

Open Djokix98 opened 8 months ago

Djokix98 commented 8 months ago

Hello, I noticed weird rendering on Android when the model is a bit bigger. On Desktop everything seems fine, the moment i switch to Android it becomes completely white. It happens when i resize the model, if the model goes over ~600 units in scale it starts rendering incorrectly. I provided the project with the sample scene that shows the problem. I also included the build settings for Android that I used. BigGltfTest.zip BuildSettings

Desktop screenshot Desktop

Android screenshot Android

atteneder commented 8 months ago

Without having a deeper look: I'm afraid somewhere in the graphics pipeline you're hitting a floating point precision issue like the one in #75 .

Are you using mesh quantization? Any extreme values in transforms?