Search Issue Tracker
By Design
Votes
0
Found in [Package]
6.9.1, 7.1.1
Issue ID
1186309
Regression
No
Shadows are not projected correctly when using Shadow Attenuation from Shadows.hlsl in a Custom Sub Graph Function
How to reproduce:
1. Download the tester-attached package(ShadowProjection.unitypackage)
2. Create a new Universal Render Pipeline project
3. Import the package and set the included Render Pipeline Asset
4. Open the Shadow Issues/3. Shadow Projection/Shadows Projection Scene
5. Compare the Simple Lit Shadows GameObject to Custom Shadows/Custom Shadows Without mask GameObjects
Expected result: Custom Shadows/Custom Shadows Without mask GameObjects have correct shadow projections
Actual result: Custom Shadows/Custom Shadows Without mask GameObjects have incorrect projections
Reproducible with: 2019.2.7f2, 2019.3.0b4, 2020.1.0a5
Could not test with: 2017.4.32f1(ShaderGraph unavailable), 2018.4.10f1(Shader incompatibility issues)
Reproducible with package versions: 6.9.1, 7.1.1
Could not test with package versions: 6.9.0(Shader Incompatibility issues)
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
- Foldout arrow indent is misaligned in the Inspector when used in Custom Type
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
Resolution Note:
The Position node in the Sub Graph was set to Object Space, which was causing the shadows to be projected incorrectly. Changing Space to World Space fixes the shadow projection