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

Common.MatDefs.Post.LightScattering.j3md Maven / Gradle / Ivy

There is a newer version: 3.7.0-stable
Show newest version
MaterialDef Light Scattering {
 MaterialParameters {
        Int NumSamples
        Int NumSamplesDepth
        Texture2D Texture
        Texture2D DepthTexture       
        Vector3 LightPosition
        Int NbSamples
        Float BlurStart
        Float BlurWidth
        Float LightDensity
        Boolean Display
        Boolean multiSampledDepth
    }

    Technique {
        VertexShader GLSL300 GLSL150 GLSL120:   Common/MatDefs/Post/Post.vert
        FragmentShader GLSL300 GLSL150 GLSL120: Common/MatDefs/Post/LightScattering.frag

        WorldParameters {          
        }

        Defines {
            RESOLVE_MS : NumSamples
            RESOLVE_DEPTH_MS : NumSamplesDepth
            DISPLAY: Display
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy