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