Skip to content

Commit

Permalink
[Renderer] activate specular texture
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthou committed Aug 14, 2024
1 parent 945c77f commit 2f30c78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Engine/Graphics/OpenGL/Renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ namespace owds {
textures.emplace_back(text_it->second);
}

/*if(material.specular_texture_.empty() == false)
if(material.specular_texture_.empty() == false)
{
auto text_it = loaded_textures_.find(material.specular_texture_);
if(text_it == loaded_textures_.end())
Expand All @@ -270,7 +270,7 @@ namespace owds {
.first;
}
textures.emplace_back(text_it->second);
}*/
}

if(material.normal_texture_.empty() == false)
{
Expand Down

0 comments on commit 2f30c78

Please sign in to comment.