Devils Child .. now that looks like it's supposed to .. Nice work :) You could get more raw speed by not calling your vector functions in the shadowvolume routine. Also, you create and delete Norm / MidPoint/ NormLight many times - just make them global and don't delete them so that they can be reused. Also in the normalize routine .. it's quicker to use x*x than using x^2.
I may have a play around and see if I can be speeded up.
So what's the next step?
Stevie
I may have a play around and see if I can be speeded up.
So what's the next step?
Stevie