Directional lightmaps cannot be decoded on SM2.0 hardware nor when using GLES2.0 - warning
I always get warning on General GI in Lighting window.
"Directional lightmaps cannot be decoded on SM2.0 hardware nor when using GLES2.0. They will fallback to Non-Directional lightmaps."
Any idea?
Thanks.
Answer by SummitJain · Jan 24, 2016 at 07:05 AM
HI,
The warning comes once you upgrade your Unity to 5.3 version. It was because of a lightbaking issue on previous unity 5 version reported here: https://issuetracker.unity3d.com/issues/opengles2-baked-gi-doesnt-work-on-gles2-anymore.
The reason is Unity have some lightmapping issue using GLES2 as baked lightmaps not showing on android and mobile devices . You can find more on this link: http://forum.unity3d.com/threads/baked-lightmaps-not-showing-on-mobile-device-ipad-android.310945/
Your unity settings graphics have open gles 2 and to be honest i dont know why there is a hardware warning. Unity should clarify it more.
Let me know if you have lighting issues on your mobile. I will be happy to help.
Hello, I am experiencing this lightmapping situation now, where if I use a directional/directional specular lightmap on my Samsung Galaxy S6, it produces bad jitter. This is with approx 45 batches (after static batching, down from 206), and only 70k triangles.
Does Android use GLES by default? I noticed on the specs website for the GPU https://www.arm.com/products/multimedia/mali-gpu/high-performance/mali-t760.php that they have support for other graphics API's?
Do you know if there's a way to tell the Android device to use a different graphics api, such that a directional lightmap may be utilised?
Thank you very much for any insight/assistance you may offer, i've been searching for hours about lightmapping and optimisation, etc., so at this stage anything is appreciated! :)
Your answer
![](https://koobas.hobune.stream/wayback/20220612052907im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Why Won't my 2D Animation's Normals Render Unless I Have an Animator 1 Answer
Light bug behaviour 0 Answers
Lighting not working on other's PC's? 0 Answers
HDRP visual errors with VR 0 Answers
Unity 5 Lighting RAM Problem 2 Answers