Files
blight/simarboreal/assets/MatDefs/Shadows.j3md
2026-05-19 12:55:05 +02:00

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
}
}
}