Running 3d games on a virtual machine is generally not a good idea. I think there is an additional download for virtual box which allows VM's to support 3d acceleration but even with that, the performance be affected by the fact that you are running it on the virtual machine.