74cb74d3c9
- namespace refactor (example: wiGraphics:: -> wi::graphics) - provided namespace compatibility macro for old user code: WICKEDENGINE_BACKWARDS_COMPATIBILITY_0_59 - resource manager will return `Resource` instead of `shared_ptr<Resource>` objects - MAD shader optimizations - implemented alpha to coverage with alpha tested materials when MSAA is enabled - alpha testing fix with transparent shadow maps - TLAS and scene buffers will be recreated less frequently when things get added/removed from the scene
56 lines
1.7 KiB
C++
56 lines
1.7 KiB
C++
#pragma once
|
|
#include "WickedEngine.h"
|
|
|
|
class EditorComponent;
|
|
|
|
class MaterialWindow : public wi::gui::Window
|
|
{
|
|
public:
|
|
void Create(EditorComponent* editor);
|
|
|
|
wi::ecs::Entity entity;
|
|
void SetEntity(wi::ecs::Entity entity);
|
|
|
|
wi::gui::TextInputField materialNameField;
|
|
wi::gui::Button newMaterialButton;
|
|
wi::gui::CheckBox shadowReceiveCheckBox;
|
|
wi::gui::CheckBox shadowCasterCheckBox;
|
|
wi::gui::CheckBox useVertexColorsCheckBox;
|
|
wi::gui::CheckBox specularGlossinessCheckBox;
|
|
wi::gui::CheckBox occlusionPrimaryCheckBox;
|
|
wi::gui::CheckBox occlusionSecondaryCheckBox;
|
|
wi::gui::CheckBox windCheckBox;
|
|
wi::gui::CheckBox doubleSidedCheckBox;
|
|
wi::gui::Slider normalMapSlider;
|
|
wi::gui::Slider roughnessSlider;
|
|
wi::gui::Slider reflectanceSlider;
|
|
wi::gui::Slider metalnessSlider;
|
|
wi::gui::Slider emissiveSlider;
|
|
wi::gui::Slider transmissionSlider;
|
|
wi::gui::Slider refractionSlider;
|
|
wi::gui::Slider pomSlider;
|
|
wi::gui::Slider displacementMappingSlider;
|
|
wi::gui::Slider subsurfaceScatteringSlider;
|
|
wi::gui::Slider texAnimFrameRateSlider;
|
|
wi::gui::Slider texAnimDirectionSliderU;
|
|
wi::gui::Slider texAnimDirectionSliderV;
|
|
wi::gui::Slider texMulSliderX;
|
|
wi::gui::Slider texMulSliderY;
|
|
wi::gui::Slider alphaRefSlider;
|
|
wi::gui::ComboBox shaderTypeComboBox;
|
|
wi::gui::ComboBox blendModeComboBox;
|
|
wi::gui::ComboBox shadingRateComboBox;
|
|
wi::gui::Slider sheenRoughnessSlider;
|
|
wi::gui::Slider clearcoatSlider;
|
|
wi::gui::Slider clearcoatRoughnessSlider;
|
|
|
|
wi::gui::ComboBox colorComboBox;
|
|
wi::gui::ColorPicker colorPicker;
|
|
|
|
wi::gui::ComboBox textureSlotComboBox;
|
|
wi::gui::Button textureSlotButton;
|
|
wi::gui::Label textureSlotLabel;
|
|
wi::gui::TextInputField textureSlotUvsetField;
|
|
};
|
|
|