All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Common.MatDefs.ShaderNodes.Environment.envMapping.j3sn Maven / Gradle / Ivy

There is a newer version: 3.7.0-stable
Show newest version
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