30 lines
593 B
Plaintext
30 lines
593 B
Plaintext
MaterialDef Simple Shadows {
|
|
|
|
MaterialParameters {
|
|
Int NumSamples
|
|
Int NumSamplesDepth
|
|
|
|
Color ShadowColor
|
|
|
|
Texture2D FrameTexture
|
|
Texture2D DepthTexture
|
|
}
|
|
|
|
Technique {
|
|
VertexShader GLSL120: MatDefs/Shadows.vert
|
|
FragmentShader GLSL130: MatDefs/Shadows.frag
|
|
|
|
WorldParameters {
|
|
ViewProjectionMatrix
|
|
FrustumNearFar
|
|
ViewPort
|
|
}
|
|
|
|
Defines {
|
|
RESOLVE_MS : NumSamples
|
|
RESOLVE_DEPTH_MS : NumSamplesDepth
|
|
}
|
|
}
|
|
|
|
}
|