atomius0 / Godot-3.1-FXAA-Shader

FXAA Shader for Godot 3.1 GLES2 renderer
12 stars 3 forks source link

fxaa_spatial.shader #1

Open Zizico2 opened 5 years ago

Zizico2 commented 5 years ago

Hi @atomius0! First of all thx for this fxaa implementation! I am failling to understand what the "fxaa_spatial" shader is used for. No file refers it and if I delete it everything works just fine. Can you help me out?

atomius0 commented 5 years ago

Hi, The fxaa_spatial shader is used by "scenes/Main_spatial.tscn". It's just a modified version of the fxaa shader for use in 3D space instead of 2D space. You can use it for making a clear object, like a piece of glass, where everything you see through it will be rendered with fxaa.