Add 'no sky' via IMaterial::ColorModulate.

* Really should move this out of FrameStageNotify. Only keeping it
  here for demonstration purposes. Might find a better place later.

Signed-off-by: aixxe <me@aixxe.net>
This commit is contained in:
aixxe
2016-12-21 16:05:36 +00:00
parent 8287f60778
commit 3c4ad3d7ae
4 changed files with 30 additions and 0 deletions

View File

@@ -13,6 +13,10 @@ void GUI::DrawConfigurationWindow() {
ImGui::Checkbox("Auto-bunnyhop", &GUI::BunnyHop::Enabled);
ImGui::Spacing();
ImGui::Checkbox("No sky", &GUI::NoSky::Enabled);
ImGui::ColorEdit3("##No sky color", GUI::NoSky::Color);
ImGui::Spacing();
ImGui::PopItemWidth();
ImGui::End();