bm842 Second Color Argument

Textures , First Color Argument


 

The second color argument element defines the second argument for the color operation of the active operation stage of an active object . This argument can assume the following values:

 

0         basic (diffuse) color of object

1         result of previous operation stage

2         texture

3         texture factor

4         specular color (only DirectX 7 and 8)

 

Modification factors (they are added to the argument code):

 

16         complement, the value (1-arg) will be used

32         replicate the alpha information to all color channels

 

The default value of the second color argument is 1 (result of previous operation stage) in all stages.