|
|
|
|
|
|
|
|
|
|
m_ShadowSettings.maxShadowDistance = shadowSettings.maxShadowDistance; |
|
|
|
//m_ShadowSettings.directionalLightNearPlaneOffset = commonSettings.shadowNearPlaneOffset;
|
|
|
|
|
|
|
|
m_ShadowSettings.enabled = m_FrameSettings.enableShadow; |
|
|
|
} |
|
|
|
|
|
|
|
public void ConfigureForShadowMask(bool enableBakeShadowMask, CommandBuffer cmd) |
|
|
|
|
|
|
m_CurrentDebugDisplaySettings.fullScreenDebugMode != FullScreenDebugMode.None || |
|
|
|
m_CurrentDebugDisplaySettings.colorPickerDebugSettings.colorPickerMode != ColorPickerDebugMode.None) |
|
|
|
{ |
|
|
|
m_ShadowSettings.enabled = m_FrameSettings.enableShadow; |
|
|
|
|
|
|
|
var lightingDebugSettings = m_CurrentDebugDisplaySettings.lightingDebugSettings; |
|
|
|
var debugAlbedo = new Vector4(lightingDebugSettings.debugLightingAlbedo.r, lightingDebugSettings.debugLightingAlbedo.g, lightingDebugSettings.debugLightingAlbedo.b, 0.0f); |
|
|
|
var debugSmoothness = new Vector4(lightingDebugSettings.overrideSmoothness ? 1.0f : 0.0f, lightingDebugSettings.overrideSmoothnessValue, 0.0f, 0.0f); |
|
|
|