x


Directional vs Spot Lights on iPhone

In my game I started out using Directional lights. I decided to try and replace them with spot lights for a different effect. I positioned the spot lights where i want them and things look good when running in the game view. When I build and run on my iPhone 3GS it seems like the spot lights are not working as everything is very dark?

Am I doing something incorrect?

more ▼

asked Nov 23 '09 at 06:21 PM

ibyte gravatar image

ibyte
544 12 18 27

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

1 answer: sort voted first

The iPhone only supports vertex shaders (not pixel shaders), which is probably why it looks different.

You'll likely want to set the editor to use iPhone shader emulation, so you don't get different results in the editor vs. the iPhone itself.

more ▼

answered Nov 23 '09 at 08:52 PM

Ehren gravatar image

Ehren
4.2k 35 43 77

Graphics Emulation is set to iPhone (MBXLite)

Nov 23 '09 at 09:17 PM ibyte

Even setting the graphics emulation to iPhone 3GS (GSX) it's still way off. Am I expecting too much from the emulation? I increased the device brightness to max and while it's closer it's off what I see in the game screen.

Nov 23 '09 at 10:39 PM ibyte
(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

By RSS:

Answers

Answers and Comments

Topics:

x427

asked: Nov 23 '09 at 06:21 PM

Seen: 1510 times

Last Updated: Dec 22 '09 at 09:42 AM