FAQ  •  Register  •  Login

Cel shading

Moderator: Inside3D Admins

<<

toneddu2000

Posts: 320

Joined: Tue Feb 24, 2009 4:39 pm

Location: Italy

Post Tue Apr 24, 2012 7:24 am

Re: Cel shading

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
<<

SimplySerenity

Posts: 23

Joined: Sun Apr 15, 2012 12:03 am

Post Tue Apr 24, 2012 8:10 pm

Re: Cel shading

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. ^.^
<<

Ace12GA

Posts: 54

Joined: Sat Jan 28, 2012 12:08 am

Post Wed Apr 25, 2012 4:51 am

Re: Cel shading

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.
<<

Ace12GA

Posts: 54

Joined: Sat Jan 28, 2012 12:08 am

Post Wed Apr 25, 2012 2:14 pm

Re: Cel shading

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.
<<

SimplySerenity

Posts: 23

Joined: Sun Apr 15, 2012 12:03 am

Post Wed Apr 25, 2012 7:18 pm

Re: Cel shading

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
Previous

Return to General Programming

Who is online

Users browsing this forum: No registered users and 0 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.
Icons provided by Aha Soft