home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 2006 April
/
Gamestar_83_2006-04_dvd.iso
/
Dema
/
demowot_english.exe
/
InfDX
/
Materials
/
deferred-toolkit.mat
/
heathaze.pass
< prev
next >
Wrap
Text File
|
2005-09-07
|
2KB
|
87 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"
; zbuffer operations
RS_ZENABLE = "ZB_FALSE"
;RS_ZWRITEENABLE = "TRUE"
;RS_ZFUNC = "CMP_LESSEQUAL"
; framebuffer operations
RS_ALPHATESTENABLE = "FALSE"
;RS_ALPHAREF = "UNDEFINED"
;RS_ALPHAFUNC = "UNDEFINED"
RS_COLORWRITEENABLE = "COLORWRITEENABLE_ALL"
; rasterization
RS_FILLMODE = "FILL_SOLID"
RS_SHADEMODE = "SHADE_GOURAUD"
RS_CULLMODE = "CULL_NONE"
; shaderek
VERTEXSHADER = "deferred-heathaze-vertex.hlsl"
PIXELSHADER = "deferred-heathaze-pixel.hlsl"
; 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 = 0
SAMP_ADDRESSU = "TADDRESS_WRAP"
SAMP_ADDRESSV = "TADDRESS_WRAP"
SAMP_MAGFILTER = "TEXF_LINEAR"
SAMP_MINFILTER = "TEXF_LINEAR"
SAMP_MIPFILTER = "TEXF_LINEAR"
}
[SAMPLER]
{
TEXTURESLOT = 1
SAMP_ADDRESSU = "TADDRESS_WRAP"
SAMP_ADDRESSV = "TADDRESS_WRAP"
SAMP_MAGFILTER = "TEXF_LINEAR"
SAMP_MINFILTER = "TEXF_LINEAR"
SAMP_MIPFILTER = "TEXF_LINEAR"
}
[SAMPLER]
{
TEXTURESLOT = "RBLURTARGET2.SURFACE"
SAMP_ADDRESSU = "TADDRESS_CLAMP"
SAMP_ADDRESSV = "TADDRESS_CLAMP"
SAMP_MAGFILTER = "TEXF_LINEAR"
SAMP_MINFILTER = "TEXF_LINEAR"
SAMP_MIPFILTER = "TEXF_LINEAR"
}
[SAMPLER]
{
TEXTURESLOT = "DEFERRED-POSITION.SURFACE"
SAMP_ADDRESSU = "TADDRESS_CLAMP"
SAMP_ADDRESSV = "TADDRESS_CLAMP"
SAMP_MAGFILTER = "TEXF_LINEAR"
SAMP_MINFILTER = "TEXF_LINEAR"
SAMP_MIPFILTER = "TEXF_LINEAR"
}