GLUS
|
Go to the source code of this file.
Functions | |
GLUSAPI GLUSvoid GLUSAPIENTRY | glusMatrix4x4PlanarShadowPointLightf (GLUSfloat matrix[16], const GLUSfloat shadowPlane[4], const GLUSfloat lightPoint[4]) |
Creates the projection matrix to simulate a planar shadow coming from a point / spot light. More... | |
GLUSAPI GLUSvoid GLUSAPIENTRY | glusMatrix4x4PlanarShadowDirectionalLightf (GLUSfloat matrix[16], const GLUSfloat shadowPlane[4], const GLUSfloat lightDirection[3]) |
Creates the projection matrix to simulate a planar shadow coming from a directional light. More... | |
GLUSAPI GLUSvoid GLUSAPIENTRY | glusMatrix4x4PlanarReflectionf (GLUSfloat matrix[16], const GLUSfloat reflectionPlane[4]) |
Creates the projection matrix to simulate a planar reflection. More... | |
GLUSAPI GLUSvoid GLUSAPIENTRY glusMatrix4x4PlanarReflectionf | ( | GLUSfloat | matrix[16], |
const GLUSfloat | reflectionPlane[4] | ||
) |
Creates the projection matrix to simulate a planar reflection.
matrix | The matrix, which is set to the projection matrix. |
reflectionPlane | The reflecting plane. |
GLUSAPI GLUSvoid GLUSAPIENTRY glusMatrix4x4PlanarShadowDirectionalLightf | ( | GLUSfloat | matrix[16], |
const GLUSfloat | shadowPlane[4], | ||
const GLUSfloat | lightDirection[3] | ||
) |
Creates the projection matrix to simulate a planar shadow coming from a directional light.
matrix | The matrix, which is set to the projection matrix. |
shadowPlane | The shadow receiver plane. |
lightDirection | The direction of the light, pointing towards the light source. |
GLUSAPI GLUSvoid GLUSAPIENTRY glusMatrix4x4PlanarShadowPointLightf | ( | GLUSfloat | matrix[16], |
const GLUSfloat | shadowPlane[4], | ||
const GLUSfloat | lightPoint[4] | ||
) |
Creates the projection matrix to simulate a planar shadow coming from a point / spot light.
matrix | The matrix, which is set to the projection matrix. |
shadowPlane | The shadow receiver plane. |
lightPoint | The origin of the light. |