Common.MatDefs.SSAO.ssao.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 SSAO {
MaterialParameters {
Int NumSamples
Int NumSamplesDepth
Texture2D Texture
Texture2D RandomMap -LINEAR
Texture2D Normals
Texture2D DepthTexture
Vector3 FrustumCorner
Float SampleRadius
Float Intensity
Float Scale
Float Bias
Vector2 FrustumNearFar
Vector2Array Samples
Boolean ApproximateNormals
}
Technique {
VertexShader GLSL300 GLSL150 GLSL120: Common/MatDefs/Post/Post.vert
FragmentShader GLSL300 GLSL150 GLSL120: Common/MatDefs/SSAO/ssao.frag
WorldParameters {
WorldViewMatrix
Resolution
ResolutionInverse
}
Defines {
RESOLVE_MS : NumSamples
RESOLVE_DEPTH_MS : NumSamplesDepth
APPROXIMATE_NORMALS : ApproximateNormals
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy