Reputation: 11
i hope you can help me ... I chose a sprite background of size 2048x1365. My camera size is 6. The aspect ratio is 4:3. This is the math i did to claculate the PPU for that sprite:
I multiply my camera size by two to get my camera height and got 12.
Then I divided the height of the sprite by the height of the camera to get PPU and got 113.75 PPU.
Then I set the sprite PPU to 113.75 and the sprite size is still way smaller than the camera...
i hope you can help me .... thank you ...
Upvotes: 1
Views: 5470
Reputation: 616
I got this image from a Brackeys video. You want to divide the number of pixels of the image by the number of units it should take in the game. It sounds like you are on the right track with your math.
Here is an example I just made with the sprite's import settings.
And here is the sprite in the scene view.
I am able to successfully make the image cover the entire height of the camera.
Upvotes: 1