Search Unity

2019.2.0b1 Secondary Textures + SpriteAtlas

Discussion in '2D Experimental Preview' started by THE_MEDICI, May 11, 2019.

  1. THE_MEDICI

    THE_MEDICI

    Joined:
    Apr 8, 2018
    Posts:
    48
    Will secondary textures support packing into an atlas in paralllel? For example, if I were to assign my sprites a normal as a secondary, would it be possible to generate another atlas automatically out of the secondary textures that exactly mirrors with packing of the primary textures?

    Another feature that would really be nice is being able to generate at atlas outside the Editor, like when pulling from the web on load or supporting player-made mods. Opening the atlas up a little would make it much more viable for my needs.

    Also, are 2D Lights not ready yet? I'm not seeing a specific package for it, nor a "2D Light" script as in this video, nor under any Light or 2D dropdown.
     
  2. Venkify

    Venkify

    Unity Technologies

    Joined:
    Apr 7, 2015
    Posts:
    243
    Not yet. However we will be addressing this soon. Will keep this thread updated. Thanks.
     
  3. kyuskoj

    kyuskoj

    Joined:
    Aug 28, 2013
    Posts:
    31
    Is this applied on 2019.3.0?
     
    Last edited: Sep 26, 2019
  4. Le-nain

    Le-nain

    Joined:
    Nov 26, 2012
    Posts:
    61
    Subscribing to the thread because I've been asking this question a couple of time already, so I want to be updated whenever it will happen
     
  5. Deimos3DA

    Deimos3DA

    Joined:
    Feb 2, 2018
    Posts:
    1
    Im also using a shader graph that uses secondary textures and need the atlas packing to be exactly the same as the main textures atlas. I would like to know if this issue has been solved.
     
  6. yuanxing_cai

    yuanxing_cai

    Unity Technologies

    Joined:
    Sep 26, 2014
    Posts:
    251
    This issue is high priority on our list, we'll probably start working on this in a few weeks.
     
  7. Le-nain

    Le-nain

    Joined:
    Nov 26, 2012
    Posts:
    61
    That's good news, thanks for the update.
     
  8. THE_MEDICI

    THE_MEDICI

    Joined:
    Apr 8, 2018
    Posts:
    48
    Will it be possible to enable its use once already built for pulling from web or player-made mods?
     
  9. ZealotDKD

    ZealotDKD

    Joined:
    Aug 9, 2015
    Posts:
    4
    our current workflow is a bunch of seperate sprites packed into a unity atlas, then we set the sprites in an animator. will it be possible to just add identical normal map sprites, generate an identical atlas from those, and add the normal map atlas as a sub atlas? i really dont want to be re-adding 3000 sprites to a bunch of animations. doing it the first time with albedo was enough.
     
unityunity