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

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

There is a newer version: 3.7.0-stable
Show newest version
MaterialDef Sky Plane {
    MaterialParameters {
        TextureCubeMap Texture
        Boolean SphereMap
        Boolean EquirectMap
        Vector3 NormalScale
    }
    Technique {
        VertexShader GLSL100 GLSL150:   Common/MatDefs/Misc/Sky.vert
        FragmentShader GLSL100 GLSL150: Common/MatDefs/Misc/Sky.frag

        WorldParameters {
            ViewMatrix
            ProjectionMatrix
            WorldMatrixInverse
        }

        Defines {
            SPHERE_MAP : SphereMap
            EQUIRECT_MAP : EquirectMap
        }

        RenderState {
            DepthWrite Off
            DepthFunc Equal
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy