Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Particle system sprite shader and creating a new material

Discussion in 'Editor & General Support' started by Benwaar, Dec 14, 2014.

  1. Benwaar

    Benwaar

    Joined:
    Dec 14, 2014
    Posts:
    2
    I ran into a small problem using Unity 4.6 when creating a new material for use with the particle system.

    If you create new material then change it to sprite you are unable to drag a sprite onto it?

    I got around this by dragging the sprite onto the default new material first, and then changing the shader to sprite.

    I found this a bit confusing for a new user. I'm not sure if it is a bug or usability issue as I am new to Unity, but I thought I'd give feedback. Everything else in the particle system and 2D catch game live training sessions was straightforward and useful so thanks for that.
     
  2. Adam-Buckner

    Adam-Buckner

    Joined:
    Jun 27, 2007
    Posts:
    5,664
    As far as I know, the graphic for the particle system should be a standard texture (texture 2d), not a sprite. I've not tried using a sprite in shrunken, but shrunken predates the UI and 2d systems, so is not dependent on sprites.
     
  3. Benwaar

    Benwaar

    Joined:
    Dec 14, 2014
    Posts:
    2
    Many thanks for the response :) I'm a noob regarding Unity.

    If you import your graphic as a texture, you still can't drag and drop on to the new material via the UI if the first thing you do is change the new material shader to type sprite straight after you create it.

    This is a very small thing that confused me for a while, but this post may well help others.
     
  4. TommySKD

    TommySKD

    Joined:
    Jul 23, 2014
    Posts:
    25
    Yea if you want to use sprites-default for your particles you have to switch to another shader each time you want to change the texture because it doesn't expose it is really annoying.

    Use this shader instead which is exactly like Sprites/Default except it lets you change the texture:
    (once you have it in your project you'll find it in "Sprites/Default Particle")
     

    Attached Files:

    Shiv7n and Rurumi like this.