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

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

The newest version!
MaterialDef Sky Plane {
    MaterialParameters {
        Int BoundDrawBuffer
        TextureCubeMap Texture
        Boolean SphereMap
        Boolean EquirectMap
        Vector3 NormalScale
    }
    Technique {
        VertexShader    GLSL300 GLSL150 GLSL100 :   Common/MatDefs/Misc/Sky.vert
        FragmentShader  GLSL300 GLSL150 GLSL100 :   Common/MatDefs/Misc/Sky.frag

        WorldParameters {
            ViewMatrix
            ProjectionMatrix
            WorldMatrixInverse
        }

        Defines {
            BOUND_DRAW_BUFFER: BoundDrawBuffer
            SPHERE_MAP : SphereMap
            EQUIRECT_MAP : EquirectMap
        }

        RenderState {
            DepthWrite Off
            DepthFunc Equal
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy