Version: Unity 7.0 Alpha (7000.0)
Language : English
2D Graphics Profiler module reference for URP
Add a pixel perfect camera

Scale and rotate pixel art precisely in URP

To prevent pixel art looking blurry, or distorting when sprites move and rotate, add a pixel perfect camera to your scene in the Universal Render Pipeline (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 viewport 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

2D Graphics Profiler module reference for URP
Add a pixel perfect camera
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961