Graphics rendering requires knowledge of some linear algebra, from what I understand. You'll need to know about matrices and matrix operations. As far as calculus goes, I don't think you really need anything much unless you're implementing some sort of physics equation or something. In which case, you can probably learn what you need as you go given that you have an understanding of algebra/trigonometry. The course that has really made a difference with understanding the logic behind computer science was discrete mathematics. You learn about propositional logic, inductive/inductive proofs, set theory, function/relations, algorithms, etc... Really is a great class that ties everything together for you as a student.