This was causing this error: "Different sampler types for same sample texture unit in fragment shader"