Skip to content

Commit

Permalink
Implement Light Editor Interface (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
datacrystals committed Apr 3, 2022
1 parent c366a74 commit 15adb46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Core/Editor/Widgets/GUI_Widget_ObjectProperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ void Widget_ObjectProperties::Draw() {
float SpecularColor[3];
VecToFloat(&SceneManager_->Scenes_[SceneManager_->ActiveScene_]->DirectionalLights[Index]->Specular, SpecularColor);
ImGui::ColorEdit3("Specular", SpecularColor);
ImGui::SameLine();
ImGui::HelpMarker("Controls the color of the reflection. Generally, you shouldn't do this with a directional light, use a spot or point light instead.");
FloatToVec(SpecularColor, &SceneManager_->Scenes_[SceneManager_->ActiveScene_]->DirectionalLights[Index]->Specular);
ImGui::Separator();
Expand Down

0 comments on commit 15adb46

Please sign in to comment.