Skip to content

Commit 6e3fe4d

Browse files
Revert "HDRP - Fix XR shadows culling (#2263)"
This reverts commit fe57257.
1 parent ab31003 commit 6e3fe4d

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

com.unity.render-pipelines.high-definition/CHANGELOG.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## [11.0.0] - 2020-10-21
88

9-
### Fixed
10-
- Fixed XR shadows culling
11-
129
Version Updated
1310
The version number for this package has increased due to a version update of a related graphics package.
1411

com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3256,10 +3256,6 @@ out ScriptableCullingParameters cullingParams
32563256
if (hdCamera.xr.enabled)
32573257
{
32583258
cullingParams = hdCamera.xr.cullingParams;
3259-
3260-
// Sync the FOV on the camera to match the projection from the XR device in order to cull shadows accurately
3261-
if (!camera.usePhysicalProperties)
3262-
camera.fieldOfView = Mathf.Rad2Deg * Mathf.Atan(1.0f / cullingParams.stereoProjectionMatrix.m11) * 2.0f;
32633259
}
32643260
else
32653261
{

0 commit comments

Comments
 (0)