Advanced / 2 Way Billboards

hey guys i work currently on a 2 way Billboard Material, but i have a problem to get it working propertly.
i have the two billboard (Z + X) types done, but i dont get it working together.
could you have a look and point me in to the right direction, please.

this is the material:
a5a937f53e4f9982ef837bf096af5a50db0f5bbb.jpeg

and this is how it will look like:

http://gifyu.com/images/ZX_BillBoards.gif

any ideas ?

i dont want to use Blueprint for this. this should be 100% Material Logic.

you need to usethe result of the first as the position for the second.

do you mean like this??


its not really working.
the meshes are than all over the place…

the other way around is also not looking good

sorry, should’ve been more clear. what you will want to do is to add one of your rotations to the world positiion before feeding that into the position of the second rotation and after the second rotation add the original rotation before feeding it into the wpo slot.

with that it should mostly work, but it will flip around once you get past a certain angle. if you keep the camPos-1,1,0 on the z-billboard from going negative by using an absolute(abs) node it will almost fix it, but not really. maybe someone smarter than me can help you out with that.

thanks its working like a charm now instead of using an absolut node, i’m using a clamp before the rotation angle of the first RotateAboutAxis, this is doing the trick!
Its limiting the max X rotation and its fixing the strange popping :smiley:
i also added a distance blending for the X billboard, for tuning the rotation when it starts and when it ends…

big thanks divi to point me in the right direction with this.

here is my current version: