Part of the Khronos Group

Non-Photorealistic Rendering Demo using GLSL

This new demo shows non-photorealistic rendering of 3D scenes using GLSL shaders. There are three kinds of non-photorealistic rendering in this demo: Cartoon shading, pencil shading and ink shading. The cartoon shading mode uses cel shading to give the scene the look of a cartoon. In all three modes, edges are drawn as a post-processing effect using a Laplace edge detection shader. To simulate the shaking hand of an artist, the edges and colors are distorted with a Perlin noise texture. The shadows are generated using shadow mapping. In the pencil and ink shading modes, the shadows are combined with a hatch texture. The demo also features bone animation and some simple AI. As an extra, the demo supports left/right stereo-projections.

Posted on 07/25 at 07:21 AM

Name:

Email:

Location:

URL:

Remember my personal information

Notify me of follow-up comments?

Submit the word you see below:


This page has been viewed 962443 times •

<< Back to main

Column Header
Column Footer