73ee94d114
- Reprojection update - Cloud model changes - Weather map import - Local lights - Environment capture - Volumetric cloud shadow - Aerial perspective for clouds Co-authored-by: Silas Oler <silasmartins@outlook.dk>
36 lines
883 B
C++
36 lines
883 B
C++
#pragma once
|
|
#include "WickedEngine.h"
|
|
|
|
class EditorComponent;
|
|
|
|
class LightWindow : public wi::gui::Window
|
|
{
|
|
public:
|
|
void Create(EditorComponent* editor);
|
|
|
|
EditorComponent* editor = nullptr;
|
|
wi::ecs::Entity entity;
|
|
void SetEntity(wi::ecs::Entity entity);
|
|
|
|
void SetLightType(wi::scene::LightComponent::LightType type);
|
|
|
|
wi::gui::Slider intensitySlider;
|
|
wi::gui::Slider rangeSlider;
|
|
wi::gui::Slider outerConeAngleSlider;
|
|
wi::gui::Slider innerConeAngleSlider;
|
|
wi::gui::CheckBox shadowCheckBox;
|
|
wi::gui::CheckBox haloCheckBox;
|
|
wi::gui::CheckBox volumetricsCheckBox;
|
|
wi::gui::CheckBox staticCheckBox;
|
|
wi::gui::CheckBox volumetricCloudsCheckBox;
|
|
wi::gui::ColorPicker colorPicker;
|
|
wi::gui::ComboBox typeSelectorComboBox;
|
|
wi::gui::ComboBox shadowResolutionComboBox;
|
|
|
|
wi::gui::Label lensflare_Label;
|
|
wi::gui::Button lensflare_Button[7];
|
|
|
|
void ResizeLayout() override;
|
|
};
|
|
|