[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

Cel shading

Postby SimplySerenity » Sun Apr 15, 2012 12:05 am

So I've finally made my account after lurking here for quite sometime. This may be a dumb question but how can I add cell shading to darkplaces? ^.^
SimplySerenity
 
Posts: 23
Joined: Sun Apr 15, 2012 12:03 am

Re: Cel shading

Postby qbism » Sun Apr 15, 2012 12:09 am

Welcome! I've seen some cel-like shading in Nexuiz and Xonotic, which are based on DP.
User avatar
qbism
 
Posts: 1236
Joined: Thu Nov 04, 2004 5:51 am

Re: Cel shading

Postby SimplySerenity » Sun Apr 15, 2012 12:19 am

Thank you. ^.^ I asked someone who had cell shading in one of their projects how they added it, and they said that it became a feature in one of the newer builds of DP?
SimplySerenity
 
Posts: 23
Joined: Sun Apr 15, 2012 12:03 am

Re: Cel shading

Postby leileilol » Sun Apr 15, 2012 12:28 am

You could simulate celshading in realtime lighting by messing with lighting exponents.
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: Cel shading

Postby SimplySerenity » Sun Apr 15, 2012 1:42 am

Are there any tutorials on that? :P
SimplySerenity
 
Posts: 23
Joined: Sun Apr 15, 2012 12:03 am

Re: Cel shading

Postby SimplySerenity » Fri Apr 20, 2012 4:52 am

Bumping as I really wish I knew how to do this. :3
SimplySerenity
 
Posts: 23
Joined: Sun Apr 15, 2012 12:03 am

Re: Cel shading

Postby r00k » Fri Apr 20, 2012 7:55 am

google glsl/hlsl celshading it will giv eyou at least the math
r00k
 
Posts: 1111
Joined: Sat Nov 13, 2004 10:39 pm

Re: Cel shading

Postby toneddu2000 » Fri Apr 20, 2012 12:04 pm

Hey SimplySerenity! Cel shading in xonotic has been made, IIRC, using glsl like , but SteelStorm 1 used a very simple ink shader. For what I remember you should insert in NetRadiant in world spawn a key "ink" and then apply to an object the ink shader.

When I come back home tonight I'll post here the complete procedure.

motorsep said that in SteelStorm 2 used direct celshading in DarkPlaces engine but I admit I didn't understand how he achieved that result.
Here (look at the motorsep reply at the first comment from above).

cheers
- 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 toneddu2000 » Sat Apr 21, 2012 9:03 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 leileilol » Sun Apr 22, 2012 12:03 am

a q3map2 hack to make outlines on the brushes is outlines, not shading.
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: Cel shading

Postby toneddu2000 » Sun Apr 22, 2012 9:16 am

yeah, you're right, I was inaccurate. I still wonder if DP has cel shading embedded in the engine, now. Gonna experiment
- 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 toneddu2000 » Sun Apr 22, 2012 5:12 pm

- 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 » Mon Apr 23, 2012 7:55 pm

wow thanks for all the help toneddu! :D
SimplySerenity
 
Posts: 23
Joined: Sun Apr 15, 2012 12:03 am

Re: Cel shading

Postby toneddu2000 » Mon Apr 23, 2012 9:16 pm

no problem, I learned something new too! :)
- 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 Ace12GA » Tue Apr 24, 2012 12:30 am

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

Next

Return to General Programming

Who is online

Users browsing this forum: No registered users and 3 guests