home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Joystick Magazine 2002 December
/
JOY143_CD1.iso
/
Data
/
Demos
/
Platoon
/
pl_demo.exe
/
Shaders
/
Materials
/
AlphaTest.mat
< prev
next >
Wrap
Text File
|
2002-09-17
|
1KB
|
50 lines
; A texturak kulon vannak
#include "..\MaterialDefine.def"
[Technique]
{
[Pass]
{
[Layer]
{
TextureSource = TEXT_DIFFUSE
TexCoordIndex = 0
ColorArg1 = TA_TEXTURE
ColorArg2 = TA_DIFFUSE
ColorOp = TOP_MODULATE
AlphaArg1 = TA_TEXTURE
AlphaOp = TOP_SELECTARG1
Filter = TF_LINEAR_MIP_LINEAR
}
FillMode = FILL_SOLID
Cull = CULL_CW
DitherEnable = TRUE
SpecularEnable = FALSE
LightingEnable = TRUE
NormalizeNormals = TRUE
LocalViewer = FALSE
ColorVertexEnable = FALSE
FogEnable = FALSE
AlphaTestEnable = TRUE
AlphaRef = 128
AlphaFunc = CMP_GREATEREQUAL
AlphaBlendEnable = FALSE
ZWriteEnable = TRUE
ZFunc = CMP_LESS
DiffuseMaterialSource = MCS_MATERIAL
SpecularMaterialSource = MCS_MATERIAL
AmbientMaterialSource = MCS_MATERIAL
EmissiveMaterialSource = MCS_MATERIAL
}
}