Matrix1 Utility Plug-ins

# SET LIMB TEXTURE BLEND MODE

Syntax

SET LIMB TEXTURE BLEND MODE Object number, Limb number, Stage, Blend mode, Blend mode Arg1 SET LIMB TEXTURE BLEND MODE Object number, Limb number, Stage, Blend mode, Blend mode Arg1, Blend mode arg2

Description

This command is used to set the texture blending mode for the specified texture stage. The safe blend modes are defined within the DirectX documentation and have a prefix of D3DTOP. The safe blend arguments are defined within the DirectX documentation and have a prefix of D3DTA. Constants for allowable blend modes: #constant D3DTOP_DISABLE = 1 #constant D3DTOP_SELECTARG1 = 2 #constant D3DTOP_SELECTARG2 = 3 #constant D3DTOP_MODULATE = 4 #constant D3DTOP_MODULATE2X = 5 #constant D3DTOP_MODULATE4X = 6 #constant D3DTOP_ADD = 7 #constant D3DTOP_ADDSIGNED = 8 #constant D3DTOP_ADDSIGNED2X = 9 #constant D3DTOP_SUBTRACT = 10 #constant D3DTOP_ADDSMOOTH = 11 #constant D3DTOP_BLENDDIFFUSEALPHA = 12 #constant D3DTOP_BLENDTEXTUREALPHA = 13 #constant D3DTOP_BLENDFACTORALPHA = 14 #constant D3DTOP_BLENDTEXTUREALPHAPM = 15 #constant D3DTOP_BLENDCURRENTALPHA = 16 #constant D3DTOP_PREMODULATE = 17 #constant D3DTOP_MODULATEALPHA_ADDCOLOR = 18 #constant D3DTOP_MODULATECOLOR_ADDALPHA = 19 #constant D3DTOP_MODULATEINVALPHA_ADDCOLOR = 20 #constant D3DTOP_MODULATEINVCOLOR_ADDALPHA = 21 #constant D3DTOP_BUMPENVMAP = 22 #constant D3DTOP_BUMPENVMAPLUMINANCE = 23 #constant D3DTOP_DOTPRODUCT3 = 24 #constant D3DTOP_MULTIPLYADD = 25 #constant D3DTOP_LERP = 26 Constants for allowable blend arguments: #constant D3DTA_DIFFUSE = 0 #constant D3DTA_CURRENT = 1 #constant D3DTA_TEXTURE = 2 #constant D3DTA_TFACTOR = 3 #constant D3DTA_SPECULAR = 4 #constant D3DTA_TEMP = 5 #constant D3DTA_CONSTANT = 6 #constant D3DTA_COMPLEMENT = 16 #constant D3DTA_ALPHAREPLICATE = 32

Go back to ...

Matrix1Util_12 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011