Vertex Painting Within/With A Texture Array

wolwox
Fri, 03 Mar 2023 14:20:01 +0000
Asset Creation

I’ve recently been experimenting with modular geometry and texturing such geometry for quick and flexible environment creation in this very simple and stylized “pixel-art” style (just unfiltered low-res textures, let’s be honest) and I’ve stumbled upon Texture Arrays and found them a lot more comfortable and flexible to use in this case than a Texture Atlas with its nudging of the UV’s and other practical issues.

Another useful thing that caught my eye about using a Texture Array is the possibility of easier Vertex Painting which would really lend more variety to the simple textures and geometry I’m going for. While Vertex Painting itself isn’t all that too difficult with a couple separate textures, making it work within the Texture Array and mutually between all the textures of the array, on demand, is a bit outside of my grasp.

I was wondering if it was possible to create a Vertex Painting system within a Master Material that would allow me to paint any texture onto any other texture inside Texture Array (on call, basically) without the need to create an additional instanced material for the combinations.

this is all the functionality for now, though I have tried methods to make the Vertex Painting work, but it never really did!

I’ve found this Git modification which seems outdated now, but touches on the exact functionality I would like to implement.

I just struggle to think of how to implement it myself from the ground up as I haven’t done much work like this in Unreal Engine. Any help with this would be greatly appreciated! Consider me a noob regarding these technicals, though I would really love to try and figure this out in the end!

1 post - 1 participant