blob: 244dcbc54fe7d6ea77ae46e63f64c9896e35beba [file] [log] [blame]
MaterialDef Posterization {
MaterialParameters {
Int NumSamples
Texture2D Texture;
Int NumColors;
Float Gamma;
Float Strength;
}
Technique {
VertexShader GLSL150: Common/MatDefs/Post/Post15.vert
FragmentShader GLSL150: Common/MatDefs/Post/Posterization15.frag
WorldParameters {
WorldViewProjectionMatrix
}
}
Technique {
VertexShader GLSL100: Common/MatDefs/Post/Post.vert
FragmentShader GLSL100: Common/MatDefs/Post/Posterization.frag
WorldParameters {
WorldViewProjectionMatrix
}
}
Technique FixedFunc {
}
}