Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2020.3
2020.3.7f1
2021.2
2022.1
2022.2
Issue ID
1402429
Regression
No
Procedural Shader is not displaying correctly when using SV_POSITION
How to reproduce:
1. Open the attached project (ShaderTest.zip)
2. Open scene Scenes/SampleScene
3. Observe the GameObject "Shader Plane" in the Scene view and Game view, positioning the Camera right above the Plane
Expected result: large pink markings are visible on the entire Plane
Actual result: the Plane is mostly black with little to no pink markings visible
Reproducible with: 2019.4.37f1, 2020.3.31f1, 2021.2.16f1, 2022.1.0b13, 2022.2.0a8
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
- [HDRP] HDRP Look Dev has no button leading to the documentation
- [Android] Artifacts appear when instantiating a prefab on a PowerVR Rogue GPU device
- Skinned Mesh Renderer with enabled 'Skinned Motion Vectors' flickers when Ray Tracing with Screen Space Global Illumination is used
- [HDRP] "Show on start" checkbox is too close to the window border and is not aligned with the other elements
- RenderGraph shows incorrect values for some Depth Attachment Format and Depth Texture Format options
Resolution Note (2022.2.X):
This issue was caused by a mistake in the user's code, declaring "const float3 AA" in the global scope.