Stretching only part of a texture
Hi all, So I have this texture I made, which is a rotated cross, that has a pink background. I would like this cross to always be the same size no matter what mesh it's on, but to stretch out the part that isn't the cross (in this specific case it's the pink around the cross) to fit the rest of the mesh it's on.
Here is an image:
There also may be another way to do this, where I just put the image on the mesh, and then give the rest of the mesh a color that corresponds to the background color of the image I'm applying to the mesh.
I would do exactly that.
Make a decal that has your cross and the same pink background.
In your blueprint, spawn decal at location (Centre of you mesh)
If you resize you mesh during you game, remove the decal, resize mesh, add decal again. You may not even need to remove the decal before resizing, but you would need to move it to find the centre of your mesh again.
Follow this question
Once you sign in you will be able to subscribe for any updates here