Cel Shading

please visit neopangaia.com – the adult mmorpg/virtual planet earth

EDIT: also see  114 – Cel Shading in UT3/UDK

http://www.youtube.com/watch?v=iYKSBIuQnVo in UDK Video

UDK Cel Shading Video http://www.youtube.com/watch?v=iYKSBIuQnVo

http://www.moddb.com/games/unreal-tournament-3/tutorials/tf2-shading-in-ut3 – Cel Shading ala TF2 in UT3

http://www.hourences.com/book/tutorialsue3mated3.htm
– General Material Tutorial

Cel-shading

From Wikipedia, the free encyclopedia

 

Object with a basic cel-shader (also known as a toon shader) and border detection.

Cel-shaded animation (also called cel-shading or toon shading) is a type of non-photorealistic rendering designed to make computer graphics appear to be hand-drawn. Cel-shading is often used to mimic the style of a comic book or cartoon. It is a somewhat recent addition to computer graphics, most commonly turning up in console video games. Though the end result of cel-shading has a very simplistic feel like that of hand-drawn animation, the process is complex. The name comes from the clear sheets of acetate, called cels, that are painted on for use in traditional 2D animation, such as Disney classics.[1]

  • 1 Process
  • 2 History
    • 2.1 Video games
  • 3 List of cel-shaded media
    • 3.1 Video games
    • 3.2 Film and television
    • 3.3 Commercials
  • 4 Similar technology
  • 5 See also
  • 6 References

Process

The cel-shading process starts with a typical 3D model. Where cel-shading differs from conventional rendering is in its use of non-photorealistic lighting. Conventional (smooth) lighting values are calculated for each pixel and then mapped to a small number of discrete shades to create the characteristic flat look.

Black “ink” outlines and contour lines can be created using a variety of methods. One popular method is to first render a black silhouette, slightly larger than the object itself. Backface culling is inverted and the back-facing triangles are drawn in black. To dilate the silhouette, these back-faces may be drawn in wireframe multiple times with slight changes in translation. Alternately, back-faces may be rendered solid-filled, with their vertices translated along their vertex normals in a vertex shader. After drawing the silhouette, back-face culling is set back to normal to draw the shading and optional textures of the object. Finally, the image is composited via Z-buffering, as the back-faces always lie deeper in the scene than the front-faces. The result is that the object is drawn with a black outline and interior contour lines.

The Utah teapot rendered using cel-shading:

The Utah Teapot rendered using cel-shading.

  1. The back faces are drawn with thick lines
  2. The object is drawn with a basic texture
  3. Shading

Steps 2 and 3 can be combined using multi-texturing (see texture mapping).

Another outlining technique is to use 2D image-processing. First, the scene is rendered (with cel-shading) to a screen-sized color texture:

Then, the scene’s depth and world-space surface normal information are rendered to screen-sized textures:

A Sobel filter or similar edge-detection filter is applied to the normal/depth textures to generate an edge texture. Texels on detected edges are black, while all other texels are white:

Finally, the edge texture and the color texture are composited to produce the final rendered image:

As with most image-processing techniques, the performance penalty for this method is not affected by scene complexity.

History

Video games

The first 3D video game to feature true real-time cel-shading was Jet Grind Radio (2000) for the Sega Dreamcast. Another game, Fear Effect for the Sony PlayStation, was released in 2000 and was noted for its use of dramatic textures to give an anime appearance to its characters, but lacked outlines and dynamic light-sourcing. Games before Fear Effect have used textures in a similar fashion, but not as starkly apparent or stylized as the game. Wacky Races, released on Dreamcast a few months before Jet Set Radio, featured an outline effect often mistaken for cel-shading, but the game actually used traditional shading techniques. There are several other games, such as Megaman Legends, that used static cel-shaded textures (without real-time lighting) in the same vein as Fear Effect created before the previous examples, but the effect created was not as strongly noticeable as the previous examples.

In the years following Jet Set Radio, numerous other cel-shaded games were introduced during a minor fad involving cel-shaded graphics, yet only a few would fully match or surpass its mainstream appeal. The next games with cel-shading to capture the industry’s attention in some form were 2002’s Jet Set Radio Future and Sly Cooper and the Thievius Raccoonus. Over time, more cel-shaded titles such as Dark Chronicle, Cel Damage, Klonoa 2: Lunatea’s Veil, the Viewtiful Joe series, and XIII were released with positive feedback, though none were considered blockbusters in terms of sales figures. Originally the only cel-shaded games to receive both positive ratings and sales after Sly Cooper and the Thievius Raccoonus were The Legend of Zelda: The Wind Waker, Sly 2: Band of Thieves, and Tales of Symphonia.

Originally, The House of the Dead III (HotD3) for the Microsoft Xbox was cel-shaded. Early in HotD3′s development Sega released screenshots of the then current cel-shaded graphics to the gaming community. Shortly after those initial screenshots were released, Sega announced that they were dropping the cel-shaded graphics in favor of conventional graphic techniques. There are several suspected reasons for Sega’s change of heart, the most popular and most likely is that the screenshots met much negative response from gamers who disliked the cel-shaded graphical style. Many gamers claimed the cel-shading was used purely as a gimmick in an attempt to sell more games. HotD3 was a bloody, gory and very violent light gun game which featured zombies and other mutated and deformed creatures. Many felt the cel-shaded look clashed greatly with the game’s themes and content.

More recently, handheld consoles, previously not realistically powerful enough to render a fully 3D world, have made use of cel-shading. Most notable is the Tony Hawk series and The Legend of Zelda: Phantom Hourglass on the Nintendo DS. Another notable series is the Naruto: Ultimate Ninja series, particularly Naruto: Ultimate Ninja Storm. This series boasts exceptional cel-shading, resulting in unrivaled graphics.

The use of cel-shading in video games has slowed somewhat since its inception, but the technique continues to be employed in the modern era. Recent examples include Dragon Quest VIII, Rogue Galaxy, Killer 7, No More Heroes, Metal Gear Acid 2, Ōkami and Prince of Persia.

List of cel-shaded media

Video games

Film and television

Commercials

Similar technology

Interpolated rotoscoping can be used to create a similar effect, but the source material does not need to be computer generated. In addition, rotoscoping is applied to an existing image, whereas cel-shading is applied during the generation of the image.

See also

References

One thought on “Cel Shading

  1. Pingback: Fix Celshader.lx Errors - Windows XP, Vista, 7 & 8

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s