Before updating to Windows 10 you may need to return your Pro license. More information here

Lighting not working on iOS device

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 settings:

alt text

Material settings:

alt text

Scene on iPhone:

alt text

more ▼

asked Mar 17, 2012 at 05:40 PM

avatar image

1 3 2 3

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

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.

more ▼

answered Jul 04, 2012 at 10:50 AM

avatar image

3.2k 247 1246 347

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.

Aug 20, 2013 at 05:03 PM aboveyou00
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments



asked: Mar 17, 2012 at 05:40 PM

Seen: 2145 times

Last Updated: Aug 20, 2013 at 05:03 PM