A technique to smooth the jagged edges of graphical shapes when rendering them.

learn more… | top users | synonyms

2
votes
1answer
70 views

Anti-Aliasing Problem

So, I was annoyed by how the HUD for my GameState was very pixel-ated and I wanted to change that through the use of anti-aliasing. However, it works with a small exception: It adds all these lines ...
1
vote
0answers
26 views

Monogame + Render Target + antialiasing doesn't work

Is there any proper way to use antialiasing, while rendering to a RenderTarget2D and using Monogame? I do this: renderTarget = new RenderTarget2D(GameData.GraphicsDevice, pp.BackBufferWidth, ...
0
votes
0answers
23 views

Inverted FXAA Shader

I'm trying to use an existing FXAA shader which works but when I try to run it the filtered image is inverted. ...
0
votes
1answer
21 views

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 ...
0
votes
1answer
28 views

Reset Opengl multisampling

I start using multisampling by doing ContextAttribs attribs = new ContextAttribs(3, 3).withForwardCompatible(true).withProfileCore(true); Display.create(new ...
0
votes
0answers
14 views

GBuffer and SMAA

I am doing my rendering engine. It contains GBuffer that has no subsamples (only 1 sample per pixel). I added FXAA post-processing filter and it works good. I decided to do better and after some ...
24
votes
6answers
5k views

Is there a reason to add options to not use advanced game technologies in a game engine/library?

I have been developing a game engine, and have been discovering and reading up on game technologies such as anisotropic filtering, ambient occlusion, anti-aliasing, etc. Usually in games, you can ...
1
vote
0answers
57 views

Jagged Edges Even With Anti Aliasing 8x Multi Sampling

I have an interior scene where I have imported a model for the apartment and many of the interior objects such as lamps, windows, etc. Unfortunately I have a lot of jagged edges on almost all the ...
0
votes
2answers
154 views

Supersampling - Pixel color average calculation

I am currently trying to understand Supersampling. Wikipedia says (or at least Wikipedia tells me) that multiple color samples are taken from one pixel to calculate the final result. But to my mind ...
2
votes
2answers
195 views

MSAA/ CSAA / FXAA How to set the mode in OpenGL?

I'm learning OpenGL and something I am stuck with is AA. Specially when I want to turn it on and off at runtime. I know that I can set the samplecount when I create a FBO and blit it over to the final ...
18
votes
5answers
2k views

What is the graphical effect occurring to non-mipmapped distant textures called?

We all know about mip-mapping. It reduces texture quality when a texture is further away. Without mip-mapping, a texture appears to "flicker", like the top of the mountain here: Is there any ...
4
votes
1answer
215 views

What is adaptive super-sampling?

I'm trying to implement anti-aliasing into a raytracer with super-sampling. What exactly is adaptive super sampling? I'm picturing it as just sampling all of the pixels which are on the edge of each ...
2
votes
1answer
596 views

How do I clear up artifacts between aligned faces when using AA in XNA 4.0?

I'm working on a graphics engine that lets you walk around a world that is made up of cubes (voxel engine) and I'm having some difficulties getting the results I want. I'm not the best at 3D ...
46
votes
4answers
8k views

What causes aliasing?

I always hear about aliasing and anti-aliasing and I know what it looks like but what I don't understand is what causes it. Is it a physical phenomenon? Or a numerical one? If it helps to explain, I ...
4
votes
1answer
158 views

How do I counteract FXAA blur?

FXAA is a cheap post processing anti-aliasing method which works great with deferred pipelines where traditional MSAA may not be a viable option. It's also easier to implement than alternatives such ...
5
votes
1answer
2k views

What advantages does multisampling have over supersampling?

I never really fully understood this, or found an article which explained all the steps in a friendly way. I'll start with what I do know already (which I hope do not contain misconceptions). I'm ...
20
votes
3answers
18k views

How do I implement anti-aliasing in OpenGL?

I want to do full-screen anti-aliasing in OpenGL, and dont want to use the anti-aliasing that is provided by OpenGL itself, since I am building a game and want good effects in it. How should I ...
5
votes
3answers
685 views

Should I implement anti-aliasing by rendering large and scaling down?

Having read about anti-aliasing, I came to realise that I could render my scene 8× the original size of the screen, then shrink it to render it on my original screen to improve the effect that I have ...
3
votes
1answer
375 views

In MonoGame, how can I disable font anti-aliasing?

I am building a game with a "low resolution" aesthetic, so I would like to disable the default font anti-aliasing. The text is drawn using the built-in SpriteFont and SpriteBatch classes. Here is ...
0
votes
0answers
54 views

MonoGame disable spritefont anti-alising?

Ive got a pixel art font and when I draw it theres a lot of antialiasing going on which totally ruins the point of making the font pixel art? How can I disable this? My SamplerState is set to ...
1
vote
2answers
901 views

How to correctly enable anti aliasing in XNA?

In my project when I add graphics.PreferMultiSampling = true; this line in the Game1 Constructor (as the msdn website suggests), anti aliasing does not enable. Any idea what I might be missing ? Here ...
2
votes
1answer
438 views

How do mipmapping, anti-aliasing and anisotropic filtering contribute to rendering quality?

To my understanding, mipmaps exist to save on computations and memory when textures are far away. In an ideal world, we wouldn't want them. We'd just use the same high quality textures far away and ...
0
votes
1answer
106 views

What is the highest quality way to render warped text on Windows?

I need to render highly readable text, on par with DirectWrite+Cleartype+Truetype. The Cleartype system uses sub-pixel anti-aliasing. DirectWrite takes things a step further and moves letters around ...
0
votes
1answer
161 views

How to implement CMAA

First, here's the link to the actual article that describes CMAA and how to do it. https://software.intel.com/en-us/articles/conservative-morphological-anti-aliasing-cmaa-update My problem is that I ...
0
votes
0answers
39 views

Multisampled Nearest Filtering in PS 2.0 is it possible?

My game involves blocky, pixelated 3D textures. When using nearest neighbor filtering with a texture sampler, I get the desired result of nicely pixelated textures -- with the caveat that hard lines ...
1
vote
0answers
224 views

Xna 2d texture antialiasing

I've got a problem with drawing 2D texture in xna 4.0. My program generates terrain texture: The problem is in rough surface of my texture (dark-blue) that is generated by-pixel. Is there any ...
5
votes
1answer
295 views

Is it more efficient to render full size with AA, or scaled down with no AA?

Which is more resource-efficient (given a typical modern 3D game scene): Rendering it at 100% scale with anti-aliasing, or Rendering it larger and scaling it down to fit the screen, but without AA? ...
3
votes
1answer
782 views

Fighting aliasing on specular highlights

MSAA does a good job removing aliases on mesh edges, but it does not help with aliased specular highlights: Notice the aliased specular highlights on the doors and windows. I believe the reason ...
1
vote
0answers
113 views

Render isometric TMXTilemap with antialiasing method

I'm currently working on a cocos2d-x project that uses isometric tile maps.all the tiles are as small as 64*64 px.So I have to scale the map up a little bit.TMXTilemap is handy but its render method ...
3
votes
1answer
718 views

Anti-Aliasing in OpenGL [C++]

I'm trying to make anti-aliasing work inside of OpenGL, here's what I've tried: glEnable(GL_POINT_SMOOTH); glHint(GL_POINT_SMOOTH_HINT, GL_NICEST); glEnable(GL_LINE_SMOOTH); ...
4
votes
1answer
1k views

How do I achieve supersampling / anti-aliasing in pixel shaders?

I am trying to write a couple pixel shaders to apply to images similar to Photoshop effects. For example this effect: But I noticed there is aliasing in my resulting image (the above image is a ...
0
votes
1answer
2k views

Why is anti aliasing not being applied to my 2D objects in Unity?

I am drawing 2D objects in Unity. Some of these objects are drawn using the standard sprite method that is built into Unity. Others are computed as distance functions in a shader. In both cases I ...
3
votes
1answer
335 views

MSAA deferred implementation issue

I recently implemented MSAA in my deferred renderer, it looks good but I just got a feeling I might have done it wrong. Here is what for example the directional light fragment shader looks like: ...
2
votes
4answers
2k views

Why is anti-aliasing so slow?

I have always asked myself this, especially about x4 or x8 anti-aliasing. It seems that over the years, the algorithm has remained the same but needs more power than before due to improved game ...
1
vote
1answer
298 views

OpenGL - Disable Anti Alias

I can't find anything on how to hint to the driver to disable any antialias. I'm using a very minimal passthrough setup yet I notice my driver is still doing what looks like MSAA. I want to disable ...
1
vote
1answer
3k views

Anti Aliasing: How to implement supersampling in OpenGL?

I'm learning OpenGL by working on a small Oculus Rift project, which implies, anti aliasing is everything :). Since the application of the barrel distortion shader requires rendering to a framebuffer ...
0
votes
1answer
587 views

Shimmering, scrolling/panning a texture

Shimmering I understand shimmering in textures is caused by sub-pixel accuracy aliasing against the regular grid of pixels on the screen when drawn. I have a good example of it here, whereby I'm ...
1
vote
0answers
52 views

Multisampling Gamma Correction Problem

I have multisampled rendertarget where I use red channel as stencil data, but the problem is I get incorrect results around borders if "Antialiasing - Gamma Correction" is set to on in Nvidia Control ...
1
vote
1answer
202 views

Does the feature level affect multisampling?

I'm using DirectX 11 with the feature level 9_3 even though my computer could run 11_0, but I want to support older hardware as well. I'm using CheckMultisampleQualityLevels to check whether multi ...
2
votes
1answer
969 views

AndEngine Font Issue

I am learning AndEngine. I am displaying Hello world using this code: public class myactivity extends SimpleBaseGameActivity { private final int CAMERA_WIDTH = 320; private final int CAMERA_HEIGHT ...
2
votes
1answer
412 views

Color bleed on voxel edges when using anti-aliasing

My Minecraft-like game uses a texture containing four block IDs in each pixel (RGBA). These IDs are used in the shader to determine what color each whole block should be. I'm having an issue with ...
4
votes
2answers
750 views

OpenGL: Filtering/antialising textures in a 2D game

I'm working on a 2D game using OpenGL 1.5 that uses rather large textures. I'm seeing aliasing effects and am wondering how to tackle those. I'm finding lots of material about antialiasing in 3D ...
1
vote
0answers
473 views

With 2 superposed cameras at different depths and switching their culling masks between layers to implement object-selective antialising:

We superposed two cameras, one of which uses AA as post-processing effect (AA filtering is cancelled). The camera with the AA effect has depth 0 and the camera with no effect has depth 1 as can be ...
3
votes
1answer
2k views

Are shader-based antialiasing methods making traditional multisampling obsolete?

See an analysis of FXAA here, and the page for SMAA here Now these methods have a drawback which is that they are not capable of improving quality in a physically accurate way, like multisampling ...
-1
votes
1answer
213 views

Anti-Aliasing in Java

In my game I want to have the different anti-aliasing option like: none, x2, x4, x8 and x16. I know that you can use anti-aliasing with Graphics2D in the way below bu is there any way that I can use ...
3
votes
0answers
143 views

Custom sampling points for anti-aliasing [closed]

I'm trying to write an anti-aliasing shader in HLSL, but I can't find any way to rasterize at a custom point. (in between pixels on the screen, but not orderly like supersampling) Is there any way to ...
3
votes
2answers
761 views

Screen effects and antialiasing

I have been working on a game for a while using glut for basic window creation. I was rendering to an offscreen buffer so that I could implement various effects like screen bulging, motion blur, ...
0
votes
1answer
1k views

Anti- Aliasing a small image?

As you can see above, I have an image of a game I've been working on using Java. Using AWT I added the following: public static void drawImageRotated( Graphics2D g2d, BufferedImage img, ...
2
votes
0answers
266 views

How does QCSAA actually work in nVidia GPUs? [closed]

I know the principles behind how QCSAA is supposed to work (as opposed to how, say, regular CSAA works) and subjectively after some testing I like the style it lends to the image enough that I'm ...
4
votes
2answers
8k views

How to draw a smooth circle in Android using OpenGL?

I am learning about OpenGL API on Android. I just drew a circle. Below is the code I used. public class MyGLBall { private int points=360; private float vertices[]={0.0f,0.0f,0.0f}; private ...