home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 2006 April
/
Gamestar_83_2006-04_dvd.iso
/
Dema
/
demowot_english.exe
/
InfDX
/
Materials
/
bg_distort.mat
/
default-transparent.pass
next >
Wrap
Text File
|
2005-04-15
|
2KB
|
78 lines
; klonozos dolgok szintaktikaja
; CLONE = "BARMI.PASS" - egy masik pass klonozasa, ugyanebbol a materialbol
; CLONE = "AKARMI.MAT","BARMI.PASS" - egy masik material egyik passa
; common states
; fixed pipe settings
RS_LIGHTING = "FALSE"
;RS_LOCALVIEWER = "FALSE"
;RS_NORMALIZENORMALS = "FALSE"
;RS_SPECULARENABLE = "FALSE"
; alpha blending
RS_ALPHABLENDENABLE = "TRUE"
RS_SRCBLEND = "BLEND_SRCALPHA"
RS_BLENDOP = "BLENDOP_ADD"
RS_DESTBLEND = "BLEND_INVSRCALPHA"
RS_COLORWRITEENABLE = "COLORWRITEENABLE_ALLBUTALPHA"
; zbuffer operations
RS_ZENABLE = "ZB_TRUE"
RS_ZWRITEENABLE = "FALSE"
RS_ZFUNC = "CMP_LESSEQUAL"
; framebuffer operations
RS_ALPHATESTENABLE = "FALSE"
;RS_ALPHAREF = "UNDEFINED"
;RS_ALPHAFUNC = "UNDEFINED"
; rasterization
RS_FILLMODE = "FILL_SOLID"
RS_SHADEMODE = "SHADE_GOURAUD"
;RS_CULLMODE = "CULL_CW"
; shaderek
VERTEXSHADER = "bgdistort-default-transparent-vertex.hlsl"
PIXELSHADER = "bgdistort-default-transparent-pixel.hlsl"
; COMMAND
STRETCHRECT = "BACKGROUND.SURFACE"
; kimaradt dolgok:
; fog dolgok nem kellenek, automata
; stencillel szinten ne szivjunk
; clipping mindig true
; ambient color automata
; colorvertex mindig true
; material source mindig color
[SAMPLER]
{
TEXTURESLOT = "TEXT_DIFFUSE"
SAMP_ADDRESSU = "TADDRESS_WRAP"
SAMP_ADDRESSV = "TADDRESS_WRAP"
SAMP_MAGFILTER = "TEXF_LINEAR"
SAMP_MINFILTER = "TEXF_LINEAR"
SAMP_MIPFILTER = "TEXF_LINEAR"
}
[SAMPLER]
{
TEXTURESLOT = "BACKGROUND.SURFACE"
SAMP_ADDRESSU = "TADDRESS_CLAMP"
SAMP_ADDRESSV = "TADDRESS_CLAMP"
SAMP_MAGFILTER = "TEXF_LINEAR"
SAMP_MINFILTER = "TEXF_LINEAR"
SAMP_MIPFILTER = "TEXF_LINEAR"
}