Does anyone know the best way to share the same texture2D atlas with multiple materials/atlases? I want to have a lit material for sprites in some conditions, but in most conditions I want to use the standard transparent unlit/transparent colored shader. I don't want to duplicate the texture2D data, but rather just have a material with a lit shader that references the same texture atlas (Texture2D). Then I can use the lit shader on some panels, and the unlit shader in other panels. I tried to replace the material on the panel, but that looks like it is updated dynamically. I tried to make a texture atlas reference, but it seems to use the same material as the original atlas?
Thanks!