From d042d3d70a41d2f094f351b2238779477b5936b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Mon, 1 Jun 2020 11:47:38 -0700 Subject: [PATCH] 42-bunnylod: Switched to flat shaded to better show LOD. --- examples/42-bunnylod/bunnylod.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/42-bunnylod/bunnylod.cpp b/examples/42-bunnylod/bunnylod.cpp index 9076c4716..527beaa38 100644 --- a/examples/42-bunnylod/bunnylod.cpp +++ b/examples/42-bunnylod/bunnylod.cpp @@ -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);