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