180ddc3586
* 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
79 lines
2.2 KiB
C++
79 lines
2.2 KiB
C++
#pragma once
|
|
#include "WickedEngine.h"
|
|
|
|
class EditorComponent;
|
|
|
|
enum PICKTYPE
|
|
{
|
|
PICK_VOID = 0,
|
|
PICK_OBJECT = RENDERTYPE_OPAQUE | RENDERTYPE_TRANSPARENT | RENDERTYPE_WATER,
|
|
PICK_LIGHT = 8,
|
|
PICK_DECAL = 16,
|
|
PICK_ENVPROBE = 32,
|
|
PICK_FORCEFIELD = 64,
|
|
PICK_EMITTER = 128,
|
|
PICK_HAIR = 256,
|
|
PICK_CAMERA = 512,
|
|
PICK_ARMATURE = 1024,
|
|
PICK_SOUND = 2048,
|
|
};
|
|
|
|
class RendererWindow : public wiWindow
|
|
{
|
|
public:
|
|
void Create(EditorComponent* editorcomponent);
|
|
|
|
wiCheckBox vsyncCheckBox;
|
|
wiCheckBox occlusionCullingCheckBox;
|
|
wiSlider resolutionScaleSlider;
|
|
wiSlider gammaSlider;
|
|
wiCheckBox voxelRadianceCheckBox;
|
|
wiCheckBox voxelRadianceDebugCheckBox;
|
|
wiCheckBox voxelRadianceSecondaryBounceCheckBox;
|
|
wiCheckBox voxelRadianceReflectionsCheckBox;
|
|
wiSlider voxelRadianceVoxelSizeSlider;
|
|
wiSlider voxelRadianceConeTracingSlider;
|
|
wiSlider voxelRadianceRayStepSizeSlider;
|
|
wiSlider voxelRadianceMaxDistanceSlider;
|
|
wiCheckBox partitionBoxesCheckBox;
|
|
wiCheckBox boneLinesCheckBox;
|
|
wiCheckBox debugEmittersCheckBox;
|
|
wiCheckBox debugForceFieldsCheckBox;
|
|
wiCheckBox debugRaytraceBVHCheckBox;
|
|
wiCheckBox wireFrameCheckBox;
|
|
wiCheckBox variableRateShadingClassificationCheckBox;
|
|
wiCheckBox variableRateShadingClassificationDebugCheckBox;
|
|
wiCheckBox advancedLightCullingCheckBox;
|
|
wiCheckBox debugLightCullingCheckBox;
|
|
wiCheckBox tessellationCheckBox;
|
|
wiCheckBox envProbesCheckBox;
|
|
wiCheckBox gridHelperCheckBox;
|
|
wiCheckBox cameraVisCheckBox;
|
|
wiCheckBox pickTypeObjectCheckBox;
|
|
wiCheckBox pickTypeEnvProbeCheckBox;
|
|
wiCheckBox pickTypeLightCheckBox;
|
|
wiCheckBox pickTypeDecalCheckBox;
|
|
wiCheckBox pickTypeForceFieldCheckBox;
|
|
wiCheckBox pickTypeEmitterCheckBox;
|
|
wiCheckBox pickTypeHairCheckBox;
|
|
wiCheckBox pickTypeCameraCheckBox;
|
|
wiCheckBox pickTypeArmatureCheckBox;
|
|
wiCheckBox pickTypeSoundCheckBox;
|
|
wiSlider speedMultiplierSlider;
|
|
wiCheckBox transparentShadowsCheckBox;
|
|
wiComboBox shadowTypeComboBox;
|
|
wiComboBox shadowProps2DComboBox;
|
|
wiComboBox shadowPropsCubeComboBox;
|
|
wiComboBox MSAAComboBox;
|
|
wiCheckBox temporalAACheckBox;
|
|
wiCheckBox temporalAADebugCheckBox;
|
|
wiComboBox textureQualityComboBox;
|
|
wiSlider mipLodBiasSlider;
|
|
wiSlider raytraceBounceCountSlider;
|
|
|
|
wiCheckBox freezeCullingCameraCheckBox;
|
|
|
|
uint32_t GetPickType() const;
|
|
};
|
|
|