I'm trying to realign my normal vectors on the left sphere to look like the normals on the right sphere using the red vector which is just {0, 1, 0} in this example. For this example I just set N.y to 0 and normalized N but I need this to be interactive so the yellow normals are always orthogonal to the red vector.
I thought it should be fairly easy but I just can't figure it out right now. I hope you can help me out with this!