16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 00:09:18 +02:00

shadow works

This commit is contained in:
VB
2017-07-02 00:10:45 +02:00
parent 4b3d038c2b
commit 3a02a65ada
10 changed files with 170 additions and 33 deletions

View File

@@ -61,6 +61,9 @@ class opengl_renderer {
public:
gl_program_light shader;
gl_program_mvp depth_shader;
gl_program_mvp *active_shader = nullptr;
GLuint depth_tex, depth_fbo;
// types