mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 21:11:50 +00:00
start splitting render pipelines & remove the obsolete world fog parameter
This commit is contained in:
parent
07c35f001c
commit
22f09d3659
8 changed files with 223 additions and 147 deletions
|
|
@ -310,12 +310,6 @@ std::shared_ptr<UINode> create_debug_panel(
|
|||
bar->setConsumer([&](double val) { worldInfo.daytime = val; });
|
||||
panel->add(bar);
|
||||
}
|
||||
if (allowDebugCheats) {
|
||||
auto bar = std::make_shared<TrackBar>(gui, 0.0f, 1.0f, 0.0f, 0.005f, 8);
|
||||
bar->setSupplier([&]() { return worldInfo.fog; });
|
||||
bar->setConsumer([&](double val) { worldInfo.fog = val; });
|
||||
panel->add(bar);
|
||||
}
|
||||
{
|
||||
auto checkbox = std::make_shared<FullCheckBox>(
|
||||
gui, L"Show Chunk Borders", glm::vec2(400, 24)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue