Search Unity

Blend textures with SpriteRenderer

Discussion in 'General Graphics' started by DarkPixel, Jan 27, 2015.

  1. DarkPixel

    DarkPixel

    Joined:
    Sep 13, 2013
    Posts:
    79
    I have 2 atlas (exactly the same packing but with different texture).

    And for each sprite, I need 2 part, 1 background and 1 foreground. And I need to add the foreground to the background.

    It's possible to do that without creating 2 different game objects?

    My other option is to use a 3D Mesh Renderer. But I'll to do more stuff manually.
     
  2. imaginaryhuman

    imaginaryhuman

    Joined:
    Mar 21, 2010
    Posts:
    5,834
    You'd need a modified shader with two textures on it.