General Performance question about shadowing

Started by
2 comments, last by Woodchuck 17 years, 3 months ago
In my current project, the shadowing pass takes roughly 8-9ms per frame. I'm shooting for 33ms/frame. So roughly a quarter of my frame time is spent on the shadows. My scene is a basic outdoor environment, with 15-20 characters, terrain, a few post-processing fx, particles, etc etc. I'm curious as to how much frame time anyone else spends on dynamic shadows. Obviously this can vary depending on the scene and needs of the app, but some general figures on this (and other areas) would be much appreciated. Thanks, Benny
Advertisement
It does vary hugely. The fill rate requirements for, say, shadow volume based shadows can vary significantly based just on where the camera is. You can, of course, use tricks like using a lower poly count version of characters and objects when doing shadow calculations.
If this is your own engine you could always do some optimization and take a look at some articles on how to do it faster. Then see what results you get.

Regards
David
What kind of shadowing technic are you using ?

Do you know exactly where your main bottleneck is ? Pixel, CPU, vertex ?

This topic is closed to new replies.

Advertisement