Shader appears pixelated/granular on android device. Normal in inspector.
Hi,
I am using a custom shader to dynamically fill out the UI screen when I am changing levels in my AR application.
In inspector it looks like this - solid colors fill the screen, completely blocking the background.
However when I build it to my phone, the shader becomes half transparent and it seems that only occasional pixels of it are being rendered.
Pretty much all project settings are set to default, except I needed to set android API level compatibility to min API 26 and had to remove Vulkan from player settings.
I am at a loss what could be causing this issue and how to fix it.
EDIT: Having ARSession object disabled is related to this issue.
Answer by Arteminio777 · Nov 27, 2020 at 07:59 AM
So the issue appears to be a weird edge case:
AR session disabled
Custom shaders used
Solid color background color used instead of skybox in AR camera
Tested in an empty project, last bullet point is the main cause.