home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Joystick Magazine 2002 December
/
JOY143_CD1.iso
/
Data
/
Demos
/
Platoon
/
pl_demo.exe
/
Shaders
/
Materials
/
venus.mat
< prev
next >
Wrap
Text File
|
2002-09-17
|
3KB
|
123 lines
#include "..\MaterialDefine.def"
[Technique]
{
; Detail = DETAIL_HIGH
[Pass]
{
[Layer]
{
TextureSource = TEXT_DIFFUSE
TexCoordIndex = 0
ColorArg1 = TA_TEXTURE
ColorArg2 = TA_DIFFUSE
ColorOp = TOP_MODULATE
AlphaOp = 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_POINT
}
;#include "..\VERTEXFORMATS\Bump0.vfd"
; VertexShader = "MoonBump_l0.vso"
FillMode = FILL_SOLID
Cull = CULL_CW
DitherEnable = TRUE
SpecularEnable = FALSE
LightingEnable = TRUE
NormalizeNormals = TRUE
AlphaTestEnable = FALSE
AlphaBlendEnable = FALSE
SrcBlend = BLEND_ONE
DestBlend = BLEND_ZERO
ZWriteEnable = TRUE
ZFunc = CMP_LESS
AmbientColor = 0,0,0,0
DiffuseMaterialSource = MCS_MATERIAL
SpecularMaterialSource = MCS_MATERIAL
AmbientMaterialSource = MCS_MATERIAL
EmissiveMaterialSource = MCS_MATERIAL
}
[Pass]
{
[Layer]
{
TextureSource = TEXT_SELFILLUM ; a textura erosseg
TexCoordIndex = 0
ColorArg1 = TA_TEXTURE
ColorArg2 = TA_INVDIFFUSE
ColorOp = TOP_MODULATE
AlphaOp = TOP_DISABLE
TextureAddressU = TADDRESS_CLAMP
TextureAddressV = TADDRESS_CLAMP
Filter = TF_LINEAR_MIP_POINT
}
[Layer]
{
TextureSource = TEXT_GLOSSINESS
TexCoordIndex = 1
ColorArg1 = TA_CURRENT
ColorArg2 = TA_TEXTURE
ColorOp = TOP_MODULATE
AlphaOp = TOP_DISABLE
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
AlphaTestEnable = FALSE
AlphaBlendEnable = TRUE
SrcBlend = BLEND_ONE
DestBlend = BLEND_ONE
AmbientColor = 0,0,0,0
DiffuseColor = 5,5,5,0
ZWriteEnable = FALSE
ZFunc = CMP_LESSEQUAL
DiffuseMaterialSource = MCS_MATERIAL
SpecularMaterialSource = MCS_MATERIAL
AmbientMaterialSource = MCS_MATERIAL
EmissiveMaterialSource = MCS_MATERIAL
}
}