]> git.lizzy.rs Git - dragonblocks_alpha.git/blob - src/client/light.h
You can now see other players
[dragonblocks_alpha.git] / src / client / light.h
1 #ifndef _LIGHT_H_
2 #define _LIGHT_H_
3
4 #include <GL/glew.h>
5 #include <GL/gl.h>
6
7 typedef struct {
8         GLuint prog;
9         GLint loc_daylight;
10         GLint loc_fogColor;
11         GLint loc_ambientLight;
12         GLint loc_lightDir;
13         GLint loc_cameraPos;
14 } LightShader;
15
16 void light_shader_locate(LightShader *shader);
17 void light_shader_update(LightShader *shader);
18
19 #endif