mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 05:49:19 +02:00
build 170424. basic shadow mapping implementation, multi texturing unit setup
This commit is contained in:
@@ -41,6 +41,8 @@ public:
|
||||
// methods:
|
||||
bool
|
||||
init( GLFWwindow *Window );
|
||||
void
|
||||
set_unit( GLint const Textureunit ) { m_textureunit = Textureunit; }
|
||||
// draws requested UI elements
|
||||
void
|
||||
render();
|
||||
@@ -83,6 +85,7 @@ private:
|
||||
|
||||
// members:
|
||||
GLFWwindow *m_window { nullptr };
|
||||
GLint m_textureunit{ GL_TEXTURE0 };
|
||||
GLuint m_fontbase { (GLuint)-1 }; // numer DL dla znaków w napisach
|
||||
|
||||
// progress bar config. TODO: put these together into an object
|
||||
|
||||
Reference in New Issue
Block a user