|
|
|
|
|
|
DebugMenuManager.instance.AddDebugItem<bool>("Rendering", "Enable Atmospheric Scattering",() => renderingDebugSettings.enableAtmosphericScattering, (value) => renderingDebugSettings.enableAtmosphericScattering = (bool)value); |
|
|
|
DebugMenuManager.instance.AddDebugItem<bool>("Rendering", "Enable Distortion",() => renderingDebugSettings.enableDistortion, (value) => renderingDebugSettings.enableDistortion = (bool)value); |
|
|
|
DebugMenuManager.instance.AddDebugItem<bool>("Rendering", "Enable Subsurface Scattering",() => renderingDebugSettings.enableSSSAndTransmission, (value) => renderingDebugSettings.enableSSSAndTransmission = (bool)value); |
|
|
|
DebugMenuManager.instance.AddDebugItem<bool>("Rendering", "Enable Stereo Rendering",() => renderingDebugSettings.allowStereo, (value) => renderingDebugSettings.allowStereo = (bool)value); |
|
|
|
DebugMenuManager.instance.AddDebugItem<int>("Rendering", kFullScreenDebugMode, () => (int)fullScreenDebugMode, (value) => fullScreenDebugMode = (FullScreenDebugMode)value, DebugItemFlag.None, new DebugItemHandlerIntEnum(DebugDisplaySettings.renderingFullScreenDebugStrings, DebugDisplaySettings.renderingFullScreenDebugValues)); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
public bool enableGaussianPyramid = true; |
|
|
|
public bool enableSSSAndTransmission = true; |
|
|
|
public bool enableAtmosphericScattering = true; |
|
|
|
public bool allowStereo = true; |
|
|
|
} |
|
|
|
|
|
|
|
public enum ShadowMapDebugMode |
|
|
|