How to make an overlay that covers UI elements, so i can fade the screen to black? #5709
-
Hi all,
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
I haven't worked on transitions yet, or effects applied to the UI, so this is more of a suggestion. Here is where the transform of the However, I don't think that trying to spawn a texture between the UI and the camera is the correct solution, in my opinion. Depending on how you want your effect to look like, perhaps during the transition you could fade the |
Beta Was this translation helpful? Give feedback.
-
It seems this isn't the way that UI works, so i'm happy to convert it all to normal sprites, and recommend others the same in similar situations. |
Beta Was this translation helpful? Give feedback.
-
You can layer a camera on top using a lower priority to darken the screen. Note that this doesn't work correctly for the UI yet if using 4x MSAA, unfortunately: #5721 I have a workaround for now: HackerFoo@3709a3e My use is to draw on top of the UI, but any shader should work. |
Beta Was this translation helpful? Give feedback.
It seems this isn't the way that UI works, so i'm happy to convert it all to normal sprites, and recommend others the same in similar situations.