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

Common.MatDefs.Misc.ShowNormals.j3md Maven / Gradle / Ivy

There is a newer version: 3.7.0-stable
Show newest version
MaterialDef Debug Normals {
    MaterialParameters {
        // For instancing
        Boolean UseInstancing
    }

    Technique {
        VertexShader GLSL100 GLSL150:   Common/MatDefs/Misc/ShowNormals.vert
        FragmentShader GLSL100 GLSL150: Common/MatDefs/Misc/ShowNormals.frag

        WorldParameters {
            WorldViewProjectionMatrix
            ViewProjectionMatrix
            ViewMatrix
            ProjectionMatrix
        }

        Defines {
            INSTANCING : UseInstancing
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy