Changed RenderEngine to use Ghoul fontrendering instead of SGCT

This commit is contained in:
Alexander Bock
2015-11-16 19:21:05 -05:00
parent a7807e5581
commit 2cf7dfb27d
5 changed files with 266 additions and 211 deletions

View File

@@ -583,7 +583,8 @@ void OpenSpaceEngine::loadFonts2() {
ghoul::Dictionary fonts;
configurationManager()->getValue(ConfigurationManager::KeyFonts, fonts);
_fontManager = new ghoul::fontrendering::FontManager;
const glm::ivec3 fontAtlasSize{1024, 1024, 1};
_fontManager = new ghoul::fontrendering::FontManager(fontAtlasSize);
for (const std::string& key : fonts.keys()) {
std::string font;