Author Topic: Sprite sharpness  (Read 751 times)

MoProductions

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 0
  • Posts: 45
    • View Profile
Sprite sharpness
« on: April 07, 2017, 01:18:59 PM »
I've been fiddling around with shaders all day and can't seem to figure out how to get my sprites to be as sharp as the source material.  In our game, we have very simple black and white squares in a grid.  I'm using this image as the source for the sprite.



However, when I put the UISprite in the game, there's fuzziness around the edges.  It gets more pronounces as we zoom in (zooming is a big part of our functionality).
Here's a single sprite zoomed in:



And when I make a grid of them, with the grid spacing matching the size of the squares exactly, there's little breaks in between the cells.
Here it is with no zooming:



Here it is zoomed in:



Like I said I've been messing around with shaders and can't seem to find anything that makes the squares as sharp as the source material. Is there something else I'm missing that could help out with this?
Thanks!
-Mo

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,154
  • Toronto, Canada
    • View Profile
Re: Sprite sharpness
« Reply #1 on: April 07, 2017, 06:38:00 PM »
Set Point Filtering on the atlas texture.

MoProductions

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 0
  • Posts: 45
    • View Profile
Re: Sprite sharpness
« Reply #2 on: April 11, 2017, 10:58:33 AM »
Will give it a shot.
Thanks!!!
-Mo