New answers tagged

0 votes

Getting a pixel of Sprite at the cursor position in Unity

This is a super old question, but I was struggling with this for a while, used the code from Savlon's answer and then found it wouldn't work if I moved or scaled the object at all. After hours of ...
Andrew's user avatar
  • 1
0 votes

How to render a portion of a texture (upscaled) without affecting the border with SDL2?

The problem exists when not using Nearest Neighbors interpolation and upscaling textures. I have solved this problem creating a padding around each frame of 2 pixels when loading and composing the ...
Raffaello's user avatar
  • 125

Top 50 recent answers are included