|
|
|
|
|
|
|
|
|
|
public float debugOverlayRatio = 0.33f; |
|
|
|
public FullScreenDebugMode fullScreenDebugMode = FullScreenDebugMode.None; |
|
|
|
public float fullscreenDebugMip = 0; |
|
|
|
public float fullscreenDebugMip = 0.0f; |
|
|
|
|
|
|
|
public MaterialDebugSettings materialDebugSettings = new MaterialDebugSettings(); |
|
|
|
public LightingDebugSettings lightingDebugSettings = new LightingDebugSettings(); |
|
|
|
|
|
|
DebugMenuManager.instance.AddDebugItem<LightingDebugPanel, float>(kShadowMinValueDebug, () => lightingDebugSettings.shadowMinValue, (value) => lightingDebugSettings.shadowMinValue = (float)value); |
|
|
|
DebugMenuManager.instance.AddDebugItem<LightingDebugPanel, float>(kShadowMaxValueDebug, () => lightingDebugSettings.shadowMaxValue, (value) => lightingDebugSettings.shadowMaxValue = (float)value); |
|
|
|
DebugMenuManager.instance.AddDebugItem<LightingDebugPanel, int>(kFullScreenDebugMode, () => (int)fullScreenDebugMode, (value) => fullScreenDebugMode = (FullScreenDebugMode)value, DebugItemFlag.None, new DebugItemHandlerIntEnum(DebugDisplaySettings.lightingFullScreenDebugStrings, DebugDisplaySettings.lightingFullScreenDebugValues)); |
|
|
|
DebugMenuManager.instance.AddDebugItem<LightingDebugPanel, float>( |
|
|
|
DebugMenuManager.instance.AddDebugItem<LightingDebugPanel, uint>( |
|
|
|
kFullScreenDebugMip, |
|
|
|
() => |
|
|
|
{ |
|
|
|