Sorry but you are not going to make an ao generator function. You clearly don't know what you are doing. Anyways, the problem is, the AO output is one component thing, its a scalar, and you are multiplying it by something with 3 components (the white pin of the texture gives 3 components, r, g, and b). Take the red or…