Common.MatDefs.Post.CartoonEdge.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 Cartoon Edge {
MaterialParameters {
Int NumSamples
Int NumSamplesDepth
Texture2D Texture
Texture2D NormalsTexture
Texture2D DepthTexture
Color EdgeColor
Float EdgeWidth
Float EdgeIntensity
Float NormalThreshold
Float DepthThreshold
Float NormalSensitivity
Float DepthSensitivity
}
Technique {
VertexShader GLSL150 GLSL100: Common/MatDefs/Post/Post.vert
FragmentShader GLSL150 GLSL100: Common/MatDefs/Post/CartoonEdge.frag
WorldParameters {
WorldViewMatrix
ResolutionInverse
}
Defines {
RESOLVE_MS : NumSamples
RESOLVE_DEPTH_MS : NumSamplesDepth
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy