FS2_Open
Open source remastering of the Freespace 2 engine
|
Go to the source code of this file.
Classes | |
struct | light_frustum_info |
Macros | |
#define | MAX_SHADOW_CASCADES 4 |
Functions | |
void | shadows_construct_light_frustum (vec3d *min_out, vec3d *max_out, vec3d light_vec, matrix *orient, vec3d *pos, float fov, float aspect, float z_near, float z_far) |
bool | shadows_obj_in_frustum (object *objp, vec3d *min, vec3d *max, matrix *light_orient) |
void | shadows_render_all (float fov, matrix *eye_orient, vec3d *eye_pos) |
matrix | shadows_start_render (matrix *eye_orient, vec3d *eye_pos, float fov, float aspect, float veryneardist, float neardist, float middist, float fardist) |
void | shadows_end_render () |
Variables | |
matrix4 | Shadow_view_matrix |
matrix4 | Shadow_proj_matrix [MAX_SHADOW_CASCADES] |
float | Shadow_cascade_distances [MAX_SHADOW_CASCADES] |
void shadows_construct_light_frustum | ( | vec3d * | min_out, |
vec3d * | max_out, | ||
vec3d | light_vec, | ||
matrix * | orient, | ||
vec3d * | pos, | ||
float | fov, | ||
float | aspect, | ||
float | z_near, | ||
float | z_far | ||
) |
void shadows_end_render | ( | ) |
Definition at line 386 of file shadows.cpp.
Definition at line 391 of file shadows.cpp.
matrix shadows_start_render | ( | matrix * | eye_orient, |
vec3d * | eye_pos, | ||
float | fov, | ||
float | aspect, | ||
float | veryneardist, | ||
float | neardist, | ||
float | middist, | ||
float | fardist | ||
) |
Definition at line 349 of file shadows.cpp.
float Shadow_cascade_distances[MAX_SHADOW_CASCADES] |
Definition at line 26 of file shadows.cpp.
matrix4 Shadow_proj_matrix[MAX_SHADOW_CASCADES] |
Definition at line 25 of file shadows.cpp.
matrix4 Shadow_view_matrix |
Definition at line 24 of file shadows.cpp.