implement grid and heightmap with lambert shading
This commit is contained in:
@@ -39,6 +39,7 @@ void TextureManager::invalidate()
|
||||
|
||||
bool Texture2D::create(int width, int height, GLint internal_format, GLint format, const uint8_t* data)
|
||||
{
|
||||
destroy();
|
||||
m_width = width;
|
||||
m_height = height;
|
||||
m_format = format;
|
||||
|
||||
Reference in New Issue
Block a user