home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Joystick Magazine 2002 December
/
JOY143_CD1.iso
/
Data
/
Demos
/
Platoon
/
pl_demo.exe
/
Shaders
/
Materials
/
logo.mat
< prev
next >
Wrap
Text File
|
2002-09-27
|
2KB
|
103 lines
#include "..\MaterialDefine.def"
[Technique]
{
; Detail = DETAIL_HIGH
; a textura, vertex color, vertex alpha muveletek!
[Pass]
{
[Layer]
{
TextureSource = TEXT_DIFFUSE
TexCoordIndex = 0
ColorArg1 = TA_DIFFUSE
ColorArg2 = TA_TEXTURE
ColorOp = TOP_MODULATE
AlphaArg1 = TA_TEXTURE
AlphaOp = TOP_SELECTARG1
TextureAddressU = TADDRESS_WRAP
TextureAddressV = TADDRESS_WRAP
Filter = TF_LINEAR
}
FillMode = FILL_SOLID
Cull = CULL_NONE
DitherEnable = TRUE
SpecularEnable = FALSE
LightingEnable = TRUE
NormalizeNormals = TRUE
LocalViewer = FALSE
AlphaTestEnable = TRUE
AlphaFunc = CMP_GREATER
AlphaRef = 4
AlphaBlendEnable = TRUE
SrcBlend = BLEND_SRCALPHA
DestBlend = BLEND_INVSRCALPHA
ZWriteEnable = FALSE
ZFunc = CMP_LESS
}
[Pass]
{
[Layer]
{
TextureSource = TEXT_GLOSSINESS
TexCoordIndex = 0
ColorArg1 = TA_SPECULAR
ColorArg2 = TA_TEXTURE
ColorOp = TOP_MODULATE
AlphaOp = TOP_SELECTARG1
TextureAddressU = TADDRESS_WRAP
TextureAddressV = TADDRESS_WRAP
Filter = TF_LINEAR_MIP_POINT
}
[Layer]
{
TextureSource = TEXT_DIFFUSE
TexCoordIndex = 0
ColorArg1 = TA_CURRENT
ColorOp = TOP_SELECTARG1
AlphaArg1 = TA_TEXTURE
AlphaOp = TOP_SELECTARG1
}
FillMode = FILL_SOLID
Cull = CULL_NONE
DitherEnable = TRUE
SpecularEnable = FALSE
LightingEnable = TRUE
NormalizeNormals = TRUE
LocalViewer = FALSE
AlphaTestEnable = TRUE
AlphaFunc = CMP_GREATER
AlphaRef = 4
AlphaBlendEnable = TRUE
SrcBlend = BLEND_ONE
DestBlend = BLEND_ONE
ZWriteEnable = FALSE
ZFunc = CMP_LESSEQUAL
}
}