Textures take 1.5gb memory and all others only 300mb!

Hi all,
As far as I see textures take 5x memory place considering other source eaters.
What can I do to reduce the texture amount in memory?
( I already reduced their resolution from 4096 to 512)

Are you using Mip mapping on the textures? If so, disabling them will save about 30% on memory, but you’ll lose the benefit of the mip maps.

I didn’t use mip maps

You mean space in your project, or space in memory when playing? Beyond reducing res, there’s not much you can do except atlas them.

If it’s project size, even when putting them to 512, the source texture will still be there at full size. You can change the size in photoshop.

thanks a lot. I meant the space in memory. I have 2 questions.
Is there any disadvantage of atlasing?
Where can I find good guide to follow for atlas.

The disadvantage is only in the workflow, because you will have to make the atlas either by hand in Photoshop or using some asset store asset, then change the UV coordinates of the mesh/material, because there are now maybe four 512x512 textures combined into one 1024x1024 image. If your mesh needs the texture in the bottom-right, you will have to change its UV’s.

You can use ShaderGraph to make a shader that can do it:
6745606--777646--shadergraph-atlas-flipbook.PNG

The problem here is that changing the material’s properties will change it for every gameobject that uses it. So you can either duplicate the material and change it, but it would be better to have a custom component that gets the material instance and changes it only for that gameobject.

https://discussions.unity.com/t/740485/4
https://discussions.unity.com/t/737235/16

You can also change UV’s in code , or get an asset from the store. TexturePacker3D is not out yet, but might be soon.

thanks a lot, but as an indie game developer I felt a little bit overwhelmed with this subject and I don’t think I can handle it professionally

Have you enabled crunch compression?

I heard bad things about crunch compression.
They say it only works desktops but my game is mobile.

Crunch won’t save memory, as the texture is unpacked to a native format on load.

What texture compression are you using? It sounds a bit like you’re ending up with ARGB32s in memory.