Page 1 of 1

ShadowDetailRes

Posted: Fri Jul 09, 2010 5:11 pm
by Hyper
I found some settings which I don't fully understand yet:

ShadowDetailRes which currently defaults to:

64 (for decorations)
128 (for pawns)
32 (for projectiles)

I guess that these are the visible shadows and higher values makes them sharper?

...


By the way: I love those shadows, just go to SpireVillage, take a good dinstance, shoot the titan and watch the rocks casting shadows as you dodge them.

Re: ShadowDetailRes

Posted: Sat Jul 10, 2010 6:51 am
by Smirftsch
yes, exactly. While maybe not directly sharper. Lets call it more accurate.
Although higher needs up even more CPU. Since all projectors are handled in the engine, unlike as in newer engines where usually the GPU does this work we have to rely on CPU here. Be very careful with increasing these values.
However, since we added shadow smoothing even the low res shadows with 64/128 look very well already.

Re: ShadowDetailRes

Posted: Sat Jul 10, 2010 2:26 pm
by Hyper
CPU power shouldn't be too much of a problem here. I doubled the default values for my client and it still performs nicely.

Re: ShadowDetailRes

Posted: Sat Jul 10, 2010 2:38 pm
by Smirftsch
its best noticeable with a bunch of monsters, maybe > 10, then it starts to eat CPU for breakfast :P -while your CPU should give you some reserves :)

Re: ShadowDetailRes

Posted: Sat Jul 10, 2010 5:01 pm
by GreatEmerald
Indeed, in my map I have a room full of Lamp1's (around 20), each of which have shadows, and my framerate drops to ridiculously low values.
I wonder if they can't be optimised for repeating static objects, like static meshes are?..

Re: ShadowDetailRes

Posted: Sat Jul 10, 2010 6:57 pm
by Smirftsch
they are already optimized like that, while I'm not sure if you have the latest version yet..?

Re: ShadowDetailRes

Posted: Sat Jul 10, 2010 7:26 pm
by GreatEmerald
I'm running g_30 right now.

Re: ShadowDetailRes

Posted: Sat Jul 10, 2010 7:45 pm
by Smirftsch
up to g33

Re: ShadowDetailRes

Posted: Sat Jul 10, 2010 8:37 pm
by GreatEmerald
Still the same. Without decoration shadows I get 60 FPS, with them I get 15, running AMD Phenom II X4. I can send you the map file if you want.

Re: ShadowDetailRes

Posted: Sat Jul 10, 2010 9:07 pm
by Smirftsch
don't think it'll be of any use. We pretty much maxed it out already. Unfortunately there is not much left to do except rewriting big parts to make usage of GPU but that's entirely out of question (at least for now and not sure if it'll change one day)
What resolution do you have it at?

Re: ShadowDetailRes

Posted: Sat Jul 10, 2010 9:16 pm
by GreatEmerald
Decoration shadows have only one resolution from what I know? Pawn shadows are set to Low.

Re: ShadowDetailRes

Posted: Sat Jul 10, 2010 9:25 pm
by Smirftsch
well, that makes them default probably. They can be set in advanced options also :)

Re: ShadowDetailRes

Posted: Fri Jul 30, 2010 8:09 pm
by Hyper
its best noticeable with a bunch of monsters, maybe > 10, then it starts to eat CPU for breakfast :P -while your CPU should give you some reserves :)
Wow, I just noticed this when testing at my server. I summoned a cloud of flies and they killed my FPS. My Core 2 Extreme did not save me this time.  :)

Re: ShadowDetailRes

Posted: Fri Jul 30, 2010 8:23 pm
by Smirftsch
hahaha, I told you :)

Re: ShadowDetailRes

Posted: Wed Aug 04, 2010 9:34 pm
by Shivaxi
summoning lots of barrels and boxes and blowing them all up at once is also a good way to kill fps

I have everything set to 128 and it runs pretty good for me....minus when i do the above :P