Common.MatDefs.Hdr.LogLum.j3md Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jme3-core Show documentation
Show all versions of jme3-core Show documentation
jMonkeyEngine is a 3-D game engine for adventurous Java developers
MaterialDef Log Lum 2D {
MaterialParameters {
Texture2D Texture
Vector2 BlockSize
Vector2 PixelSize
Float NumPixels
Boolean DecodeLum
Boolean EncodeLum
Boolean Blocks
Boolean ComputeMax
}
Technique {
VertexShader GLSL100: Common/MatDefs/Gui/Gui.vert
FragmentShader GLSL100: Common/MatDefs/Hdr/LogLum.frag
WorldParameters {
WorldViewProjectionMatrix
}
Defines {
TEXTURE
ENCODE_LUM : EncodeLum
DECODE_LUM : DecodeLum
BLOCKS : Blocks
COMPUTE_MAX : ComputeMax
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy