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

ubo for light settings

This commit is contained in:
milek7
2017-08-02 23:26:40 +02:00
parent f7459f3434
commit 726a834232
6 changed files with 163 additions and 120 deletions

View File

@@ -67,6 +67,7 @@ private:
class opengl_renderer {
public:
gl_ubo<gl_ubodata_light_params> ubo;
gl_program_light shader;
gl_program_mvp depth_shader;
gl_program_mvp *active_shader = nullptr;