Wednesday, June 17, 2009

Shading in computer graphics

Here's about shading in computer graphics.

In computer graphics, Shading refers to the process of altering a color based on its angle to lights and its distance from lights to create a photorealistic effect. Shading is performed during the rendering process.

Angle to light source

Shading alters the colors of faces in a 3D model based on the angle of the surface to the sun or other light sources.

The very first image below has the faces of the box rendered, but all in the same color. Edge lines have been rendered here as well which makes the image easier to see.

The second image is the same model rendered without edge lines. It is difficult to tell where one face of the box ends and the next begins.

The third image has shading enabled, which makes the image more realistic and makes it easier to see which face is which.

Rendered image of a box. This image has no shading on its faces, but uses edge lines to separate the faces.
This is the same image with the edge lines removed.
This is the same image rendered with shading of the faces to alter the colors of the 3 faces based on their angle to the light sources.

No comments:

Post a Comment

Bookmark and Share

Sponsor Links

Stop drawing and painting figures the hard way!
Draw People and Figures Perfectly!
Over 1016 Detailed Illustrations!
www.anatomydrawingsecrets.com

Learn How To Draw CARICATURES
Step By Step Videos!
Easy Step By Step Lessons
www.learn-to-draw.org

Stop drawing cartoons the hard way!...
Finally! You Can Draw Cartoons
Cartoons Drawing can be both a FUN and PROFITABLE hobby or pastime!
www.cartoon-drawing-made-easy.com