Search Unity

How can i use the texture for the shader effect on my spaceship ?

Discussion in 'Shaders' started by Chocolade, Jul 14, 2017.

  1. Chocolade

    Chocolade

    Joined:
    Jun 19, 2013
    Posts:
    933
    I'm trying to do this tutorial

    http://www.superspacetrooper.com/2012/06/tutorial-force-field-weapon-impact-energy-dispersion/

    There re two textures there the first one is with the alpha and the second one is only the alpha.
    I didn't understand what to do with it. Should i download and save this two textures ? Save as what type and name ? Then what to do with them ?

    There is a link there for a psd file(What is psd and how should i use it?) but the link is broken the page is not exist.

    I created a shader and material but i'm not sure what and how to do with the textures.



    So i created a new shader with the code.
    Created new material.
    Dragged the material to the spaceship.
    Then in the material in the inspector i selected as Shader the new one: AlphaSelfIllum

    When running the game nothing happen no errors no exceptions.
    The spaceship is just white.
    So i guess i'm missing the texture part.

    Just can't figure out what and how to do with the texture/s.