1MaterialDef Sky Plane { 2 MaterialParameters { 3 TextureCubeMap Texture 4 Boolean SphereMap 5 Vector3 NormalScale 6 } 7 Technique { 8 VertexShader GLSL100: Common/MatDefs/Misc/Sky.vert 9 FragmentShader GLSL100: Common/MatDefs/Misc/Sky.frag 10 11 RenderState { 12 FaceCull Off 13 } 14 15 WorldParameters { 16 ViewMatrix 17 ProjectionMatrix 18 WorldMatrix 19 } 20 21 Defines { 22 SPHERE_MAP : SphereMap 23 } 24 } 25 Technique FixedFunc { 26 } 27}