home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Joystick Magazine 2002 December
/
JOY143_CD1.iso
/
Data
/
Demos
/
Platoon
/
pl_demo.exe
/
Shaders
/
Materials
/
Landscape.mat
< prev
next >
Wrap
Text File
|
2002-09-17
|
1KB
|
63 lines
#include "..\MaterialDefine.def"
[Technique]
{
; Detail = DETAIL_HIGH
; a textura, vertex color, vertex alpha muveletek!
[Pass]
{
[Layer]
{
TextureSource = TEXT_DIFFUSE
TexCoordIndex = 0
ColorArg1 = TA_TEXTURE
ColorArg2 = TA_DIFFUSE
ColorOp = TOP_MODULATE
AlphaArg1 = TOP_DISABLE
TextureAddressU = TADDRESS_CLAMP
TextureAddressV = TADDRESS_CLAMP
Filter = TF_LINEAR_MIP_POINT
}
[Layer]
{
TextureSource = TEXT_AMBIENT
TexCoordIndex = 1
ColorArg1 = TA_CURRENT
ColorArg2 = TA_TEXTURE
ColorOp = TOP_MODULATE
TextureAddressU = TADDRESS_WRAP
TextureAddressV = TADDRESS_WRAP
Filter = TF_LINEAR_MIP_LINEAR
}
FillMode = FILL_SOLID
Cull = CULL_CW
DitherEnable = TRUE
SpecularEnable = FALSE
LightingEnable = TRUE
NormalizeNormals = FALSE
LocalViewer = FALSE
AlphaTestEnable = FALSE
AlphaBlendEnable = FALSE
ZWriteEnable = TRUE
ZFunc = CMP_LESS
DiffuseMaterialSource = MCS_DIFFUSE
SpecularMaterialSource = MCS_MATERIAL
AmbientMaterialSource = MCS_DIFFUSE
EmissiveMaterialSource = MCS_MATERIAL
}
}