Exact resolution for a pixel art game?

I don’t know if this is the best approach but I have a workaround for your case :slight_smile:

  1. put a scene capture 2D component in your scene. That will be the camera of the game.

image

  1. create a render target texture:

image

  1. create a UI Material and put as color the render target texture:

  1. set the camera render target texture with the render target

image

  1. create a widget and put an image on it. select the anchors from the bottom right (the big square and put all corners in 0 so the image covers exactly the whole screen

image

image

  1. in the image brush of the rectangle put the material

image

  1. in the level blueprint add the widget to the viewport

  1. turn off antialiasing in project settings

  1. set the desired screen resolution in the texture :slight_smile:

image

also set texture group to 2d pixels (unfiltered)

image

done

hope it helps!

1 Like