Questions tagged [fxaa]

FXAA is short for Fast Approximate Anti-Aliasing. This was designed by Timothy Lottes of NVIDIA. It ignores polygons and line edges, and simply analyzes the pixels on the screen. It is a pixel shader program documented in this PDF that runs every frame in a scant millisecond or two. Where it sees pixels that create an artificial edge, it smooths them.

12 questions
3
votes
0 answers

Apply fxaa to scene but except some textures

I have some scene in three.js with static objects like solid cubes and so on. Over this objects I have place some quads each of them is textured with letter image. When I activate fxaa postprocessing main objects looks fine but letters textures…
3
votes
1 answer

Is there a faked antialiasing algorithm using the depth buffer?

Lately I implemented the FXAA algorithm into my OpenGL application. I haven't understand this algorithm completely by now but I know that it uses contrast data of the final image to selectively apply blurring. As a post processing effect that makes…
danijar
  • 32,406
  • 45
  • 166
  • 297
2
votes
1 answer

Applying FXAA in PHP?

When I'm using PHP's GD image library to draw shapes it always shows hard edges. I've tried to use GD's imageantialias() function but that is for straight lines only. In order to solve the problem, I've searched some anti-aliasing algorithms and…
Licson
  • 2,231
  • 18
  • 26
1
vote
2 answers

How to remove FXAA in threejs outline example?

threejs outline example: https://threejs.org/examples/#webgl_postprocessing_outline I tried not to use FXAA in the example, for FXAA leads to poor resolution. But nothing was rendered after I'd removed FXAA codes, and no console information…
1
vote
1 answer

GL_LINES and FXAA in WebGL

So I have this problem with FXAA. The lines I draw using GL_LINES look, well, not really anti-aliased after applying FXAA as a post-process filter, they just look blurred. So my Question basically is - is this the espected bahaviour of FXAA with…
Dänu
  • 5,791
  • 9
  • 43
  • 56
1
vote
2 answers

Python Kivy: AntiAliasing for Canvas

When I'm creating a Widget, and draw a circle on its canvas, the circle hasn't got a smooth outline. To fix that, I thought an EffectWidget would help me, as it once did with an ImageWidget on it. But enabling FXAAEffect on it after drawing a circle…
d0n.key
  • 1,318
  • 2
  • 18
  • 39
1
vote
1 answer

three.js - FXAA giving error upon update from r65 to r68

I just switched from r65 to r68 of three.js and I am getting this error in the browser console when using the FXAA post processing shader: THREE.WebGLProgram: gl.getProgramInfoLog() WARNING: Output of vertex shader 'vUv' not read by fragment…
user3889022
  • 75
  • 2
  • 7
0
votes
1 answer

OpenGL edge artifacts with NVIDIA FXAA anti-aliasing

I have been testing some opengl projects with LWJGL 3.1.1 (release). I noticed that when NVIDIA FXAA is enabled in the NVIDIA control panel pixel perfect shapes have strange edge artifacts. Is there any way to avoid this or disable FXAA manually in…
0
votes
1 answer

FXAA Parameter Confusion

I have a question about the popular FXAA shaders that are out there written using HLSL or GLSL, and they all mainly feature these three parameters: #define FXAA_REDUCE_MIN (1.0 / 128.0) //0.0078125 #define FXAA_REDUCE_MUL (1.0 / 8.0) …
MathuSum Mut
  • 2,765
  • 3
  • 27
  • 59
0
votes
1 answer

Three.js post process: FXAA does not work with SSAO enabled

In this simple test scene, I need SSAO and FXAA effects composed together, but I can't get it work. When SSAO is enabled, if I also enable FXAA the render gets black. In the fiddle, if you uncomment composer.addPass(FXAA_effect); you'll see the…
Ale_32
  • 648
  • 1
  • 6
  • 16
0
votes
1 answer

Text sharpness while using FXAA

I have a FXAA shader it works great for the most part except for text. Our text is 2D and fairly thin, which is unfortunate. Are there any techniques to make text sharper while using FXAA. Is there an alternative anti-aliasing implementation already…
Parris
  • 17,833
  • 17
  • 90
  • 133
0
votes
1 answer

Can I use ".fxh" file extensions in XNA?

In my code I have run into a problem where my program can not auto-detect which importer to use for a file I included in my content pipeline. How do I enable XNA to import .fxh files in my game?
user2529011
  • 705
  • 3
  • 11
  • 21