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 >
Text File  |  2005-09-07  |  2KB  |  87 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 = "TRUE"
  15. RS_SRCBLEND = "BLEND_SRCALPHA"
  16. RS_BLENDOP = "BLENDOP_ADD"
  17. RS_DESTBLEND = "BLEND_INVSRCALPHA"
  18.  
  19. ; zbuffer operations
  20. RS_ZENABLE = "ZB_FALSE"
  21. ;RS_ZWRITEENABLE = "TRUE"
  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. VERTEXSHADER = "deferred-heathaze-vertex.hlsl"
  37. PIXELSHADER = "deferred-heathaze-pixel.hlsl"
  38.  
  39. ; kimaradt dolgok:
  40. ; fog dolgok nem kellenek, automata
  41. ; stencillel szinten ne szivjunk
  42. ; clipping mindig true
  43. ; ambient color automata
  44. ; colorvertex mindig true
  45. ; material source mindig color
  46.  
  47. [SAMPLER]
  48. {
  49.     TEXTURESLOT = 0
  50.     SAMP_ADDRESSU = "TADDRESS_WRAP"
  51.     SAMP_ADDRESSV = "TADDRESS_WRAP"
  52.     SAMP_MAGFILTER = "TEXF_LINEAR"
  53.     SAMP_MINFILTER = "TEXF_LINEAR"
  54.     SAMP_MIPFILTER = "TEXF_LINEAR"
  55. }
  56.  
  57. [SAMPLER]
  58. {
  59.     TEXTURESLOT = 1
  60.     SAMP_ADDRESSU = "TADDRESS_WRAP"
  61.     SAMP_ADDRESSV = "TADDRESS_WRAP"
  62.     SAMP_MAGFILTER = "TEXF_LINEAR"
  63.     SAMP_MINFILTER = "TEXF_LINEAR"
  64.     SAMP_MIPFILTER = "TEXF_LINEAR"
  65. }
  66.  
  67.  
  68. [SAMPLER]
  69. {
  70.     TEXTURESLOT = "RBLURTARGET2.SURFACE"
  71.     SAMP_ADDRESSU = "TADDRESS_CLAMP"
  72.     SAMP_ADDRESSV = "TADDRESS_CLAMP"
  73.     SAMP_MAGFILTER = "TEXF_LINEAR"
  74.     SAMP_MINFILTER = "TEXF_LINEAR"
  75.     SAMP_MIPFILTER = "TEXF_LINEAR"
  76. }
  77.  
  78. [SAMPLER]
  79. {
  80.     TEXTURESLOT = "DEFERRED-POSITION.SURFACE"
  81.     SAMP_ADDRESSU = "TADDRESS_CLAMP"
  82.     SAMP_ADDRESSV = "TADDRESS_CLAMP"
  83.     SAMP_MAGFILTER = "TEXF_LINEAR"
  84.     SAMP_MINFILTER = "TEXF_LINEAR"
  85.     SAMP_MIPFILTER = "TEXF_LINEAR"
  86. }
  87.