Common.MatDefs.ShaderNodes.LightMapping.LightMapping.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 3D game engine for adventurous Java developers
The newest version!
ShaderNodeDefinitions{
ShaderNodeDefinition LightMapping{
Type: Fragment
Shader GLSL100: Common/MatDefs/ShaderNodes/LightMapping/lightMap.frag
Documentation {
This Node is responsible for multiplying a light mapping contribution to a given color.
@input texCoord the texture coordinates to use for light mapping
@input lightMap the texture to use for light mapping
@input color the color the lightmap color will be multiplied to
@output color the resulting color
}
Input{
vec2 texCoord
sampler2D lightMap
vec4 color
}
Output{
vec4 color
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy