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

Common.MatDefs.Shadow.BasicPostShadow.j3md Maven / Gradle / Ivy

There is a newer version: 3.7.0-stable
Show newest version
MaterialDef Basic Post Shadow {

    MaterialParameters {
        Texture2D ShadowMap
        Matrix4 LightViewProjectionMatrix
    }

    Technique {
        VertexShader GLSL100 GLSL150:   Common/MatDefs/Shadow/BasicPostShadow.vert
        FragmentShader GLSL100 GLSL150: Common/MatDefs/Shadow/BasicPostShadow.frag

        WorldParameters {
            WorldViewProjectionMatrix
            WorldMatrix
        }

        Defines {
            NO_SHADOW2DPROJ
        }

        RenderState {
            Blend Modulate
            DepthWrite Off    
            PolyOffset -0.1 0
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy