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

Common.IBL.IBLKernels.j3md Maven / Gradle / Ivy

The newest version!
MaterialDef IBLKernels {
    
    MaterialParameters {
        Int BoundDrawBuffer
        TextureCubeMap EnvMap -LINEAR
        Float Roughness
        Int FaceId : 0
        Boolean UseBRDF
        Boolean UseIrradiance
        Boolean UseSpecularIBL
    }

    Technique {
    
        VertexShader   GLSL300 GLSL150 :  Common/IBL/IBLKernels.vert
        FragmentShader GLSL300 GLSL150 :  Common/IBL/IBLKernels.frag

        WorldParameters {
            WorldMatrix
            ViewMatrix
            ProjectionMatrix
        }
        
        RenderState {
            DepthWrite Off
            DepthTest Off
            DepthFunc Equal
            FaceCull Off
        }

        Defines {
            BOUND_DRAW_BUFFER: BoundDrawBuffer
            BRDF:UseBRDF
            IRRADIANCE: UseIrradiance
            SIBL: UseSpecularIBL
        }

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy