Spotlight not circular

Hi…!!

I have been working on a game in which i require a spotlight to find out certain things present in dark.

Now the light was working fine for standalone but the moment i swtiched the platform to iOS it changed the shape of the spot i.e., from circular to an amorphous one.

I am attaching a screenshot for better reference.

Need help to resolve this issue. Any alternative for spot light?

Spotlights only have a perfectly circular shape if you use pixel lighting instead of vertex lighting using OpenGL ES 2.0. Note that doing so will (probably significantly) lower your framerate, and is impossible on pre-3GS devices anyway. You could try using a projector with an additive shader instead.

–Eric

Thanks Eric for your reply. I think that vertex lighting thing is hard to implement but i’ll try to achieve this through a projector.
Thanks for the suggestion.