home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Igromania 2005 May
/
Igromania_2005-05.iso
/
DemosThemes2
/
Demo1944BattleOfTheBulge
/
demo1944english.exe
/
Inf
/
td3deff.inf
< prev
next >
Wrap
INI File
|
2004-06-15
|
8KB
|
468 lines
#include "tcommon.h"
#include "td3ddefs.def"
; D3DTOP_MULTIPLYADD = 25, // Arg0 + Arg1*Arg2
; D3DTOP_LERP = 26, // (Arg0)*Arg1 + (1-Arg0)*Arg2
[MATERIALS]
{
[D3DPROJ]
{
[TECH]
{
[PASS]
{
TFactor = 0
[STAGE]
{
ColorOp = TOP_SELECTARG1
ColorArg1 = TA_TFACTOR
AlphaOp = TOP_SELECTARG1
AlphaArg1 = TA_CURRENT
} ; END[STAGE]
} ; END[PASS]
} ; END[TECH]
} ; END[D3DFULL]
[D3DPROJALPHA]
{
[TECH]
{
[PASS]
{
AlphaTestEnable = 1
TFactor = 0
[STAGE]
{
TextureSlot = TEXT_DIFFUSE
ColorOp = TOP_SELECTARG1
ColorArg1 = TA_TFACTOR
AlphaOp = TOP_MODULATE
AlphaArg1 = TA_TEXTURE
AlphaArg2 = TA_CURRENT
} ; END[STAGE]
} ; END[PASS]
} ; END[TECH]
} ; END[D3DFULL]
[D3DFULL]
{
[TECH]
{
[PASS]
{
OnlyZ = 1
[STAGE]
{
ColorOp = TOP_SELECTARG1
ColorArg1 = TA_CURRENT
AlphaOp = TOP_SELECTARG1
AlphaArg1 = TA_CURRENT
} ; END[STAGE]
} ; END[PASS]
} ; END[TECH]
} ; END[D3DFULL]
[D3DFULLALPHA]
{
[TECH]
{
[PASS]
{
OnlyZ = 1
AlphaTestEnable = 1
[STAGE]
{
TextureSlot = TEXT_DIFFUSE
ColorOp = TOP_SELECTARG1
ColorArg1 = TA_CURRENT
AlphaOp = TOP_MODULATE
AlphaArg1 = TA_TEXTURE
AlphaArg2 = TA_CURRENT
} ; END[STAGE]
} ; END[PASS]
} ; END[TECH]
} ; END[D3DFULLALPHA]
[D3DFULLALPHA2]
{
[TECH]
{
[PASS]
{
PixelShader = "alphazld2.ps"
OnlyZ = 1
AlphaTestEnable = 1
[STAGE]
{
} ; END[STAGE]
[STAGE]
{
TextureSlot = TEXT_DIFFUSE
} ; END[STAGE]
} ; END[PASS]
} ; END[TECH]
} ; END[D3DFULLALPHA2]
[D3DSHADOWMAP]
{
[TECH]
{
[PASS]
{
PixelShader = "shadowmap.ps"
[STAGE]
{
TexCoordIndex = TSS_TCI_CAMERASPACEPOSITION
TextureTransformFlags = TTFF_COUNT4PROJECTED
} ; END[STAGE]
} ; END[PASS]
} ; END[TECH]
} ; END[D3DSHADOWMAP]
[D3DSHADOWMAPALPHA]
{
[TECH]
{
[PASS]
{
PixelShader = "shadowmapalpha.ps"
[STAGE]
{
TexCoordIndex = 0
TextureSlot = TEXT_DIFFUSE
} ; END[STAGE]
[STAGE]
{
TexCoordIndex = TSS_TCI_CAMERASPACEPOSITION
TextureTransformFlags = TTFF_COUNT4PROJECTED
} ; END[STAGE]
} ; END[PASS]
} ; END[TECH]
} ; END[D3DSHADOWMAP]
[D3DFSQUAD]
{
[TECH]
{
[PASS]
{
[STAGE]
{
TextureSlot = 0
Filter = TEXF_POINT
Address = TADDRESS_CLAMP
ColorOp = TOP_MODULATE
ColorArg1 = TA_TEXTURE
ColorArg2 = TA_CURRENT
AlphaOp = TOP_SELECTARG1
AlphaArg1 = TA_CURRENT
} ; END[STAGE]
} ; END[PASS]
} ; END[TECH]
} ; END[D3DFSQUAD]
[D3DENGINEGLOW]
{
[TECH]
{
[PASS]
{
AlphaBlendEnable = 1
SrcBlend = BLEND_ONE
DestBlend = BLEND_INVSRCCOLOR
[STAGE]
{
TextureSlot = 0
Filter = TEXF_LINEAR
Address = TADDRESS_CLAMP
ColorOp = TOP_MODULATE
ColorArg1 = TA_TEXTURE
ColorArg2 = TA_CURRENT
AlphaOp = TOP_SELECTARG1
AlphaArg1 = TA_CURRENT
} ; END[STAGE]
} ; END[PASS]
} ; END[TECH]
} ; END[D3DFSQUAD]
[D3DFSBIQUAD]
{
[TECH]
{
[PASS]
{
[STAGE]
{
TextureSlot = 0
ColorOp = TOP_MODULATE
ColorArg1 = TA_TEXTURE
ColorArg2 = TA_CURRENT
AlphaOp = TOP_SELECTARG1
AlphaArg1 = TA_CURRENT
} ; END[STAGE]
} ; END[PASS]
} ; END[TECH]
} ; END[D3DFSQUAD]
[D3DGLOWPRE]
{
[TECH]
{
[PASS]
{
[STAGE]
{
TextureSlot = 0
ColorOp = TOP_DOTPRODUCT3
ColorArg1 = TA_TEXTURE
ColorArg2 = TA_CURRENT
AlphaOp = TOP_SELECTARG1
AlphaArg1 = TA_CURRENT
} ; END[STAGE]
[STAGE]
{
TextureSlot = 1
ColorOp = TOP_MODULATE
ColorArg1 = TA_TEXTURE
ColorArg2 = TA_CURRENT
AlphaOp = TOP_SELECTARG1
AlphaArg1 = TA_DIFFUSE
} ; END[STAGE]
} ; END[PASS]
} ; END[TECH]
} ; END[D3DGLOWPRE]
[D3DGLOW]
{
[TECH]
{
[PASS]
{
[STAGE]
{
TextureSlot = 0
TexCoordIndex = 0
Filter = TEXF_LINEAR
ColorOp = TOP_MODULATE
ColorArg1 = TA_TEXTURE
ColorArg2 = TA_CURRENT
AlphaOp = TOP_SELECTARG1
AlphaArg1 = TA_CURRENT
} ; END[STAGE]
[STAGE]
{
TextureSlot = 1
TexCoordIndex = 1
Filter = TEXF_POINT
ColorOp = TOP_ADDSMOOTH
ColorArg1 = TA_TEXTURE
ColorArg2 = TA_CURRENT
AlphaOp = TOP_SELECTARG1
AlphaArg1 = TA_CURRENT
} ; END[STAGE]
} ; END[PASS]
} ; END[TECH]
} ; END[D3DGLOW]
[D3DEFFECT1]
{
[TECH]
{
[PASS]
{
LightingDisable = 1
PixelShader = "effect1.ps"
[STAGE]
{
TexCoordIndex = 0
TextureSlot = TEXT_DIFFUSE
Address = TADDRESS_CLAMP
} ; END[STAGE]
[STAGE]
{
TexCoordIndex = 1
TextureSlot = TEXT_DIFFUSE
Address = TADDRESS_CLAMP
} ; END[STAGE]
[STAGE]
{
TexCoordIndex = 2
TextureSlot = TEXT_DIFFUSE
Address = TADDRESS_CLAMP
} ; END[STAGE]
[STAGE]
{
TexCoordIndex = 3
TextureSlot = TEXT_DIFFUSE
Address = TADDRESS_CLAMP
} ; END[STAGE]
} ; END[PASS]
} ; END[TECH]
} ; END[D3DFULLALPHA2]
[D3DEFFECT2]
{
[TECH]
{
[PASS]
{
LightingDisable = 1
AlphaBlendEnable = 1
SrcBlend = BLEND_ONE
DestBlend = BLEND_INVSRCCOLOR
PixelShader = "effect3.ps"
[STAGE]
{
TextureSlot = TEXT_DIFFUSE
Address = TADDRESS_CLAMP
;ColorOp = TOP_SELECTARG1
;ColorArg1 = TA_TEXTURE
;AlphaOp = TOP_SELECTARG1
;AlphaArg1 = TA_CURRENT
} ; END[STAGE]
} ; END[PASS]
} ; END[TECH]
} ; END[D3DFULLALPHA2]
[D3DEFFECT3]
{
[TECH]
{
[PASS]
{
LightingDisable = 1
PixelShader = "effect1-2.ps"
[STAGE]
{
TexCoordIndex = 0
TextureSlot = TEXT_DIFFUSE
Address = TADDRESS_CLAMP
} ; END[STAGE]
[STAGE]
{
TexCoordIndex = 1
TextureSlot = TEXT_DIFFUSE
Address = TADDRESS_CLAMP
} ; END[STAGE]
[STAGE]
{
TexCoordIndex = 2
TextureSlot = TEXT_DIFFUSE
Address = TADDRESS_CLAMP
} ; END[STAGE]
[STAGE]
{
TexCoordIndex = 3
TextureSlot = TEXT_DIFFUSE
Address = TADDRESS_CLAMP
} ; END[STAGE]
} ; END[PASS]
} ; END[TECH]
} ; END[D3DFULLALPHA2]
[D3DONEBITHDR]
{
[TECH]
{
[PASS]
{
TFactor = -1
LightingDisable = 1
AlphaBlendEnable = 1
SrcBlend = BLEND_DESTCOLOR
DestBlend = BLEND_ONE
[STAGE]
{
ColorOp = TOP_SELECTARG1
ColorArg1 = TA_TFACTOR
AlphaOp = TOP_SELECTARG1
AlphaArg1 = TA_TFACTOR
} ; END[STAGE]
} ; END[PASS]
} ; END[TECH]
} ; END[D3DFULLALPHA2]
[TWTT]
{
[TECH]
{
[PASS]
{
PixelShader = "twtt.ps"
LightingDisable = 1
AlphaBlendEnable = 1
SrcBlend = BLEND_SRCALPHA
DestBlend = BLEND_INVSRCALPHA
[STAGE]
{
TexCoordIndex = 0
TextureSlot = TEXT_DIFFUSE
Address = TADDRESS_CLAMP
} ; END[STAGE]
[STAGE]
{
TexCoordIndex = 1
TextureSlot = TEXT_SPECULAR
Address = TADDRESS_CLAMP
} ; END[STAGE]
[STAGE]
{
TexCoordIndex = 2
TextureSlot = TEXT_SELFILLUM
} ; END[STAGE]
} ; END[PASS]
} ; END[TECH]
[TECH]
{
[PASS]
{
PixelShader = "twtt2.ps"
LightingDisable = 1
AlphaBlendEnable = 1
SrcBlend = BLEND_SRCALPHA
DestBlend = BLEND_INVSRCALPHA
[STAGE]
{
TexCoordIndex = 0
TextureSlot = TEXT_DIFFUSE
Address = TADDRESS_CLAMP
} ; END[STAGE]
[STAGE]
{
TexCoordIndex = 1
TextureSlot = TEXT_SPECULAR
Address = TADDRESS_CLAMP
} ; END[STAGE]
[STAGE]
{
TexCoordIndex = 2
TextureSlot = TEXT_SELFILLUM
} ; END[STAGE]
} ; END[PASS]
} ; END[TECH]
} ; END[TWTT]
} ; END[MATERIALS]