- Home /
Issue with lighting when switch iOS target platform
I have sprite with diffuse material, ambient light in render settings set to (0,0,0). Create spot light and target on sprite. On sprite i see light spot, ok, but when switch platform to iOS, spotlight does not work. What is this?
Answer by Leepo 1 · Nov 25, 2010 at 10:45 AM
I believe spot lights have been disabled in forward rendering mode, at least they have on normal Unity. You cannot use deferred rendering mode on iOS though...
Strange thing. When i press Play button in unity, i don't see spot light when use Unity Remote on ipad, but when i do complete build application and install application on ipad by xcode, all work correctly
Answer by boymeetsrobot · Jan 13, 2011 at 10:30 AM
When you switch platform, or reload a project, Unity resets the graphics emulation. Try going to Edit > Graphics Emulation and change to iPhone 4, 3Gs, iPad OpenGL ES 2.0.
I often find that Unity will also disable pixel shader effects in the inspector so I need to reenable them also.
Your answer
Follow this Question
Related Questions
Lighting Varies Between Different iOS Devices 1 Answer
Lighting in AR for iOS 0 Answers
How do I fix directional light problem with multiple instances of prefab? 1 Answer
Point Light Behave different from editor and IOS device 0 Answers
The name 'Joystick' does not denote a valid type ('not found') 2 Answers