!I integrate from //ce/main...
[CRYENGINE.git] / Engine / Shaders / RunTime.ext
blob74a302696d0c51121b9bdff25b3376d50b05b2ef
1 ////////////////////////////////////////////////////////////////////////////
2 //
3 //  Crytek Engine Source File.
4 //  Shader extension
5 //  Copyright (C), Crytek Studios, 2001-2004.
6 // -------------------------------------------------------------------------
7 //  File name:   Runtime.ext
8 //  Version:     v1.00
9 //  Created:     16/2/2004 by Andrey Honich.
10 //  Compilers:
11 //  Description:
12 // -------------------------------------------------------------------------
13 //  History:
15 ////////////////////////////////////////////////////////////////////////////
17 Version (1.00)
19 Property
21   Name = %_RT_FOG
22   Mask = 0x1
23   Precache = GeneralPS
24   Precache = GeneralVS
25   Precache = GeneralGS
26   Precache = GeneralDS
27   Precache = GeneralHS
28   Precache = TerrainPS
29   Precache = TerrainVS
30   Precache = VoxTerrainPS
31   Precache = VoxTerrainVS
32   Precache = VegetationVS
33   Precache = VegetationHS
34   Precache = VegetationDS
35   Precache = VegetationPS
36   Precache = ClothPS
37   Precache = ClothVS
38   Precache = SkinPS
39   Precache = SkinVS
40   Precache = HairPS
41   Precache = HairVS  
42   Precache = EyePS
43   Precache = EyeVS  
44   Precache = GlassPS
45   Precache = MultiLayeredMaterialsPS
46   Precache = GlassVS
47   Precache = MultiLayeredMaterialsVS
48   Precache = ParticleVS
49   Precache = ParticleHS
50   Precache = ParticleDS
51   Precache = ParticlePS
52   Precache = SpritePS
53   Precache = SpriteVS
54   Precache = MethaGenVS  
55   Precache = MethaGenPS    
56   Precache = CloakVS
57   Precache = CloakPS
58   Precache = CustomRenderHS
59   Precache = CustomRenderDS
60   Precache = WaterSurfaceVS
61   Precache = WaterSurfacePS
62   Precache = WaterSurfaceHS
63   Precache = WaterSurfaceDS
64   Precache = WaterFogVolume_VS
65   Precache = WaterFogVolume_PS
66   Precache = MeshBakerPS
67         Precache = ParticleImposterVS
68         Precache = ParticleImposterPS
69         Precache = VolumetricCloudsPS
72 Property
74   Name = %_RT_OCEAN_PARTICLE
75   Mask = 0x4
76   Precache = WaterSurfacePS
79 Property
81   Name = %_RT_DECAL_TEXGEN_2D
82   Mask = 0x8
83   Precache = GeneralVS
84   Precache = GeneralDS
85   Precache = GeneralHS
86   Precache = ShadowGenVS  
87   Precache = GeneralPS
88   Precache = CustomRenderHS
89   Precache = CustomRenderDS
90   Precache = GlowVS
91   Precache = GlowPS
92   Precache = ZVS
93   Precache = ZPS
94   Precache = MeshBakerPS
95   Precache = TiledShadingCS
98 Property
100   Name = %_RT_DISSOLVE
101   Mask = 0x10
102   Precache = ZPS
103   Precache = ZVS
104   Precache = ShadowGenVS
105   Precache = ShadowGenPS
106   Precache = DebugPassPS
107   Precache = GlassPS
108   Precache = MultiLayeredMaterialsPS
111 Property
113   Name = %_RT_VOLUMETRIC_FOG
114   Mask = 0x20
115   Precache = GeneralPS
116   Precache = GeneralVS
117   Precache = GeneralGS
118   Precache = GeneralDS
119   Precache = GeneralHS
120   Precache = TerrainPS
121   Precache = TerrainVS
122   Precache = VegetationVS
123   Precache = VegetationHS
124   Precache = VegetationDS
125   Precache = VegetationPS
126   Precache = SkinPS
127   Precache = SkinVS
128   Precache = HairPS
129   Precache = HairVS
130   Precache = EyePS
131   Precache = EyeVS
132   Precache = GlassPS
133   Precache = MultiLayeredMaterialsPS
134   Precache = GlassVS
135   Precache = MultiLayeredMaterialsVS
136   Precache = ParticleVS
137   Precache = ParticleHS
138   Precache = ParticleDS
139   Precache = ParticlePS
140   Precache = WaterSurfacePS
141   Precache = WaterFogVolume_VS
142   Precache = WaterFogVolume_PS
143   Precache = MeshBakerPS
144   Precache = CloudVS
145   Precache = CloudPS
146   Precache = FogPostProcessPS
147   Precache = SpritePS
148   Precache = SpriteVS
149   Precache = ParticleImposterVS
150   Precache = ParticleImposterPS
151   Precache = VolumetricCloudsPS
154 Property
156   Name = %_RT_NEAREST
157   Mask = 0x40
158   Precache = ShadowGenVS
159   Precache = ShadowMaskGenVS
160   Precache = ShadowMaskGenPS
161   Precache = MethaGenPS
162   Precache = ZVS
163   Precache = CloakVS
164   Precache = MotionBlurVS
165   Precache = SkinVS
166   Precache = GeneralVS
167   Precache = GlassVS
168   Precache = MultiLayeredMaterialsVS
169   Precache = GlassPS
170   Precache = MultiLayeredMaterialsPS
171   Precache = VegetationVS    
172   Precache = ShadowVS
173   Precache = DetailVS
174   Precache = GlowVS
175   Precache = FurVS
176   Precache = CustomRenderVS
177   Precache = EffectLayerVS
178   Precache = MethaGenVS
179   Precache = DebugPassVS
180         Precache = ParticleVS
183 Property
185   Name = %_RT_ALPHATEST
186   Mask = 0x100
187   Precache = ShadowGenVS
188   Precache = ShadowGenPS
189   Precache = ZPS
190   Precache = ZVS
191   Precache = MotionBlurPS
192   Precache = CustomRenderPS
193   Precache = VegetationVS
194   Precache = VegetationHS
195   Precache = VegetationDS
196   Precache = VegetationPS
197         Precache = GeneralPS
198   Precache = GlassPS
199   Precache = MultiLayeredMaterialsPS
200   Precache = GlassVS
201   Precache = MultiLayeredMaterialsVS
202   Precache = GlowVS
203   Precache = GlowPS  
204   Precache = MotionBlurVS
205   Precache = FurVS      
206   Precache = MeshBakerPS
207   Precache = DebugPassPS
210 Property
212   Name = %_RT_SOFT_PARTICLE
213   Mask = 0x200
214   Precache = ParticleVS
215   Precache = ParticleHS
216   Precache = ParticleDS
217   Precache = ParticlePS  
220 Property
222   Name = %_RT_SECONDARY_VIEW
223   Mask = 0x400
224   Precache = GeneralPS
225   Precache = TerrainPS
226   Precache = VegetationPS
227   Precache = SkinPS
228   Precache = HairPS
229   Precache = EyePS
230   Precache = GlassPS
231   Precache = MultiLayeredMaterialsPS
232   Precache = ParticlePS
233   Precache = DeferredPassPS
236 Property
238   Name = %_RT_PARTICLE_SHADOW
239   Mask = 0x800
240   Precache = ParticlePS
241   Precache = ParticleVS
242   Precache = ParticleHS
243   Precache = ParticleDS
246 Property
248   Name = %_RT_SAMPLE1
249   Mask = 0x1000
250   Precache = ShadowPS
251   Precache = ShadowVS
252   Precache = DetailPS
253   Precache = DetailVS
254   Precache = SpritePS
255   Precache = CustomRenderHS
256   Precache = CustomRenderDS
257   Precache = CustomRenderVS
258   Precache = CustomRenderPS
259   Precache = GlassPS
260   Precache = MultiLayeredMaterialsPS
261   Precache = SkinPS
262   Precache = HDRPostProcessPS
263   Precache = PostMotionBlurVS
264   Precache = PostMotionBlurPS
265   Precache = PostSunShaftsPS
266   Precache = PostProcessGamePS
267   Precache = PostDofPS
268   Precache = PostEffectsVS
269   Precache = PostEffectsPS
270   Precache = PostAA_PS
271   Precache = DeferredDecalPassPS
272   Precache = DeferredLightPassPS
273   Precache = DeferredPassPS
274   Precache = BlurMaxPassPS
275   Precache = PostHUD3D_VS
276   Precache = PostHUD3D_PS
277   Precache = EffectLayerPS
278   Precache = ParticlePS 
279   Precache = ParticleVS
280   Precache = DeferredRainPS
281         Precache = ShadowMaskGenPS
283   Precache = WaterFogVolume_VS
284   Precache = WaterFogVolume_PS
285   Precache = WaterSurfaceVS
286   Precache = WaterSurfacePS
287   Precache = WaterSurfaceHS
288   Precache = WaterSurfaceDS
290         Precache = BeamPS
291   Precache = ParticleHS
292   Precache = ParticleDS
293   Precache = WaterSurfacePS
294         
295         Precache = DownsampleDepthPS
296         Precache = TiledShadingCS
297         Precache = VolumeLightInjectionCS
298         Precache = ResolvePS
299         Precache = VolumetricCloudsPS
300         Precache = ReprojectCloudsPS
301         Precache = SkyPassPS
303         Precache = DebugPassVS
304         Precache = DebugPassPS
307 Property
309   Name = %_RT_SAMPLE2
310   Mask = 0x2000
311   Precache = ShadowPS
312   Precache = ShadowVS
313   Precache = DetailPS
314   Precache = DetailVS
315   
316   Precache = HDRPostProcessPS
317   Precache = PostMotionBlurVS
318   Precache = PostMotionBlurPS
319   Precache = PostAA_PS
320   Precache = PostSunShaftsPS
321   Precache = PostProcessGamePS
322   Precache = DeferredDecalPassPS
323   Precache = DeferredLightPassPS
324   Precache = DeferredPassPS
325   Precache = EffectLayerPS
326   Precache = CustomRenderPS
327   Precache = DeferredRainPS
329   Precache = ShadowMaskGenVS
330   Precache = ShadowMaskGenPS 
331   Precache = ParticlePS 
332   Precache = ParticleVS 
333   Precache = ParticleHS
334   Precache = ParticleDS
336         Precache = BeamPS
337         Precache = LensOpticsPS
339         Precache = SSAO_PS
341   Precache = WaterFogVolume_PS
342         
343         Precache = TiledShadingCS
344         Precache = FogPostProcessPS
345         Precache = VolumeLightInjectionCS
346         Precache = VolumetricCloudsPS
347         Precache = ReprojectCloudsPS
348         Precache = CloudShadowGenCS
349         Precache = DownsampleDepthPS
351         Precache = DebugPassVS
352         Precache = DebugPassPS
355 Property
357   Name = %_RT_SAMPLE3
358   Mask = 0x4000
359   Precache = ShadowPS
360   Precache = ShadowVS
361   Precache = DetailPS
362   Precache = DetailVS
363   Precache = SSAO_BlurPS
364   Precache = ParticlePS 
365   Precache = ParticleVS 
366   Precache = ParticleHS
367   Precache = ParticleDS
368   Precache = PostAA_PS
369   Precache = HDRPostProcessPS
370   Precache = BeamPS
371   Precache = DeferredLightPassPS
372   Precache = DeferredPassPS
373   Precache = DeferredRainPS
374   Precache = ShadowMaskGenVS
375   Precache = ShadowMaskGenPS
377         Precache = SSAO_PS
378         Precache = LensOpticsPS
379   Precache = WaterFogVolume_PS
380         
381         Precache = TiledShadingCS
382         Precache = VolumeLightInjectionCS
383         Precache = RaymarchVolumetricFogCS
384         Precache = ReprojectVolumetricFogCS
385         Precache = BlurHorizontalInscatteringVolumeCS
386         Precache = BlurVerticalInscatteringVolumeCS
387         Precache = VolumetricCloudsPS
388         Precache = ReprojectCloudsPS
389         Precache = CloudShadowGenCS
391         Precache = WaterSurfaceVS
392         Precache = WaterSurfacePS
393         Precache = WaterSurfaceHS
394         Precache = WaterSurfaceDS
397 Property
399   Name = %_RT_POINT_LIGHT
400   Mask = 0x8000
401   Precache = ShadowVS
402   Precache = ShadowPS
403   Precache = FogPassVolShadowsInterleavePassPS
404   Precache = WaterFogVolume_PS
405   Precache = ConeTraceDiffusePS
407         
408 Property
410   Name = %_RT_ALPHABLEND
411   Mask = 0x10000
412   Precache = GeneralHS
413   Precache = GeneralDS
414   Precache = ShadowPS
415   Precache = FogPassVolShadowsInterleavePassPS
416   Precache = ShadowVS
417   Precache = ParticlePS
418   Precache = ParticleVS
419         Precache = HairVS
420   Precache = EyeVS
421         Precache = TerrainVS 
422         Precache = TerrainPS  
423   Precache = VegetationVS
424   Precache = GeneralVS 
425         Precache = GeneralPS
426   Precache = ClothVS
427   Precache = GlassVS
428   Precache = MultiLayeredMaterialsVS
429 //  Precache = VegetationPS  
430   Precache = CustomRenderHS
431   Precache = CustomRenderDS
432   Precache = ZVS
433   Precache = ZPS
434   Precache = MotionBlurPS
437 Property
439   Name = %_RT_ANIM_BLEND
440   Mask = 0x20000
441   Precache = ParticlePS
442   Precache = ParticleVS
443   Precache = ParticleHS
444   Precache = ParticleDS
445   Precache = ParticleGS
448 Property
450   Name = %_RT_QUALITY
451   Mask = 0x40000
452   AutoPrecache
453   Precache = ShadowGenVS
454   Precache = ShadowGenPS
455   Precache = ZVS
456   Precache = ZPS
457   Precache = ShadowPS
458   Precache = FogPassVolShadowsInterleavePassPS
459   Precache = ShadowVS
460   Precache = GeneralPS
461   Precache = GeneralVS
462   Precache = ClothPS
463   Precache = ClothVS
464   Precache = SkinPS
465         Precache = SkinVS 
466         Precache = HairPS
467         Precache = HairVS 
468   Precache = EyePS
469   Precache = EyeVS
470   Precache = GlassPS
471   Precache = MultiLayeredMaterialsPS
472   Precache = GlassVS
473   Precache = MultiLayeredMaterialsVS
474   Precache = TerrainPS  
475   Precache = TerrainVS  
476   Precache = VoxTerrainPS
477   Precache = VoxTerrainVS
478   Precache = VegetationPS  
479   Precache = VegetationHS
480   Precache = VegetationDS
481   Precache = VegetationVS  
482   Precache = MotionBlurVS  
483   Precache = MotionBlurPS  
484   Precache = FurVS
485   Precache = FurPS
486   Precache = SpritePS
487   Precache = DetailVS  
488   Precache = ParticlePS
489   Precache = MethaGenVS
490   Precache = MethaGenPS
491   Precache = WaterSurfaceVS
492   Precache = WaterSurfacePS
493   
494   Precache = PostMotionBlurVS
495   Precache = PostMotionBlurPS
496   Precache = PostSunShaftsPS
497   Precache = SpriteDilatePS
498   Precache = ShadowMaskGenPS
499   
500   Precache = HDRPostProcessVS
501   Precache = HDRPostProcessPS
502   Precache = FogPostProcessPS
503   Precache = PostProcessGameVS
504   Precache = PostProcessGamePS
506   Precache = DistanceCloudsPS
508         Precache = SSGI_PS
510         Precache = DeferredLightPassPS
513 Property
515   Name = %_RT_QUALITY1
516   Mask = 0x80000
517   AutoPrecache
518   Precache = ShadowGenVS
519   Precache = ShadowGenPS  
520   Precache = ZVS
521   Precache = ZPS
522   Precache = ShadowPS
523   Precache = FogPassVolShadowsInterleavePassPS
524   Precache = ShadowVS
525   Precache = GeneralPS
526   Precache = GeneralVS
527   Precache = ClothPS
528   Precache = ClothVS
529   Precache = SkinPS
530         Precache = SkinVS
531         Precache = HairPS
532         Precache = HairVS
533   Precache = EyePS
534   Precache = EyeVS
535   Precache = GlassPS
536   Precache = MultiLayeredMaterialsPS
537   Precache = GlassVS
538   Precache = MultiLayeredMaterialsVS
539   Precache = TerrainPS  
540   Precache = TerrainVS  
541   Precache = VoxTerrainPS
542   Precache = VoxTerrainVS
543   Precache = VegetationPS  
544   Precache = VegetationHS
545   Precache = VegetationDS
546   Precache = VegetationVS  
547   Precache = MotionBlurVS  
548   Precache = MotionBlurPS  
549   Precache = FurVS
550   Precache = FurPS
551   Precache = SpritePS
552   Precache = DetailVS  
553   Precache = ParticlePS
554   Precache = MethaGenVS
555   Precache = MethaGenPS  
556   Precache = WaterSurfaceVS
557   Precache = WaterSurfacePS 
558   
559   Precache = PostMotionBlurVS
560   Precache = PostMotionBlurPS
561   Precache = PostSunShaftsPS
562   Precache = SpriteDilatePS
563   Precache = ShadowMaskGenPS
564   
565   Precache = HDRPostProcessVS
566   Precache = HDRPostProcessPS
567   Precache = FogPostProcessPS
568   Precache = PostProcessGameVS
569   Precache = PostProcessGamePS
571   Precache = DistanceCloudsPS
573         Precache = SSGI_PS
575         Precache = DeferredLightPassPS
578 Property
580   Name = %_RT_SHADOW_DEPTH_OUTPUT_LINEAR
581   Mask = 0x100000
583   Precache = ShadowGenVS
584   Precache = ShadowGenPS
585   Precache = DeferredLightPassPS
588 Property
590   Name = %_RT_ENVIRONMENT_CUBEMAP
591   Mask = 0x400000
592   Precache = ParticlePS
594   Precache = GeneralVS
595   Precache = ClothVS  
596         Precache = SkinVS       
597         Precache = HairVS 
598   Precache = EyeVS
599   Precache = GlassVS
600   Precache = MultiLayeredMaterialsVS
601   Precache = VegetationVS    
602   Precache = ShadowVS
603   Precache = ShadowGenVS  
604   Precache = ZVS
605   Precache = DetailVS  
606   Precache = GlowVS
607   Precache = MotionBlurVS
608   Precache = FurVS
609   Precache = CustomRenderVS
610   Precache = MethaGenVS
611   Precache = DebugPassVS
614 Property
616   Name = %_RT_TILED_SHADING
617   Mask = 0x800000
618         Precache = EyePS
619         Precache = HairPS
620         Precache = GlassPS
621   Precache = MultiLayeredMaterialsPS
622         Precache = GeneralPS
623         Precache = VegetationPS
624         Precache = SkinPS
625         Precache = TerrainPS
626         Precache = WaterSurfacePS
629 Property
631   Name = %_RT_NO_TESSELLATION
632   Mask = 0x2000000
633   Precache = GeneralVS
634   Precache = GeneralPS
635   Precache = ShadowGenVS  
636   Precache = ShadowGenPS  
637   Precache = ZVS
638   Precache = ZPS
639   Precache = MotionBlurVS
640   Precache = MotionBlurPS
641   Precache = EffectLayerVS
642   Precache = GlowVS
643   Precache = DetailVS
644   Precache = CustomRenderVS
645   Precache = SkinVS
646   Precache = SkinPS
647   Precache = VegetationVS
648   Precache = VegetationHS
649   Precache = VegetationDS
650   Precache = VegetationPS
651   Precache = WaterSurfaceVS
652   Precache = WaterSurfacePS
653   
654   Precache = ParticleVS
655   Precache = ParticleHS
656   Precache = ParticleDS
657   Precache = ParticlePS
658   Precache = DebugPassVS
659         Precache = DebugPassPS
662 Property
664   Name = %_RT_AMBIENT_OCCLUSION
665   Mask = 0x8000000
666   // hack - disable caching
667   Precache = DetailVS
668   Precache = TerrainPS // vlad: reguired for terrain base normal mapping
669   Precache = TerrainVS  
670   Precache = VoxTerrainPS
671   Precache = VoxTerrainVS
672   Precache = SpritePS
675 Property
677   Name = %_RT_MSAA_QUALITY1
678   Mask = 0x1000000
679   
680   Precache = ZPS
681   Precache = ZVS
682   Precache = GeneralVS
683   Precache = GeneralPS
684   Precache = VegetationVS
685   Precache = VegetationPS
686   Precache = TerrainVS
687   Precache = TerrainPS
688   Precache = ClothVS
689   Precache = ClothPS
690   Precache = SkinVS
691   Precache = SkinPS
692   Precache = HairVS
693   Precache = HairPS
694   Precache = EyeVS
695   Precache = EyePS
696         Precache = ParticlePS
697         Precache = DeferredRainPS
698         Precache = ParticleImposterPS
700   Precache = FogPostProcessPS
701   Precache = FogPassVolShadowsInterleavePassPS
702   Precache = WaterFogVolume_PS
703   Precache = HDRPostProcessPS
704   Precache = DeferredPassVS
705   Precache = DeferredPassPS
706   Precache = ShadowMaskGenVS
707   Precache = ShadowMaskGenPS
708   Precache = DeferredLightPassVS
709   Precache = DeferredLightPassPS
710   Precache = ResolveVS
711   Precache = ResolvePS
712   Precache = PostProcessGameVS
713   Precache = PostProcessGamePS
716 Property
718   Name = %_RT_MSAA_SAMPLEFREQ_PASS
719   Mask = 0x100000000
720   
721   Precache = ZPS
722   Precache = ZVS
723   Precache = GeneralVS
724   Precache = GeneralPS
725   Precache = VegetationVS
726   Precache = VegetationPS
727   Precache = TerrainVS
728   Precache = TerrainPS
729   Precache = ClothVS
730   Precache = ClothPS
731   Precache = SkinVS
732   Precache = SkinPS
733   Precache = HairVS
734   Precache = HairPS
735   Precache = EyeVS
736   Precache = EyePS
738   Precache = FogPostProcessPS
739   Precache = FogPassVolShadowsInterleavePassPS
740   Precache = WaterFogVolume_PS
741   Precache = HDRPostProcessPS
742   Precache = DeferredPassPS
743   Precache = ShadowMaskGenVS
744   Precache = ShadowMaskGenPS
745   Precache = DeferredLightPassVS
746   Precache = DeferredLightPassPS
747   Precache = DeferredPassVS
748   Precache = DeferredPassPS
749   Precache = ResolveVS
750   Precache = ResolvePS
751         Precache = DeferredRainPS
752         Precache = ParticleImposterPS
755 Property
757   Name = %_RT_LIGHT_TEX_PROJ
758   Mask = 0x10000000
759   Precache = DeferredLightPassPS
760         
761   Precache = ParticleVS
762   Precache = ParticleDS
763   Precache = ConeTraceDiffusePS
766 Property
768   Name = %_RT_VERTEX_VELOCITY
769   Mask = 0x40000000
770   Precache = ZVS
771         Precache = MotionBlurVS 
774 Property
776   Name = %_RT_SKELETON_SSD
777   Mask = 0x80000000
778   Precache = GeneralVS
779   Precache = ClothVS
780         Precache = SkinVS 
781         Precache = HairVS       
782   Precache = EyeVS
783   Precache = GlassVS
784   Precache = MultiLayeredMaterialsVS
785   Precache = VegetationVS    
786   Precache = ShadowVS
787   Precache = ShadowGenVS
788   Precache = ZVS
789   Precache = DetailVS
790   Precache = GlowVS
791   Precache = MotionBlurVS
792   Precache = FurVS
793   Precache = CustomRenderVS
794   Precache = EffectLayerVS
795   Precache = CloakVS
796   Precache = MethaGenVS
797         Precache = DebugPassVS
798         Precache = CloakVS
801 Property
803   Name = %_RT_SKELETON_SSD_LINEAR
804   Mask = 0x200000000
805   Precache = GeneralVS
806   Precache = ClothVS
807         Precache = SkinVS 
808         Precache = HairVS       
809   Precache = EyeVS
810   Precache = GlassVS
811   Precache = MultiLayeredMaterialsVS
812   Precache = VegetationVS    
813   Precache = ShadowVS
814   Precache = ShadowGenVS
815   Precache = ZVS
816   Precache = DetailVS
817   Precache = GlowVS
818   Precache = MotionBlurVS
819   Precache = FurVS
820   Precache = CustomRenderVS
821   Precache = EffectLayerVS
822   Precache = CloakVS
823   Precache = MethaGenVS
824         Precache = DebugPassVS
825         Precache = CloakVS
828 Property
830   Name = %_RT_BLEND_WITH_TERRAIN_COLOR
831   Mask = 0x400000000
832         Precache = ZVS
833         Precache = ZPS
834   Precache = VegetationVS
835   Precache = VegetationHS
836   Precache = VegetationDS
837   Precache = VegetationPS
838   Precache = SpritePS
839   Precache = ConeTraceDiffusePS
842 Property
844   Name = %_RT_MOTION_BLUR
845   Mask = 0x800000000
846   Precache = ZVS
847   Precache = ZGS
848   Precache = ZPS
849   Precache = GeneralHS
850   Precache = GeneralDS
851   Precache = ConeTraceDiffusePS
854 Property
856   Name = %_RT_OBJ_IDENTITY
857   Mask = 0x4000000000
858   Precache = TerrainVS
859   Precache = TerrainPS
860   Precache = VoxTerrainPS
861   Precache = VoxTerrainVS
862   Precache = ZVS
863   Precache = ShadowGenVS
864   Precache = CustomRenderVS
867 Property
869   Name = %_RT_LIGHTVOLUME0
870   Mask = 0x8000000000
871   Precache = ParticleVS
872   Precache = ParticleHS
873   Precache = ParticleDS
874   Precache = ParticlePS
875   Precache = DeferredLightPassPS
876   Precache = DeferredPassPS
877   Precache = VolumeLightInjectionCS
878   Precache = RenderDownscaledShadowMapPS
879   Precache = ConeTraceDiffusePS
880   Precache = DemosaicPS
883 Property
885 // Any shader that depends on MultiRes being enabled or disabled,
886 // or uses NvGetProjectionData() / NvGetGeometryShaderData(), should appear in this list.
888   Name = %_RT_PROJECTION_MULTI_RES
889   Mask = 0x80
890   Precache = ZGS
891   Precache = ZPS
892   Precache = DeferredDecalPassGS
893   Precache = DeferredDecalPassPS
894   Precache = DeferredLightPassGS
895   Precache = DeferredLightPassPS
896   Precache = ClipVolumeGS
897   Precache = DeferredPassGS
898   Precache = DeferredPassPS
899   Precache = DistanceCloudsGS
900   Precache = WaterSurfaceGS
901   Precache = WaterSurfacePS
902   Precache = GlassGS
903   Precache = GeneralGS
904   Precache = ParticleGS
905   Precache = FogPostProcessGS
906   Precache = FogPostProcessPS
907   Precache = FogPassVolShadowsInterleavePassPS
908   Precache = FogPassVolShadowsGatherPass
909   Precache = ShadowMaskGenGS
910   Precache = ShadowMaskGenPS
911   Precache = TiledShadingCS
912   Precache = PostAA_PS
913   Precache = PostEffectsGS
914   Precache = PostEffectsPS
915   Precache = UpscaleMultiResPS
916   Precache = OcclusionTestGS
917   Precache = WaterFogVolume_GS
918   Precache = WaterFogVolume_PS
919   Precache = StarsGS
920   Precache = HDRPostProcessPS
921   Precache = PostSunShaftsGS
922   Precache = PostSunShaftsPS
923   Precache = VolumetricCloudsGS
924   Precache = VolumetricCloudsPS
925   Precache = CloudsBlendPS
926   Precache = PostMotionBlurGS
927   Precache = PostMotionBlurPS
928   Precache = ParticleImposterGS
929   Precache = ParticleImposterPS
930   Precache = LinearizeDepthPS
933 Property
935 // Any shader that depends on LMS being enabled or disabled,
936 // or uses NvGetProjectionData() / NvGetGeometryShaderData(), should appear in this list.
938   Name = %_RT_PROJECTION_LENS_MATCHED
939   Mask = 0x1000000000
940   Precache = ZGS
941   Precache = ZPS
942   Precache = DeferredDecalPassGS
943   Precache = DeferredDecalPassPS
944   Precache = DeferredLightPassGS
945   Precache = DeferredLightPassPS
946   Precache = ClipVolumeGS
947   Precache = DeferredPassGS
948   Precache = DeferredPassPS
949   Precache = DistanceCloudsGS
950   Precache = WaterSurfaceGS
951   Precache = WaterSurfacePS
952   Precache = GlassGS
953   Precache = GeneralGS
954   Precache = ParticleGS
955   Precache = FogPostProcessGS
956   Precache = FogPostProcessPS
957   Precache = FogPassVolShadowsInterleavePassPS
958   Precache = FogPassVolShadowsGatherPass
959   Precache = ShadowMaskGenGS
960   Precache = ShadowMaskGenPS
961   Precache = TiledShadingCS
962   Precache = PostAA_PS
963   Precache = PostEffectsGS
964   Precache = PostEffectsPS
965   Precache = UpscaleMultiResPS
966   Precache = OcclusionTestGS
967   Precache = WaterFogVolume_GS
968   Precache = WaterFogVolume_PS
969   Precache = StarsGS
970   Precache = HDRPostProcessPS
971   Precache = PostSunShaftsGS
972   Precache = PostSunShaftsPS
973   Precache = VolumetricCloudsGS
974   Precache = VolumetricCloudsPS
975   Precache = CloudsBlendPS
976   Precache = PostMotionBlurGS
977   Precache = PostMotionBlurPS
978   Precache = ParticleImposterGS
979   Precache = ParticleImposterPS
980   Precache = LinearizeDepthPS
983 Property
985   Name = %_RT_LIGHTVOLUME1
986   Mask = 0x2000000000
987   Precache = VolumeLightInjectionCS
988   Precache = RenderDownscaledShadowMapPS
989   Precache = ConeTraceDiffusePS
990   Precache = DemosaicPS
993 Property
995   Name = %_RT_MSAA_QUALITY  
996   Mask = 0x40000000000
997   
998   Precache = ZPS
999   Precache = ZVS
1000   Precache = GeneralVS
1001   Precache = GeneralPS
1002   Precache = VegetationVS
1003   Precache = VegetationPS
1004   Precache = TerrainVS
1005   Precache = TerrainPS
1006   Precache = ClothVS
1007   Precache = ClothPS
1008   Precache = SkinVS
1009   Precache = SkinPS
1010   Precache = HairVS
1011   Precache = HairPS
1012   Precache = EyeVS
1013   Precache = EyePS
1014         Precache = ParticlePS
1015         Precache = DeferredRainPS
1016         Precache = ParticleImposterPS
1018   Precache = FogPostProcessPS
1019   Precache = FogPassVolShadowsInterleavePassPS
1020   Precache = WaterFogVolume_PS
1021   Precache = HDRPostProcessPS
1022   Precache = DeferredPassVS
1023   Precache = DeferredPassPS
1024   Precache = ShadowMaskGenVS
1025   Precache = ShadowMaskGenPS
1026   Precache = DeferredLightPassVS
1027   Precache = DeferredLightPassPS
1028   Precache = ResolveVS
1029   Precache = ResolvePS
1030   Precache = PostProcessGameVS
1031   Precache = PostProcessGamePS
1034 Property
1036   Name = %_RT_SHADOW_JITTERING
1037   Mask = 0x80000000000
1038   Precache = ShadowVS
1039   Precache = ShadowPS
1040   Precache = FogPassVolShadowsInterleavePassPS
1041   Precache = TerrainPS
1042   Precache = WaterFogVolume_PS
1043   
1044   Precache = ShadowMaskGenVS
1045   Precache = ShadowMaskGenPS
1046         
1047         Precache = HairPS
1048         Precache = EyePS
1051 Property
1053   Name = %_RT_SAMPLE0
1054   Mask = 0x200000000000
1055   Precache = ShadowGenVS
1056   Precache = ShadowGenPS
1057   Precache = ShadowPS
1058   Precache = CustomRenderVS
1059   Precache = CustomRenderPS
1060   Precache = SkinPS
1061   Precache = GlassPS
1062   Precache = MultiLayeredMaterialsPS
1063   Precache = DebugPassVS
1064   Precache = DebugPassPS
1065         Precache = ZPS
1066         Precache = ZVS
1068   Precache = FogPostProcessPS
1069   Precache = HDRPostProcessPS
1070   Precache = ParticleVS
1071   Precache = ParticleHS
1072   Precache = ParticleDS
1073   Precache = ParticlePS
1074   Precache = PostHUD3D_VS
1075   Precache = PostHUD3D_PS
1076   Precache = PostMotionBlurVS
1077   Precache = PostMotionBlurPS
1078   Precache = PostAA_PS
1079   Precache = PostSunShaftsPS
1080   Precache = PostProcessGameVS
1081   Precache = PostProcessGamePS
1082   Precache = PostDofPS
1083   Precache = PostEffectsVS
1084   Precache = PostEffectsPS
1085   Precache = ThermalVisionPS
1086   Precache = DeferredDecalPassPS
1087   Precache = DeferredLightPassPS
1088   Precache = DeferredPassPS
1089   Precache = PostSSGI_PS
1090   Precache = BlurMaxPassPS
1091   Precache = SceneRainVS
1092   Precache = SceneRainPS
1093   Precache = DeferredRainPS
1094   Precache = EffectLayerPS
1095   Precache = ResolveVS
1096   Precache = ResolvePS
1098   Precache = WaterFogVolume_PS
1100   Precache = BeamPS
1101   Precache = LensOpticsVS
1103   Precache = TiledShadingCS
1104   Precache = VolumeLightInjectionCS
1105   Precache = VolumetricCloudsPS
1106   Precache = ReprojectCloudsPS
1107         Precache = DownsampleDepthPS
1109         Precache = SkyPassPS
1110         Precache = LightingMobilePS
1113 // Reserved for post processes/deferred - do not use for light/common shaders
1114 Property
1116   Name = %_RT_SAMPLE5
1117   Mask = 0x400000000000
1118   
1119   Precache = ZVS
1120   Precache = GeneralVS
1121   Precache = GeneralHS
1122   Precache = GeneralDS
1123   
1124   Precache = HDRPostProcessPS
1125   Precache = PostSunShaftsPS
1126   Precache = PostProcessGamePS
1127   Precache = PostAA_PS
1128   Precache = DeferredPassPS
1129         Precache = DeferredPassVS
1130         Precache = DeferredLightPassPS
1131         Precache = PostMotionBlurPS
1132   Precache = DeferredDecalPassPS
1133   Precache = ResolvePS
1134   Precache = FogPassVolShadowsInterleavePassPS
1135   Precache = CustomRenderHS
1136   Precache = CustomRenderDS
1137   Precache = CustomRenderPS
1138   Precache = WaterSurfaceVS
1139   Precache = WaterSurfacePS
1140   Precache = WaterSurfaceHS
1141   Precache = WaterSurfaceDS
1142   Precache = WaterFogVolume_PS
1144         Precache = BeamPS
1145         Precache = LensOpticsVS
1146         
1147         Precache = TiledShadingCS
1149         Precache = VolumeLightInjectionCS
1150         Precache = ReprojectVolumetricFogCS
1151         Precache = VolumetricCloudsPS
1152         Precache = ShadowMaskGenPS
1155 Property
1157   Name = %_RT_HW_PCF_COMPARE
1158   Mask = 0x800000000000
1159   Precache = ShadowVS
1160   Precache = ShadowPS
1161   Precache = ShadowGenVS
1162   Precache = ShadowGenPS
1163   
1164   Precache = DeferredLightPassPS
1165   Precache = ShadowMaskGenVS
1166   Precache = ShadowMaskGenPS
1168   Precache = DemosaicDiffusePS
1169   Precache = ConeTraceDiffusePS
1172 Property
1174         Name = %_RT_COMPUTE_SKINNING
1175                 Mask = 0x2000000000000
1176                 Precache = GeneralVS
1177                 Precache = ClothVS
1178                 Precache = SkinVS 
1179                 Precache = HairVS       
1180                 Precache = EyeVS
1181                 Precache = GlassVS
1182                 Precache = MultiLayeredMaterialsVS
1183                 Precache = VegetationVS    
1184                 Precache = ShadowVS
1185                 Precache = ShadowGenVS
1186                 Precache = ZVS
1187                 Precache = DetailVS
1188                 Precache = GlowVS
1189                 Precache = MotionBlurVS
1190                 Precache = FurVS
1191                 Precache = CustomRenderVS
1192                 Precache = EffectLayerVS
1193                 Precache = CloakVS
1194                 Precache = MethaGenVS
1195                 Precache = DebugPassVS
1196                 Precache = CloakVS
1197                 Precache = DynamicOverlay
1200 Property
1202   Name = %_RT_REVERSE_DEPTH
1203         Mask = 0x8000000000000
1204         Precache = DistanceCloudsVS
1205         Precache = PostProcessGamePS
1206         Precache = TerrainVS
1207         Precache = ZVS
1208         Precache = ZPS
1209         Precache = UnderwaterGodRays
1210         Precache = WaterSurfaceVS
1211         Precache = WaterFogVolume_VS
1212         Precache = GeneralVS
1213         Precache = LensOpticsVS
1214         Precache = StarsVS
1217 Property
1219   Name = %_RT_DEBUG0
1220   Mask = 0x10000000000000
1221   
1222   Runtime
1225 Property
1227   Name = %_RT_DEBUG1
1228   Mask = 0x20000000000000
1229   Runtime
1232 Property
1234   Name = %_RT_DEBUG2
1235   Mask = 0x40000000000000
1236   Runtime
1239 Property
1241   Name = %_RT_DEBUG3
1242   Mask = 0x80000000000000  
1243   Runtime
1246 Property
1248   Name = %_RT_CUBEMAP0
1249   Mask = 0x100000000000000
1250   Precache = ShadowVS
1251   Precache = ShadowPS
1252   Precache = ShadowGenPS
1253   Precache = ShadowGenVS
1254   
1255   Precache = PostSunShaftsPS
1256   Precache = PostProcessGamePS
1257   
1258   Precache = DeferredDecalPassVS
1259   Precache = DeferredDecalPassPS
1260   Precache = DeferredLightPassVS
1261   Precache = DeferredLightPassPS
1262   Precache = DeferredPassVS
1263   Precache = DeferredPassPS
1264   
1265   Precache = WaterFogVolume_PS
1266   Precache = TiledShadingCS
1269 Property
1271   Name = %_RT_SAMPLE4
1272   Mask = 0x1000000000000000
1273   Precache = FrozenVS
1274   Precache = FrozenPS
1275   Precache = ShadowGenVS
1276   Precache = ShadowGenPS
1277         Precache = PostAA_PS
1278   
1279   Precache = HDRPostProcessPS
1280   Precache = PostProcessGamePS
1281   Precache = DeferredLightPassPS
1282   Precache = DeferredPassPS
1283   Precache = PostSunShaftsPS
1284   Precache = PostMotionBlurPS
1286         Precache = WaterSurfaceVS
1287   Precache = WaterSurfacePS
1288   Precache = WaterSurfaceHS
1289   Precache = WaterSurfaceDS
1290   Precache = WaterFogVolume_PS
1291         Precache = DeferredDecalPassPS
1293   Precache = BeamPS
1294   Precache = LensOpticsPS
1295         
1296         Precache = TiledShadingCS
1298   Precache = DemosaicDiffusePS
1299   Precache = ConeTraceDiffusePS
1300   Precache = DiffuseUpScalePS
1302         Precache = VolumeLightInjectionCS
1303         Precache = FogPassVolShadowsInterleavePassPS
1304         Precache = CloudShadowGenCS
1305         Precache = VolumetricCloudsPS
1306         
1307         Precache = ShadowMaskGenPS
1310 Property
1312   Name = %_RT_SPRITE
1313   Mask = 0x2000000000000000
1314   Precache = ZPS
1315   Precache = VegetationVS
1316   Precache = VegetationPS
1317   Precache = ParticleVS
1318   Precache = ParticleHS
1319   Precache = ParticleDS
1320   Precache = ConeTraceDiffusePS
1321   Precache = DemosaicPS
1324 Property
1326   Name = %_RT_SAMPLE6
1327   Mask = 0x4000000000000000
1328   Precache = HDRPostProcessPS