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

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

There is a newer version: 3.7.0-stable
Show newest version
ShaderNodeDefinitions{
    ShaderNodeDefinition Dashed {
        //Vertex/Fragment
        Type: Fragment

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

        Documentation{
            //type documentation here. This is optional but recommended
            Output a dashed line (better have a LINE mode mesh)

            //@input   
            @input vec2 texCoord the texture coordinates
            @input vec4 inColor The input color
            

            //@output   
            @output vec4 outColor The modified output color
        }
        Input {
            //all the node inputs
            // 
            vec2 texCoord
            vec4 inColor
            vec4 startPos
            vec2 resolution
            
            
        }
        Output {
            //all the node outputs
            // 
            vec4 outColor
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy