NormalMapping

From Solid Graphics Wiki

Jump to: navigation, search

NormalMappping is a enum defined in the SKL3D namespace for C++ SolidKit Library code, and in SolidKit3D namespace in .NET SolidKit Library code.

This is the enum's definition:

typedef enum { NmNone = -1, Flat = 0, Smooth, SmoothWithCreaseAngle } NormalMapping;

Remarks

The Flat shading is best suited for shapes with all sharp edges, such as cubes.

The Smooth shading is best suited for shapes without any sharp edges, such as spheres.

The SmoothWithCreaseAngle shading is best suited for shapes with both sharp edges and curved surfaces. This type of shading is recommendeded to be used since it gives good results for almost all shapes.

See Also

Personal tools