Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Blurred background
Started by JonPM Feb 02 2016 12:23 PM

4 replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

JonPM

[GLOBAL: userInfoPane.html]
JonPM
  • Corona Geek

  • 1,077 posts
  • Corona SDK

Apple TV has a beautiful blurred background when an overlay is shown. For instance when you hold down home button and it asks if you want to put device to sleep. Is there a call to use this same effect with overlays in my app?

[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,068 posts
  • Enterprise

Create a snapshot of the screen, drop a Gaussian blur filter on it. Perhaps refresh it each frame if things are changing in the background.

 

Rob



[TOPIC: post.html]
#3

JonPM

[GLOBAL: userInfoPane.html]
JonPM
  • Corona Geek

  • 1,077 posts
  • Corona SDK

It doesn't look like a standard Gaussian blur effect but I'll see what I can do.  Thanks.



[TOPIC: post.html]
#4

JonPM

[GLOBAL: userInfoPane.html]
JonPM
  • Corona Geek

  • 1,077 posts
  • Corona SDK

It looks like the "Alert Template" is what I'm after.  Are templates supported?



[TOPIC: post.html]
#5

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,068 posts
  • Enterprise

We don't support templates.

 

I don't believe we support transparent backgrounds either. If we did, you could snag a screen capture, put a huge Gaussian blur on the screen cap to achieve the effect.




[topic_controls]
[/topic_controls]