home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Joystick Magazine 2002 December
/
JOY143_CD1.iso
/
Data
/
Demos
/
Platoon
/
pl_demo.exe
/
Shaders
/
Materials
/
tfactor.mat
< prev
next >
Wrap
Text File
|
2002-09-17
|
967b
|
46 lines
#include "..\MaterialDefine.def"
[Technique]
{
[Pass]
{
[Layer]
{
TextureSource = TEXT_DIFFUSE
TexCoordIndex = 0
ColorArg1 = TA_TEXTURE ;diffuse textura
ColorArg2 = TA_DIFFUSE
ColorOp = TOP_MODULATE
AlphaArg1 = TA_TFACTOR
AlphaOp = TOP_SELECTARG1
TextureAddressU = TADDRESS_WRAP
TextureAddressV = TADDRESS_WRAP
Filter = TF_LINEAR_MIP_LINEAR
}
FillMode = FILL_SOLID
Cull = CULL_CW
DitherEnable = TRUE
SpecularEnable = FALSE
LightingEnable = TRUE
NormalizeNormals = TRUE
LocalViewer = TRUE
AlphaTestEnable = TRUE
AlphaFunc = CMP_GREATER
AlphaRef = 1
AlphaBlendEnable = TRUE
SrcBlend = BLEND_SRCALPHA
DestBlend = BLEND_INVSRCALPHA
ZWriteEnable = FALSE
ZFunc = CMP_LESS
}
}