DoTextureMapBumpSwitch(3D)

NAME
DoTextureMapBumpSwitch - Create a primitive attribute object for enabling or disabling bump mapping

SYNOPSIS
C:
DtObject DoTextureMapBumpSwitch(switchvalue)
DtSwitch switchvalue;

FORTRAN:
INTEGER*4 DOTMBS(SWVAL)
INTEGER*4 SWVAL

DESCRIPTION

DoTextureMapBumpSwitch creates a primitive attribute object that enables or disables bump mapping, that is, perturbing shading normals by using a texture map. The switchvalue parameter is used to specify whether or not the shading normal of subsequent primitive objects can be modified by bump mapping.

DcOff <DCOFF>
    The primitive object will ignore any bump maps that have been defined with DoTextureMapBump <DOTMDC>.

DcOn <DCON>
    The primitive object will be bump mapped as specified by the DoTextureMapBump attribute, whenever possible.

DEFAULTS
The default for DoTextureMapBumpSwitch is DcOff <DCOFF>.

SEE ALSO
DoTextureMapBump(3D)