Home | History | Annotate | Download | only in Post
      1 MaterialDef Fade {
      2 
      3     MaterialParameters {
      4         Int NumSamples
      5         Texture2D Texture
      6         Float Value
      7     }
      8 
      9     Technique {
     10         VertexShader GLSL150:   Common/MatDefs/Post/Post15.vert
     11         FragmentShader GLSL150: Common/MatDefs/Post/Fade15.frag
     12 
     13         WorldParameters {
     14             WorldViewProjectionMatrix
     15         }
     16 
     17         Defines {
     18             RESOLVE_MS : NumSamples
     19         }
     20     }
     21 
     22     Technique {
     23         VertexShader GLSL100:   Common/MatDefs/Post/Post.vert
     24         FragmentShader GLSL100: Common/MatDefs/Post/Fade.frag
     25 
     26         WorldParameters {
     27             WorldViewProjectionMatrix           
     28         }
     29     }
     30 
     31     Technique FixedFunc {
     32     }
     33 
     34 }