Making an object glow using texture.

Hey I am looking for a way to make an object give a glow for an instance which goes out like a halo and disappears.

I want it to glow out and fade like that and I want that transition to occur for a small instance like when the player gets a point. And I want to be able to control it using script and also its color. If I could get a little help would be awesome. Thanks.

alt textalt textalt text

For a light to fade in and out, you could simply use light.intensity via script somewhat like:

C-sharp example:

using UnityEngine;
using System.Collections;

public class EXAMPLE : MonoBehaviour
    float fade = 0.5f;

    void Start()

    IEnumerator Pulsate()
            if(light.intensity > 0.0f)
                light.intensity-= fade;
            yield return new WaitForEndOfFrame();

To change colors, check out Color.Lerp.

Keep in mind the above code is just an example off the top of my head, will need tweaking to your own needs to work. Check out the links I posted for more help and better explaining. Hope this helps.