Search Unity

Certain effect from shader?

Discussion in 'Shaders' started by laakerules, Feb 22, 2013.

  1. laakerules

    laakerules

    Joined:
    Aug 29, 2012
    Posts:
    153
    Okay, first let me start off that im trying to learn shader language specifically in unity but hlsl and cg in general. Now for my question.

    Im trying to figure out how to get a glow off of a certain piece of a texture. I.E.

    Not the glowing onto the hand, i would need to actually add a light for that if im correct, but more the glow off the gun.



    specifically this part.



    I know basics of the shader, and am decent at math so i can create algos. My wondering is how i would go about this to get the glow feel?

    My object im using to get the effect is a tile and with the blue part


    Now im not that good at modeling or texturing so i got that image for free royalty free off of a website.
     
  2. Mauri

    Mauri

    Joined:
    Dec 9, 2010
    Posts:
    2,665
  3. laakerules

    laakerules

    Joined:
    Aug 29, 2012
    Posts:
    153
    Thanks, the self illumination did the perfect trick.