Fog Register
Microsoft DirectX 9.0 SDK Update (October 2004)

Fog Register


This vertex shader output register contains a per-vertex fog color.

Syntax

Fog Register 

Remarks

A register consists of properties that determine how each register behaves.

PropertyDescription
NameoFog
CountOne vector, of which only one component can be used and must be specified by the component mask
I/O permissionsWrite-only.

The output fog value registers. The value is the fog factor to be interpolated and then routed to the fog table. Only the scalar x-component of the fog is used.



© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.