Adjust commenting out of old stars rendering code

This commit is contained in:
Ryan Huffman 2016-08-04 10:32:05 -07:00
parent 4c662b0d60
commit 9cbfe195cd

View file

@ -4252,17 +4252,15 @@ namespace render {
// Fall through: if no skybox is available, render the SKY_DOME // Fall through: if no skybox is available, render the SKY_DOME
case model::SunSkyStage::SKY_DOME: { case model::SunSkyStage::SKY_DOME: {
/* // if (Menu::getInstance()->isOptionChecked(MenuOption::Stars)) {
if (Menu::getInstance()->isOptionChecked(MenuOption::Stars)) { // PerformanceTimer perfTimer("stars");
PerformanceTimer perfTimer("stars"); // PerformanceWarning warn(Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings),
PerformanceWarning warn(Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings), // "Application::payloadRender<BackgroundRenderData>() ... My god, it's full of stars...");
"Application::payloadRender<BackgroundRenderData>() ... My god, it's full of stars..."); // // should be the first rendering pass - w/o depth buffer / lighting
// should be the first rendering pass - w/o depth buffer / lighting //
// static const float alpha = 1.0f;
static const float alpha = 1.0f; // background->_stars.render(args, alpha);
background->_stars.render(args, alpha); // }
}
*/
static const glm::vec3 DEFAULT_SKYBOX_COLOR { 255.0f / 255.0f, 220.0f / 255.0f, 194.0f / 255.0f }; static const glm::vec3 DEFAULT_SKYBOX_COLOR { 255.0f / 255.0f, 220.0f / 255.0f, 194.0f / 255.0f };
static const float DEFAULT_SKYBOX_INTENSITY { 0.2f }; static const float DEFAULT_SKYBOX_INTENSITY { 0.2f };