Custom Sky Color and unify some stuff (#1779)
This commit is contained in:
21
src/views/world/view_vfx.cpp
Normal file
21
src/views/world/view_vfx.cpp
Normal file
@ -0,0 +1,21 @@
|
||||
#include "views/view.hpp"
|
||||
|
||||
#include <imgui_internal.h>
|
||||
|
||||
|
||||
namespace big
|
||||
{
|
||||
void view::vfx()
|
||||
{
|
||||
ImGui::Checkbox("Enable Custom Sky Color", &g.vfx.enable_custom_sky_color);
|
||||
|
||||
ImGui::ColorEdit4("VFX_AZIMUTH_EAST"_T.data(), (float*)&g.vfx.azimuth_east);
|
||||
ImGui::ColorEdit4("VFX_AZIMUTH_WEST"_T.data(), (float*)&g.vfx.azimuth_west);
|
||||
ImGui::ColorEdit4("VFX_AZIMUTH_TRANSITION"_T.data(), (float*)&g.vfx.azimuth_transition);
|
||||
ImGui::ColorEdit4("VFX_ZENITH"_T.data(), (float*)&g.vfx.zenith);
|
||||
|
||||
ImGui::Separator();
|
||||
|
||||
ImGui::SliderFloat("VFX_STARS_INTENSITY"_T.data(), &g.vfx.stars_intensity, 0, 20);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user