DoTextureMapBumpSwitch(3D) — Stardent Computer Inc. (\*(Dd)
NAME
DoTextureMapBumpSwitch − Create a primitive attribute object for enabling/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/disables bump mapping, i.e. perturbing shading normals via 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
September 29, 2021