Camilo Da Silva Sanvezzo's penalty-kick goal in the 75th minute had pulled the Whitecaps even at 2-2, but the Rapids responded quickly when Torres drilled a long, left-footed shot off the crossbar and into the goal.
Torres scored in the 41st minute and Deshorn Brown also scored for the Rapids (15-10-9), who came into the contest holding the Western Conference's fifth and final playoff slot.
Kekuta Manneh scored for Vancouver (12-13-9), whose 45 points won't be enough to get it into the post-season.
Puzzle-maker slips 'Murdoch Is Evil' into Rupert Murdoch's Sunday Telegraph
Campus cop fatally shoots Texas student during traffic stop