You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
810 B
34 lines
810 B
13 years ago
|
MaterialDef Depth Of Field {
|
||
|
|
||
|
MaterialParameters {
|
||
|
Int NumSamples
|
||
|
Int NumSamplesDepth
|
||
|
Texture2D Texture
|
||
|
Texture2D DepthTexture
|
||
|
Float FocusRange;
|
||
|
Float FocusDistance;
|
||
|
Float XScale;
|
||
|
Float YScale;
|
||
|
}
|
||
|
|
||
11 years ago
|
Technique {
|
||
|
VertexShader GLSL150: Common/MatDefs/Post/Post15.vert
|
||
|
FragmentShader GLSL150: Common/MatDefs/Post/DepthOfField15.frag
|
||
|
|
||
|
WorldParameters {
|
||
|
}
|
||
|
|
||
|
Defines {
|
||
|
RESOLVE_MS : NumSamples
|
||
|
RESOLVE_DEPTH_MS : NumSamplesDepth
|
||
|
}
|
||
|
}
|
||
|
|
||
13 years ago
|
Technique {
|
||
|
VertexShader GLSL100: Common/MatDefs/Post/Post.vert
|
||
|
FragmentShader GLSL100: Common/MatDefs/Post/DepthOfField.frag
|
||
|
|
||
|
WorldParameters {
|
||
|
}
|
||
|
}
|
||
|
}
|