|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
private HDRenderPipeline() |
|
|
|
{ } |
|
|
|
{} |
|
|
|
|
|
|
|
[SerializeField] |
|
|
|
private HDRenderPipelineSetup m_Setup; |
|
|
|
|
|
|
public SkyParameters skyParametersToUse |
|
|
|
{ |
|
|
|
get |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (SkyParametersSingleton.overrideSettings) |
|
|
|
return SkyParametersSingleton.overrideSettings; |
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
readonly DebugParameters m_DebugParameters = new DebugParameters(); |
|
|
|
|
|
|
|
public DebugParameters debugParameters |
|
|
|
{ |
|
|
|
get { return m_DebugParameters; } |
|
|
|
|
|
|
m_ShadowSettings.directionalLightCascades = new Vector3(commonSettings.shadowCascadeSplit0, commonSettings.shadowCascadeSplit1, commonSettings.shadowCascadeSplit2); |
|
|
|
m_ShadowSettings.maxShadowDistance = commonSettings.shadowMaxDistance; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
{ |
|
|
|
{ |
|
|
|
public bool disableTileAndCluster = true; // For debug / test
|
|
|
|
public bool disableTileAndCluster = false; // For debug / test
|
|
|
|
public bool disableDeferredShadingInCompute = true; |
|
|
|
public bool enableSplitLightEvaluation = true; |
|
|
|
public bool enableComputeLightEvaluation = false; |
|
|
|
|
|
|
public bool enableClustered = false; |
|
|
|
public bool disableFptlWhenClustered = true; // still useful on opaques. Should be false by default to force tile on opaque.
|
|
|
|
public bool enableBigTilePrepass = false; |
|
|
|
public bool enableClustered = true; |
|
|
|
public bool disableFptlWhenClustered = false; // still useful on opaques. Should be false by default to force tile on opaque.
|
|
|
|
public bool enableBigTilePrepass = true; |
|
|
|
} |
|
|
|
|
|
|
|
public struct HDCamera |
|
|
|