Navigation


RSS : Articles / Comments


Papervision 3D - Shaders + ShadedMaterial

9:35 PM, Posted by Jim Foley, One Comment

(WIP)
EnvironmentPhongGouraudFlatShadeCell

In this post we're going to review Papervision 3D 2.0 Shader Objects and the ShadedMaterial. The Shaders discussed in this overview are EnvMapShader, PhongShader, GouraudShader, FlatShader and CellShader. Each one has their own distinct visual and each serves a different appeal. The ShadedMaterial object is used to combine your shader and your material together into one dynamic material. When viewing the code be sure to pay close attention to the coments as they give detailed info on applying the materials to the object.

Papervision 3D 2.0 Shaders:
· CellShader : Overview
· FlatShader : Overview
· GouraudShader : Overview
· PhongShader : Overview
· EnvMapShader : Overview

Shaders w/ ShadedMaterial Explained : View Example, Source & Diagram

Examples : Environment, Phong, Gouraud, FlatShade, Cell
Flash Source Code : click here (for all Shader Types)
Flex Source Code : click here (for all Shader Types)

One Comment

André @ March 19, 2009 12:39 PM

your codes helps me a lot with lights and shaders, but if you could, talk a little bit about these type of shaders, and the difference between them. Or when do you think you have to use one instead another.

if you couldn't ok, as i say your post already helped me a lot.