gltf_viewer: fix indirect light controls.

This commit is contained in:
Philip Rideout
2019-03-13 17:12:35 -07:00
parent c97e812056
commit cc3177ce34

View File

@@ -185,6 +185,7 @@ int main(int argc, char** argv) {
// Add the renderables to the scene.
app.viewer->setAsset(app.asset, app.names);
app.viewer->setIndirectLight(FilamentApp::get().getIBL()->getIndirectLight());
// Leave FXAA enabled but we also enable MSAA for a nice result. The wireframe looks
// much better with MSAA enabled.