mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Added simple texture viewer tool.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user