Skip to content
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

antialiasing #11

Closed
Trusiak opened this issue May 12, 2020 · 2 comments
Closed

antialiasing #11

Trusiak opened this issue May 12, 2020 · 2 comments

Comments

@Trusiak
Copy link

Trusiak commented May 12, 2020

Hello,

Is there any way to enable anti-aliasing? This method has been completely removed from the renderer method, I don't know if it's intentional on your part. ^^

@yandeu
Copy link
Member

yandeu commented May 12, 2020

You still using the Phaser Extension I presume?

You can add it when you add the custom canvas to your Phaser config file.

 ...Canvas({ antialias: true })

also in the Scene3D you can adjust the PixelRatio:

 this.third.renderer.setPixelRatio(window.devicePixelRatio)

@Trusiak
Copy link
Author

Trusiak commented May 15, 2020

Yes, thank you - it works! ^^

@yandeu yandeu closed this as completed May 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants