0 votes

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

asked Oct 31, 2017 in Engine by keke (145 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 How to use this Q&A? before posting your first questions.