blob: eaa3b9499df787942f77b307afa9c5715ff57e38 [file] [log] [blame]
//*******************************************************************************
// Copyright (c) 2018 Agence spatiale canadienne / Canadian Space Agency.
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the Eclipse Public License v1.0
// which accompanies this distribution, and is available at
// http://www.eclipse.org/legal/epl-v10.html
//
// Contributors:
// Pierre Allard - initial API and implementation
//
// SPDX-License-Identifier: EPL-1.0
//*******************************************************************************
MaterialDef Sky Plane {
MaterialParameters {
TextureCubeMap Texture
Boolean SphereMap
Vector3 NormalScale
Float Alpha
Vector3 SunPosition
Texture2D SunGlowTexture
}
Technique {
VertexShader GLSL100: MatDefs/EarthSky.vert
FragmentShader GLSL100: MatDefs/EarthSky.frag
RenderState {
FaceCull Off
}
WorldParameters {
ViewMatrix
ProjectionMatrix
WorldMatrix
}
Defines {
SPHERE_MAP : SphereMap
}
}
Technique {
}
}