Common.MatDefs.ShaderNodes.Environment.envMapping.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
ShaderNodeDefinitions{
ShaderNodeDefinition EnvMapping {
Type: Fragment
Shader GLSL300: Common/MatDefs/ShaderNodes/Environment/envMapping130.frag
Shader GLSL100: Common/MatDefs/ShaderNodes/Environment/envMapping100.frag
Shader GLSL130: Common/MatDefs/ShaderNodes/Environment/envMapping130.frag
Documentation{
fetches a texel in a cube map
@input vec3 refVec the reflection vector
@input samplerCube cubeMap the cube map
@output vec4 color the output color
}
Input {
vec3 refVec
samplerCube cubeMap
}
Output {
vec4 color
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy