Foliage: Limit random yaw to specific angles

AFAIK you can only set the random yaw of foliage elements to on or off.

However, if you build something like cities or streets, buildings should not be totally random with their orientation. For more variety, it would still be cool if you could randomize the heading of a building a bit.

Therefore I would like to limit the random yaw to 0, 90, 180 and 270 degrees. Is there a way to achieve this with the current foliage system?

2 Likes

There should be min/max values like for everything else, likely hidden by a drop down arrow.

They may actually work as radians or be normalized as 0 to 1.

Either way, using foliage for buildings is not a very good idea.
Even old cities are usually built on a square grid system. Spraying buildings around with the foliage tool doesnt seem like a good way to achieve much more than total chaos - and probably a traffic nightmare with streets of unpredictible sizes…

Still haven’t found a solution for this. I want all my sunflowers to roughly face the same general direction.

Just rotate them in the material shader.
Possibly using the light vector which should now be avaliable and responsive to the actual direction ligjt angle…

this excatly what i need .