alelievr / HDRP-UI-Camera-Stacking

Optimized implementation of camera stacking for UI only in HDRP.
MIT License
173 stars 22 forks source link

UI Mask not working. #8

Closed MPrzekop closed 2 years ago

MPrzekop commented 2 years ago

UI Mask component seems to be ignored by the custom renderer. with standard camera image with HD Camera UI image

Unity 2020.3.20f HDRP 10.7.0

alelievr commented 2 years ago

Hello, thanks for the bug report. This is due to the lack of depth buffer when rendering the UI elements, I'll make a fix

alelievr commented 2 years ago

That should be fixed with 1.1.1 release :) Fix hash: https://github.com/alelievr/HDRP-UI-Camera-Stacking/commit/bb85bbfb9d531b5a67a871d9b56ecacc00adfd1e