Mobile Shaders for Android build have broken Normals
needs more information
MeowRaa Roar
When trying to upload Android (Quest) version of avatar I encountered issue with Normalmaps:
Avatar in editor (Unity 2022.3.22f1; vrc avatar sdk 3.7.0) with Standard Lite mobile shaders looks without issues (screenshot in the attachments alongside with shader and texture settings).
But when log into standalone version of vrc (from Quest 2/3/Pro) it have shading artifacts. (that can be seen on attached screenshots. Version without normals there too for comparison).
Visuals of the artifacts depends on normalmap format. The ones I tested with was:
For Standard Lite:
RGBA Compressed ASTC 4x4 block
RGBA Compressed ETC2:
RGBA 16 bit (intensity 1 and 0.1)
For Bumped Diffuse:
RGBA Compressed ETC2.
RGBA 16 bit.
Problem occurred, presumably, few month ago (it also was present in SDK 3.6.0) and consists on every attempt to upload any avatar with Normalmaps.
Log In
MeowRaa Roar
found the cause of the problem: these settings was on
ASTC
and DXT5nm-style
Cr_nch
Just want to concur with what's been said here, I've been struggling to get normal mapped avatars to render correctly on the quest, and it seems (from a few forum posts I've been able to find with the same issue) that this started cropping up after the Unity 2022 SDK was released.
Edit: Thought I'd just link the posts here too. Linked in chronological order.
MeowRaa Roar
Tried turning off Specular Lightprobe Hack and had roughly same result.
Screenshots of settings and quest capture attached.
For Standard Lite Nohack formats captured in screenshots:
RGBA Compressed ASTC 4x4 block;
RGBA Compressed ETC2 8 bit;
RGBA 16 bit.
(also normal map was added on beans)
StormRel
needs more information
Feilen
Try seeing if the same occurs with Specular Lightprobe Hack enabled/disabled. Although the behavior changing between different texture formats is quite unusual...
MeowRaa Roar
Feilen here test default unity cube avatar with vrc mobile shader in fresh project with nothing but vrc sdk 3.7.1
Screenshots of it from unity editor and ingame.
Also original textures attached
MeowRaa Roar
Tested with older version of sdk with same settings for shader/textures.
Had the same result with 3.5.2, but in 3.4.1 problem wasn't present
Screenshots from client and unity editor: