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

works for rendering without texture (not done yet)

This commit is contained in:
milek7
2017-08-03 11:49:03 +02:00
parent 27920a9595
commit 26e76abfbc
7 changed files with 173 additions and 3 deletions

View File

@@ -69,6 +69,7 @@ class opengl_renderer {
public:
gl_ubo<gl_ubodata_light_params> ubo;
gl_program_light shader;
gl_program_light notex_shader;
gl_program_mvp depth_shader;
gl_program_mvp *active_shader = nullptr;
GLuint depth_tex, depth_fbo;