Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,6 @@ static void InitializeAdditionalCameraData(Camera camera, UniversalAdditionalCam
if (isOverlayCamera)
{
cameraData.requiresOpaqueTexture = false;
cameraData.postProcessingRequiresDepthTexture = false;
}

Matrix4x4 projectionMatrix = camera.projectionMatrix;
Expand Down Expand Up @@ -969,7 +968,7 @@ static void InitializeRenderingData(UniversalRenderPipelineAsset settings, ref C
mainLightCastShadows = (mainLightIndex != -1 && visibleLights[mainLightIndex].light != null &&
visibleLights[mainLightIndex].light.shadows != LightShadows.None);

// If additional lights are shaded per-pixel they cannot cast shadows
// If additional lights are shaded per-vertex they cannot cast shadows
if (settings.additionalLightsRenderingMode == LightRenderingMode.PerPixel)
{
for (int i = 0; i < visibleLights.Length; ++i)
Expand Down