Added simple texture viewer tool.

This commit is contained in:
Branimir Karadžić
2016-04-21 22:12:35 -07:00
parent b2c59cf949
commit a94089e29f
24 changed files with 1497 additions and 48 deletions

View File

@@ -163,10 +163,10 @@ class ExampleBump : public entry::AppI
m_program = loadProgram(m_instancingSupported ? "vs_bump_instanced" : "vs_bump", "fs_bump");
// Load diffuse texture.
m_textureColor = loadTexture("fieldstone-rgba.dds");
m_textureColor = loadTexture("textures/fieldstone-rgba.dds");
// Load normal texture.
m_textureNormal = loadTexture("fieldstone-n.dds");
m_textureNormal = loadTexture("textures/fieldstone-n.dds");
m_timeOffset = bx::getHPCounter();
}