Search Issue Tracker
Fixed in 2022.3.11f1
Fixed in 2023.2.X
Votes
1
Found in
2022.2.0b16
2023.1.0a19
2023.2.0a1
Issue ID
UUM-19835
Regression
No
Full screen renderer feature does not work with stencil
The full screen renderer feature is built to work with the full screen shadergraph target. The shadergraph target exposes settings for stencil but these have no affect when used with the renderer feature.
Steps to repro:
- open attached project
Expected: The image effect (drawing green to the screen) only writes to pixels covered by the cubes.
Actual: The entire screen is green
The repro project explained:
All cubes are on the "test" layer, all spheres are on the "default" layer.
In the renderer the "test" layer is drawn using "draw objects" writing a value of 1 into the stencil buffer.
The full screen renderer feature is executed after render objects using the "FullscreenStencilTest" material.
The shadergraph for the "FullscreenStencilTest" is configured with a Ref 1, Comp Equal stencil setting and should therefore only show on pixels occupied by the "test" layer geometry.
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
- “Handles.Repaint called outside an editor OnGUI" error is thrown in the Console when creating a new Tile Palette from the Tile Palette Overlay in Scene view
- UI Shader Graph’s Main Preview has a right-click context menu with different preview options which do not work for a UI Shader Graph and does nothing when clicked
- Shader Graph window icon is blurry and low quality when the Shader Graph is created using the Universal 2D template
- “Export HDRP Sky to Image” command error message does not indicate that Game view must be visible
- Adaptive Performance Settings Framerate field doesn't display the "supported without VSync" warning, when the field is collapsed in Build Profiles
Resolution Note (fix version 2022.3.11f1):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-26399
Resolution Note (fix version 2023.2):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-26399