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

Author Topic: Disable Linear Sampling  (Read 796 times)

0 Members and 1 Guest are viewing this topic.

anven11

  • Newbie
  • *
  • Posts: 2
    • View Profile
Disable Linear Sampling
« on: January 30, 2015, 07:47:32 pm »
Right now I have a sf::RenderWindow at resolution (800, 600). I load a font and render it with a sf::View with size (200, 150) (upscaled three times). Now, I want the font to look pixelized, but instead it's all blurred:



Is there any way to disable this blurring globally for all textures and fonts?

Thanks in advance.
« Last Edit: January 30, 2015, 08:32:20 pm by anven11 »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10835
    • View Profile
    • development blog
    • Email
Re: Disable Linear Sampling
« Reply #1 on: January 30, 2015, 08:30:20 pm »
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

anven11

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Disable Linear Sampling
« Reply #2 on: January 30, 2015, 08:56:01 pm »
Thank you. I modified the font class and it works!

 

anything