Material facing the camera .. with initial rotation

Use a sprite, it will face the camera all time.

Hey,

I’m currently trying to add a billboard-material to a long distance LOD-mesh. This billboard material is supposed to rotate along an axis and always face the player (the camera).

I followed the setup in the “Stylized Materials” docs ( [link to the docs, image at the bottom][1] ).

It’s rotating fine but the foliage itself has some initial rotation (the random yaw) which is messing things up (because the material is rotating around the mesh, I think). I have tried for hours to make this work using the “ObjectOrientation” node on different locations but I just couldn’t get it to work.

Anyone an idea where (and how) to handle the initial rotation? Or am I doing something else wrong?

Thanks

the problem:

my current material setup (world offset):

Can you explain this further? How do I create a sprite inside a material? Also, it should only rotate along one axis, not ignore everything and always face the screen like sprites usually do.