DarkBASIC Professional Help File

DX11 CALCULATE SMOOTH LIMB NORMALS

Calculates vertex normals for all meshes that make up the geometry of the specified limb through interpolation between the face
normals of the mesh(es). This will give a smooth set of normals that may or may not suit your needs - for anything more advanced you
will probably want to provide your own normals either by setting them manually through the vertex data functions or by having them
exist in the vertex layout of any object file you import.
Note that if the associated vertex layout of the specified limb does not have a NORMAL semantic, this function will do nothing.

Syntax

    DX11 CALCULATE SMOOTH LIMB NORMALS limb

Parameters

    limb

> Dword
> The limb to calculate vertex normals (through interpolation of the face normals) of.

Returns

This function does not return a value.

See also

LIMB Functions Menu
DX11 Function Categories