Add configurable light size parameter to debug menu
This commit is contained in:
parent
eab8a265f4
commit
6d9cdfd969
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ void draw_lighting() {
|
|||
for(auto& [obj, light] : lights) {
|
||||
auto& transform = engine->get_scene()->get<Transform>(obj);
|
||||
ImGui::DragFloat3((engine->get_scene()->get(obj).name + "Position").c_str(), transform.position.ptr());
|
||||
ImGui::DragFloat((engine->get_scene()->get(obj).name + "Light Size").c_str(), &light.size, 0.1f);
|
||||
}
|
||||
|
||||
ImGui::Text("Environment");
|
||||
|
|
Reference in a new issue