home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2006 April / Gamestar_83_2006-04_dvd.iso / Dema / demowot_english.exe / InfDX / layersets / deferred-COE.layerset < prev    next >
Text File  |  2005-12-13  |  4KB  |  212 lines

  1. ; default statek frame kezdeten
  2. ; DEPTHSTENCIL = "UNDEFINED"
  3. ; TARGET0 = "UNDEFINED"
  4. ; TARGET1 = "NONE"
  5. ; TARGET2 = "NONE"
  6. ; TARGET3 = "NONE"
  7. ; VIEWPORT = "UNDEFINED"
  8.  
  9. ; stencil selector
  10. ; 0 = unlit
  11. ; 1 = specularly:) lit
  12. ; 2 = normally lit
  13. ; 3 = terrain
  14.  
  15.  
  16. [DEFERRED-ALBEDO.LAYER]
  17. {
  18.     TARGET0 = "DEFERRED-ALBEDO.SURFACE"
  19.     TARGET1 = "DEFERRED-NORMAL.SURFACE"
  20.     TARGET2 = "DEFERRED-POSITION.SURFACE"
  21.  
  22.     PUSHTARGET = ""
  23.     SETTARGET = ""
  24.     
  25.     CLEAR = "TARGET", "DEPTH", "STENCIL"
  26.     EXECPASS = "DEFERRED-TOOLKIT.MAT", "STENCIL-TWO.PASS" ; normal
  27.     RENDER = ""
  28. }
  29.  
  30. [DEFERRED-SPECULAR.LAYER]
  31. {
  32.     EXECPASS = "DEFERRED-TOOLKIT.MAT", "STENCIL-ONE.PASS" ; specular
  33.     RENDER = ""
  34. }
  35.  
  36. [DEFERRED-UNLIT.LAYER]
  37. {
  38.     EXECPASS = "DEFERRED-TOOLKIT.MAT", "STENCIL-ZERO.PASS"
  39.     RENDER = ""
  40. }
  41.  
  42. [DEFERRED-TERRAIN.LAYER]
  43. {
  44.     EXECPASS = "DEFERRED-TOOLKIT.MAT", "STENCIL-THREE.PASS" ; terrain
  45.     RENDER = ""
  46. }
  47.  
  48. [DEFERRED-ALPHATEST.LAYER]
  49. {
  50.     EXECPASS = "DEFERRED-TOOLKIT.MAT", "STENCIL-TWO.PASS" ; normal
  51.     RENDER = ""
  52. }
  53.  
  54. ; now we're switching back to single-rendertarget
  55. [DEFERRED-TERRAINOVERLAY.LAYER]
  56. {
  57.     TARGET1 = "NULL.SURFACE"
  58.     TARGET2 = "NULL.SURFACE"
  59.     SETTARGET = ""
  60.     EXECPASS = "DEFERRED-TOOLKIT.MAT", "STENCILOFF.PASS"
  61.     RENDER = "SORTER_Z", 1
  62. }
  63.  
  64. [DEFERRED-OVERLAY.LAYER]
  65. {
  66.     RENDER = "SORTER_Z", 1
  67. }
  68.  
  69. ; now we're switching back to the original backbuffer
  70. [DEFERRED-COMPOSITE.LAYER]
  71. {
  72.     POPTARGET = ""
  73.     SETTARGET = ""
  74. }
  75.  
  76. [DEFERRED-COMPOSITE-DIR.LAYER]
  77. {
  78.     BREAKIF = "TDX_ENGINE_SHADOW"
  79.     EXECPASS = "DEFERRED-TOOLKIT.MAT", "STENCIL-ACCEPT-TWOORMORE.PASS"
  80.     FSQUAD = "DEFERRED-TOOLKIT.MAT", "DIRECTIONAL.PASS"
  81.     EXECPASS = "DEFERRED-TOOLKIT.MAT", "STENCIL-ACCEPT-ONE.PASS"
  82.     FSQUAD = "DEFERRED-TOOLKIT.MAT", "DIRECTIONAL-SPECULAR.PASS"
  83. }
  84.  
  85. [DEFERRED-COMPOSITE-DIRSHADOW.LAYER]
  86. {
  87.     BREAKIFNOT = "TDX_ENGINE_SHADOW"
  88.  
  89.     EXECPASS = "DEFERRED-TOOLKIT.MAT", "STENCIL-ACCEPT-TWOORMORE.PASS"
  90.     FSQUAD = "DEFERRED-TOOLKIT.MAT", "DIRECTIONAL-SHADOW.PASS"
  91.  
  92.     EXECPASS = "DEFERRED-TOOLKIT.MAT", "STENCIL-ACCEPT-ONE.PASS"
  93.     FSQUAD = "DEFERRED-TOOLKIT.MAT", "DIRECTIONAL-SPECULAR-SHADOW.PASS"
  94. }
  95.  
  96. [DEFERRED-COMPOSITE-REST.LAYER]
  97. {
  98.     LIGHTSPHERES = "DEFERRED-TOOLKIT.MAT", "POINT.PASS", "DEFERRED-TOOLKIT.MAT", "POINT-SPECULAR.PASS"
  99.     LIGHTCONES = "DEFERRED-TOOLKIT.MAT", "SPOT.PASS", "DEFERRED-TOOLKIT.MAT", "SPOT-SPECULAR.PASS"
  100.  
  101.     EXECPASS = "DEFERRED-TOOLKIT.MAT", "STENCIL-ACCEPT-ZERO.PASS"
  102.     FSQUAD = "DEFERRED-TOOLKIT.MAT", "UNLIT.PASS"
  103.     
  104.     ; kikapcsoljuk a stencilt
  105.     EXECPASS = "DEFERRED-TOOLKIT.MAT", "STENCILOFF.PASS"
  106.  
  107. ; (Rimo) Fog
  108.  
  109.     FSQUAD = "RATMOSPHEREFOG.MAT", "DEFERRED-TRANSPARENT.PASS"
  110. }
  111.  
  112. [DEFERRED-RATMOSPHERE.LAYER]
  113. {
  114.     RENDER = "SORTER_Z", 1
  115. }
  116.  
  117. [DEFERRED-WATER.LAYER]
  118. {
  119.     STRETCHRECT = "BACKGROUND.SURFACE"
  120.     RENDER = ""
  121. }
  122.  
  123. ; (Rimo) MetaSmoke begin
  124.  
  125. [DEFERRED-RMETASMOKE-NORMAL.LAYER]
  126. {
  127.     PUSHTARGET = ""
  128.  
  129.     TARGET0 = "RMETASMOKE-NORMAL.SURFACE"
  130.     TARGET1 = "NULL.SURFACE"
  131.     TARGET2 = "NULL.SURFACE"
  132.     TARGET3 = "NULL.SURFACE"
  133.  
  134.     DEPTHSTENCIL = "NULL.SURFACE"
  135.  
  136.     SETTARGET = ""
  137.  
  138.     CLEAR = "TARGET"
  139.  
  140.     RENDER = "SORTER_Z", 1
  141. }
  142.  
  143. [DEFERRED-RMETASMOKE-NORMAL.LAYER]
  144. {
  145.     POPTARGET = ""
  146.     SETTARGET = ""
  147. }
  148.  
  149. ; (Rimo) MetaSmoke end
  150.  
  151. [DEFERRED-TRANSPARENT.LAYER]
  152. {
  153.     RENDER = "SORTER_Z", 1
  154. }
  155.  
  156. [DEFERRED-UBER.LAYER]
  157. {
  158.     RENDER = "SORTER_Z", 1
  159. }
  160.  
  161. ; (Rimo) DepthOfField begin
  162. ;
  163. ;[DEFERRED-RDEPTHOFFIELD-BLUR]
  164. ;{
  165. ;    STRETCHRECT = "RBLURTARGET1.SURFACE"
  166. ;
  167. ;    PUSHTARGET = ""
  168. ;
  169. ;    TARGET0 = "RBLURTARGET2.SURFACE"
  170. ;    TARGET1 = "NULL.SURFACE"
  171. ;    TARGET2 = "NULL.SURFACE"
  172. ;    TARGET3 = "NULL.SURFACE"
  173. ;
  174. ;    DEPTHSTENCIL = "NULL.SURFACE"
  175. ;
  176. ;    SETTARGET = ""
  177. ;
  178. ;    EXECPASS = "DEFERRED-TOOLKIT.MAT", "STENCIL-ZERO.PASS"
  179. ;
  180. ;    PARAM = 1, 0, 0, 0
  181. ;    FSQUAD = "RDEPTHOFFIELD.MAT", "BLUR.PASS"
  182. ;
  183. ;    STRETCHRECT = "RBLURTARGET1.SURFACE"
  184. ;
  185. ;    PARAM = 0, 1, 0, 0
  186. ;    FSQUAD = "RDEPTHOFFIELD.MAT", "BLUR.PASS"
  187. ;}
  188. ;
  189. ;[DEFERRED-RDEPTHOFFIELD]
  190. ;{
  191. ;    POPTARGET = ""
  192. ;    PUSHTARGET = ""
  193. ;
  194. ;    TARGET1 = "NULL.SURFACE"
  195. ;    TARGET2 = "NULL.SURFACE"
  196. ;    TARGET3 = "NULL.SURFACE"
  197. ;
  198. ;    DEPTHSTENCIL = "NULL.SURFACE"
  199. ;
  200. ;    SETTARGET = ""
  201. ;
  202. ;    FSQUAD = "RDEPTHOFFIELD.MAT", "DEFERRED-TRANSPARENT.PASS"
  203. ;}
  204. ;
  205. ;[DEFERRED-RDEPTHOFFIELD-END]
  206. ;{
  207. ;    POPTARGET = ""
  208. ;    SETTARGET = ""
  209. ;}
  210. ;
  211. ; (Rimo) DepthOfField end
  212.