Android Vulkan Mobile: Rendering artifacts and very low resolution textures for runtime generated assets

Andrea3000
Tue, 26 Nov 2024 21:54:53 +0000
Rendering

Hi all,

I’ve been trying to solve the following issues for weeks now but I’m getting nowhere.
I’m developing an Archiviz app for the Meta Quest 3 based on the Collab Viewer template and using the Android Vulkan Mobile renderer (not the Desktop SM5).

I have modified the Datasmith Runtime plugin to run on Android and to be able to import the entire scene at runtime from Archicad using DirectLink.

If I import the scene into the editor and build the scene as part of the game, everything works and renders as expected (see image below for reference)

If instead I create the assets at runtime (meshes, materials and textures) I get very low resolution textures and an artifact that appears to come more or less from the direction of the sun light that is present in the scene (see image below) and it always present even if I move to another room of the scene

As a test, I also tried to switch to the Vulkan Desktop renderer (SM5), which in any case isn’t usable because it kills the framerate on the Quest to something like 20fps. With that, even on cooked content there are some rendering issues with some diagonal lines and generally a very bright scene.
However, at least the issue of the low resolution textures is gone, but there is still that apparent reflected light, this time not as low resolution as with the default Vulkan renderer (see below)

Do you have any idea on what could be causing those issues? Any suggestions on how to investigate this further?

Thank you
Andrea

2 posts - 2 participants