[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - Cel shading

Cel shading

Discuss programming topics for any language, any source base. If it is programming related but doesn't fit in one of the below categories, it goes here.

Moderator: InsideQC Admins

Re: Cel shading

Postby toneddu2000 » Tue Apr 24, 2012 7:24 am

- my first commercial game, made with FTEQW game engine
toneddu2000
 
Posts: 1395
Joined: Tue Feb 24, 2009 4:39 pm
Location: Italy

Re: Cel shading

Postby SimplySerenity » Tue Apr 24, 2012 8:10 pm

SimplySerenity
 
Posts: 23
Joined: Sun Apr 15, 2012 12:03 am

Re: Cel shading

Postby Ace12GA » Wed Apr 25, 2012 4:51 am

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: 56
Joined: Sat Jan 28, 2012 12:08 am

Re: Cel shading

Postby Ace12GA » Wed Apr 25, 2012 2:14 pm

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.
Ace12GA
 
Posts: 56
Joined: Sat Jan 28, 2012 12:08 am

Re: Cel shading

Postby SimplySerenity » Wed Apr 25, 2012 7:18 pm

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
SimplySerenity
 
Posts: 23
Joined: Sun Apr 15, 2012 12:03 am

Previous

Return to General Programming

Who is online

Users browsing this forum: No registered users and 1 guest