I have a imposter material that works fine with static meshes actors, but not with foliage: it does not rotate based on camera location.
I’m assuming the issue is in the Position input pin of the ImposterUVs node. I tried to use the “TransformPosition - Local Space to Absolute World Space” node and connect it’s output to the input pin, but it doesn’t seem to work. I found many people saying to do that, but only in posts or threads that are a few years old, so maybe it worked in older engine versions.
Fun fact: it works only if the foliage instance is located at 0,0,0 (world location).
If this is the case, how do I get the foliage instance location in a material?