Common.MatDefs.ShaderNodes.Misc.fakeLighting.j3sn 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
The newest version!
ShaderNodeDefinitions{
ShaderNodeDefinition FakeLighting {
//Vertex/Fragment
Type: Fragment
//Shader GLSL:
Shader GLSL100: Common/MatDefs/ShaderNodes/Misc/fakeLighting100.frag
Documentation{
//type documentation here. This is optional but recommended
//@input
@input vec4 inColor The input color
@input vec3 normal The normal in view space
//@output
@output vec4 outColor The modified output color
}
Input {
//all the node inputs
//
vec4 inColor
vec3 normal
}
Output {
//all the node outputs
//
vec4 outColor
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy