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
/
directional-tree-shadow.pass
< prev
next >
Wrap
Text File
|
2005-07-12
|
3KB
|
118 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 = "FALSE"
;RS_SRCBLEND = "BLEND_ONE"
;RS_BLENDOP = "BLENDOP_ADD"
;RS_DESTBLEND = "BLEND_ONE"
; zbuffer operations
RS_ZENABLE = "ZB_TRUE"
RS_ZWRITEENABLE = "FALSE"
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
CUSTOMSHADERFLAGS = 0
VERTEXSHADER = "deferred-directional-vertex-shadow.hlsl"
PIXELSHADER = "deferred-directional-tree-pixel-shadow.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 = "DEFERRED-ALBEDO.SURFACE"
SAMP_ADDRESSU = "TADDRESS_CLAMP"
SAMP_ADDRESSV = "TADDRESS_CLAMP"
SAMP_MAGFILTER = "TEXF_POINT"
SAMP_MINFILTER = "TEXF_POINT"
SAMP_MIPFILTER = "TEXF_POINT"
}
[SAMPLER]
{
TEXTURESLOT = "DEFERRED-NORMAL.SURFACE"
SAMP_ADDRESSU = "TADDRESS_CLAMP"
SAMP_ADDRESSV = "TADDRESS_CLAMP"
SAMP_MAGFILTER = "TEXF_POINT"
SAMP_MINFILTER = "TEXF_POINT"
SAMP_MIPFILTER = "TEXF_POINT"
}
[SAMPLER]
{
TEXTURESLOT = "DEFERRED-POSITION.SURFACE"
SAMP_ADDRESSU = "TADDRESS_CLAMP"
SAMP_ADDRESSV = "TADDRESS_CLAMP"
SAMP_MAGFILTER = "TEXF_POINT"
SAMP_MINFILTER = "TEXF_POINT"
SAMP_MIPFILTER = "TEXF_POINT"
}
; ez csak dummy, mert nincs shadow ki/be kapcs
[SAMPLER]
{
TEXTURESLOT = "SPECULAR.SURFACE"
SAMP_ADDRESSU = "TADDRESS_CLAMP"
SAMP_ADDRESSV = "TADDRESS_CLAMP"
SAMP_MAGFILTER = "TEXF_LINEAR"
SAMP_MINFILTER = "TEXF_LINEAR"
SAMP_MIPFILTER = "TEXF_LINEAR"
}
[SAMPLER]
{
TEXTURESLOT = "SHADOWMAP-COLOR.SURFACE"
SAMP_ADDRESSU = "TADDRESS_CLAMP"
SAMP_ADDRESSV = "TADDRESS_CLAMP"
SAMP_MAGFILTER = "TEXF_LINEAR"
SAMP_MINFILTER = "TEXF_LINEAR"
SAMP_MIPFILTER = "TEXF_LINEAR"
}
;[SAMPLER]
;{
; TEXTURESLOT = "SHADOWFRAME.SURFACE"
; SAMP_ADDRESSU = "TADDRESS_CLAMP"
; SAMP_ADDRESSV = "TADDRESS_CLAMP"
; SAMP_MAGFILTER = "TEXF_LINEAR"
; SAMP_MINFILTER = "TEXF_LINEAR"
; SAMP_MIPFILTER = "TEXF_LINEAR"
;}
;[SAMPLER]
;{
; TEXTURESLOT = "SKY.SURFACE"
; SAMP_ADDRESSU = "TADDRESS_WRAP"
; SAMP_ADDRESSV = "TADDRESS_WRAP"
; SAMP_MAGFILTER = "TEXF_LINEAR"
; SAMP_MINFILTER = "TEXF_LINEAR"
; SAMP_MIPFILTER = "TEXF_LINEAR"
;}