TerrainMaterial

Undocumented in source.

Constructors

this
this(Owner o)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

addLayer
Material addLayer()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

layers
Array!Material layers;
Undocumented in source.

Inherited Members

From Material

shader
Shader shader;
Undocumented in source.
sun
Light sun;
Undocumented in source.
baseColorTexture
Texture baseColorTexture;
Undocumented in source.
roughnessMetallicTexture
Texture roughnessMetallicTexture;
Undocumented in source.
emissionTexture
Texture emissionTexture;
Undocumented in source.
normalTexture
Texture normalTexture;
Undocumented in source.
heightTexture
Texture heightTexture;
Undocumented in source.
maskTexture
Texture maskTexture;
Undocumented in source.
baseColorFactor
Color4f baseColorFactor;
Undocumented in source.
emissionFactor
Color4f emissionFactor;
Undocumented in source.
normalFactor
Vector3f normalFactor;
Undocumented in source.
textureScale
Vector2f textureScale;
Undocumented in source.
heightFactor
float heightFactor;
Undocumented in source.
emissionEnergy
float emissionEnergy;
Undocumented in source.
opacity
float opacity;
Undocumented in source.
alphaTestThreshold
float alphaTestThreshold;
Undocumented in source.
roughnessFactor
float roughnessFactor;
Undocumented in source.
metallicFactor
float metallicFactor;
Undocumented in source.
specularity
float specularity;
Undocumented in source.
translucency
float translucency;
Undocumented in source.
parallaxScale
float parallaxScale;
Undocumented in source.
parallaxBias
float parallaxBias;
Undocumented in source.
maskFactor
float maskFactor;
Undocumented in source.
parallaxMode
int parallaxMode;
Undocumented in source.
shadowFilter
int shadowFilter;
Undocumented in source.
blendMode
int blendMode;
Undocumented in source.
shadeless
bool shadeless;
Undocumented in source.
invertNormalY
bool invertNormalY;
Undocumented in source.
useShadows
bool useShadows;
Undocumented in source.
useFog
bool useFog;
Undocumented in source.
useCulling
bool useCulling;
Undocumented in source.
sphericalNormal
bool sphericalNormal;
Undocumented in source.
colorWrite
bool colorWrite;
Undocumented in source.
depthWrite
bool depthWrite;
Undocumented in source.
outputColor
bool outputColor;
Undocumented in source.
outputNormal
bool outputNormal;
Undocumented in source.
outputPBR
bool outputPBR;
Undocumented in source.
outputEmission
bool outputEmission;
Undocumented in source.
~this
~this()
Undocumented in source.
isTransparent
bool isTransparent()
Undocumented in source. Be warned that the author may not have intended to support it.
bind
void bind(GraphicsState* state)
Undocumented in source. Be warned that the author may not have intended to support it.
unbind
void unbind(GraphicsState* state)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta