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 >
Text File  |  2005-07-12  |  3KB  |  118 lines

  1. ; klonozos dolgok szintaktikaja
  2. ; CLONE = "BARMI.PASS" - egy masik pass klonozasa, ugyanebbol a materialbol
  3. ; CLONE = "AKARMI.MAT","BARMI.PASS" - egy masik material egyik passa
  4.  
  5. ; common states
  6.  
  7. ; fixed pipe settings
  8. RS_LIGHTING = "FALSE"
  9. ;RS_LOCALVIEWER = "FALSE"
  10. ;RS_NORMALIZENORMALS = "FALSE"
  11. ;RS_SPECULARENABLE = "FALSE"
  12.  
  13. ; alpha blending
  14. RS_ALPHABLENDENABLE = "FALSE"
  15. ;RS_SRCBLEND = "BLEND_ONE"
  16. ;RS_BLENDOP = "BLENDOP_ADD"
  17. ;RS_DESTBLEND = "BLEND_ONE"
  18.  
  19. ; zbuffer operations
  20. RS_ZENABLE = "ZB_TRUE"
  21. RS_ZWRITEENABLE = "FALSE"
  22. RS_ZFUNC = "CMP_LESSEQUAL"
  23.  
  24. ; framebuffer operations
  25. RS_ALPHATESTENABLE = "FALSE"
  26. ;RS_ALPHAREF = "UNDEFINED"
  27. ;RS_ALPHAFUNC = "UNDEFINED"
  28. RS_COLORWRITEENABLE = "COLORWRITEENABLE_ALL"
  29.  
  30. ; rasterization
  31. RS_FILLMODE = "FILL_SOLID"
  32. RS_SHADEMODE = "SHADE_GOURAUD"
  33. RS_CULLMODE = "CULL_NONE"
  34.  
  35. ; shaderek
  36. CUSTOMSHADERFLAGS = 0
  37. VERTEXSHADER = "deferred-directional-vertex-shadow.hlsl"
  38. PIXELSHADER = "deferred-directional-tree-pixel-shadow.hlsl"
  39.  
  40. ; kimaradt dolgok:
  41. ; fog dolgok nem kellenek, automata
  42. ; stencillel szinten ne szivjunk
  43. ; clipping mindig true
  44. ; ambient color automata
  45. ; colorvertex mindig true
  46. ; material source mindig color
  47.  
  48. [SAMPLER]
  49. {
  50.     TEXTURESLOT = "DEFERRED-ALBEDO.SURFACE"
  51.     SAMP_ADDRESSU = "TADDRESS_CLAMP"
  52.     SAMP_ADDRESSV = "TADDRESS_CLAMP"
  53.     SAMP_MAGFILTER = "TEXF_POINT"
  54.     SAMP_MINFILTER = "TEXF_POINT"
  55.     SAMP_MIPFILTER = "TEXF_POINT"
  56. }
  57.  
  58. [SAMPLER]
  59. {
  60.     TEXTURESLOT = "DEFERRED-NORMAL.SURFACE"
  61.     SAMP_ADDRESSU = "TADDRESS_CLAMP"
  62.     SAMP_ADDRESSV = "TADDRESS_CLAMP"
  63.     SAMP_MAGFILTER = "TEXF_POINT"
  64.     SAMP_MINFILTER = "TEXF_POINT"
  65.     SAMP_MIPFILTER = "TEXF_POINT"
  66. }
  67.  
  68. [SAMPLER]
  69. {
  70.     TEXTURESLOT = "DEFERRED-POSITION.SURFACE"
  71.     SAMP_ADDRESSU = "TADDRESS_CLAMP"
  72.     SAMP_ADDRESSV = "TADDRESS_CLAMP"
  73.     SAMP_MAGFILTER = "TEXF_POINT"
  74.     SAMP_MINFILTER = "TEXF_POINT"
  75.     SAMP_MIPFILTER = "TEXF_POINT"
  76. }
  77.  
  78. ; ez csak dummy, mert nincs shadow ki/be kapcs
  79. [SAMPLER]
  80. {
  81.     TEXTURESLOT = "SPECULAR.SURFACE"
  82.     SAMP_ADDRESSU = "TADDRESS_CLAMP"
  83.     SAMP_ADDRESSV = "TADDRESS_CLAMP"
  84.     SAMP_MAGFILTER = "TEXF_LINEAR"
  85.     SAMP_MINFILTER = "TEXF_LINEAR"
  86.     SAMP_MIPFILTER = "TEXF_LINEAR"
  87. }
  88.  
  89. [SAMPLER]
  90. {
  91.     TEXTURESLOT = "SHADOWMAP-COLOR.SURFACE"
  92.     SAMP_ADDRESSU = "TADDRESS_CLAMP"
  93.     SAMP_ADDRESSV = "TADDRESS_CLAMP"
  94.     SAMP_MAGFILTER = "TEXF_LINEAR"
  95.     SAMP_MINFILTER = "TEXF_LINEAR"
  96.     SAMP_MIPFILTER = "TEXF_LINEAR"
  97. }
  98.  
  99. ;[SAMPLER]
  100. ;{
  101. ;    TEXTURESLOT = "SHADOWFRAME.SURFACE"
  102. ;    SAMP_ADDRESSU = "TADDRESS_CLAMP"
  103. ;    SAMP_ADDRESSV = "TADDRESS_CLAMP"
  104. ;    SAMP_MAGFILTER = "TEXF_LINEAR"
  105. ;    SAMP_MINFILTER = "TEXF_LINEAR"
  106. ;    SAMP_MIPFILTER = "TEXF_LINEAR"
  107. ;}
  108.  
  109. ;[SAMPLER]
  110. ;{
  111. ;    TEXTURESLOT = "SKY.SURFACE"
  112. ;    SAMP_ADDRESSU = "TADDRESS_WRAP"
  113. ;    SAMP_ADDRESSV = "TADDRESS_WRAP"
  114. ;    SAMP_MAGFILTER = "TEXF_LINEAR"
  115. ;    SAMP_MINFILTER = "TEXF_LINEAR"
  116. ;    SAMP_MIPFILTER = "TEXF_LINEAR"
  117. ;}
  118.