Common.MatDefs.SSAO.ssaoBlur.j3md Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jme3-effects Show documentation
Show all versions of jme3-effects Show documentation
jMonkeyEngine is a 3-D game engine for adventurous Java developers
MaterialDef SSAOBlur {
MaterialParameters {
Int NumSamples
Int NumSamplesDepth
Texture2D Texture
Texture2D SSAOMap
Texture2D DepthTexture
Vector2 FrustumNearFar
Boolean UseAo
Boolean UseOnlyAo
Float XScale
Float YScale
}
Technique {
VertexShader GLSL300 GLSL150 GLSL120: Common/MatDefs/Post/Post.vert
FragmentShader GLSL300 GLSL150 GLSL120: Common/MatDefs/SSAO/ssaoBlur.frag
WorldParameters {
WorldViewMatrix
}
Defines {
USE_AO : UseAo
USE_ONLY_AO : UseOnlyAo
RESOLVE_MS : NumSamples
RESOLVE_DEPTH_MS : NumSamplesDepth
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy