How To Set Pixels Per Meter In Unity

How To Articles

Adjusting the pixel density in Unity is an essential task for achieving a visually stunning and lifelike game. As a fellow game developer, I recognize the significance of accurately configuring this setting. This article will lead you through the steps of configuring pixels per meter in Unity, clarifying the concept, outlining specific steps, and imparting my own experiences throughout the process.

Understanding Pixels per Meter

Before we dive into the technical details, let’s first understand what pixels per meter means in Unity. Pixels per meter is a measurement used to define the density of pixels in a Unity scene. It determines how many pixels fit into a meter of space within the game world.

Setting the pixels per meter correctly is essential for achieving accurate scaling and realistic physics within your game. It ensures that objects appear with the correct size and proportions and interact with each other as expected.

Step-by-Step Guide to Set Pixels per Meter

  1. Open your Unity project and navigate to the Scene view.
  2. Click on the main camera in the Hierarchy to select it.
  3. In the Inspector window, locate the “Projection” section.
  4. Find the “Pixels Per Meter” property and enter the desired value.
  5. Press Play to test the changes and observe how objects appear in the game view.

It’s important to note that the default value for pixels per meter in Unity is 100. This means that by default, every meter in the game world is represented by 100 pixels. However, you can adjust this value based on your specific needs and the visual style you want to achieve.

Experimenting with different values for pixels per meter can help you find the right balance between visual fidelity and performance. Lower values may result in a more pixelated and retro look, while higher values can lead to smoother and more detailed graphics.

Personal Insights and Commentary

When it comes to setting pixels per meter, it’s important to consider your target platform and the overall aesthetic you want to achieve. For example, if you’re creating a pixel art-style game, you might want to use a lower pixels per meter value to enhance the retro feel.

On the other hand, if you’re developing a high-fidelity 3D game, using a higher pixels per meter value can help you achieve more realistic textures and smoother object scaling.

It’s also worth mentioning that setting pixels per meter is just one piece of the puzzle when it comes to achieving visually appealing graphics in Unity. Lighting, shaders, and textures all play a significant role in creating a visually stunning game.


Setting pixels per meter in Unity is a crucial step in creating visually appealing and realistic games. By understanding the concept and following the step-by-step guide provided in this article, you can ensure that your game objects appear with the correct size and proportions and interact as expected.

Remember to consider your target platform and desired aesthetic when choosing the value for pixels per meter. Experimenting with different values can help you find the perfect balance between visual fidelity and performance.

Now, armed with this knowledge, go forth and create stunning games in Unity! Happy game development!