Search Issue Tracker
Duplicate
Votes
2
Found in
5.1.1p4
Issue ID
714587
Regression
No
[Shadow] Non shadowed areas on the asymetrical rendering.
Steps to reproduce:
1. Open the attached project
2. Open and play scene 'Shadows'
3. Notice shadows look as expected
4. On the script UniversalCamera attached to the "Main Camera" (which computes & sets the camera matrix projection) check "Override Projection"
5. Modify one of the frustum bounds value (for example, set "left_1m" to -6)
6. Notice the shadows on the left get cropped
Increasing camera's field of view value will eventually render shadows correctly, but decrease shadow quality significantly.
Comments (2)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
jpfranssen
Jan 25, 2016 21:37
Possibly duplicate: https://issuetracker.unity3d.com/issues/shadow-moves-in-relation-to-the-object-that-casts-it-when-using-a-custom-projection-matrix
Martin Cervinka
Oct 22, 2015 10:59
Can't check UniversalCamera script, but I do probably the same in my AsymmetricFrustum script. I guess Unity has this issue since beginning. Shadow calculations probably don't care about projection matrix. Just counts with camera's transformation, field of view, ... Yes, you have to set camera's field of view to cover whole frustum not just his asymmetric part and yes that can decrease shadow quality significantly and probably slow down other calculations like culling. :(