Search Issue Tracker
Fixed in f5291952c37acce53036349d0315a7544be8a463
Votes
0
Found in [Package]
11.1312
Issue ID
1296788
Regression
No
[Shadergraph] View Direction node in tangent space uses inaccurate algorithm, incorrect result
Background: the transform node from world to tangent had to be fixed, as it used an algorithm that assumed that the tangent space basis was always orthonormal, which is not always the case. The view direction node, when in tangent space, used the same algorithm as the transform node used to, and hasn't been updated.
Repro steps:
1. Open the attached shadergraph in Universal RP
Expected result: the preview is solid black
Actual result: the preview has color in between the vertices, indicating that the View Direction in tangent space, when transformed to world space, does not exactly match the View Direction in world space (normalized).
Documentation ticket: https://unity3d.atlassian.net/browse/DOC-2825
Relates to https://fogbugz.unity3d.com/f/cases/edit/1217639/
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
Resolution Note (fix version f5291952c37acce53036349d0315a7544be8a463):
View direction node was updated to use the new algorithm also used by the Transform node.
Resolution Note:
View direction node was updated to use the new algorithm also used by the Transform node.