- Home /
Terrain and Lights doesn't work on Android
I'm having some troubles using Terrain and Direction Light on Android Device, here's the scenario: i have a simple terrain, my player, an npc and a direction light. On PC it runs normal, on an LG L9 (Android 4.1.2) it runs normal, on Sony Xperia U it runs but the terrain isn't affected by the light BUT when i push the lock button the terrain gets affected by the light but, obviously, the screen goes down Any ideas?
I think terrain rendering is too much for android devices.
Can you post screen shots please? I'm running Lights, Reflections, Refrations, Terrain and Shadows on my android device on 720p with 60 FPS
Answer by c.rajiv.chandel · Aug 21, 2013 at 12:47 PM
As per my information, Unity Terrain are not optimized yet for mobile devices (in your case android devices), so its recommended to avoid using terrain for mobile devices, you can see Free complete project : Penelope, from asset store. in that you can find documentation and full example of the scene, For achieving terrain surface you have to make them in 3d modelling tool like Blender3D, and everything you can divide into 1000 vertices for each poly surface and use iphone shader for uv lighting and tiled based texture. And you will be able to create optimized environment in Unity 3D for mobiles. I hope this gives you some direction. You can achieve enironment in 10-15 draw calls, which will work very smoothly on mobile devices. In case you face any problem, you can ask me anytime. Thank you.
I wasn't aware of this and now I want to remove terrain and see what happens :D even though this wasn't my question I appreciate this answer
I tried to remove the terrain and use a simple cube for terrain test but nothing, always the same :/