Is it posible to access albedo imported image texture via script?

What i want to do is change the albedo so i can change the background of the game. tnx in advance

Hi Geft98,

You can take a look at:

And in general to the Texture2D scripting API.

However please be aware that this is not the most efficient way to update textures (as it imply a memory transfer between the CPU and the GPU). Performance wise it would be better to look for other options such as : a texture atlas / a set of textures / or a render to texture approach.

Have a good day :slight_smile:

Florent