I am creating a tree and was wondering if it is possible to apply a material while at the same time having a vertex shader that makes the tree sway forwards and backwards a bit.
My problem is that i can't apply both the shader and material at the same time.