Blur effect on live scene?

Jim Graham james.graham at
Thu Aug 13 17:40:16 UTC 2015

What I would do to blur an entire scene is to add the blur to the top 
level of it.  If the stuff on top of the blur is re-rendering a lot, 
then I'd add setCache(true) to that same top-level node:

Group newroot = new Group(newroot, overlay);
// Remember to undo effect and cache when removing overlay

If the blur radius is going to be animated:

Group blurroot = new Group(oldroot);
// Possibly set cache on blurroot if overlay animates more
// than blur radius...
Group newroot = new Group(blurroot, overlay);

(now animating the blur radius will hopefully pick up the data from the 
cached oldroot, but I'd need some testing to make sure we've done our 
bookkeeping correctly for that case, otherwise we may end up 
re-rendering the oldroot scene every time anyway.)


On 8/10/2015 4:04 AM, Tobias Bley wrote:
> Hi,
> is it possible to set a blur effect on the complete scene or maybe a part of it? I would like to place a pane over another pane (via StackPane) which blurs the underlaying pane… like a „milk glass effect“…
> Any ideas?
> Best regards,
> Tobi

More information about the openjfx-dev mailing list