• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1MaterialDef Depth Of Field {
2
3    MaterialParameters {
4        Int NumSamples
5        Int NumSamplesDepth
6        Texture2D Texture
7        Texture2D DepthTexture
8        Float FocusRange;
9        Float FocusDistance;
10        Float XScale;
11        Float YScale;
12    }
13
14    Technique {
15        VertexShader GLSL100:   Common/MatDefs/Post/Post.vert
16        FragmentShader GLSL100: Common/MatDefs/Post/DepthOfField.frag
17
18        WorldParameters {
19            WorldViewProjectionMatrix
20        }
21    }
22
23    Technique FixedFunc {
24    }
25}