If your queso has a grainy texture, it could be a few reasons. It may have been brought to too high of a heat. Make sure it doesn't boil. Another common problem is using pre shredded cheese - the kind you find in a bag at the store. This prevents the cheese from melting well and should be avoided.