0 votes

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.



Godot version 3.4.2
in Engine by (12 points)

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.

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

1 Answer

0 votes

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.

by (12,717 points)

I tried that and got the same result.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.