Jump to content


emulate cell shading


5 replies to this topic

#1 pez263

    New Member

  • Members
  • PipPip
  • 21 posts

Posted 04 February 2009 - 04:02 AM

this is something I came up with for silent walk 2 but this should work in any 3d engine,its a way to emulate cell shading...

1.make your model

2 duplicate it and make it a bit bigger

3.invert the duplication

4.uv map and make the duplication all black

5.upload in engine and make sure it has ignore lights set(for dark games make the texture dark)

Posted Image

for complected models you may have to individually scale faces to get an exact match that surrounds the main model

#2 Reedbeta

    DevMaster Staff

  • Administrators
  • 4782 posts
  • LocationBellevue, WA

Posted 04 February 2009 - 04:25 AM

Yep, this is a well known technique for outlining.
reedbeta.com - developer blog, OpenGL demos, and other projects

#3 TheNut

    Senior Member

  • Moderators
  • 1398 posts
  • LocationThornhill, ON

Posted 04 February 2009 - 04:40 AM

I never really had any problems just using the built in wireframe mode. It also handles outlining the interior.

Posted Image

Is there any advantage to the added complexity mentioned above? All that work sounds pretty slow.
http://www.nutty.ca - Being a nut has its advantages.

#4 Goz

    Senior Member

  • Members
  • PipPipPipPip
  • 574 posts

Posted 04 February 2009 - 07:56 AM

So, just out of interest, do the results look any good if you just high pass the final scene and use that for outline data?

#5 Nicholas Christopher

    Member

  • Members
  • PipPip
  • 77 posts

Posted 05 February 2009 - 10:21 PM

@ theNut

Dangerous mix of cleaver and jack daniel's is perhaps the book a bible???
Nicholas Christopher
Architecture software development, and modeling
http:\\www.arconovum.com

#6 pez263

    New Member

  • Members
  • PipPip
  • 21 posts

Posted 06 February 2009 - 03:06 AM

TheNut said:

I never really had any problems just using the built in wireframe mode. It also handles outlining the interior.

Posted Image

Is there any advantage to the added complexity mentioned above? All that work sounds pretty slow.

al the individual objects have differant shading ammounts,the ball has smooth shading but the erst has more of the cell shaded look,and the book is smooth shaded





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users