Game Development Community

Celshading and stencil shadowing

by Stephen · in Torque Game Engine · 12/18/2005 (2:23 pm) · 4 replies

I would like to ask how if anyone has used the tdn cel-shading technique and what are its drawbacks as far as performance because i would really love to use it but not at the major cost of performance, and has anyone tried stencil shadowing in tge 1.4?

thanks in advanced
stephen

#1
12/18/2005 (3:20 pm)
The performance seems to be ok with the cell shading but when you are close to a player model the black outline turns to the skybox colours. This seems to happen only with the player model and it might just be the orc.
#2
12/18/2005 (5:12 pm)
What would you think about a static intensive game world with lots of detail as far as game world objects? Would that depend on your operating system because I don't want to have it inaccesible to people who don't have 300 dollar video cards and 2gigs of ram...plus i was having a bit of a problem even getting it to work. I made all the code changes and inserted the activators in the prefs.cs file but when i started my game i got nothing. It started but nothing new.

thanks again
stephen
#3
12/19/2005 (5:51 pm)
Each cell shaded object gets rendered twice.

Check out this the outline code in this sencil shadow resource for the best way to do outlining.
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5426
#4
12/19/2005 (7:04 pm)
The blue-outline on the Orc can be fixed pretty easily.