- Home /
texture memory question - colour tinting a single texture multiple times?
Hi, I'm working on a project for mobile and texture memory is becoming a big issue. I'm thinking of rather than using multiple textures but to share a single texture over multiple assets with a different colour tint on it. Am I right in thinking this will reduce the memory foot print as I have heard this might brake batching and force the app to generate multiple versions of the source texture?
Answer by Eric5h5 · Sep 26, 2014 at 09:42 PM
It will not generate multiple versions of the texture. It will create a new material for each color, which will prevent batching from working.
Thank you for your clarification on this. Provided the additionally generated materials are still referencing the source texture will be enough to make a big difference on our memory footprint. Batching isn't so important in our situation.
Thanks again :)
Your answer
Follow this Question
Related Questions
OutOfMemoryException: Out of memory 3 Answers
Convert Texture2D to Image emgu CV - fast way 2 Answers
Memory management theory question 1 Answer
Device specific texture resolutions? 1 Answer
Assetbundle loaded asset cannot be cleaned in Android 1 Answer