Pixelated baked shadows on mobile

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Nixion

Hello, i’m using GLES3 with default project quality settings. On the scene I have one simple mesh with generated light map and directional light with bake mode - all, after baking my light, on pc and in editor I have a smooth looking shadow. But when I export my project to android, I get pixelated shadow. I tried changing quality settings but that didn’t help.

Which device are you using (and which Android version is it running)? This may be a driver-specific bug. Also, try switching to the GLES2 backend which is better supported on Android.

Since this may be an engine bug, you should create an issue on GitHub with a minimal reproduction project attached.

Calinou | 2022-01-26 00:10

I’m using redmi note 8 pro with android 9. Using GLES2 seems solve the problem, thank you.

Nixion | 2022-01-26 00:23

:bust_in_silhouette: Reply From: Calinou

It looks like texture filtering was disabled on the lightmap texture. I don’t know for sure, but this may be caused by a GPU driver bug that causes filtering not to work on atlas textures.

Try disabling Atlas > Generate in the BakedLightmap properties, bake lightmaps again and export the project to Android again.

I tried that and got the same result.

Nixion | 2022-01-26 00:25