mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 19:41:20 +02:00
Adjust commenting out of old stars rendering code
This commit is contained in:
parent
4c662b0d60
commit
9cbfe195cd
1 changed files with 9 additions and 11 deletions
|
@ -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 };
|
||||||
|
|
Loading…
Reference in a new issue