Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

SERIOUS ISSUE WITH PIXEL PERFECT CAMERA

Discussion in '2D' started by therocketman2018, Aug 12, 2020.

  1. therocketman2018

    therocketman2018

    Joined:
    Apr 25, 2019
    Posts:
    46
    First of all, i've tried many variations of pixel perfect cameras in my 2D game, and yes, i get the glittering off, but the pixel perfect camera F***s the scaling totally, the the game doesn't scale anymore, only the camera size scales, so that it will show only part of the map, and with different resolution smaller or bigger part of the map. HELP!
     
  2. therocketman2018

    therocketman2018

    Joined:
    Apr 25, 2019
    Posts:
    46
    I found the reason and then i have another question. The reason was Ortographic camera size. So the correct pixel perfect size is: resolution width / PPU / 2. So with different resolutions the the ortographic camera size will be different, which means that camera will be zooming in and out. SO, the final question is, can i make a pixel perfect game the way it will only scale the view, not zoom it when using same aspect ratioo, ie:16:10?

    If someone gives me an answer that will help me in this situation, i send you 100 Cardano - ADA's of cryptocoins. It's probably worth 14 euros today.

    I've been fighting with this pixel perfect stuff too long.
     
    Last edited: Aug 12, 2020
  3. therocketman2018

    therocketman2018

    Joined:
    Apr 25, 2019
    Posts:
    46
    Answer found already.