What is Shading Assigning of a color to

  • Slides: 29
Download presentation
What is Shading? • Assigning of a color to a pixel in the final

What is Shading? • Assigning of a color to a pixel in the final image. • So, everything in shading is about how to select and combine colors to get the look you want.

What impacts shading? • • The lights in a scene. The geometry of objects

What impacts shading? • • The lights in a scene. The geometry of objects in a scene. The normals of objects. The shader properties of an object: – Color, transparency, emissivity, etc… • The rendering algorithm – Eg ray-tracing versus scan-line rendering.

The Original CG Shading Techniques • Faceted Shading • Smooth Shading • Specular Shading

The Original CG Shading Techniques • Faceted Shading • Smooth Shading • Specular Shading

What is a Normal? Eyepoint Light Normal Reflected Light Plane Eyepoint Normal Plane Reflected

What is a Normal? Eyepoint Light Normal Reflected Light Plane Eyepoint Normal Plane Reflected Light

Faceted/Flat Shading

Faceted/Flat Shading

Smooth/Gouraud Shading

Smooth/Gouraud Shading

Specular/Phong Shading

Specular/Phong Shading

Next: Surface Shaders • A grouping of all variables that influence the rendered color

Next: Surface Shaders • A grouping of all variables that influence the rendered color of a 3 D object. • Surface finish • Simulated material. • Surface libraries/material databases. • Surface Layers • Render. Man Shading

Surface Layers • Combine multiple shaders for astonishing effects. • Build up shades like

Surface Layers • Combine multiple shaders for astonishing effects. • Build up shades like a painter.

Renderman Shaders • • Renderman is a procedural shader language with tremendous versatility. All

Renderman Shaders • • Renderman is a procedural shader language with tremendous versatility. All major feature animated feature films use Renderman as part of production. Like programming in C code. You write Shaders for Renderman like you would write C code for computers.

Image Mapping • • • Generally referred to as Texture Mapping. 2 D Texture

Image Mapping • • • Generally referred to as Texture Mapping. 2 D Texture Mapping Creating the map Maps for real-time Maps for feature film

1 Map Many Attributes

1 Map Many Attributes

1 Map Many Parts

1 Map Many Parts

Image Mapping in Games

Image Mapping in Games

Image Mapping in Film

Image Mapping in Film

Projection Methods

Projection Methods

Projection Methods

Projection Methods

Positioning the Map

Positioning the Map

Map Blending

Map Blending

Surface Reflectivity • • • Ambient Reflection Diffuse Reflection Specular Reflection maps Environment Maps

Surface Reflectivity • • • Ambient Reflection Diffuse Reflection Specular Reflection maps Environment Maps Glow/Incandescence

Surface Reflectivity

Surface Reflectivity

Reflection/Environment Maps

Reflection/Environment Maps

Color Maps

Color Maps

Surface Texture/Roughness • • • Visual textures – like brick wallpaper. Spatial textures/roughness –

Surface Texture/Roughness • • • Visual textures – like brick wallpaper. Spatial textures/roughness – mod geometry. Bump maps – modify surface normals. Displacement maps 2 D Procedural `Texture’ maps. 3 D Procedural `Texture’ maps.

2 d Procedural texture maps

2 d Procedural texture maps