Dan,<br><br>Indeed, this is a different function. Cool, nevertheless.

To clarify things: There is a 'CalcGradients' for actor polygons (includes monsters, bonusses and guns) and one for scenery polygons. I'm working on that one. I'm glad we didn't waste our time working on the same function. The scenery version is a disaster. I'll need quite some time to get it working, but after that, and combined with the fixes you posted, we should see another substantial increase in fps.<br>Great stuff.<br><br>- Jacco.