home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Joystick Magazine 2002 December
/
JOY143_CD1.iso
/
Data
/
Demos
/
Platoon
/
pl_demo.exe
/
Shaders
/
Materials
/
ablak.mat
next >
Wrap
Text File
|
2002-09-17
|
2KB
|
66 lines
; texturemapped, reflection mapped with reflection level map!
; Sima Map -> DIFFUSE TEXTURE rgb
; Reflection level Map -> DIFFUSE TEXTURE alpha
; Reflection Map -> REFLECTION TEXTURE rgb
;
; Warning: a refmap csak grayscale-ben shadelt!
#include "..\MaterialDefine.def"
[Technique]
{
; Detail = DETAIL_HIGH
[Pass]
{
[Layer]
{
TextureSource = TEXT_DIFFUSE
TexCoordIndex = 0
ColorArg1 = TA_TEXTURE ;diffuse textura
ColorArg2 = TA_DIFFUSE
ColorOp = TOP_MODULATE
AlphaArg1 = TA_TEXTURE
AlphaOp = TOP_SELECTARG1
TextureAddressU = TADDRESS_WRAP
TextureAddressV = TADDRESS_WRAP
Filter = TF_LINEAR_MIP_LINEAR
}
[Layer]
{
TextureSource = TEXT_REFLECTION
TexCoordIndex = TSS_TCI_CAMERASPACENORMAL
TextureTransformFlags = TTFF_COUNT2
TextureTransformMode = TTM_SPHERICALENVMAP
ColorArg1 = TA_CURRENT
ColorArg2 = TA_TEXTURE ;RefMap
ColorOp = TOP_MODULATEALPHA_ADDCOLOR
AlphaOp = TOP_DISABLE
TextureAddressU = TADDRESS_WRAP
TextureAddressV = TADDRESS_WRAP
Filter = TF_LINEAR_MIP_POINT
}
FillMode = FILL_SOLID
Cull = CULL_CW
DitherEnable = TRUE
SpecularEnable = FALSE
LightingEnable = TRUE
NormalizeNormals = TRUE
LocalViewer = FALSE
AlphaBlendEnable = FALSE
ZWriteEnable = TRUE
ZFunc = CMP_LESS
}
}