Files
WickedEngine/Editor/MaterialWindow.h
T
Turánszki János 180ddc3586 0.49 (#160)
* renderer updates: material shadertype, customshaders

* custom shader updates

* hologram fix

* editor windows refactor

* major gui update:
- gui no longer lifetime manager
- window no longer needs gui to construct
- removed gui constructors/destructors
- rewritten every editor window

* renderer update

* gui hasfocus fix

* editor fix

* renderpath upgrades: hybrid forward-deferred

* fix

* water ripple refactor

* cmake fix

* cmake fix

* renderer fix

* volumetric light fix

* customshader stencilref

* cmake fix

* rtdeferred fix

* editor update

* raytraced shadows denoise

* anisotropic shader

* sss stencil greater

* added cartoon shader

* using precomputed tangents

* added unlit object shader

* importer update

* editor update

* editor fix

* vulkan envmap rendering fix

* terrain shader simplification (normal texture mapping instead of triplanar)

* added subsurface profiles, reduced gbuffer

* denoise disocclusion fallback

* editor fix

* more sorting priority for blend than instancing

* hairparticle culling

* particle updates; font update instancing instead of index buffer; vulkan/dx12 fixes;

* shader fixes

* hairparticle trianglestrip and no cross section

* editor fix

* cam wnd update

* terrain shader fix
2020-10-17 13:17:07 +02:00

66 lines
1.8 KiB
C++

#pragma once
#include "WickedEngine.h"
class EditorComponent;
class MaterialWindow : public wiWindow
{
public:
void Create(EditorComponent* editor);
wiECS::Entity entity;
void SetEntity(wiECS::Entity entity);
wiTextInputField materialNameField;
wiButton newMaterialButton;
wiCheckBox shadowCasterCheckBox;
wiCheckBox useVertexColorsCheckBox;
wiCheckBox specularGlossinessCheckBox;
wiCheckBox occlusionPrimaryCheckBox;
wiCheckBox occlusionSecondaryCheckBox;
wiCheckBox windCheckBox;
wiSlider normalMapSlider;
wiSlider roughnessSlider;
wiSlider reflectanceSlider;
wiSlider metalnessSlider;
wiSlider refractionIndexSlider;
wiSlider emissiveSlider;
wiSlider pomSlider;
wiSlider displacementMappingSlider;
wiSlider texAnimFrameRateSlider;
wiSlider texAnimDirectionSliderU;
wiSlider texAnimDirectionSliderV;
wiSlider texMulSliderX;
wiSlider texMulSliderY;
wiSlider alphaRefSlider;
wiComboBox shaderTypeComboBox;
wiComboBox blendModeComboBox;
wiComboBox sssComboBox;
wiComboBox shadingRateComboBox;
wiLabel texture_baseColor_Label;
wiLabel texture_normal_Label;
wiLabel texture_surface_Label;
wiLabel texture_displacement_Label;
wiLabel texture_emissive_Label;
wiLabel texture_occlusion_Label;
wiButton texture_baseColor_Button;
wiButton texture_normal_Button;
wiButton texture_surface_Button;
wiButton texture_displacement_Button;
wiButton texture_emissive_Button;
wiButton texture_occlusion_Button;
wiTextInputField texture_baseColor_uvset_Field;
wiTextInputField texture_normal_uvset_Field;
wiTextInputField texture_surface_uvset_Field;
wiTextInputField texture_displacement_uvset_Field;
wiTextInputField texture_emissive_uvset_Field;
wiTextInputField texture_occlusion_uvset_Field;
wiComboBox colorComboBox;
wiColorPicker colorPicker;
};