UMass and Buffalo(SUNY) are both public universities. RIT is a private university. It will not matter what either of these schools have given you in financial aid.
Are you in-state for either one of these schools? If you are instate for Buffalo, then that is your best bet, because you are getting TAP (NYS aid) Pell (federal aid) etc. if you are in NYS, did your apply EOP/HEOP?
Sounds like you are from NYS, so you need to take the UB offer anand run with it.