Arbeiten aus dem URlaub
This commit is contained in:
29
simarboreal/assets/MatDefs/Shadows.j3md
Normal file
29
simarboreal/assets/MatDefs/Shadows.j3md
Normal file
@@ -0,0 +1,29 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user