Search Unity

Question Adding shader textures into Sprite Atlas.

Discussion in 'High Definition Render Pipeline' started by Michal_Stangel, Aug 24, 2021.

  1. Michal_Stangel

    Michal_Stangel

    Joined:
    Apr 17, 2017
    Posts:
    151
    Hello,

    Does it make sense to put textures used in HDRP Lit shader into Unity's Sprite Atlas (for performance reasons)?

    I have DAZ characters with 6 materials each and every material has 2-3 textures. So I thought it could be reasonable to have these textures inside some texture atlas to reduce draw calls.
    Workflow would be probably something like reference texture folder in Sprite Atlas and during game once character is loaded from Addressables and instantiated get its materials and place textures from Sprite atlas to proper slots...