0 votes

I'm using Godot 3.1.1 and just realized that there is no available FXAA options. According to some post, Godot 2 supports FXAA, but some reason it's took out from 3. So I try to get FXAA for Godot 3.1, but couldn't find any.

I don't want to publish my game without Anti Aliasing. Is there a way to apply FXAA in Godot 3.1.1 which using GLES3?

in Engine by (138 points)
edited by

1 Answer

+1 vote
Best answer

I had the same problem, in after 3.1 you just have MSAA (which is prettier, more accurate, but heavier on performance), which you can turn on in the project settings. Having FXAA in your game is just a matter of one shader. You can download the scene from here:
[EDIT - fixed link]
https://gist.github.com/cart/7d2da58eb28c75c0952787f29f3e562f

Just pull the scene with the shader in your game and it should work (it works for me).

I suggest you add option for selection AA in your game (FXAA, MSAA 2x, 4x,...).

by (709 points)
selected by

Thanks but it according the script inside, that fxaa implemenation is for GLES2. My project using GLES3. Does it work with GLES3?

Uh, you're right, sorry for the wrong link, this is the one that is working for me (I also use GLES3).

https://gist.github.com/cart/7d2da58eb28c75c0952787f29f3e562f

(I'll check it when I come home to be 100% sure if it's the one)

My goodness, that works thank you!

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.