16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 04:39:18 +02:00
This commit is contained in:
milek7
2018-07-11 12:16:46 +02:00
parent 94712f5c77
commit e53b4fba26
6 changed files with 291 additions and 13 deletions

View File

@@ -237,7 +237,7 @@ private:
void
setup_drawing( bool const Alpha = false );
void
setup_shadow_map( GLuint const Texture, glm::mat4 const &Transformation );
setup_shadow_map(opengl_texture &tex);
void
setup_shadow_color( glm::vec4 const &Shadowcolor );
void
@@ -397,6 +397,10 @@ private:
std::unique_ptr<gl::renderbuffer> m_main_rb;
std::unique_ptr<gl::postfx> m_pfx;
std::unique_ptr<gl::framebuffer> m_shadow_fb;
std::unique_ptr<opengl_texture> m_shadow_tex;
std::unique_ptr<gl::program> m_shadow_shader;
material_handle m_invalid_material;
bool m_widelines_supported;