Hi everyone,
I’m trying to convert an amplify shader to shadergraph.
It was a shader for my cartoon’s style vegetation with a lookat camera effect and a wind effect.
It was perfect for what I need cause it was always “face cam” (need to do it by shader, cause I have multiple cams in multiplayer mode) and with a perfect wind effect on the horizontal axe from the camera view.
Anyway It was easy to do because Amplify shader had a billboard node that I just need to mix with an “Add” node.
I recreate the two different effects (lookat Cam and wind effect) in shader graph but impossible to mix them correctly. If I use the “Add” node, they additionne them together for a bad result (normal ^^') .
If someone could help me, having the billboard effect first and then the wind effect depending on the camera view, I would be grateful !!!
I’m in URP, Unity 2021.3.9f1.
(Sorry if I’m not understandable , tried my best ^^')
Bests
Martin