I have a scene defined as following:
Two cubes, assigned a Mobile/Diffuse shader with texture.
One directional light
Everything looks fine in unity, or compiled Mac standalone app.
But when I compile and run on my iPhone, there is no light at all. I cannot figure why, any help?
By the way, I'm using XCode 4.3.0, iOS 5.1, Unity3D 3.5.0f5 if it matters.
Scene on iPhone:
Answer by Griffo
Jul 04, 2012 at 10:50 AM
Is there a plane in your scene? if not put one just under you boxes and drag any texture onto it, take out any lights you have put in the scene then go to Menu, Edit, Render Settings and set the ambient light up to full white, now put it on your iPhone and see if it's all lit up.
I'm still new to Unity but thats what I'd try first, good luck.
This isn't a fix. It's like answering "cut off your arm" when somebody asks how to heal a cut on their hand. It avoids the issue entirely.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users post good questions and use the site effectively we have posted a user guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
Answers and Comments
6 People are following this question.
How do I fix directional light problem with multiple instances of prefab?
Can I disable lighting for efficiency?
Why does the lighting on an object change when multiple objects are within camera view (iOS)?
point light flickers on iOS but works fine in Android
Per Pixel Lighting on iOS