Skip to main content
GameDev.net gamedev.net
🔒 Locked

General Performance question about shadowing

Started by bennyW Jan 9, 2007 at 8:42 PM 2 replies 1.2k views
Original Post
bennyW
bennyW
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
JasonBlochowiak
JasonBlochowiak
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.
win_crook
win_crook
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
Woodchuck
Woodchuck
What kind of shadowing technic are you using ?

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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.