mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-11 04:31:35 -10:00
28 lines
662 B
C
28 lines
662 B
C
#pragma once
|
|
|
|
|
|
#include "globalincs/pstypes.h"
|
|
#include "lighting/lighting.h"
|
|
#include "cmdline/cmdline.h"
|
|
|
|
//Variables
|
|
extern int Num_active_gr_lights;
|
|
|
|
extern const float gr_light_color[4];
|
|
extern const float gr_light_zero[4];
|
|
extern const float gr_light_emission[4];
|
|
extern float gr_light_ambient[4];
|
|
|
|
//Functions
|
|
void gr_set_light(light *fs_light);
|
|
void gr_reset_lighting();
|
|
void gr_set_lighting();
|
|
void gr_set_center_alpha(int type);
|
|
void gr_set_ambient_light(int red, int green, int blue);
|
|
void gr_get_ambient_light(vec3d* light_vector);
|
|
|
|
void gr_lighting_fill_uniforms(void* data_out, size_t buffer_size);
|
|
|
|
void gr_light_init();
|
|
void gr_light_shutdown();
|