Godot version:
Godot 3.1 beta 10
OS/device including version:
Issue description:
There are some options to enable MSAA in Project Setting, while not one related to FXAA.
I want get a basic AA effect with "cheapest" cost. How can I enable FXAA for my whole 3D scene?
Steps to reproduce:
Minimal reproduction project:
This is discussed in https://github.com/godotengine/godot/issues/25843 which has a similar goal. FXAA was available in Godot 2.1, but it wasn't implemented when the rendering engine was rewritten in Godot 3.0. It may make a comeback eventually (after 3.1, that is).
Apparently, it's possible to implement FXAA yourself using a shader and viewport but I haven't found a Godot project demonstrating this.
There is a code that works (here).
You just have to add it to MeshInstance Quad that is parented to the camera and edit it for 3.x (i will give the code if you can't convert it).
For a FXAA shader, see also this gist. (It's being used in the game High Hat, which uses the GLES2 renderer.)
https://github.com/atomius0/Godot-3.1-FXAA-Shader
Hi @Calinou and @OBKF , I just trying to use a FXAA Shader in Godot 3.1 GLES3. I checked the @OBKF link and @Calinou ones but neither works ok in GLES3. Do you have any idea?
Thx in advance
That shader is 3rd-party, you can only hope for the author of it to help.
Thanks @Zireael07 for your answer. Have you tried any FXAA test in Godot 3.1 GLES3 with good results?
@marcosjouron The version provided by @Calinou works the best and it works fine.
What are the issues you are facing? can you provide screenshots or something?
Oussama sorry for the delay, i didn't (realice) and read your answer. Thx for your time. Finally I don't need that any more and I detached it from my tasks. By the way I was two weeks ago in Poznanat GodotCon were you?
Using 3.1.1 still no FXAA. Very disappointing.
@rico345100 You can use the shader I linked here: https://github.com/godotengine/godot/issues/26646#issuecomment-501291571
Also, please don't bump issues without contributing significant new information; use the :+1: reaction button on the first post instead.
@marcosjouron Glad I could help. No unfortunately I couldn't be there, maybe another time.
Most helpful comment
@rico345100 You can use the shader I linked here: https://github.com/godotengine/godot/issues/26646#issuecomment-501291571
Also, please don't bump issues without contributing significant new information; use the :+1: reaction button on the first post instead.