I know that this has been solved repeatedly on here and asked several times. In fact I had used a node set up before to solve this problem. But with the latest release of Blender 2.65, this node setup has seemed to become of no use. If anyone could tell me what needs to be changed that would be great. I don’t know who originally made this node setup unfortunately. I couldn’t find his post. Otherwise I would give credit to him.
But here’s the node setup I have right now.
Thanks for your time,