added sun to gui
This commit is contained in:
parent
37d3475b71
commit
edc1cb2a91
@ -181,6 +181,10 @@ void showGUI() {
|
||||
if (ImGui::Button("Texture", ImVec2(60, 20))) {
|
||||
planetTex = Core::LoadTexture(planetTexPaths[std::abs(++planetTexIndex % 20)]);
|
||||
}
|
||||
ImGui::SameLine();
|
||||
if (ImGui::Button("Sun", ImVec2(60, 20))) {
|
||||
sunTex = Core::LoadTexture(sunTexPaths[std::abs(++sunTexIndex % 5)]);
|
||||
}
|
||||
|
||||
ImGui::Text("PBR Settings");
|
||||
ImGui::Checkbox("Lighting Model", &lightingCheck);
|
||||
|
Loading…
Reference in New Issue
Block a user