2017-01-15 19:02:10 +01:00

17 lines
441 B
Plaintext

MaterialDef FXAA {
MaterialParameters {
Int NumSamples
Texture2D Texture
Float SubPixelShift
Float VxOffset
Float SpanMax
Float ReduceMul
}
Technique {
VertexShader GLSL100 GLSL150: Common/MatDefs/Post/FXAA.vert
FragmentShader GLSL100 GLSL150: Common/MatDefs/Post/FXAA.frag
WorldParameters {
ResolutionInverse
}
}
}