refactor(srp): move urp shadow and prepass core blocks into renderer
This commit is contained in:
@@ -283,13 +283,15 @@ namespace XCEngine.Rendering.Universal
|
||||
private void ApplyInferredStandaloneStageRequests(
|
||||
ScriptableRenderPipelinePlanningContext context)
|
||||
{
|
||||
if (HasQueuedPassForStage(
|
||||
if (!context.HasExplicitShadowCasterStageConfiguration() &&
|
||||
HasQueuedPassForStage(
|
||||
CameraFrameStage.ShadowCaster))
|
||||
{
|
||||
context.RequestShadowCasterStage();
|
||||
}
|
||||
|
||||
if (HasQueuedPassForStage(
|
||||
if (!context.HasExplicitDepthOnlyStageConfiguration() &&
|
||||
HasQueuedPassForStage(
|
||||
CameraFrameStage.DepthOnly))
|
||||
{
|
||||
context.RequestDepthOnlyStage();
|
||||
|
||||
Reference in New Issue
Block a user