Reputation: 16526
I'm playing around with Unity Image Effects
on a 2d game, specifically I'm trying to blur background of my main menu when game settings are displayed on a popup. I've achieved by using two cameras:
It's working great on Unity Editor, but once I run it on a device (Galaxy S6
) it gets terribly slow. I'm guessing blur effect is just too much for handheld devices, but still I wonder if I could get better results just tweaking camera params, it's hard to believe that a (almost) last generation device can't move this scene (just a fullscreen background with the blur effect and a couple of buttons on top of it) smoothly.
Any idea of things I could try to improve performance?
As a side note, I'm rendering my sprites with 2dToolkit
.
Upvotes: 1
Views: 3539
Reputation: 323
Blur is heavy on mobile devices. Bear in mind that an S6 has a more than full-HD screen. (2560x1440). That is probably more than you testen on your desktop. Do like Jean Luc did. If your background is static, rendertotexture only once.
Upvotes: 1