I try to align the buildings to strokes on a texture. I get some of the desired effect if i use the voronoi location output, but if i try to do it with a texture where i paint on it does not react in the desired way.
Can somebody help me with this setup.
This can’t work like that, because what you have in your texture is only red pixels, that’s not enough to provide a direction. How the software is supposed to know in which way you draw the stroke ?
You can look into flowmaps : https://www.youtube.com/watch?v=193e1uzzGAk
you see that depending on the brush orientation the color change, that what you need !
Then these color can be converted to rotation to align your buildings.
Yes i know for a complete aligned stroke i need more than a red color stroke.
But for testing i feed the red channel to the z vector, so the instances should all rotate on the z axis on the red parts, but they dont. They should or iam wrong?