Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - swetroniusz

Pages: [1]
1
General discussions / Why doesn't anti-aliasing work with textures?
« on: August 20, 2019, 03:09:49 pm »
Hey  ;)!
As far I can know, you enable MSAA in SFML like this:

sf::ContextSettings settings;
settings.antialiasingLevel = samples;
sf::RenderWindow window(sf::VideoMode(SCR_WIDTH, SCR_HEIGHT), "super creative title", sf::Style::Default, settings);
 

This, however, doesn't anti-alias textures. Why is that? I know you can use sf::Sprite::setSmooth() but I'm really confused by this. When you use multisampled color buffers, every fragment has to check the coverage multiple times, so it should work with the textures as well.

Pages: [1]
anything