Lightning problems

I’ve been trying to use the http://unity3d.com/support/resources/example-projects/procedural-examples Procedural example in my 2d iphone game.

I’ve set all the variables the same as in the example but I am getting a different result. pls see attached image.

The lightning bolt is grey between my two game objects.

In my render settings I have ambient light 100% white and I thought maybe that had something to do with it, so I switched it to a point light and that just made the bolt and game objects appear black with a bit of a shine.

Any idea if this is doable in iPhone? Just want to get it like in the example.

Thanks,

[/img]

From your screenshot it looks like either you have not set the lightning material in your particle renderer, or if you have the correct material maybe the shader is not supported on iPhone.

Thanks for the reply. Material was missing in the renderer so I used the same one as from the example. But now the Lightning is all white.

I looked at the link again and there is nothing that says it doesn’t work with Unity iPhone.

Any other suggestions?

Two things to check…
Is the texture like the one from the procedural examples with a small bright dot against a pure black background? Is the material’s shader set to Particles/Additive?