GLUS
|
#include "GL/glus.h"
Functions | |
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... | |
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... | |
GLUSvoid GLUSAPIENTRY | glusMatrix4x4PlanarReflectionf (GLUSfloat matrix[16], const GLUSfloat reflectionPlane[4]) |
Creates the projection matrix to simulate a planar reflection. More... | |
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. |
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. |
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. |