Page 2 of 2

Re: Cel shading

Posted: Tue Apr 24, 2012 7:24 am
by toneddu2000
Ace12GA wrote: Wow, does that deferred shadow stuff ever kill my frame rates.
Really? I tested with a simple test map and I didn't find any performance gap, but maybe because my map was just a cube!
I'll experiment more, even because I didn't find it so "cartoonish" as I thought

Re: Cel shading

Posted: Tue Apr 24, 2012 8:10 pm
by SimplySerenity
Ace12GA wrote:What version of DP does this work with?

EDIT: Never mind, downloaded the latest autobuild, and its there. Wow, does that deferred shadow stuff ever kill my frame rates.
What's your computer specs? :o It's not too bad on mine. ^.^

Re: Cel shading

Posted: Wed Apr 25, 2012 4:51 am
by Ace12GA
Athlon II X4 640
8GB Ram (DDR3 1600)
AMD 6790 1GB
1920x1080 panel
Running on Fedora 16 with Catalyst 12.2

I go from 60 fps (vsync) to 30 fps with the deferred shadow enabled in many areas. I will have to try it on my Windows box with an Nvidia GTX460, as it could be an AMD card in Linux issue.

Here are two screenshots, one with, and without the celshading active. The drop is at least 20fps in these shots.

http://evan.action-web.ca/misc/darkplaces/celshaded.jpg
http://evan.action-web.ca/misc/darkplac ... shaded.jpg

Also, for the effect to work, you need new textures. I replaced the detailed textures on some of my weapon models with flat textures, and the effect is much better in those cases.

Re: Cel shading

Posted: Wed Apr 25, 2012 2:14 pm
by Ace12GA
Performed testing on the following system:

AMD Phenom II X4 965
8GB DDR3 1600
Nvidia GTX460 1GB, driver 285.62
1680x1050 Panel
Windows 7 x64 up to date as of this morning.

I see the same thing, with r_shadow_deferred 1 set, the performance takes a roughly 50fps hit. I tested without vsync to really see the hit.

http://evan.action-web.ca/misc/darkplac ... ded-02.jpg
http://evan.action-web.ca/misc/darkplac ... not-02.jpg
http://evan.action-web.ca/misc/darkplac ... ded-03.jpg
http://evan.action-web.ca/misc/darkplac ... not-03.jpg

It would seem that cel shading is pretty costly on performance with DP.

Re: Cel shading

Posted: Wed Apr 25, 2012 7:18 pm
by SimplySerenity
Yeah I think you're right. It is a little intensive. I go from around 200 fps to about 100 fps. Your spec's are better than mine everywhere except the graphic's card.

Mine are: Nvidia GTX 550ti 2gb
AMD Athlon II X2 220
3gb ddr3
1600 x 1200
with all setting's maxed, and software up to date.
I have the feeling that if i had a better processor it wouldn't be as bad though. :P