Pixel Perfect with Height constant
Hi,
So there is this following code that makes the camera height constant in game whatever resolution you choose:
 var nativeResolution = new Vector2(480, 320);
 var pixelsToUnits = 16f;
 
 Camera.main.orthographicSize = nativeResolution.y / 2f / pixelsToUnits;
But still it is not Pixel Perfect. So my question is that how I can make it Pixel Perfect with constant height?
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
Pixel jitter/flicker while camera movement (2D) 2 Answers
Preventing Objects from being pixelated in play mode. 0 Answers
Why does everything render in the scene editor, but not after I build it? 0 Answers
Make created sprites default to a certain size? 1 Answer
2D box collider always detecting player,2D Box colliders detecting player when he is not there 1 Answer
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                