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

Common.MatDefs.ShaderNodes.Misc.PerspectiveDivide.j3sn Maven / Gradle / Ivy

The newest version!
ShaderNodeDefinitions{
    ShaderNodeDefinition PerspectiveDivide {
        //Vertex/Fragment
        Type: Vertex

        //Shader GLSL: 
        Shader GLSL100: Common/MatDefs/ShaderNodes/Misc/PerspectiveDivide100.frag

        Documentation{
            //type documentation here. This is optional but recommended
		  performs inVec.xyz / inVec.w

            //@input   
            @input vec4 inVec The input vector

            //@output   
            @output vec4 outVec The modified output vector
        }
        Input {
            //all the node inputs
            // 
            vec4 inVec
        }
        Output {
            //all the node outputs
            // 
            vec4 outVec
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy