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

work, proper gui gamma, restore cab picking

This commit is contained in:
milek7
2018-07-12 23:28:39 +02:00
parent d48fd9cf54
commit c94820e8b7
9 changed files with 186 additions and 83 deletions

View File

@@ -237,9 +237,7 @@ private:
void
setup_drawing( bool const Alpha = false );
void
setup_shadow_map(opengl_texture &tex);
void
setup_shadow_color( glm::vec4 const &Shadowcolor );
setup_shadow_map(opengl_texture *tex);
void
setup_environment_light( TEnvironmentType const Environment = e_flat );
// runs jobs needed to generate graphics for specified render pass
@@ -401,6 +399,11 @@ private:
std::unique_ptr<opengl_texture> m_shadow_tex;
std::unique_ptr<gl::program> m_shadow_shader;
std::unique_ptr<gl::framebuffer> m_pick_fb;
std::unique_ptr<opengl_texture> m_pick_tex;
std::unique_ptr<gl::renderbuffer> m_pick_rb;
std::unique_ptr<gl::program> m_pick_shader;
material_handle m_invalid_material;
bool m_widelines_supported;