mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
42-bunnylod: Switched to flat shaded to better show LOD.
This commit is contained in:
@@ -265,7 +265,7 @@ public:
|
||||
u_tint = bgfx::createUniform("u_tint", bgfx::UniformType::Vec4);
|
||||
|
||||
// Create program from shaders.
|
||||
m_program = loadProgram("vs_picking_shaded", "fs_picking_shaded");
|
||||
m_program = loadProgram("vs_callback", "fs_callback");
|
||||
|
||||
Mesh* mesh = meshLoad("meshes/bunny_patched.bin", true);
|
||||
loadMesh(mesh);
|
||||
|
||||
Reference in New Issue
Block a user