Unity-Technologies / UniversalRenderingExamples

This project contains a collection of Custom Renderer examples. This will be updated as we refine the feature and add more options.
2.03k stars 412 forks source link

DrawFullscreenPass flipping output #57

Closed dr-hansen closed 1 year ago

dr-hansen commented 1 year ago

I am attempting to use a different material to pass into DrawFullscreen Pass. I have also implemented the feature on a 2D Renderer Data, which maybe isn't as intended. It seems to work except that the final image is getting flipped upside down and backwards. Any thoughts on how I might resolve this? It looks like a standard Blit supported a way of inverting scale/offset that might of doing a trick. Hoping for a solution that doesn't involve updating the shader, but maybe that's a possibility as well. Thanks.

dr-hansen commented 1 year ago

The solution to this problem was to select the appropriate layer for "Foremost Sorting Layer" option under Camera Sorting Layer Texture settings.