aboutsummaryrefslogtreecommitdiff
path: root/engine/src/core-data/Common/MatDefs/Misc/Sky.j3md
blob: 919309b30256b8f8838c6692753588cd4602a95c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
MaterialDef Sky Plane {
    MaterialParameters {
        TextureCubeMap Texture
        Boolean SphereMap
        Vector3 NormalScale
    }
    Technique {
        VertexShader GLSL100:   Common/MatDefs/Misc/Sky.vert
        FragmentShader GLSL100: Common/MatDefs/Misc/Sky.frag

        RenderState {
            FaceCull Off
        }

        WorldParameters {
            ViewMatrix
            ProjectionMatrix
            WorldMatrix
        }

        Defines {
            SPHERE_MAP : SphereMap
        }
    }
    Technique FixedFunc {
    }
}