Skip to content

How to improve the performance of Shadow in JavaFX #1

@yososs

Description

@yososs

OpenJFX Shadow becomes a practical fps by specifying the following jvm option. It works at about 48fps on my macbook.

-Ddecora.maxLinearConvolveKernelSize=16

Alternatively, you can specify a lightweight blur algorithm.

shadow.setBlurType (BlurType.ONE_PASS_BOX)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions