Version: Unity 6.6 Alpha (6000.6)
Language : English
Light 2D component reference for URP
Add a pixel perfect camera

Scale and rotate pixel art precisely in URP

To prevent pixelThe smallest unit in a computer image. Pixel size depends on your screen resolution. Pixel lighting is calculated at every screen pixel. More info
See in Glossary
art looking blurry, or distorting when spritesA 2D graphic objects. If you are used to working in 3D, Sprites are essentially just standard textures but there are special techniques for combining and managing sprite textures for efficiency and convenience during development. More info
See in Glossary
move and rotate, add a pixel perfect cameraA component which creates an image of a particular viewpoint in your scene. The output is either drawn to the screen or captured as a texture. More info
See in Glossary
to your sceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary
in the Universal Render PipelineA series of operations that take the contents of a Scene, and displays them on a screen. Unity lets you choose from pre-built render pipelines, or write your own. More info
See in Glossary
(URP).

Important: The pixel perfect camera is included by default when you set up a project for 2D games with the Universal 2D template. Don’t install the separate 2D Pixel Perfect package, which works only with the Built-In Render Pipeline.

Topic Description
Add a pixel perfect camera Prepare your sprites, set snap settings, and add the Pixel Perfect Camera component to your main camera.
Configure a pixel perfect camera Adjust the viewportThe user’s visible area of an app on their screen.
See in Glossary
in the Game view after you add a pixel perfect camera to your scene.
Pixel Perfect Camera component reference Explore the properties you can use to automatically adjust the camera to scale and rotate pixel art precisely.

Additional resources

Light 2D component reference for URP
Add a pixel perfect camera