TerrainBackend

Undocumented in source.

Constructors

this
this(ClusteredLightManager clm, Owner o)
Undocumented in source.

Members

Functions

bind
void bind(GenericMaterial mat, RenderingContext* rc)
Undocumented in source. Be warned that the author may not have intended to support it.
fragmentShaderSrc
string fragmentShaderSrc()
Undocumented in source. Be warned that the author may not have intended to support it.
unbind
void unbind(GenericMaterial mat, RenderingContext* rc)
Undocumented in source. Be warned that the author may not have intended to support it.
vertexShaderSrc
string vertexShaderSrc()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

clusterTextureLoc
GLint clusterTextureLoc;
Undocumented in source.
defaultLightDir
Vector3f defaultLightDir;
Undocumented in source.
defaultShadowMat
Matrix4x4f defaultShadowMat;
Undocumented in source.
environmentColorLoc
GLint environmentColorLoc;
Undocumented in source.
fogColorLoc
GLint fogColorLoc;
Undocumented in source.
fogEndLoc
GLint fogEndLoc;
Undocumented in source.
fogStartLoc
GLint fogStartLoc;
Undocumented in source.
grassNormalTextureLoc
GLint grassNormalTextureLoc;
Undocumented in source.
grassTextureLoc
GLint grassTextureLoc;
Undocumented in source.
indexTextureLoc
GLint indexTextureLoc;
Undocumented in source.
invLightDomainSizeLoc
GLint invLightDomainSizeLoc;
Undocumented in source.
invViewMatrixLoc
GLint invViewMatrixLoc;
Undocumented in source.
lightManager
ClusteredLightManager lightManager;
Undocumented in source.
lightsTextureLoc
GLint lightsTextureLoc;
Undocumented in source.
modelViewMatrixLoc
GLint modelViewMatrixLoc;
Undocumented in source.
mountsTextureLoc
GLint mountsTextureLoc;
Undocumented in source.
normalMatrixLoc
GLint normalMatrixLoc;
Undocumented in source.
projectionMatrixLoc
GLint projectionMatrixLoc;
Undocumented in source.
shadowMap
CascadedShadowMap shadowMap;
Undocumented in source.
shadowMatrix1Loc
GLint shadowMatrix1Loc;
Undocumented in source.
shadowMatrix2Loc
GLint shadowMatrix2Loc;
Undocumented in source.
shadowMatrix3Loc
GLint shadowMatrix3Loc;
Undocumented in source.
shadowTextureArrayLoc
GLint shadowTextureArrayLoc;
Undocumented in source.
shadowTextureSizeLoc
GLint shadowTextureSizeLoc;
Undocumented in source.
sunColorLoc
GLint sunColorLoc;
Undocumented in source.
sunDirectionLoc
GLint sunDirectionLoc;
Undocumented in source.
useShadowsLoc
GLint useShadowsLoc;
Undocumented in source.
viewMatrixLoc
GLint viewMatrixLoc;
Undocumented in source.

Inherited Members

From GLSLMaterialBackend

vertexShaderSrc
string vertexShaderSrc()
Undocumented in source.
fragmentShaderSrc
string fragmentShaderSrc()
Undocumented in source.
shaderProgram
GLuint shaderProgram;
Undocumented in source.
vertexShader
GLuint vertexShader;
Undocumented in source.
fragmentShader
GLuint fragmentShader;
Undocumented in source.
bind
void bind(GenericMaterial mat, RenderingContext* rc)
Undocumented in source. Be warned that the author may not have intended to support it.
unbind
void unbind(GenericMaterial mat, RenderingContext* rc)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta