23 lines
580 B
Plaintext
23 lines
580 B
Plaintext
MaterialDef BlightFog {
|
|
|
|
MaterialParameters {
|
|
Texture2D Texture
|
|
Texture2D DepthTexture
|
|
Int NumSamples
|
|
Int NumSamplesDepth
|
|
|
|
Color FogColor : 0.75 0.80 0.88 1.0
|
|
Float FogDensity : 0.40
|
|
Float FogDistance : 600.0
|
|
// Wird jeden Frame aus der echten Kamera gesetzt (near, far)
|
|
Vector2 FrustumNearFar : 1.0 1000.0
|
|
}
|
|
|
|
Technique {
|
|
VertexShader GLSL150: Common/MatDefs/Post/Post15.vert
|
|
FragmentShader GLSL150: Shaders/BlightFog.frag
|
|
|
|
WorldParameters {}
|
|
}
|
|
}
|