New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce new option for antialiased rendering #87

Closed
gurkenlabs opened this Issue Feb 22, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@ghost
Copy link
Collaborator

ghost commented Feb 22, 2018

Currently, we always disable antialiasing. This needs to be configurable.

The following settings need to be considered:

RenderingHints.KEY_ANTIALIASING

VALUE_ANTIALIAS_OFF (default)
VALUE_ANTIALIAS_ON

This affects drawing Shape2D instances.

RenderingHints.KEY_INTERPOLATION

VALUE_INTERPOLATION_NEAREST_NEIGHBOR (default)
VALUE_INTERPOLATION_BILINEAR
VALUE_INTERPOLATION_BICUBIC (drops frames to 3)

This affects color interpolation and is only of interest for non-pixelart games.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment