0 votes

Is there a way to make stuff drawn with _draw() (circles, lines, etc...) anti-aliased?

in Engine by (148 points)

AFAIK, there's no way with godot 2.1.x

with a shader, maybe?

Not even with a shader.

What I did once with particles, is to put them on another viewport and apply a shader on the sprite that used it as texture, that may work with custom drawing too.

If you are going to use a render-to-texture, you could render whatever you want in a texture twice as big, and then draw it at half the size, which will replicate anti-aliasing by drawing subpixels (in a naive way though^^)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.