History

more hacking almost working

ZappoMan committed 11 years ago

Commit 006899d1 parent 56997152 files · +25 −7Browse files

Showing the changes to interface/src/Application.cpp (1 of 2 files). Show all

Unified · Split

interface/src/Application.cpp+5−4
@@ -3330,10 +3330,11 @@ namespace render { · 3329 unmodified lines
33303330 PerformanceTimer perfTimer("atmosphere");
33313331 PerformanceWarning warn(Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings),
33323332 "Application::displaySide() ... atmosphere...");
3333− //gpu::Batch batch;
3334− background->_environment->renderAtmospheres(batch, *(args->_viewFrustum));
3335− //gpu::GLBackend::renderBatch(batch, true);
3336− //glUseProgram(0);
3333+ gpu::Batch batch;
3334+ //DependencyManager::get<DeferredLightingEffect>()->renderSolidSphere(batch,0.5f, 100, 50, glm::vec4(1.0f, 0.0f, 0.0f, 1.0f)); //Draw a unit sphere
3335+ background->_environment->renderAtmospheres(batch, *(args->_viewFrustum));
3336+ gpu::GLBackend::renderBatch(batch, true);
3337+ glUseProgram(0);
33373338
33383339 }
33393340