Skip to content

Commit

Permalink
Bugfix: Legacy Canvas UI no longer drawing
Browse files Browse the repository at this point in the history
  • Loading branch information
pastasfuture committed Oct 19, 2021
1 parent 225b344 commit a28da49
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---------------------------------------------------------------------------------------------------------------------------
Bugfix: **Legacy Canvas UI no longer drawing**
---------------------------------------------------------------------------------------------------------------------------
Legacy Canvas UI broken from the **Canvas order is not considered for legacy Canvas UI** commit. Both are now fixed.

---------------------------------------------------------------------------------------------------------------------------
Bugfix: **Fix Precision issues with UV Animation Pan Linear and Pan Sin Modes**
---------------------------------------------------------------------------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions Runtime/RenderPipeline/PSXRenderPipeline.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1623,6 +1623,7 @@ static void DrawLegacyCanvasUI(ScriptableRenderContext context, Camera camera, r
var drawSettings = new DrawingSettings(PSXShaderPassNames.s_SRPDefaultUnlit, sortingSettings);
var filterSettings = new FilteringSettings()
{
renderQueueRange = RenderQueueRange.all,
layerMask = camera.cullingMask, // Respect the culling mask specified on the camera so that users can selectively omit specific layers from rendering to this camera.
renderingLayerMask = UInt32.MaxValue, // Everything
excludeMotionVectorObjects = false
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.hauntedpsx.render-pipelines.psx",
"version": "1.6.0",
"version": "1.6.1",
"displayName": "HauntedPS1 Render Pipeline (HPSXRP)",
"description": "A scriptable render pipeline for emulating Playstation-1 and N64 style graphics on contemporary hardware.",
"unity": "2019.3",
Expand Down

0 comments on commit a28da49

Please sign in to comment.