Create Image/Texture From ImageData/Colour Data

I’ve a basic png image that is preloaded. I want to generate different textures from that base texture based upon an algorithm to replace certain pixel colours. I can used getPixel to query the RGBA content and generate new colours, but I can’t find an easy way to generate a new texture from the modified data. textures.generate only accepts a limited palette, is there a way to generate a texture from pixels that have RBGA information?

1 Like

Draw it on a RenderTexture or CanvasTexture.

1 Like